![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/pub/static/frontend/Magento/luma/en_US/js/bundle/ |
require.config({"config": { "jsbuild":{"jquery/ui-modules/widgets/tooltip.js":"/*!\n * jQuery UI Tooltip 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Tooltip\n//>>group: Widgets\n//>>description: Shows additional information for any element on hover or focus.\n//>>docs: http://api.jqueryui.com/tooltip/\n//>>demos: http://jqueryui.com/tooltip/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/tooltip.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../keycode\",\n \"../position\",\n \"../unique-id\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.tooltip\", {\n version: \"1.13.2\",\n options: {\n classes: {\n \"ui-tooltip\": \"ui-corner-all ui-widget-shadow\"\n },\n content: function() {\n var title = $( this ).attr( \"title\" );\n\n // Escape title, since we're going from an attribute to raw HTML\n return $( \"<a>\" ).text( title ).html();\n },\n hide: true,\n\n // Disabled elements have inconsistent behavior across browsers (#8661)\n items: \"[title]:not([disabled])\",\n position: {\n my: \"left top+15\",\n at: \"left bottom\",\n collision: \"flipfit flip\"\n },\n show: true,\n track: false,\n\n // Callbacks\n close: null,\n open: null\n },\n\n _addDescribedBy: function( elem, id ) {\n var describedby = ( elem.attr( \"aria-describedby\" ) || \"\" ).split( /\\s+/ );\n describedby.push( id );\n elem\n .data( \"ui-tooltip-id\", id )\n .attr( \"aria-describedby\", String.prototype.trim.call( describedby.join( \" \" ) ) );\n },\n\n _removeDescribedBy: function( elem ) {\n var id = elem.data( \"ui-tooltip-id\" ),\n describedby = ( elem.attr( \"aria-describedby\" ) || \"\" ).split( /\\s+/ ),\n index = $.inArray( id, describedby );\n\n if ( index !== -1 ) {\n describedby.splice( index, 1 );\n }\n\n elem.removeData( \"ui-tooltip-id\" );\n describedby = String.prototype.trim.call( describedby.join( \" \" ) );\n if ( describedby ) {\n elem.attr( \"aria-describedby\", describedby );\n } else {\n elem.removeAttr( \"aria-describedby\" );\n }\n },\n\n _create: function() {\n this._on( {\n mouseover: \"open\",\n focusin: \"open\"\n } );\n\n // IDs of generated tooltips, needed for destroy\n this.tooltips = {};\n\n // IDs of parent tooltips where we removed the title attribute\n this.parents = {};\n\n // Append the aria-live region so tooltips announce correctly\n this.liveRegion = $( \"<div>\" )\n .attr( {\n role: \"log\",\n \"aria-live\": \"assertive\",\n \"aria-relevant\": \"additions\"\n } )\n .appendTo( this.document[ 0 ].body );\n this._addClass( this.liveRegion, null, \"ui-helper-hidden-accessible\" );\n\n this.disabledTitles = $( [] );\n },\n\n _setOption: function( key, value ) {\n var that = this;\n\n this._super( key, value );\n\n if ( key === \"content\" ) {\n $.each( this.tooltips, function( id, tooltipData ) {\n that._updateContent( tooltipData.element );\n } );\n }\n },\n\n _setOptionDisabled: function( value ) {\n this[ value ? \"_disable\" : \"_enable\" ]();\n },\n\n _disable: function() {\n var that = this;\n\n // Close open tooltips\n $.each( this.tooltips, function( id, tooltipData ) {\n var event = $.Event( \"blur\" );\n event.target = event.currentTarget = tooltipData.element[ 0 ];\n that.close( event, true );\n } );\n\n // Remove title attributes to prevent native tooltips\n this.disabledTitles = this.disabledTitles.add(\n this.element.find( this.options.items ).addBack()\n .filter( function() {\n var element = $( this );\n if ( element.is( \"[title]\" ) ) {\n return element\n .data( \"ui-tooltip-title\", element.attr( \"title\" ) )\n .removeAttr( \"title\" );\n }\n } )\n );\n },\n\n _enable: function() {\n\n // restore title attributes\n this.disabledTitles.each( function() {\n var element = $( this );\n if ( element.data( \"ui-tooltip-title\" ) ) {\n element.attr( \"title\", element.data( \"ui-tooltip-title\" ) );\n }\n } );\n this.disabledTitles = $( [] );\n },\n\n open: function( event ) {\n var that = this,\n target = $( event ? event.target : this.element )\n\n // we need closest here due to mouseover bubbling,\n // but always pointing at the same event target\n .closest( this.options.items );\n\n // No element to show a tooltip for or the tooltip is already open\n if ( !target.length || target.data( \"ui-tooltip-id\" ) ) {\n return;\n }\n\n if ( target.attr( \"title\" ) ) {\n target.data( \"ui-tooltip-title\", target.attr( \"title\" ) );\n }\n\n target.data( \"ui-tooltip-open\", true );\n\n // Kill parent tooltips, custom or native, for hover\n if ( event && event.type === \"mouseover\" ) {\n target.parents().each( function() {\n var parent = $( this ),\n blurEvent;\n if ( parent.data( \"ui-tooltip-open\" ) ) {\n blurEvent = $.Event( \"blur\" );\n blurEvent.target = blurEvent.currentTarget = this;\n that.close( blurEvent, true );\n }\n if ( parent.attr( \"title\" ) ) {\n parent.uniqueId();\n that.parents[ this.id ] = {\n element: this,\n title: parent.attr( \"title\" )\n };\n parent.attr( \"title\", \"\" );\n }\n } );\n }\n\n this._registerCloseHandlers( event, target );\n this._updateContent( target, event );\n },\n\n _updateContent: function( target, event ) {\n var content,\n contentOption = this.options.content,\n that = this,\n eventType = event ? event.type : null;\n\n if ( typeof contentOption === \"string\" || contentOption.nodeType ||\n contentOption.jquery ) {\n return this._open( event, target, contentOption );\n }\n\n content = contentOption.call( target[ 0 ], function( response ) {\n\n // IE may instantly serve a cached response for ajax requests\n // delay this call to _open so the other call to _open runs first\n that._delay( function() {\n\n // Ignore async response if tooltip was closed already\n if ( !target.data( \"ui-tooltip-open\" ) ) {\n return;\n }\n\n // JQuery creates a special event for focusin when it doesn't\n // exist natively. To improve performance, the native event\n // object is reused and the type is changed. Therefore, we can't\n // rely on the type being correct after the event finished\n // bubbling, so we set it back to the previous value. (#8740)\n if ( event ) {\n event.type = eventType;\n }\n this._open( event, target, response );\n } );\n } );\n if ( content ) {\n this._open( event, target, content );\n }\n },\n\n _open: function( event, target, content ) {\n var tooltipData, tooltip, delayedShow, a11yContent,\n positionOption = $.extend( {}, this.options.position );\n\n if ( !content ) {\n return;\n }\n\n // Content can be updated multiple times. If the tooltip already\n // exists, then just update the content and bail.\n tooltipData = this._find( target );\n if ( tooltipData ) {\n tooltipData.tooltip.find( \".ui-tooltip-content\" ).html( content );\n return;\n }\n\n // If we have a title, clear it to prevent the native tooltip\n // we have to check first to avoid defining a title if none exists\n // (we don't want to cause an element to start matching [title])\n //\n // We use removeAttr only for key events, to allow IE to export the correct\n // accessible attributes. For mouse events, set to empty string to avoid\n // native tooltip showing up (happens only when removing inside mouseover).\n if ( target.is( \"[title]\" ) ) {\n if ( event && event.type === \"mouseover\" ) {\n target.attr( \"title\", \"\" );\n } else {\n target.removeAttr( \"title\" );\n }\n }\n\n tooltipData = this._tooltip( target );\n tooltip = tooltipData.tooltip;\n this._addDescribedBy( target, tooltip.attr( \"id\" ) );\n tooltip.find( \".ui-tooltip-content\" ).html( content );\n\n // Support: Voiceover on OS X, JAWS on IE <= 9\n // JAWS announces deletions even when aria-relevant=\"additions\"\n // Voiceover will sometimes re-read the entire log region's contents from the beginning\n this.liveRegion.children().hide();\n a11yContent = $( \"<div>\" ).html( tooltip.find( \".ui-tooltip-content\" ).html() );\n a11yContent.removeAttr( \"name\" ).find( \"[name]\" ).removeAttr( \"name\" );\n a11yContent.removeAttr( \"id\" ).find( \"[id]\" ).removeAttr( \"id\" );\n a11yContent.appendTo( this.liveRegion );\n\n function position( event ) {\n positionOption.of = event;\n if ( tooltip.is( \":hidden\" ) ) {\n return;\n }\n tooltip.position( positionOption );\n }\n if ( this.options.track && event && /^mouse/.test( event.type ) ) {\n this._on( this.document, {\n mousemove: position\n } );\n\n // trigger once to override element-relative positioning\n position( event );\n } else {\n tooltip.position( $.extend( {\n of: target\n }, this.options.position ) );\n }\n\n tooltip.hide();\n\n this._show( tooltip, this.options.show );\n\n // Handle tracking tooltips that are shown with a delay (#8644). As soon\n // as the tooltip is visible, position the tooltip using the most recent\n // event.\n // Adds the check to add the timers only when both delay and track options are set (#14682)\n if ( this.options.track && this.options.show && this.options.show.delay ) {\n delayedShow = this.delayedShow = setInterval( function() {\n if ( tooltip.is( \":visible\" ) ) {\n position( positionOption.of );\n clearInterval( delayedShow );\n }\n }, 13 );\n }\n\n this._trigger( \"open\", event, { tooltip: tooltip } );\n },\n\n _registerCloseHandlers: function( event, target ) {\n var events = {\n keyup: function( event ) {\n if ( event.keyCode === $.ui.keyCode.ESCAPE ) {\n var fakeEvent = $.Event( event );\n fakeEvent.currentTarget = target[ 0 ];\n this.close( fakeEvent, true );\n }\n }\n };\n\n // Only bind remove handler for delegated targets. Non-delegated\n // tooltips will handle this in destroy.\n if ( target[ 0 ] !== this.element[ 0 ] ) {\n events.remove = function() {\n var targetElement = this._find( target );\n if ( targetElement ) {\n this._removeTooltip( targetElement.tooltip );\n }\n };\n }\n\n if ( !event || event.type === \"mouseover\" ) {\n events.mouseleave = \"close\";\n }\n if ( !event || event.type === \"focusin\" ) {\n events.focusout = \"close\";\n }\n this._on( true, target, events );\n },\n\n close: function( event ) {\n var tooltip,\n that = this,\n target = $( event ? event.currentTarget : this.element ),\n tooltipData = this._find( target );\n\n // The tooltip may already be closed\n if ( !tooltipData ) {\n\n // We set ui-tooltip-open immediately upon open (in open()), but only set the\n // additional data once there's actually content to show (in _open()). So even if the\n // tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in\n // the period between open() and _open().\n target.removeData( \"ui-tooltip-open\" );\n return;\n }\n\n tooltip = tooltipData.tooltip;\n\n // Disabling closes the tooltip, so we need to track when we're closing\n // to avoid an infinite loop in case the tooltip becomes disabled on close\n if ( tooltipData.closing ) {\n return;\n }\n\n // Clear the interval for delayed tracking tooltips\n clearInterval( this.delayedShow );\n\n // Only set title if we had one before (see comment in _open())\n // If the title attribute has changed since open(), don't restore\n if ( target.data( \"ui-tooltip-title\" ) && !target.attr( \"title\" ) ) {\n target.attr( \"title\", target.data( \"ui-tooltip-title\" ) );\n }\n\n this._removeDescribedBy( target );\n\n tooltipData.hiding = true;\n tooltip.stop( true );\n this._hide( tooltip, this.options.hide, function() {\n that._removeTooltip( $( this ) );\n } );\n\n target.removeData( \"ui-tooltip-open\" );\n this._off( target, \"mouseleave focusout keyup\" );\n\n // Remove 'remove' binding only on delegated targets\n if ( target[ 0 ] !== this.element[ 0 ] ) {\n this._off( target, \"remove\" );\n }\n this._off( this.document, \"mousemove\" );\n\n if ( event && event.type === \"mouseleave\" ) {\n $.each( this.parents, function( id, parent ) {\n $( parent.element ).attr( \"title\", parent.title );\n delete that.parents[ id ];\n } );\n }\n\n tooltipData.closing = true;\n this._trigger( \"close\", event, { tooltip: tooltip } );\n if ( !tooltipData.hiding ) {\n tooltipData.closing = false;\n }\n },\n\n _tooltip: function( element ) {\n var tooltip = $( \"<div>\" ).attr( \"role\", \"tooltip\" ),\n content = $( \"<div>\" ).appendTo( tooltip ),\n id = tooltip.uniqueId().attr( \"id\" );\n\n this._addClass( content, \"ui-tooltip-content\" );\n this._addClass( tooltip, \"ui-tooltip\", \"ui-widget ui-widget-content\" );\n\n tooltip.appendTo( this._appendTo( element ) );\n\n return this.tooltips[ id ] = {\n element: element,\n tooltip: tooltip\n };\n },\n\n _find: function( target ) {\n var id = target.data( \"ui-tooltip-id\" );\n return id ? this.tooltips[ id ] : null;\n },\n\n _removeTooltip: function( tooltip ) {\n\n // Clear the interval for delayed tracking tooltips\n clearInterval( this.delayedShow );\n\n tooltip.remove();\n delete this.tooltips[ tooltip.attr( \"id\" ) ];\n },\n\n _appendTo: function( target ) {\n var element = target.closest( \".ui-front, dialog\" );\n\n if ( !element.length ) {\n element = this.document[ 0 ].body;\n }\n\n return element;\n },\n\n _destroy: function() {\n var that = this;\n\n // Close open tooltips\n $.each( this.tooltips, function( id, tooltipData ) {\n\n // Delegate to close method to handle common cleanup\n var event = $.Event( \"blur\" ),\n element = tooltipData.element;\n event.target = event.currentTarget = element[ 0 ];\n that.close( event, true );\n\n // Remove immediately; destroying an open tooltip doesn't use the\n // hide animation\n $( \"#\" + id ).remove();\n\n // Restore the title\n if ( element.data( \"ui-tooltip-title\" ) ) {\n\n // If the title attribute has changed since open(), don't restore\n if ( !element.attr( \"title\" ) ) {\n element.attr( \"title\", element.data( \"ui-tooltip-title\" ) );\n }\n element.removeData( \"ui-tooltip-title\" );\n }\n } );\n this.liveRegion.remove();\n }\n } );\n\n// DEPRECATED\n// TODO: Switch return back to widget declaration at top of file when this is removed\n if ( $.uiBackCompat !== false ) {\n\n // Backcompat for tooltipClass option\n $.widget( \"ui.tooltip\", $.ui.tooltip, {\n options: {\n tooltipClass: null\n },\n _tooltip: function() {\n var tooltipData = this._superApply( arguments );\n if ( this.options.tooltipClass ) {\n tooltipData.tooltip.addClass( this.options.tooltipClass );\n }\n return tooltipData;\n }\n } );\n }\n\n return $.ui.tooltip;\n\n} );\n","jquery/ui-modules/widgets/menu.js":"/*!\n * jQuery UI Menu 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Menu\n//>>group: Widgets\n//>>description: Creates nestable menus.\n//>>docs: http://api.jqueryui.com/menu/\n//>>demos: http://jqueryui.com/menu/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/menu.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../keycode\",\n \"../position\",\n \"../safe-active-element\",\n \"../unique-id\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.menu\", {\n version: \"1.13.2\",\n defaultElement: \"<ul>\",\n delay: 300,\n options: {\n icons: {\n submenu: \"ui-icon-caret-1-e\"\n },\n items: \"> *\",\n menus: \"ul\",\n position: {\n my: \"left top\",\n at: \"right top\"\n },\n role: \"menu\",\n\n // Callbacks\n blur: null,\n focus: null,\n select: null\n },\n\n _create: function() {\n this.activeMenu = this.element;\n\n // Flag used to prevent firing of the click handler\n // as the event bubbles up through nested menus\n this.mouseHandled = false;\n this.lastMousePosition = { x: null, y: null };\n this.element\n .uniqueId()\n .attr( {\n role: this.options.role,\n tabIndex: 0\n } );\n\n this._addClass( \"ui-menu\", \"ui-widget ui-widget-content\" );\n this._on( {\n\n // Prevent focus from sticking to links inside menu after clicking\n // them (focus should always stay on UL during navigation).\n \"mousedown .ui-menu-item\": function( event ) {\n event.preventDefault();\n\n this._activateItem( event );\n },\n \"click .ui-menu-item\": function( event ) {\n var target = $( event.target );\n var active = $( $.ui.safeActiveElement( this.document[ 0 ] ) );\n if ( !this.mouseHandled && target.not( \".ui-state-disabled\" ).length ) {\n this.select( event );\n\n // Only set the mouseHandled flag if the event will bubble, see #9469.\n if ( !event.isPropagationStopped() ) {\n this.mouseHandled = true;\n }\n\n // Open submenu on click\n if ( target.has( \".ui-menu\" ).length ) {\n this.expand( event );\n } else if ( !this.element.is( \":focus\" ) &&\n active.closest( \".ui-menu\" ).length ) {\n\n // Redirect focus to the menu\n this.element.trigger( \"focus\", [ true ] );\n\n // If the active item is on the top level, let it stay active.\n // Otherwise, blur the active item since it is no longer visible.\n if ( this.active && this.active.parents( \".ui-menu\" ).length === 1 ) {\n clearTimeout( this.timer );\n }\n }\n }\n },\n \"mouseenter .ui-menu-item\": \"_activateItem\",\n \"mousemove .ui-menu-item\": \"_activateItem\",\n mouseleave: \"collapseAll\",\n \"mouseleave .ui-menu\": \"collapseAll\",\n focus: function( event, keepActiveItem ) {\n\n // If there's already an active item, keep it active\n // If not, activate the first item\n var item = this.active || this._menuItems().first();\n\n if ( !keepActiveItem ) {\n this.focus( event, item );\n }\n },\n blur: function( event ) {\n this._delay( function() {\n var notContained = !$.contains(\n this.element[ 0 ],\n $.ui.safeActiveElement( this.document[ 0 ] )\n );\n if ( notContained ) {\n this.collapseAll( event );\n }\n } );\n },\n keydown: \"_keydown\"\n } );\n\n this.refresh();\n\n // Clicks outside of a menu collapse any open menus\n this._on( this.document, {\n click: function( event ) {\n if ( this._closeOnDocumentClick( event ) ) {\n this.collapseAll( event, true );\n }\n\n // Reset the mouseHandled flag\n this.mouseHandled = false;\n }\n } );\n },\n\n _activateItem: function( event ) {\n\n // Ignore mouse events while typeahead is active, see #10458.\n // Prevents focusing the wrong item when typeahead causes a scroll while the mouse\n // is over an item in the menu\n if ( this.previousFilter ) {\n return;\n }\n\n // If the mouse didn't actually move, but the page was scrolled, ignore the event (#9356)\n if ( event.clientX === this.lastMousePosition.x &&\n event.clientY === this.lastMousePosition.y ) {\n return;\n }\n\n this.lastMousePosition = {\n x: event.clientX,\n y: event.clientY\n };\n\n var actualTarget = $( event.target ).closest( \".ui-menu-item\" ),\n target = $( event.currentTarget );\n\n // Ignore bubbled events on parent items, see #11641\n if ( actualTarget[ 0 ] !== target[ 0 ] ) {\n return;\n }\n\n // If the item is already active, there's nothing to do\n if ( target.is( \".ui-state-active\" ) ) {\n return;\n }\n\n // Remove ui-state-active class from siblings of the newly focused menu item\n // to avoid a jump caused by adjacent elements both having a class with a border\n this._removeClass( target.siblings().children( \".ui-state-active\" ),\n null, \"ui-state-active\" );\n this.focus( event, target );\n },\n\n _destroy: function() {\n var items = this.element.find( \".ui-menu-item\" )\n .removeAttr( \"role aria-disabled\" ),\n submenus = items.children( \".ui-menu-item-wrapper\" )\n .removeUniqueId()\n .removeAttr( \"tabIndex role aria-haspopup\" );\n\n // Destroy (sub)menus\n this.element\n .removeAttr( \"aria-activedescendant\" )\n .find( \".ui-menu\" ).addBack()\n .removeAttr( \"role aria-labelledby aria-expanded aria-hidden aria-disabled \" +\n \"tabIndex\" )\n .removeUniqueId()\n .show();\n\n submenus.children().each( function() {\n var elem = $( this );\n if ( elem.data( \"ui-menu-submenu-caret\" ) ) {\n elem.remove();\n }\n } );\n },\n\n _keydown: function( event ) {\n var match, prev, character, skip,\n preventDefault = true;\n\n switch ( event.keyCode ) {\n case $.ui.keyCode.PAGE_UP:\n this.previousPage( event );\n break;\n case $.ui.keyCode.PAGE_DOWN:\n this.nextPage( event );\n break;\n case $.ui.keyCode.HOME:\n this._move( \"first\", \"first\", event );\n break;\n case $.ui.keyCode.END:\n this._move( \"last\", \"last\", event );\n break;\n case $.ui.keyCode.UP:\n this.previous( event );\n break;\n case $.ui.keyCode.DOWN:\n this.next( event );\n break;\n case $.ui.keyCode.LEFT:\n this.collapse( event );\n break;\n case $.ui.keyCode.RIGHT:\n if ( this.active && !this.active.is( \".ui-state-disabled\" ) ) {\n this.expand( event );\n }\n break;\n case $.ui.keyCode.ENTER:\n case $.ui.keyCode.SPACE:\n this._activate( event );\n break;\n case $.ui.keyCode.ESCAPE:\n this.collapse( event );\n break;\n default:\n preventDefault = false;\n prev = this.previousFilter || \"\";\n skip = false;\n\n // Support number pad values\n character = event.keyCode >= 96 && event.keyCode <= 105 ?\n ( event.keyCode - 96 ).toString() : String.fromCharCode( event.keyCode );\n\n clearTimeout( this.filterTimer );\n\n if ( character === prev ) {\n skip = true;\n } else {\n character = prev + character;\n }\n\n match = this._filterMenuItems( character );\n match = skip && match.index( this.active.next() ) !== -1 ?\n this.active.nextAll( \".ui-menu-item\" ) :\n match;\n\n // If no matches on the current filter, reset to the last character pressed\n // to move down the menu to the first item that starts with that character\n if ( !match.length ) {\n character = String.fromCharCode( event.keyCode );\n match = this._filterMenuItems( character );\n }\n\n if ( match.length ) {\n this.focus( event, match );\n this.previousFilter = character;\n this.filterTimer = this._delay( function() {\n delete this.previousFilter;\n }, 1000 );\n } else {\n delete this.previousFilter;\n }\n }\n\n if ( preventDefault ) {\n event.preventDefault();\n }\n },\n\n _activate: function( event ) {\n if ( this.active && !this.active.is( \".ui-state-disabled\" ) ) {\n if ( this.active.children( \"[aria-haspopup='true']\" ).length ) {\n this.expand( event );\n } else {\n this.select( event );\n }\n }\n },\n\n refresh: function() {\n var menus, items, newSubmenus, newItems, newWrappers,\n that = this,\n icon = this.options.icons.submenu,\n submenus = this.element.find( this.options.menus );\n\n this._toggleClass( \"ui-menu-icons\", null, !!this.element.find( \".ui-icon\" ).length );\n\n // Initialize nested menus\n newSubmenus = submenus.filter( \":not(.ui-menu)\" )\n .hide()\n .attr( {\n role: this.options.role,\n \"aria-hidden\": \"true\",\n \"aria-expanded\": \"false\"\n } )\n .each( function() {\n var menu = $( this ),\n item = menu.prev(),\n submenuCaret = $( \"<span>\" ).data( \"ui-menu-submenu-caret\", true );\n\n that._addClass( submenuCaret, \"ui-menu-icon\", \"ui-icon \" + icon );\n item\n .attr( \"aria-haspopup\", \"true\" )\n .prepend( submenuCaret );\n menu.attr( \"aria-labelledby\", item.attr( \"id\" ) );\n } );\n\n this._addClass( newSubmenus, \"ui-menu\", \"ui-widget ui-widget-content ui-front\" );\n\n menus = submenus.add( this.element );\n items = menus.find( this.options.items );\n\n // Initialize menu-items containing spaces and/or dashes only as dividers\n items.not( \".ui-menu-item\" ).each( function() {\n var item = $( this );\n if ( that._isDivider( item ) ) {\n that._addClass( item, \"ui-menu-divider\", \"ui-widget-content\" );\n }\n } );\n\n // Don't refresh list items that are already adapted\n newItems = items.not( \".ui-menu-item, .ui-menu-divider\" );\n newWrappers = newItems.children()\n .not( \".ui-menu\" )\n .uniqueId()\n .attr( {\n tabIndex: -1,\n role: this._itemRole()\n } );\n this._addClass( newItems, \"ui-menu-item\" )\n ._addClass( newWrappers, \"ui-menu-item-wrapper\" );\n\n // Add aria-disabled attribute to any disabled menu item\n items.filter( \".ui-state-disabled\" ).attr( \"aria-disabled\", \"true\" );\n\n // If the active item has been removed, blur the menu\n if ( this.active && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {\n this.blur();\n }\n },\n\n _itemRole: function() {\n return {\n menu: \"menuitem\",\n listbox: \"option\"\n }[ this.options.role ];\n },\n\n _setOption: function( key, value ) {\n if ( key === \"icons\" ) {\n var icons = this.element.find( \".ui-menu-icon\" );\n this._removeClass( icons, null, this.options.icons.submenu )\n ._addClass( icons, null, value.submenu );\n }\n this._super( key, value );\n },\n\n _setOptionDisabled: function( value ) {\n this._super( value );\n\n this.element.attr( \"aria-disabled\", String( value ) );\n this._toggleClass( null, \"ui-state-disabled\", !!value );\n },\n\n focus: function( event, item ) {\n var nested, focused, activeParent;\n this.blur( event, event && event.type === \"focus\" );\n\n this._scrollIntoView( item );\n\n this.active = item.first();\n\n focused = this.active.children( \".ui-menu-item-wrapper\" );\n this._addClass( focused, null, \"ui-state-active\" );\n\n // Only update aria-activedescendant if there's a role\n // otherwise we assume focus is managed elsewhere\n if ( this.options.role ) {\n this.element.attr( \"aria-activedescendant\", focused.attr( \"id\" ) );\n }\n\n // Highlight active parent menu item, if any\n activeParent = this.active\n .parent()\n .closest( \".ui-menu-item\" )\n .children( \".ui-menu-item-wrapper\" );\n this._addClass( activeParent, null, \"ui-state-active\" );\n\n if ( event && event.type === \"keydown\" ) {\n this._close();\n } else {\n this.timer = this._delay( function() {\n this._close();\n }, this.delay );\n }\n\n nested = item.children( \".ui-menu\" );\n if ( nested.length && event && ( /^mouse/.test( event.type ) ) ) {\n this._startOpening( nested );\n }\n this.activeMenu = item.parent();\n\n this._trigger( \"focus\", event, { item: item } );\n },\n\n _scrollIntoView: function( item ) {\n var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight;\n if ( this._hasScroll() ) {\n borderTop = parseFloat( $.css( this.activeMenu[ 0 ], \"borderTopWidth\" ) ) || 0;\n paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], \"paddingTop\" ) ) || 0;\n offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop;\n scroll = this.activeMenu.scrollTop();\n elementHeight = this.activeMenu.height();\n itemHeight = item.outerHeight();\n\n if ( offset < 0 ) {\n this.activeMenu.scrollTop( scroll + offset );\n } else if ( offset + itemHeight > elementHeight ) {\n this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight );\n }\n }\n },\n\n blur: function( event, fromFocus ) {\n if ( !fromFocus ) {\n clearTimeout( this.timer );\n }\n\n if ( !this.active ) {\n return;\n }\n\n this._removeClass( this.active.children( \".ui-menu-item-wrapper\" ),\n null, \"ui-state-active\" );\n\n this._trigger( \"blur\", event, { item: this.active } );\n this.active = null;\n },\n\n _startOpening: function( submenu ) {\n clearTimeout( this.timer );\n\n // Don't open if already open fixes a Firefox bug that caused a .5 pixel\n // shift in the submenu position when mousing over the caret icon\n if ( submenu.attr( \"aria-hidden\" ) !== \"true\" ) {\n return;\n }\n\n this.timer = this._delay( function() {\n this._close();\n this._open( submenu );\n }, this.delay );\n },\n\n _open: function( submenu ) {\n var position = $.extend( {\n of: this.active\n }, this.options.position );\n\n clearTimeout( this.timer );\n this.element.find( \".ui-menu\" ).not( submenu.parents( \".ui-menu\" ) )\n .hide()\n .attr( \"aria-hidden\", \"true\" );\n\n submenu\n .show()\n .removeAttr( \"aria-hidden\" )\n .attr( \"aria-expanded\", \"true\" )\n .position( position );\n },\n\n collapseAll: function( event, all ) {\n clearTimeout( this.timer );\n this.timer = this._delay( function() {\n\n // If we were passed an event, look for the submenu that contains the event\n var currentMenu = all ? this.element :\n $( event && event.target ).closest( this.element.find( \".ui-menu\" ) );\n\n // If we found no valid submenu ancestor, use the main menu to close all\n // sub menus anyway\n if ( !currentMenu.length ) {\n currentMenu = this.element;\n }\n\n this._close( currentMenu );\n\n this.blur( event );\n\n // Work around active item staying active after menu is blurred\n this._removeClass( currentMenu.find( \".ui-state-active\" ), null, \"ui-state-active\" );\n\n this.activeMenu = currentMenu;\n }, all ? 0 : this.delay );\n },\n\n // With no arguments, closes the currently active menu - if nothing is active\n // it closes all menus. If passed an argument, it will search for menus BELOW\n _close: function( startMenu ) {\n if ( !startMenu ) {\n startMenu = this.active ? this.active.parent() : this.element;\n }\n\n startMenu.find( \".ui-menu\" )\n .hide()\n .attr( \"aria-hidden\", \"true\" )\n .attr( \"aria-expanded\", \"false\" );\n },\n\n _closeOnDocumentClick: function( event ) {\n return !$( event.target ).closest( \".ui-menu\" ).length;\n },\n\n _isDivider: function( item ) {\n\n // Match hyphen, em dash, en dash\n return !/[^\\-\\u2014\\u2013\\s]/.test( item.text() );\n },\n\n collapse: function( event ) {\n var newItem = this.active &&\n this.active.parent().closest( \".ui-menu-item\", this.element );\n if ( newItem && newItem.length ) {\n this._close();\n this.focus( event, newItem );\n }\n },\n\n expand: function( event ) {\n var newItem = this.active && this._menuItems( this.active.children( \".ui-menu\" ) ).first();\n\n if ( newItem && newItem.length ) {\n this._open( newItem.parent() );\n\n // Delay so Firefox will not hide activedescendant change in expanding submenu from AT\n this._delay( function() {\n this.focus( event, newItem );\n } );\n }\n },\n\n next: function( event ) {\n this._move( \"next\", \"first\", event );\n },\n\n previous: function( event ) {\n this._move( \"prev\", \"last\", event );\n },\n\n isFirstItem: function() {\n return this.active && !this.active.prevAll( \".ui-menu-item\" ).length;\n },\n\n isLastItem: function() {\n return this.active && !this.active.nextAll( \".ui-menu-item\" ).length;\n },\n\n _menuItems: function( menu ) {\n return ( menu || this.element )\n .find( this.options.items )\n .filter( \".ui-menu-item\" );\n },\n\n _move: function( direction, filter, event ) {\n var next;\n if ( this.active ) {\n if ( direction === \"first\" || direction === \"last\" ) {\n next = this.active\n [ direction === \"first\" ? \"prevAll\" : \"nextAll\" ]( \".ui-menu-item\" )\n .last();\n } else {\n next = this.active\n [ direction + \"All\" ]( \".ui-menu-item\" )\n .first();\n }\n }\n if ( !next || !next.length || !this.active ) {\n next = this._menuItems( this.activeMenu )[ filter ]();\n }\n\n this.focus( event, next );\n },\n\n nextPage: function( event ) {\n var item, base, height;\n\n if ( !this.active ) {\n this.next( event );\n return;\n }\n if ( this.isLastItem() ) {\n return;\n }\n if ( this._hasScroll() ) {\n base = this.active.offset().top;\n height = this.element.innerHeight();\n\n // jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.\n if ( $.fn.jquery.indexOf( \"3.2.\" ) === 0 ) {\n height += this.element[ 0 ].offsetHeight - this.element.outerHeight();\n }\n\n this.active.nextAll( \".ui-menu-item\" ).each( function() {\n item = $( this );\n return item.offset().top - base - height < 0;\n } );\n\n this.focus( event, item );\n } else {\n this.focus( event, this._menuItems( this.activeMenu )\n [ !this.active ? \"first\" : \"last\" ]() );\n }\n },\n\n previousPage: function( event ) {\n var item, base, height;\n if ( !this.active ) {\n this.next( event );\n return;\n }\n if ( this.isFirstItem() ) {\n return;\n }\n if ( this._hasScroll() ) {\n base = this.active.offset().top;\n height = this.element.innerHeight();\n\n // jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.\n if ( $.fn.jquery.indexOf( \"3.2.\" ) === 0 ) {\n height += this.element[ 0 ].offsetHeight - this.element.outerHeight();\n }\n\n this.active.prevAll( \".ui-menu-item\" ).each( function() {\n item = $( this );\n return item.offset().top - base + height > 0;\n } );\n\n this.focus( event, item );\n } else {\n this.focus( event, this._menuItems( this.activeMenu ).first() );\n }\n },\n\n _hasScroll: function() {\n return this.element.outerHeight() < this.element.prop( \"scrollHeight\" );\n },\n\n select: function( event ) {\n\n // TODO: It should never be possible to not have an active item at this\n // point, but the tests don't trigger mouseenter before click.\n this.active = this.active || $( event.target ).closest( \".ui-menu-item\" );\n var ui = { item: this.active };\n if ( !this.active.has( \".ui-menu\" ).length ) {\n this.collapseAll( event, true );\n }\n this._trigger( \"select\", event, ui );\n },\n\n _filterMenuItems: function( character ) {\n var escapedCharacter = character.replace( /[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, \"\\\\$&\" ),\n regex = new RegExp( \"^\" + escapedCharacter, \"i\" );\n\n return this.activeMenu\n .find( this.options.items )\n\n // Only match on items, not dividers or other content (#10571)\n .filter( \".ui-menu-item\" )\n .filter( function() {\n return regex.test(\n String.prototype.trim.call(\n $( this ).children( \".ui-menu-item-wrapper\" ).text() ) );\n } );\n }\n } );\n\n} );\n","jquery/ui-modules/widgets/slider.js":"/*!\n * jQuery UI Slider 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Slider\n//>>group: Widgets\n//>>description: Displays a flexible slider with ranges and accessibility via keyboard.\n//>>docs: http://api.jqueryui.com/slider/\n//>>demos: http://jqueryui.com/slider/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/slider.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./mouse\",\n \"../keycode\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.slider\", $.ui.mouse, {\n version: \"1.13.2\",\n widgetEventPrefix: \"slide\",\n\n options: {\n animate: false,\n classes: {\n \"ui-slider\": \"ui-corner-all\",\n \"ui-slider-handle\": \"ui-corner-all\",\n\n // Note: ui-widget-header isn't the most fittingly semantic framework class for this\n // element, but worked best visually with a variety of themes\n \"ui-slider-range\": \"ui-corner-all ui-widget-header\"\n },\n distance: 0,\n max: 100,\n min: 0,\n orientation: \"horizontal\",\n range: false,\n step: 1,\n value: 0,\n values: null,\n\n // Callbacks\n change: null,\n slide: null,\n start: null,\n stop: null\n },\n\n // Number of pages in a slider\n // (how many times can you page up/down to go through the whole range)\n numPages: 5,\n\n _create: function() {\n this._keySliding = false;\n this._mouseSliding = false;\n this._animateOff = true;\n this._handleIndex = null;\n this._detectOrientation();\n this._mouseInit();\n this._calculateNewMax();\n\n this._addClass( \"ui-slider ui-slider-\" + this.orientation,\n \"ui-widget ui-widget-content\" );\n\n this._refresh();\n\n this._animateOff = false;\n },\n\n _refresh: function() {\n this._createRange();\n this._createHandles();\n this._setupEvents();\n this._refreshValue();\n },\n\n _createHandles: function() {\n var i, handleCount,\n options = this.options,\n existingHandles = this.element.find( \".ui-slider-handle\" ),\n handle = \"<span tabindex='0'></span>\",\n handles = [];\n\n handleCount = ( options.values && options.values.length ) || 1;\n\n if ( existingHandles.length > handleCount ) {\n existingHandles.slice( handleCount ).remove();\n existingHandles = existingHandles.slice( 0, handleCount );\n }\n\n for ( i = existingHandles.length; i < handleCount; i++ ) {\n handles.push( handle );\n }\n\n this.handles = existingHandles.add( $( handles.join( \"\" ) ).appendTo( this.element ) );\n\n this._addClass( this.handles, \"ui-slider-handle\", \"ui-state-default\" );\n\n this.handle = this.handles.eq( 0 );\n\n this.handles.each( function( i ) {\n $( this )\n .data( \"ui-slider-handle-index\", i )\n .attr( \"tabIndex\", 0 );\n } );\n },\n\n _createRange: function() {\n var options = this.options;\n\n if ( options.range ) {\n if ( options.range === true ) {\n if ( !options.values ) {\n options.values = [ this._valueMin(), this._valueMin() ];\n } else if ( options.values.length && options.values.length !== 2 ) {\n options.values = [ options.values[ 0 ], options.values[ 0 ] ];\n } else if ( Array.isArray( options.values ) ) {\n options.values = options.values.slice( 0 );\n }\n }\n\n if ( !this.range || !this.range.length ) {\n this.range = $( \"<div>\" )\n .appendTo( this.element );\n\n this._addClass( this.range, \"ui-slider-range\" );\n } else {\n this._removeClass( this.range, \"ui-slider-range-min ui-slider-range-max\" );\n\n // Handle range switching from true to min/max\n this.range.css( {\n \"left\": \"\",\n \"bottom\": \"\"\n } );\n }\n if ( options.range === \"min\" || options.range === \"max\" ) {\n this._addClass( this.range, \"ui-slider-range-\" + options.range );\n }\n } else {\n if ( this.range ) {\n this.range.remove();\n }\n this.range = null;\n }\n },\n\n _setupEvents: function() {\n this._off( this.handles );\n this._on( this.handles, this._handleEvents );\n this._hoverable( this.handles );\n this._focusable( this.handles );\n },\n\n _destroy: function() {\n this.handles.remove();\n if ( this.range ) {\n this.range.remove();\n }\n\n this._mouseDestroy();\n },\n\n _mouseCapture: function( event ) {\n var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,\n that = this,\n o = this.options;\n\n if ( o.disabled ) {\n return false;\n }\n\n this.elementSize = {\n width: this.element.outerWidth(),\n height: this.element.outerHeight()\n };\n this.elementOffset = this.element.offset();\n\n position = { x: event.pageX, y: event.pageY };\n normValue = this._normValueFromMouse( position );\n distance = this._valueMax() - this._valueMin() + 1;\n this.handles.each( function( i ) {\n var thisDistance = Math.abs( normValue - that.values( i ) );\n if ( ( distance > thisDistance ) ||\n ( distance === thisDistance &&\n ( i === that._lastChangedValue || that.values( i ) === o.min ) ) ) {\n distance = thisDistance;\n closestHandle = $( this );\n index = i;\n }\n } );\n\n allowed = this._start( event, index );\n if ( allowed === false ) {\n return false;\n }\n this._mouseSliding = true;\n\n this._handleIndex = index;\n\n this._addClass( closestHandle, null, \"ui-state-active\" );\n closestHandle.trigger( \"focus\" );\n\n offset = closestHandle.offset();\n mouseOverHandle = !$( event.target ).parents().addBack().is( \".ui-slider-handle\" );\n this._clickOffset = mouseOverHandle ? { left: 0, top: 0 } : {\n left: event.pageX - offset.left - ( closestHandle.width() / 2 ),\n top: event.pageY - offset.top -\n ( closestHandle.height() / 2 ) -\n ( parseInt( closestHandle.css( \"borderTopWidth\" ), 10 ) || 0 ) -\n ( parseInt( closestHandle.css( \"borderBottomWidth\" ), 10 ) || 0 ) +\n ( parseInt( closestHandle.css( \"marginTop\" ), 10 ) || 0 )\n };\n\n if ( !this.handles.hasClass( \"ui-state-hover\" ) ) {\n this._slide( event, index, normValue );\n }\n this._animateOff = true;\n return true;\n },\n\n _mouseStart: function() {\n return true;\n },\n\n _mouseDrag: function( event ) {\n var position = { x: event.pageX, y: event.pageY },\n normValue = this._normValueFromMouse( position );\n\n this._slide( event, this._handleIndex, normValue );\n\n return false;\n },\n\n _mouseStop: function( event ) {\n this._removeClass( this.handles, null, \"ui-state-active\" );\n this._mouseSliding = false;\n\n this._stop( event, this._handleIndex );\n this._change( event, this._handleIndex );\n\n this._handleIndex = null;\n this._clickOffset = null;\n this._animateOff = false;\n\n return false;\n },\n\n _detectOrientation: function() {\n this.orientation = ( this.options.orientation === \"vertical\" ) ? \"vertical\" : \"horizontal\";\n },\n\n _normValueFromMouse: function( position ) {\n var pixelTotal,\n pixelMouse,\n percentMouse,\n valueTotal,\n valueMouse;\n\n if ( this.orientation === \"horizontal\" ) {\n pixelTotal = this.elementSize.width;\n pixelMouse = position.x - this.elementOffset.left -\n ( this._clickOffset ? this._clickOffset.left : 0 );\n } else {\n pixelTotal = this.elementSize.height;\n pixelMouse = position.y - this.elementOffset.top -\n ( this._clickOffset ? this._clickOffset.top : 0 );\n }\n\n percentMouse = ( pixelMouse / pixelTotal );\n if ( percentMouse > 1 ) {\n percentMouse = 1;\n }\n if ( percentMouse < 0 ) {\n percentMouse = 0;\n }\n if ( this.orientation === \"vertical\" ) {\n percentMouse = 1 - percentMouse;\n }\n\n valueTotal = this._valueMax() - this._valueMin();\n valueMouse = this._valueMin() + percentMouse * valueTotal;\n\n return this._trimAlignValue( valueMouse );\n },\n\n _uiHash: function( index, value, values ) {\n var uiHash = {\n handle: this.handles[ index ],\n handleIndex: index,\n value: value !== undefined ? value : this.value()\n };\n\n if ( this._hasMultipleValues() ) {\n uiHash.value = value !== undefined ? value : this.values( index );\n uiHash.values = values || this.values();\n }\n\n return uiHash;\n },\n\n _hasMultipleValues: function() {\n return this.options.values && this.options.values.length;\n },\n\n _start: function( event, index ) {\n return this._trigger( \"start\", event, this._uiHash( index ) );\n },\n\n _slide: function( event, index, newVal ) {\n var allowed, otherVal,\n currentValue = this.value(),\n newValues = this.values();\n\n if ( this._hasMultipleValues() ) {\n otherVal = this.values( index ? 0 : 1 );\n currentValue = this.values( index );\n\n if ( this.options.values.length === 2 && this.options.range === true ) {\n newVal = index === 0 ? Math.min( otherVal, newVal ) : Math.max( otherVal, newVal );\n }\n\n newValues[ index ] = newVal;\n }\n\n if ( newVal === currentValue ) {\n return;\n }\n\n allowed = this._trigger( \"slide\", event, this._uiHash( index, newVal, newValues ) );\n\n // A slide can be canceled by returning false from the slide callback\n if ( allowed === false ) {\n return;\n }\n\n if ( this._hasMultipleValues() ) {\n this.values( index, newVal );\n } else {\n this.value( newVal );\n }\n },\n\n _stop: function( event, index ) {\n this._trigger( \"stop\", event, this._uiHash( index ) );\n },\n\n _change: function( event, index ) {\n if ( !this._keySliding && !this._mouseSliding ) {\n\n //store the last changed value index for reference when handles overlap\n this._lastChangedValue = index;\n this._trigger( \"change\", event, this._uiHash( index ) );\n }\n },\n\n value: function( newValue ) {\n if ( arguments.length ) {\n this.options.value = this._trimAlignValue( newValue );\n this._refreshValue();\n this._change( null, 0 );\n return;\n }\n\n return this._value();\n },\n\n values: function( index, newValue ) {\n var vals,\n newValues,\n i;\n\n if ( arguments.length > 1 ) {\n this.options.values[ index ] = this._trimAlignValue( newValue );\n this._refreshValue();\n this._change( null, index );\n return;\n }\n\n if ( arguments.length ) {\n if ( Array.isArray( arguments[ 0 ] ) ) {\n vals = this.options.values;\n newValues = arguments[ 0 ];\n for ( i = 0; i < vals.length; i += 1 ) {\n vals[ i ] = this._trimAlignValue( newValues[ i ] );\n this._change( null, i );\n }\n this._refreshValue();\n } else {\n if ( this._hasMultipleValues() ) {\n return this._values( index );\n } else {\n return this.value();\n }\n }\n } else {\n return this._values();\n }\n },\n\n _setOption: function( key, value ) {\n var i,\n valsLength = 0;\n\n if ( key === \"range\" && this.options.range === true ) {\n if ( value === \"min\" ) {\n this.options.value = this._values( 0 );\n this.options.values = null;\n } else if ( value === \"max\" ) {\n this.options.value = this._values( this.options.values.length - 1 );\n this.options.values = null;\n }\n }\n\n if ( Array.isArray( this.options.values ) ) {\n valsLength = this.options.values.length;\n }\n\n this._super( key, value );\n\n switch ( key ) {\n case \"orientation\":\n this._detectOrientation();\n this._removeClass( \"ui-slider-horizontal ui-slider-vertical\" )\n ._addClass( \"ui-slider-\" + this.orientation );\n this._refreshValue();\n if ( this.options.range ) {\n this._refreshRange( value );\n }\n\n // Reset positioning from previous orientation\n this.handles.css( value === \"horizontal\" ? \"bottom\" : \"left\", \"\" );\n break;\n case \"value\":\n this._animateOff = true;\n this._refreshValue();\n this._change( null, 0 );\n this._animateOff = false;\n break;\n case \"values\":\n this._animateOff = true;\n this._refreshValue();\n\n // Start from the last handle to prevent unreachable handles (#9046)\n for ( i = valsLength - 1; i >= 0; i-- ) {\n this._change( null, i );\n }\n this._animateOff = false;\n break;\n case \"step\":\n case \"min\":\n case \"max\":\n this._animateOff = true;\n this._calculateNewMax();\n this._refreshValue();\n this._animateOff = false;\n break;\n case \"range\":\n this._animateOff = true;\n this._refresh();\n this._animateOff = false;\n break;\n }\n },\n\n _setOptionDisabled: function( value ) {\n this._super( value );\n\n this._toggleClass( null, \"ui-state-disabled\", !!value );\n },\n\n //internal value getter\n // _value() returns value trimmed by min and max, aligned by step\n _value: function() {\n var val = this.options.value;\n val = this._trimAlignValue( val );\n\n return val;\n },\n\n //internal values getter\n // _values() returns array of values trimmed by min and max, aligned by step\n // _values( index ) returns single value trimmed by min and max, aligned by step\n _values: function( index ) {\n var val,\n vals,\n i;\n\n if ( arguments.length ) {\n val = this.options.values[ index ];\n val = this._trimAlignValue( val );\n\n return val;\n } else if ( this._hasMultipleValues() ) {\n\n // .slice() creates a copy of the array\n // this copy gets trimmed by min and max and then returned\n vals = this.options.values.slice();\n for ( i = 0; i < vals.length; i += 1 ) {\n vals[ i ] = this._trimAlignValue( vals[ i ] );\n }\n\n return vals;\n } else {\n return [];\n }\n },\n\n // Returns the step-aligned value that val is closest to, between (inclusive) min and max\n _trimAlignValue: function( val ) {\n if ( val <= this._valueMin() ) {\n return this._valueMin();\n }\n if ( val >= this._valueMax() ) {\n return this._valueMax();\n }\n var step = ( this.options.step > 0 ) ? this.options.step : 1,\n valModStep = ( val - this._valueMin() ) % step,\n alignValue = val - valModStep;\n\n if ( Math.abs( valModStep ) * 2 >= step ) {\n alignValue += ( valModStep > 0 ) ? step : ( -step );\n }\n\n // Since JavaScript has problems with large floats, round\n // the final value to 5 digits after the decimal point (see #4124)\n return parseFloat( alignValue.toFixed( 5 ) );\n },\n\n _calculateNewMax: function() {\n var max = this.options.max,\n min = this._valueMin(),\n step = this.options.step,\n aboveMin = Math.round( ( max - min ) / step ) * step;\n max = aboveMin + min;\n if ( max > this.options.max ) {\n\n //If max is not divisible by step, rounding off may increase its value\n max -= step;\n }\n this.max = parseFloat( max.toFixed( this._precision() ) );\n },\n\n _precision: function() {\n var precision = this._precisionOf( this.options.step );\n if ( this.options.min !== null ) {\n precision = Math.max( precision, this._precisionOf( this.options.min ) );\n }\n return precision;\n },\n\n _precisionOf: function( num ) {\n var str = num.toString(),\n decimal = str.indexOf( \".\" );\n return decimal === -1 ? 0 : str.length - decimal - 1;\n },\n\n _valueMin: function() {\n return this.options.min;\n },\n\n _valueMax: function() {\n return this.max;\n },\n\n _refreshRange: function( orientation ) {\n if ( orientation === \"vertical\" ) {\n this.range.css( { \"width\": \"\", \"left\": \"\" } );\n }\n if ( orientation === \"horizontal\" ) {\n this.range.css( { \"height\": \"\", \"bottom\": \"\" } );\n }\n },\n\n _refreshValue: function() {\n var lastValPercent, valPercent, value, valueMin, valueMax,\n oRange = this.options.range,\n o = this.options,\n that = this,\n animate = ( !this._animateOff ) ? o.animate : false,\n _set = {};\n\n if ( this._hasMultipleValues() ) {\n this.handles.each( function( i ) {\n valPercent = ( that.values( i ) - that._valueMin() ) / ( that._valueMax() -\n that._valueMin() ) * 100;\n _set[ that.orientation === \"horizontal\" ? \"left\" : \"bottom\" ] = valPercent + \"%\";\n $( this ).stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( _set, o.animate );\n if ( that.options.range === true ) {\n if ( that.orientation === \"horizontal\" ) {\n if ( i === 0 ) {\n that.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n left: valPercent + \"%\"\n }, o.animate );\n }\n if ( i === 1 ) {\n that.range[ animate ? \"animate\" : \"css\" ]( {\n width: ( valPercent - lastValPercent ) + \"%\"\n }, {\n queue: false,\n duration: o.animate\n } );\n }\n } else {\n if ( i === 0 ) {\n that.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n bottom: ( valPercent ) + \"%\"\n }, o.animate );\n }\n if ( i === 1 ) {\n that.range[ animate ? \"animate\" : \"css\" ]( {\n height: ( valPercent - lastValPercent ) + \"%\"\n }, {\n queue: false,\n duration: o.animate\n } );\n }\n }\n }\n lastValPercent = valPercent;\n } );\n } else {\n value = this.value();\n valueMin = this._valueMin();\n valueMax = this._valueMax();\n valPercent = ( valueMax !== valueMin ) ?\n ( value - valueMin ) / ( valueMax - valueMin ) * 100 :\n 0;\n _set[ this.orientation === \"horizontal\" ? \"left\" : \"bottom\" ] = valPercent + \"%\";\n this.handle.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( _set, o.animate );\n\n if ( oRange === \"min\" && this.orientation === \"horizontal\" ) {\n this.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n width: valPercent + \"%\"\n }, o.animate );\n }\n if ( oRange === \"max\" && this.orientation === \"horizontal\" ) {\n this.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n width: ( 100 - valPercent ) + \"%\"\n }, o.animate );\n }\n if ( oRange === \"min\" && this.orientation === \"vertical\" ) {\n this.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n height: valPercent + \"%\"\n }, o.animate );\n }\n if ( oRange === \"max\" && this.orientation === \"vertical\" ) {\n this.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n height: ( 100 - valPercent ) + \"%\"\n }, o.animate );\n }\n }\n },\n\n _handleEvents: {\n keydown: function( event ) {\n var allowed, curVal, newVal, step,\n index = $( event.target ).data( \"ui-slider-handle-index\" );\n\n switch ( event.keyCode ) {\n case $.ui.keyCode.HOME:\n case $.ui.keyCode.END:\n case $.ui.keyCode.PAGE_UP:\n case $.ui.keyCode.PAGE_DOWN:\n case $.ui.keyCode.UP:\n case $.ui.keyCode.RIGHT:\n case $.ui.keyCode.DOWN:\n case $.ui.keyCode.LEFT:\n event.preventDefault();\n if ( !this._keySliding ) {\n this._keySliding = true;\n this._addClass( $( event.target ), null, \"ui-state-active\" );\n allowed = this._start( event, index );\n if ( allowed === false ) {\n return;\n }\n }\n break;\n }\n\n step = this.options.step;\n if ( this._hasMultipleValues() ) {\n curVal = newVal = this.values( index );\n } else {\n curVal = newVal = this.value();\n }\n\n switch ( event.keyCode ) {\n case $.ui.keyCode.HOME:\n newVal = this._valueMin();\n break;\n case $.ui.keyCode.END:\n newVal = this._valueMax();\n break;\n case $.ui.keyCode.PAGE_UP:\n newVal = this._trimAlignValue(\n curVal + ( ( this._valueMax() - this._valueMin() ) / this.numPages )\n );\n break;\n case $.ui.keyCode.PAGE_DOWN:\n newVal = this._trimAlignValue(\n curVal - ( ( this._valueMax() - this._valueMin() ) / this.numPages ) );\n break;\n case $.ui.keyCode.UP:\n case $.ui.keyCode.RIGHT:\n if ( curVal === this._valueMax() ) {\n return;\n }\n newVal = this._trimAlignValue( curVal + step );\n break;\n case $.ui.keyCode.DOWN:\n case $.ui.keyCode.LEFT:\n if ( curVal === this._valueMin() ) {\n return;\n }\n newVal = this._trimAlignValue( curVal - step );\n break;\n }\n\n this._slide( event, index, newVal );\n },\n keyup: function( event ) {\n var index = $( event.target ).data( \"ui-slider-handle-index\" );\n\n if ( this._keySliding ) {\n this._keySliding = false;\n this._stop( event, index );\n this._change( event, index );\n this._removeClass( $( event.target ), null, \"ui-state-active\" );\n }\n }\n }\n } );\n\n} );\n","jquery/ui-modules/widgets/selectmenu.js":"/*!\n * jQuery UI Selectmenu 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Selectmenu\n//>>group: Widgets\n/* eslint-disable max-len */\n//>>description: Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select.\n/* eslint-enable max-len */\n//>>docs: http://api.jqueryui.com/selectmenu/\n//>>demos: http://jqueryui.com/selectmenu/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/selectmenu.css, ../../themes/base/button.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./menu\",\n \"../form-reset-mixin\",\n \"../keycode\",\n \"../labels\",\n \"../position\",\n \"../unique-id\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.selectmenu\", [ $.ui.formResetMixin, {\n version: \"1.13.2\",\n defaultElement: \"<select>\",\n options: {\n appendTo: null,\n classes: {\n \"ui-selectmenu-button-open\": \"ui-corner-top\",\n \"ui-selectmenu-button-closed\": \"ui-corner-all\"\n },\n disabled: null,\n icons: {\n button: \"ui-icon-triangle-1-s\"\n },\n position: {\n my: \"left top\",\n at: \"left bottom\",\n collision: \"none\"\n },\n width: false,\n\n // Callbacks\n change: null,\n close: null,\n focus: null,\n open: null,\n select: null\n },\n\n _create: function() {\n var selectmenuId = this.element.uniqueId().attr( \"id\" );\n this.ids = {\n element: selectmenuId,\n button: selectmenuId + \"-button\",\n menu: selectmenuId + \"-menu\"\n };\n\n this._drawButton();\n this._drawMenu();\n this._bindFormResetHandler();\n\n this._rendered = false;\n this.menuItems = $();\n },\n\n _drawButton: function() {\n var icon,\n that = this,\n item = this._parseOption(\n this.element.find( \"option:selected\" ),\n this.element[ 0 ].selectedIndex\n );\n\n // Associate existing label with the new button\n this.labels = this.element.labels().attr( \"for\", this.ids.button );\n this._on( this.labels, {\n click: function( event ) {\n this.button.trigger( \"focus\" );\n event.preventDefault();\n }\n } );\n\n // Hide original select element\n this.element.hide();\n\n // Create button\n this.button = $( \"<span>\", {\n tabindex: this.options.disabled ? -1 : 0,\n id: this.ids.button,\n role: \"combobox\",\n \"aria-expanded\": \"false\",\n \"aria-autocomplete\": \"list\",\n \"aria-owns\": this.ids.menu,\n \"aria-haspopup\": \"true\",\n title: this.element.attr( \"title\" )\n } )\n .insertAfter( this.element );\n\n this._addClass( this.button, \"ui-selectmenu-button ui-selectmenu-button-closed\",\n \"ui-button ui-widget\" );\n\n icon = $( \"<span>\" ).appendTo( this.button );\n this._addClass( icon, \"ui-selectmenu-icon\", \"ui-icon \" + this.options.icons.button );\n this.buttonItem = this._renderButtonItem( item )\n .appendTo( this.button );\n\n if ( this.options.width !== false ) {\n this._resizeButton();\n }\n\n this._on( this.button, this._buttonEvents );\n this.button.one( \"focusin\", function() {\n\n // Delay rendering the menu items until the button receives focus.\n // The menu may have already been rendered via a programmatic open.\n if ( !that._rendered ) {\n that._refreshMenu();\n }\n } );\n },\n\n _drawMenu: function() {\n var that = this;\n\n // Create menu\n this.menu = $( \"<ul>\", {\n \"aria-hidden\": \"true\",\n \"aria-labelledby\": this.ids.button,\n id: this.ids.menu\n } );\n\n // Wrap menu\n this.menuWrap = $( \"<div>\" ).append( this.menu );\n this._addClass( this.menuWrap, \"ui-selectmenu-menu\", \"ui-front\" );\n this.menuWrap.appendTo( this._appendTo() );\n\n // Initialize menu widget\n this.menuInstance = this.menu\n .menu( {\n classes: {\n \"ui-menu\": \"ui-corner-bottom\"\n },\n role: \"listbox\",\n select: function( event, ui ) {\n event.preventDefault();\n\n // Support: IE8\n // If the item was selected via a click, the text selection\n // will be destroyed in IE\n that._setSelection();\n\n that._select( ui.item.data( \"ui-selectmenu-item\" ), event );\n },\n focus: function( event, ui ) {\n var item = ui.item.data( \"ui-selectmenu-item\" );\n\n // Prevent inital focus from firing and check if its a newly focused item\n if ( that.focusIndex != null && item.index !== that.focusIndex ) {\n that._trigger( \"focus\", event, { item: item } );\n if ( !that.isOpen ) {\n that._select( item, event );\n }\n }\n that.focusIndex = item.index;\n\n that.button.attr( \"aria-activedescendant\",\n that.menuItems.eq( item.index ).attr( \"id\" ) );\n }\n } )\n .menu( \"instance\" );\n\n // Don't close the menu on mouseleave\n this.menuInstance._off( this.menu, \"mouseleave\" );\n\n // Cancel the menu's collapseAll on document click\n this.menuInstance._closeOnDocumentClick = function() {\n return false;\n };\n\n // Selects often contain empty items, but never contain dividers\n this.menuInstance._isDivider = function() {\n return false;\n };\n },\n\n refresh: function() {\n this._refreshMenu();\n this.buttonItem.replaceWith(\n this.buttonItem = this._renderButtonItem(\n\n // Fall back to an empty object in case there are no options\n this._getSelectedItem().data( \"ui-selectmenu-item\" ) || {}\n )\n );\n if ( this.options.width === null ) {\n this._resizeButton();\n }\n },\n\n _refreshMenu: function() {\n var item,\n options = this.element.find( \"option\" );\n\n this.menu.empty();\n\n this._parseOptions( options );\n this._renderMenu( this.menu, this.items );\n\n this.menuInstance.refresh();\n this.menuItems = this.menu.find( \"li\" )\n .not( \".ui-selectmenu-optgroup\" )\n .find( \".ui-menu-item-wrapper\" );\n\n this._rendered = true;\n\n if ( !options.length ) {\n return;\n }\n\n item = this._getSelectedItem();\n\n // Update the menu to have the correct item focused\n this.menuInstance.focus( null, item );\n this._setAria( item.data( \"ui-selectmenu-item\" ) );\n\n // Set disabled state\n this._setOption( \"disabled\", this.element.prop( \"disabled\" ) );\n },\n\n open: function( event ) {\n if ( this.options.disabled ) {\n return;\n }\n\n // If this is the first time the menu is being opened, render the items\n if ( !this._rendered ) {\n this._refreshMenu();\n } else {\n\n // Menu clears focus on close, reset focus to selected item\n this._removeClass( this.menu.find( \".ui-state-active\" ), null, \"ui-state-active\" );\n this.menuInstance.focus( null, this._getSelectedItem() );\n }\n\n // If there are no options, don't open the menu\n if ( !this.menuItems.length ) {\n return;\n }\n\n this.isOpen = true;\n this._toggleAttr();\n this._resizeMenu();\n this._position();\n\n this._on( this.document, this._documentClick );\n\n this._trigger( \"open\", event );\n },\n\n _position: function() {\n this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );\n },\n\n close: function( event ) {\n if ( !this.isOpen ) {\n return;\n }\n\n this.isOpen = false;\n this._toggleAttr();\n\n this.range = null;\n this._off( this.document );\n\n this._trigger( \"close\", event );\n },\n\n widget: function() {\n return this.button;\n },\n\n menuWidget: function() {\n return this.menu;\n },\n\n _renderButtonItem: function( item ) {\n var buttonItem = $( \"<span>\" );\n\n this._setText( buttonItem, item.label );\n this._addClass( buttonItem, \"ui-selectmenu-text\" );\n\n return buttonItem;\n },\n\n _renderMenu: function( ul, items ) {\n var that = this,\n currentOptgroup = \"\";\n\n $.each( items, function( index, item ) {\n var li;\n\n if ( item.optgroup !== currentOptgroup ) {\n li = $( \"<li>\", {\n text: item.optgroup\n } );\n that._addClass( li, \"ui-selectmenu-optgroup\", \"ui-menu-divider\" +\n ( item.element.parent( \"optgroup\" ).prop( \"disabled\" ) ?\n \" ui-state-disabled\" :\n \"\" ) );\n\n li.appendTo( ul );\n\n currentOptgroup = item.optgroup;\n }\n\n that._renderItemData( ul, item );\n } );\n },\n\n _renderItemData: function( ul, item ) {\n return this._renderItem( ul, item ).data( \"ui-selectmenu-item\", item );\n },\n\n _renderItem: function( ul, item ) {\n var li = $( \"<li>\" ),\n wrapper = $( \"<div>\", {\n title: item.element.attr( \"title\" )\n } );\n\n if ( item.disabled ) {\n this._addClass( li, null, \"ui-state-disabled\" );\n }\n this._setText( wrapper, item.label );\n\n return li.append( wrapper ).appendTo( ul );\n },\n\n _setText: function( element, value ) {\n if ( value ) {\n element.text( value );\n } else {\n element.html( \" \" );\n }\n },\n\n _move: function( direction, event ) {\n var item, next,\n filter = \".ui-menu-item\";\n\n if ( this.isOpen ) {\n item = this.menuItems.eq( this.focusIndex ).parent( \"li\" );\n } else {\n item = this.menuItems.eq( this.element[ 0 ].selectedIndex ).parent( \"li\" );\n filter += \":not(.ui-state-disabled)\";\n }\n\n if ( direction === \"first\" || direction === \"last\" ) {\n next = item[ direction === \"first\" ? \"prevAll\" : \"nextAll\" ]( filter ).eq( -1 );\n } else {\n next = item[ direction + \"All\" ]( filter ).eq( 0 );\n }\n\n if ( next.length ) {\n this.menuInstance.focus( event, next );\n }\n },\n\n _getSelectedItem: function() {\n return this.menuItems.eq( this.element[ 0 ].selectedIndex ).parent( \"li\" );\n },\n\n _toggle: function( event ) {\n this[ this.isOpen ? \"close\" : \"open\" ]( event );\n },\n\n _setSelection: function() {\n var selection;\n\n if ( !this.range ) {\n return;\n }\n\n if ( window.getSelection ) {\n selection = window.getSelection();\n selection.removeAllRanges();\n selection.addRange( this.range );\n\n // Support: IE8\n } else {\n this.range.select();\n }\n\n // Support: IE\n // Setting the text selection kills the button focus in IE, but\n // restoring the focus doesn't kill the selection.\n this.button.trigger( \"focus\" );\n },\n\n _documentClick: {\n mousedown: function( event ) {\n if ( !this.isOpen ) {\n return;\n }\n\n if ( !$( event.target ).closest( \".ui-selectmenu-menu, #\" +\n $.escapeSelector( this.ids.button ) ).length ) {\n this.close( event );\n }\n }\n },\n\n _buttonEvents: {\n\n // Prevent text selection from being reset when interacting with the selectmenu (#10144)\n mousedown: function() {\n var selection;\n\n if ( window.getSelection ) {\n selection = window.getSelection();\n if ( selection.rangeCount ) {\n this.range = selection.getRangeAt( 0 );\n }\n\n // Support: IE8\n } else {\n this.range = document.selection.createRange();\n }\n },\n\n click: function( event ) {\n this._setSelection();\n this._toggle( event );\n },\n\n keydown: function( event ) {\n var preventDefault = true;\n switch ( event.keyCode ) {\n case $.ui.keyCode.TAB:\n case $.ui.keyCode.ESCAPE:\n this.close( event );\n preventDefault = false;\n break;\n case $.ui.keyCode.ENTER:\n if ( this.isOpen ) {\n this._selectFocusedItem( event );\n }\n break;\n case $.ui.keyCode.UP:\n if ( event.altKey ) {\n this._toggle( event );\n } else {\n this._move( \"prev\", event );\n }\n break;\n case $.ui.keyCode.DOWN:\n if ( event.altKey ) {\n this._toggle( event );\n } else {\n this._move( \"next\", event );\n }\n break;\n case $.ui.keyCode.SPACE:\n if ( this.isOpen ) {\n this._selectFocusedItem( event );\n } else {\n this._toggle( event );\n }\n break;\n case $.ui.keyCode.LEFT:\n this._move( \"prev\", event );\n break;\n case $.ui.keyCode.RIGHT:\n this._move( \"next\", event );\n break;\n case $.ui.keyCode.HOME:\n case $.ui.keyCode.PAGE_UP:\n this._move( \"first\", event );\n break;\n case $.ui.keyCode.END:\n case $.ui.keyCode.PAGE_DOWN:\n this._move( \"last\", event );\n break;\n default:\n this.menu.trigger( event );\n preventDefault = false;\n }\n\n if ( preventDefault ) {\n event.preventDefault();\n }\n }\n },\n\n _selectFocusedItem: function( event ) {\n var item = this.menuItems.eq( this.focusIndex ).parent( \"li\" );\n if ( !item.hasClass( \"ui-state-disabled\" ) ) {\n this._select( item.data( \"ui-selectmenu-item\" ), event );\n }\n },\n\n _select: function( item, event ) {\n var oldIndex = this.element[ 0 ].selectedIndex;\n\n // Change native select element\n this.element[ 0 ].selectedIndex = item.index;\n this.buttonItem.replaceWith( this.buttonItem = this._renderButtonItem( item ) );\n this._setAria( item );\n this._trigger( \"select\", event, { item: item } );\n\n if ( item.index !== oldIndex ) {\n this._trigger( \"change\", event, { item: item } );\n }\n\n this.close( event );\n },\n\n _setAria: function( item ) {\n var id = this.menuItems.eq( item.index ).attr( \"id\" );\n\n this.button.attr( {\n \"aria-labelledby\": id,\n \"aria-activedescendant\": id\n } );\n this.menu.attr( \"aria-activedescendant\", id );\n },\n\n _setOption: function( key, value ) {\n if ( key === \"icons\" ) {\n var icon = this.button.find( \"span.ui-icon\" );\n this._removeClass( icon, null, this.options.icons.button )\n ._addClass( icon, null, value.button );\n }\n\n this._super( key, value );\n\n if ( key === \"appendTo\" ) {\n this.menuWrap.appendTo( this._appendTo() );\n }\n\n if ( key === \"width\" ) {\n this._resizeButton();\n }\n },\n\n _setOptionDisabled: function( value ) {\n this._super( value );\n\n this.menuInstance.option( \"disabled\", value );\n this.button.attr( \"aria-disabled\", value );\n this._toggleClass( this.button, null, \"ui-state-disabled\", value );\n\n this.element.prop( \"disabled\", value );\n if ( value ) {\n this.button.attr( \"tabindex\", -1 );\n this.close();\n } else {\n this.button.attr( \"tabindex\", 0 );\n }\n },\n\n _appendTo: function() {\n var element = this.options.appendTo;\n\n if ( element ) {\n element = element.jquery || element.nodeType ?\n $( element ) :\n this.document.find( element ).eq( 0 );\n }\n\n if ( !element || !element[ 0 ] ) {\n element = this.element.closest( \".ui-front, dialog\" );\n }\n\n if ( !element.length ) {\n element = this.document[ 0 ].body;\n }\n\n return element;\n },\n\n _toggleAttr: function() {\n this.button.attr( \"aria-expanded\", this.isOpen );\n\n // We can't use two _toggleClass() calls here, because we need to make sure\n // we always remove classes first and add them second, otherwise if both classes have the\n // same theme class, it will be removed after we add it.\n this._removeClass( this.button, \"ui-selectmenu-button-\" +\n ( this.isOpen ? \"closed\" : \"open\" ) )\n ._addClass( this.button, \"ui-selectmenu-button-\" +\n ( this.isOpen ? \"open\" : \"closed\" ) )\n ._toggleClass( this.menuWrap, \"ui-selectmenu-open\", null, this.isOpen );\n\n this.menu.attr( \"aria-hidden\", !this.isOpen );\n },\n\n _resizeButton: function() {\n var width = this.options.width;\n\n // For `width: false`, just remove inline style and stop\n if ( width === false ) {\n this.button.css( \"width\", \"\" );\n return;\n }\n\n // For `width: null`, match the width of the original element\n if ( width === null ) {\n width = this.element.show().outerWidth();\n this.element.hide();\n }\n\n this.button.outerWidth( width );\n },\n\n _resizeMenu: function() {\n this.menu.outerWidth( Math.max(\n this.button.outerWidth(),\n\n // Support: IE10\n // IE10 wraps long text (possibly a rounding bug)\n // so we add 1px to avoid the wrapping\n this.menu.width( \"\" ).outerWidth() + 1\n ) );\n },\n\n _getCreateOptions: function() {\n var options = this._super();\n\n options.disabled = this.element.prop( \"disabled\" );\n\n return options;\n },\n\n _parseOptions: function( options ) {\n var that = this,\n data = [];\n options.each( function( index, item ) {\n if ( item.hidden ) {\n return;\n }\n\n data.push( that._parseOption( $( item ), index ) );\n } );\n this.items = data;\n },\n\n _parseOption: function( option, index ) {\n var optgroup = option.parent( \"optgroup\" );\n\n return {\n element: option,\n index: index,\n value: option.val(),\n label: option.text(),\n optgroup: optgroup.attr( \"label\" ) || \"\",\n disabled: optgroup.prop( \"disabled\" ) || option.prop( \"disabled\" )\n };\n },\n\n _destroy: function() {\n this._unbindFormResetHandler();\n this.menuWrap.remove();\n this.button.remove();\n this.element.show();\n this.element.removeUniqueId();\n this.labels.attr( \"for\", this.ids.element );\n }\n } ] );\n\n} );\n","jquery/ui-modules/widgets/sortable.js":"/*!\n * jQuery UI Sortable 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Sortable\n//>>group: Interactions\n//>>description: Enables items in a list to be sorted using the mouse.\n//>>docs: http://api.jqueryui.com/sortable/\n//>>demos: http://jqueryui.com/sortable/\n//>>css.structure: ../../themes/base/sortable.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./mouse\",\n \"../data\",\n \"../ie\",\n \"../scroll-parent\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.sortable\", $.ui.mouse, {\n version: \"1.13.2\",\n widgetEventPrefix: \"sort\",\n ready: false,\n options: {\n appendTo: \"parent\",\n axis: false,\n connectWith: false,\n containment: false,\n cursor: \"auto\",\n cursorAt: false,\n dropOnEmpty: true,\n forcePlaceholderSize: false,\n forceHelperSize: false,\n grid: false,\n handle: false,\n helper: \"original\",\n items: \"> *\",\n opacity: false,\n placeholder: false,\n revert: false,\n scroll: true,\n scrollSensitivity: 20,\n scrollSpeed: 20,\n scope: \"default\",\n tolerance: \"intersect\",\n zIndex: 1000,\n\n // Callbacks\n activate: null,\n beforeStop: null,\n change: null,\n deactivate: null,\n out: null,\n over: null,\n receive: null,\n remove: null,\n sort: null,\n start: null,\n stop: null,\n update: null\n },\n\n _isOverAxis: function( x, reference, size ) {\n return ( x >= reference ) && ( x < ( reference + size ) );\n },\n\n _isFloating: function( item ) {\n return ( /left|right/ ).test( item.css( \"float\" ) ) ||\n ( /inline|table-cell/ ).test( item.css( \"display\" ) );\n },\n\n _create: function() {\n this.containerCache = {};\n this._addClass( \"ui-sortable\" );\n\n //Get the items\n this.refresh();\n\n //Let's determine the parent's offset\n this.offset = this.element.offset();\n\n //Initialize mouse events for interaction\n this._mouseInit();\n\n this._setHandleClassName();\n\n //We're ready to go\n this.ready = true;\n\n },\n\n _setOption: function( key, value ) {\n this._super( key, value );\n\n if ( key === \"handle\" ) {\n this._setHandleClassName();\n }\n },\n\n _setHandleClassName: function() {\n var that = this;\n this._removeClass( this.element.find( \".ui-sortable-handle\" ), \"ui-sortable-handle\" );\n $.each( this.items, function() {\n that._addClass(\n this.instance.options.handle ?\n this.item.find( this.instance.options.handle ) :\n this.item,\n \"ui-sortable-handle\"\n );\n } );\n },\n\n _destroy: function() {\n this._mouseDestroy();\n\n for ( var i = this.items.length - 1; i >= 0; i-- ) {\n this.items[ i ].item.removeData( this.widgetName + \"-item\" );\n }\n\n return this;\n },\n\n _mouseCapture: function( event, overrideHandle ) {\n var currentItem = null,\n validHandle = false,\n that = this;\n\n if ( this.reverting ) {\n return false;\n }\n\n if ( this.options.disabled || this.options.type === \"static\" ) {\n return false;\n }\n\n //We have to refresh the items data once first\n this._refreshItems( event );\n\n //Find out if the clicked node (or one of its parents) is a actual item in this.items\n $( event.target ).parents().each( function() {\n if ( $.data( this, that.widgetName + \"-item\" ) === that ) {\n currentItem = $( this );\n return false;\n }\n } );\n if ( $.data( event.target, that.widgetName + \"-item\" ) === that ) {\n currentItem = $( event.target );\n }\n\n if ( !currentItem ) {\n return false;\n }\n if ( this.options.handle && !overrideHandle ) {\n $( this.options.handle, currentItem ).find( \"*\" ).addBack().each( function() {\n if ( this === event.target ) {\n validHandle = true;\n }\n } );\n if ( !validHandle ) {\n return false;\n }\n }\n\n this.currentItem = currentItem;\n this._removeCurrentsFromItems();\n return true;\n\n },\n\n _mouseStart: function( event, overrideHandle, noActivation ) {\n\n var i, body,\n o = this.options;\n\n this.currentContainer = this;\n\n //We only need to call refreshPositions, because the refreshItems call has been moved to\n // mouseCapture\n this.refreshPositions();\n\n //Prepare the dragged items parent\n this.appendTo = $( o.appendTo !== \"parent\" ?\n o.appendTo :\n this.currentItem.parent() );\n\n //Create and append the visible helper\n this.helper = this._createHelper( event );\n\n //Cache the helper size\n this._cacheHelperProportions();\n\n /*\n * - Position generation -\n * This block generates everything position related - it's the core of draggables.\n */\n\n //Cache the margins of the original element\n this._cacheMargins();\n\n //The element's absolute position on the page minus margins\n this.offset = this.currentItem.offset();\n this.offset = {\n top: this.offset.top - this.margins.top,\n left: this.offset.left - this.margins.left\n };\n\n $.extend( this.offset, {\n click: { //Where the click happened, relative to the element\n left: event.pageX - this.offset.left,\n top: event.pageY - this.offset.top\n },\n\n // This is a relative to absolute position minus the actual position calculation -\n // only used for relative positioned helper\n relative: this._getRelativeOffset()\n } );\n\n // After we get the helper offset, but before we get the parent offset we can\n // change the helper's position to absolute\n // TODO: Still need to figure out a way to make relative sorting possible\n this.helper.css( \"position\", \"absolute\" );\n this.cssPosition = this.helper.css( \"position\" );\n\n //Adjust the mouse offset relative to the helper if \"cursorAt\" is supplied\n if ( o.cursorAt ) {\n this._adjustOffsetFromHelper( o.cursorAt );\n }\n\n //Cache the former DOM position\n this.domPosition = {\n prev: this.currentItem.prev()[ 0 ],\n parent: this.currentItem.parent()[ 0 ]\n };\n\n // If the helper is not the original, hide the original so it's not playing any role during\n // the drag, won't cause anything bad this way\n if ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {\n this.currentItem.hide();\n }\n\n //Create the placeholder\n this._createPlaceholder();\n\n //Get the next scrolling parent\n this.scrollParent = this.placeholder.scrollParent();\n\n $.extend( this.offset, {\n parent: this._getParentOffset()\n } );\n\n //Set a containment if given in the options\n if ( o.containment ) {\n this._setContainment();\n }\n\n if ( o.cursor && o.cursor !== \"auto\" ) { // cursor option\n body = this.document.find( \"body\" );\n\n // Support: IE\n this.storedCursor = body.css( \"cursor\" );\n body.css( \"cursor\", o.cursor );\n\n this.storedStylesheet =\n $( \"<style>*{ cursor: \" + o.cursor + \" !important; }</style>\" ).appendTo( body );\n }\n\n // We need to make sure to grab the zIndex before setting the\n // opacity, because setting the opacity to anything lower than 1\n // causes the zIndex to change from \"auto\" to 0.\n if ( o.zIndex ) { // zIndex option\n if ( this.helper.css( \"zIndex\" ) ) {\n this._storedZIndex = this.helper.css( \"zIndex\" );\n }\n this.helper.css( \"zIndex\", o.zIndex );\n }\n\n if ( o.opacity ) { // opacity option\n if ( this.helper.css( \"opacity\" ) ) {\n this._storedOpacity = this.helper.css( \"opacity\" );\n }\n this.helper.css( \"opacity\", o.opacity );\n }\n\n //Prepare scrolling\n if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n this.scrollParent[ 0 ].tagName !== \"HTML\" ) {\n this.overflowOffset = this.scrollParent.offset();\n }\n\n //Call callbacks\n this._trigger( \"start\", event, this._uiHash() );\n\n //Recache the helper size\n if ( !this._preserveHelperProportions ) {\n this._cacheHelperProportions();\n }\n\n //Post \"activate\" events to possible containers\n if ( !noActivation ) {\n for ( i = this.containers.length - 1; i >= 0; i-- ) {\n this.containers[ i ]._trigger( \"activate\", event, this._uiHash( this ) );\n }\n }\n\n //Prepare possible droppables\n if ( $.ui.ddmanager ) {\n $.ui.ddmanager.current = this;\n }\n\n if ( $.ui.ddmanager && !o.dropBehaviour ) {\n $.ui.ddmanager.prepareOffsets( this, event );\n }\n\n this.dragging = true;\n\n this._addClass( this.helper, \"ui-sortable-helper\" );\n\n //Move the helper, if needed\n if ( !this.helper.parent().is( this.appendTo ) ) {\n this.helper.detach().appendTo( this.appendTo );\n\n //Update position\n this.offset.parent = this._getParentOffset();\n }\n\n //Generate the original position\n this.position = this.originalPosition = this._generatePosition( event );\n this.originalPageX = event.pageX;\n this.originalPageY = event.pageY;\n this.lastPositionAbs = this.positionAbs = this._convertPositionTo( \"absolute\" );\n\n this._mouseDrag( event );\n\n return true;\n\n },\n\n _scroll: function( event ) {\n var o = this.options,\n scrolled = false;\n\n if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n this.scrollParent[ 0 ].tagName !== \"HTML\" ) {\n\n if ( ( this.overflowOffset.top + this.scrollParent[ 0 ].offsetHeight ) -\n event.pageY < o.scrollSensitivity ) {\n this.scrollParent[ 0 ].scrollTop =\n scrolled = this.scrollParent[ 0 ].scrollTop + o.scrollSpeed;\n } else if ( event.pageY - this.overflowOffset.top < o.scrollSensitivity ) {\n this.scrollParent[ 0 ].scrollTop =\n scrolled = this.scrollParent[ 0 ].scrollTop - o.scrollSpeed;\n }\n\n if ( ( this.overflowOffset.left + this.scrollParent[ 0 ].offsetWidth ) -\n event.pageX < o.scrollSensitivity ) {\n this.scrollParent[ 0 ].scrollLeft = scrolled =\n this.scrollParent[ 0 ].scrollLeft + o.scrollSpeed;\n } else if ( event.pageX - this.overflowOffset.left < o.scrollSensitivity ) {\n this.scrollParent[ 0 ].scrollLeft = scrolled =\n this.scrollParent[ 0 ].scrollLeft - o.scrollSpeed;\n }\n\n } else {\n\n if ( event.pageY - this.document.scrollTop() < o.scrollSensitivity ) {\n scrolled = this.document.scrollTop( this.document.scrollTop() - o.scrollSpeed );\n } else if ( this.window.height() - ( event.pageY - this.document.scrollTop() ) <\n o.scrollSensitivity ) {\n scrolled = this.document.scrollTop( this.document.scrollTop() + o.scrollSpeed );\n }\n\n if ( event.pageX - this.document.scrollLeft() < o.scrollSensitivity ) {\n scrolled = this.document.scrollLeft(\n this.document.scrollLeft() - o.scrollSpeed\n );\n } else if ( this.window.width() - ( event.pageX - this.document.scrollLeft() ) <\n o.scrollSensitivity ) {\n scrolled = this.document.scrollLeft(\n this.document.scrollLeft() + o.scrollSpeed\n );\n }\n\n }\n\n return scrolled;\n },\n\n _mouseDrag: function( event ) {\n var i, item, itemElement, intersection,\n o = this.options;\n\n //Compute the helpers position\n this.position = this._generatePosition( event );\n this.positionAbs = this._convertPositionTo( \"absolute\" );\n\n //Set the helper position\n if ( !this.options.axis || this.options.axis !== \"y\" ) {\n this.helper[ 0 ].style.left = this.position.left + \"px\";\n }\n if ( !this.options.axis || this.options.axis !== \"x\" ) {\n this.helper[ 0 ].style.top = this.position.top + \"px\";\n }\n\n //Do scrolling\n if ( o.scroll ) {\n if ( this._scroll( event ) !== false ) {\n\n //Update item positions used in position checks\n this._refreshItemPositions( true );\n\n if ( $.ui.ddmanager && !o.dropBehaviour ) {\n $.ui.ddmanager.prepareOffsets( this, event );\n }\n }\n }\n\n this.dragDirection = {\n vertical: this._getDragVerticalDirection(),\n horizontal: this._getDragHorizontalDirection()\n };\n\n //Rearrange\n for ( i = this.items.length - 1; i >= 0; i-- ) {\n\n //Cache variables and intersection, continue if no intersection\n item = this.items[ i ];\n itemElement = item.item[ 0 ];\n intersection = this._intersectsWithPointer( item );\n if ( !intersection ) {\n continue;\n }\n\n // Only put the placeholder inside the current Container, skip all\n // items from other containers. This works because when moving\n // an item from one container to another the\n // currentContainer is switched before the placeholder is moved.\n //\n // Without this, moving items in \"sub-sortables\" can cause\n // the placeholder to jitter between the outer and inner container.\n if ( item.instance !== this.currentContainer ) {\n continue;\n }\n\n // Cannot intersect with itself\n // no useless actions that have been done before\n // no action if the item moved is the parent of the item checked\n if ( itemElement !== this.currentItem[ 0 ] &&\n this.placeholder[ intersection === 1 ?\n \"next\" : \"prev\" ]()[ 0 ] !== itemElement &&\n !$.contains( this.placeholder[ 0 ], itemElement ) &&\n ( this.options.type === \"semi-dynamic\" ?\n !$.contains( this.element[ 0 ], itemElement ) :\n true\n )\n ) {\n\n this.direction = intersection === 1 ? \"down\" : \"up\";\n\n if ( this.options.tolerance === \"pointer\" ||\n this._intersectsWithSides( item ) ) {\n this._rearrange( event, item );\n } else {\n break;\n }\n\n this._trigger( \"change\", event, this._uiHash() );\n break;\n }\n }\n\n //Post events to containers\n this._contactContainers( event );\n\n //Interconnect with droppables\n if ( $.ui.ddmanager ) {\n $.ui.ddmanager.drag( this, event );\n }\n\n //Call callbacks\n this._trigger( \"sort\", event, this._uiHash() );\n\n this.lastPositionAbs = this.positionAbs;\n return false;\n\n },\n\n _mouseStop: function( event, noPropagation ) {\n\n if ( !event ) {\n return;\n }\n\n //If we are using droppables, inform the manager about the drop\n if ( $.ui.ddmanager && !this.options.dropBehaviour ) {\n $.ui.ddmanager.drop( this, event );\n }\n\n if ( this.options.revert ) {\n var that = this,\n cur = this.placeholder.offset(),\n axis = this.options.axis,\n animation = {};\n\n if ( !axis || axis === \"x\" ) {\n animation.left = cur.left - this.offset.parent.left - this.margins.left +\n ( this.offsetParent[ 0 ] === this.document[ 0 ].body ?\n 0 :\n this.offsetParent[ 0 ].scrollLeft\n );\n }\n if ( !axis || axis === \"y\" ) {\n animation.top = cur.top - this.offset.parent.top - this.margins.top +\n ( this.offsetParent[ 0 ] === this.document[ 0 ].body ?\n 0 :\n this.offsetParent[ 0 ].scrollTop\n );\n }\n this.reverting = true;\n $( this.helper ).animate(\n animation,\n parseInt( this.options.revert, 10 ) || 500,\n function() {\n that._clear( event );\n }\n );\n } else {\n this._clear( event, noPropagation );\n }\n\n return false;\n\n },\n\n cancel: function() {\n\n if ( this.dragging ) {\n\n this._mouseUp( new $.Event( \"mouseup\", { target: null } ) );\n\n if ( this.options.helper === \"original\" ) {\n this.currentItem.css( this._storedCSS );\n this._removeClass( this.currentItem, \"ui-sortable-helper\" );\n } else {\n this.currentItem.show();\n }\n\n //Post deactivating events to containers\n for ( var i = this.containers.length - 1; i >= 0; i-- ) {\n this.containers[ i ]._trigger( \"deactivate\", null, this._uiHash( this ) );\n if ( this.containers[ i ].containerCache.over ) {\n this.containers[ i ]._trigger( \"out\", null, this._uiHash( this ) );\n this.containers[ i ].containerCache.over = 0;\n }\n }\n\n }\n\n if ( this.placeholder ) {\n\n //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,\n // it unbinds ALL events from the original node!\n if ( this.placeholder[ 0 ].parentNode ) {\n this.placeholder[ 0 ].parentNode.removeChild( this.placeholder[ 0 ] );\n }\n if ( this.options.helper !== \"original\" && this.helper &&\n this.helper[ 0 ].parentNode ) {\n this.helper.remove();\n }\n\n $.extend( this, {\n helper: null,\n dragging: false,\n reverting: false,\n _noFinalSort: null\n } );\n\n if ( this.domPosition.prev ) {\n $( this.domPosition.prev ).after( this.currentItem );\n } else {\n $( this.domPosition.parent ).prepend( this.currentItem );\n }\n }\n\n return this;\n\n },\n\n serialize: function( o ) {\n\n var items = this._getItemsAsjQuery( o && o.connected ),\n str = [];\n o = o || {};\n\n $( items ).each( function() {\n var res = ( $( o.item || this ).attr( o.attribute || \"id\" ) || \"\" )\n .match( o.expression || ( /(.+)[\\-=_](.+)/ ) );\n if ( res ) {\n str.push(\n ( o.key || res[ 1 ] + \"[]\" ) +\n \"=\" + ( o.key && o.expression ? res[ 1 ] : res[ 2 ] ) );\n }\n } );\n\n if ( !str.length && o.key ) {\n str.push( o.key + \"=\" );\n }\n\n return str.join( \"&\" );\n\n },\n\n toArray: function( o ) {\n\n var items = this._getItemsAsjQuery( o && o.connected ),\n ret = [];\n\n o = o || {};\n\n items.each( function() {\n ret.push( $( o.item || this ).attr( o.attribute || \"id\" ) || \"\" );\n } );\n return ret;\n\n },\n\n /* Be careful with the following core functions */\n _intersectsWith: function( item ) {\n\n var x1 = this.positionAbs.left,\n x2 = x1 + this.helperProportions.width,\n y1 = this.positionAbs.top,\n y2 = y1 + this.helperProportions.height,\n l = item.left,\n r = l + item.width,\n t = item.top,\n b = t + item.height,\n dyClick = this.offset.click.top,\n dxClick = this.offset.click.left,\n isOverElementHeight = ( this.options.axis === \"x\" ) || ( ( y1 + dyClick ) > t &&\n ( y1 + dyClick ) < b ),\n isOverElementWidth = ( this.options.axis === \"y\" ) || ( ( x1 + dxClick ) > l &&\n ( x1 + dxClick ) < r ),\n isOverElement = isOverElementHeight && isOverElementWidth;\n\n if ( this.options.tolerance === \"pointer\" ||\n this.options.forcePointerForContainers ||\n ( this.options.tolerance !== \"pointer\" &&\n this.helperProportions[ this.floating ? \"width\" : \"height\" ] >\n item[ this.floating ? \"width\" : \"height\" ] )\n ) {\n return isOverElement;\n } else {\n\n return ( l < x1 + ( this.helperProportions.width / 2 ) && // Right Half\n x2 - ( this.helperProportions.width / 2 ) < r && // Left Half\n t < y1 + ( this.helperProportions.height / 2 ) && // Bottom Half\n y2 - ( this.helperProportions.height / 2 ) < b ); // Top Half\n\n }\n },\n\n _intersectsWithPointer: function( item ) {\n var verticalDirection, horizontalDirection,\n isOverElementHeight = ( this.options.axis === \"x\" ) ||\n this._isOverAxis(\n this.positionAbs.top + this.offset.click.top, item.top, item.height ),\n isOverElementWidth = ( this.options.axis === \"y\" ) ||\n this._isOverAxis(\n this.positionAbs.left + this.offset.click.left, item.left, item.width ),\n isOverElement = isOverElementHeight && isOverElementWidth;\n\n if ( !isOverElement ) {\n return false;\n }\n\n verticalDirection = this.dragDirection.vertical;\n horizontalDirection = this.dragDirection.horizontal;\n\n return this.floating ?\n ( ( horizontalDirection === \"right\" || verticalDirection === \"down\" ) ? 2 : 1 ) :\n ( verticalDirection && ( verticalDirection === \"down\" ? 2 : 1 ) );\n\n },\n\n _intersectsWithSides: function( item ) {\n\n var isOverBottomHalf = this._isOverAxis( this.positionAbs.top +\n this.offset.click.top, item.top + ( item.height / 2 ), item.height ),\n isOverRightHalf = this._isOverAxis( this.positionAbs.left +\n this.offset.click.left, item.left + ( item.width / 2 ), item.width ),\n verticalDirection = this.dragDirection.vertical,\n horizontalDirection = this.dragDirection.horizontal;\n\n if ( this.floating && horizontalDirection ) {\n return ( ( horizontalDirection === \"right\" && isOverRightHalf ) ||\n ( horizontalDirection === \"left\" && !isOverRightHalf ) );\n } else {\n return verticalDirection && ( ( verticalDirection === \"down\" && isOverBottomHalf ) ||\n ( verticalDirection === \"up\" && !isOverBottomHalf ) );\n }\n\n },\n\n _getDragVerticalDirection: function() {\n var delta = this.positionAbs.top - this.lastPositionAbs.top;\n return delta !== 0 && ( delta > 0 ? \"down\" : \"up\" );\n },\n\n _getDragHorizontalDirection: function() {\n var delta = this.positionAbs.left - this.lastPositionAbs.left;\n return delta !== 0 && ( delta > 0 ? \"right\" : \"left\" );\n },\n\n refresh: function( event ) {\n this._refreshItems( event );\n this._setHandleClassName();\n this.refreshPositions();\n return this;\n },\n\n _connectWith: function() {\n var options = this.options;\n return options.connectWith.constructor === String ?\n [ options.connectWith ] :\n options.connectWith;\n },\n\n _getItemsAsjQuery: function( connected ) {\n\n var i, j, cur, inst,\n items = [],\n queries = [],\n connectWith = this._connectWith();\n\n if ( connectWith && connected ) {\n for ( i = connectWith.length - 1; i >= 0; i-- ) {\n cur = $( connectWith[ i ], this.document[ 0 ] );\n for ( j = cur.length - 1; j >= 0; j-- ) {\n inst = $.data( cur[ j ], this.widgetFullName );\n if ( inst && inst !== this && !inst.options.disabled ) {\n queries.push( [ typeof inst.options.items === \"function\" ?\n inst.options.items.call( inst.element ) :\n $( inst.options.items, inst.element )\n .not( \".ui-sortable-helper\" )\n .not( \".ui-sortable-placeholder\" ), inst ] );\n }\n }\n }\n }\n\n queries.push( [ typeof this.options.items === \"function\" ?\n this.options.items\n .call( this.element, null, { options: this.options, item: this.currentItem } ) :\n $( this.options.items, this.element )\n .not( \".ui-sortable-helper\" )\n .not( \".ui-sortable-placeholder\" ), this ] );\n\n function addItems() {\n items.push( this );\n }\n for ( i = queries.length - 1; i >= 0; i-- ) {\n queries[ i ][ 0 ].each( addItems );\n }\n\n return $( items );\n\n },\n\n _removeCurrentsFromItems: function() {\n\n var list = this.currentItem.find( \":data(\" + this.widgetName + \"-item)\" );\n\n this.items = $.grep( this.items, function( item ) {\n for ( var j = 0; j < list.length; j++ ) {\n if ( list[ j ] === item.item[ 0 ] ) {\n return false;\n }\n }\n return true;\n } );\n\n },\n\n _refreshItems: function( event ) {\n\n this.items = [];\n this.containers = [ this ];\n\n var i, j, cur, inst, targetData, _queries, item, queriesLength,\n items = this.items,\n queries = [ [ typeof this.options.items === \"function\" ?\n this.options.items.call( this.element[ 0 ], event, { item: this.currentItem } ) :\n $( this.options.items, this.element ), this ] ],\n connectWith = this._connectWith();\n\n //Shouldn't be run the first time through due to massive slow-down\n if ( connectWith && this.ready ) {\n for ( i = connectWith.length - 1; i >= 0; i-- ) {\n cur = $( connectWith[ i ], this.document[ 0 ] );\n for ( j = cur.length - 1; j >= 0; j-- ) {\n inst = $.data( cur[ j ], this.widgetFullName );\n if ( inst && inst !== this && !inst.options.disabled ) {\n queries.push( [ typeof inst.options.items === \"function\" ?\n inst.options.items\n .call( inst.element[ 0 ], event, { item: this.currentItem } ) :\n $( inst.options.items, inst.element ), inst ] );\n this.containers.push( inst );\n }\n }\n }\n }\n\n for ( i = queries.length - 1; i >= 0; i-- ) {\n targetData = queries[ i ][ 1 ];\n _queries = queries[ i ][ 0 ];\n\n for ( j = 0, queriesLength = _queries.length; j < queriesLength; j++ ) {\n item = $( _queries[ j ] );\n\n // Data for target checking (mouse manager)\n item.data( this.widgetName + \"-item\", targetData );\n\n items.push( {\n item: item,\n instance: targetData,\n width: 0, height: 0,\n left: 0, top: 0\n } );\n }\n }\n\n },\n\n _refreshItemPositions: function( fast ) {\n var i, item, t, p;\n\n for ( i = this.items.length - 1; i >= 0; i-- ) {\n item = this.items[ i ];\n\n //We ignore calculating positions of all connected containers when we're not over them\n if ( this.currentContainer && item.instance !== this.currentContainer &&\n item.item[ 0 ] !== this.currentItem[ 0 ] ) {\n continue;\n }\n\n t = this.options.toleranceElement ?\n $( this.options.toleranceElement, item.item ) :\n item.item;\n\n if ( !fast ) {\n item.width = t.outerWidth();\n item.height = t.outerHeight();\n }\n\n p = t.offset();\n item.left = p.left;\n item.top = p.top;\n }\n },\n\n refreshPositions: function( fast ) {\n\n // Determine whether items are being displayed horizontally\n this.floating = this.items.length ?\n this.options.axis === \"x\" || this._isFloating( this.items[ 0 ].item ) :\n false;\n\n // This has to be redone because due to the item being moved out/into the offsetParent,\n // the offsetParent's position will change\n if ( this.offsetParent && this.helper ) {\n this.offset.parent = this._getParentOffset();\n }\n\n this._refreshItemPositions( fast );\n\n var i, p;\n\n if ( this.options.custom && this.options.custom.refreshContainers ) {\n this.options.custom.refreshContainers.call( this );\n } else {\n for ( i = this.containers.length - 1; i >= 0; i-- ) {\n p = this.containers[ i ].element.offset();\n this.containers[ i ].containerCache.left = p.left;\n this.containers[ i ].containerCache.top = p.top;\n this.containers[ i ].containerCache.width =\n this.containers[ i ].element.outerWidth();\n this.containers[ i ].containerCache.height =\n this.containers[ i ].element.outerHeight();\n }\n }\n\n return this;\n },\n\n _createPlaceholder: function( that ) {\n that = that || this;\n var className, nodeName,\n o = that.options;\n\n if ( !o.placeholder || o.placeholder.constructor === String ) {\n className = o.placeholder;\n nodeName = that.currentItem[ 0 ].nodeName.toLowerCase();\n o.placeholder = {\n element: function() {\n\n var element = $( \"<\" + nodeName + \">\", that.document[ 0 ] );\n\n that._addClass( element, \"ui-sortable-placeholder\",\n className || that.currentItem[ 0 ].className )\n ._removeClass( element, \"ui-sortable-helper\" );\n\n if ( nodeName === \"tbody\" ) {\n that._createTrPlaceholder(\n that.currentItem.find( \"tr\" ).eq( 0 ),\n $( \"<tr>\", that.document[ 0 ] ).appendTo( element )\n );\n } else if ( nodeName === \"tr\" ) {\n that._createTrPlaceholder( that.currentItem, element );\n } else if ( nodeName === \"img\" ) {\n element.attr( \"src\", that.currentItem.attr( \"src\" ) );\n }\n\n if ( !className ) {\n element.css( \"visibility\", \"hidden\" );\n }\n\n return element;\n },\n update: function( container, p ) {\n\n // 1. If a className is set as 'placeholder option, we don't force sizes -\n // the class is responsible for that\n // 2. The option 'forcePlaceholderSize can be enabled to force it even if a\n // class name is specified\n if ( className && !o.forcePlaceholderSize ) {\n return;\n }\n\n // If the element doesn't have a actual height or width by itself (without\n // styles coming from a stylesheet), it receives the inline height and width\n // from the dragged item. Or, if it's a tbody or tr, it's going to have a height\n // anyway since we're populating them with <td>s above, but they're unlikely to\n // be the correct height on their own if the row heights are dynamic, so we'll\n // always assign the height of the dragged item given forcePlaceholderSize\n // is true.\n if ( !p.height() || ( o.forcePlaceholderSize &&\n ( nodeName === \"tbody\" || nodeName === \"tr\" ) ) ) {\n p.height(\n that.currentItem.innerHeight() -\n parseInt( that.currentItem.css( \"paddingTop\" ) || 0, 10 ) -\n parseInt( that.currentItem.css( \"paddingBottom\" ) || 0, 10 ) );\n }\n if ( !p.width() ) {\n p.width(\n that.currentItem.innerWidth() -\n parseInt( that.currentItem.css( \"paddingLeft\" ) || 0, 10 ) -\n parseInt( that.currentItem.css( \"paddingRight\" ) || 0, 10 ) );\n }\n }\n };\n }\n\n //Create the placeholder\n that.placeholder = $( o.placeholder.element.call( that.element, that.currentItem ) );\n\n //Append it after the actual current item\n that.currentItem.after( that.placeholder );\n\n //Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)\n o.placeholder.update( that, that.placeholder );\n\n },\n\n _createTrPlaceholder: function( sourceTr, targetTr ) {\n var that = this;\n\n sourceTr.children().each( function() {\n $( \"<td> </td>\", that.document[ 0 ] )\n .attr( \"colspan\", $( this ).attr( \"colspan\" ) || 1 )\n .appendTo( targetTr );\n } );\n },\n\n _contactContainers: function( event ) {\n var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom,\n floating, axis,\n innermostContainer = null,\n innermostIndex = null;\n\n // Get innermost container that intersects with item\n for ( i = this.containers.length - 1; i >= 0; i-- ) {\n\n // Never consider a container that's located within the item itself\n if ( $.contains( this.currentItem[ 0 ], this.containers[ i ].element[ 0 ] ) ) {\n continue;\n }\n\n if ( this._intersectsWith( this.containers[ i ].containerCache ) ) {\n\n // If we've already found a container and it's more \"inner\" than this, then continue\n if ( innermostContainer &&\n $.contains(\n this.containers[ i ].element[ 0 ],\n innermostContainer.element[ 0 ] ) ) {\n continue;\n }\n\n innermostContainer = this.containers[ i ];\n innermostIndex = i;\n\n } else {\n\n // container doesn't intersect. trigger \"out\" event if necessary\n if ( this.containers[ i ].containerCache.over ) {\n this.containers[ i ]._trigger( \"out\", event, this._uiHash( this ) );\n this.containers[ i ].containerCache.over = 0;\n }\n }\n\n }\n\n // If no intersecting containers found, return\n if ( !innermostContainer ) {\n return;\n }\n\n // Move the item into the container if it's not there already\n if ( this.containers.length === 1 ) {\n if ( !this.containers[ innermostIndex ].containerCache.over ) {\n this.containers[ innermostIndex ]._trigger( \"over\", event, this._uiHash( this ) );\n this.containers[ innermostIndex ].containerCache.over = 1;\n }\n } else {\n\n // When entering a new container, we will find the item with the least distance and\n // append our item near it\n dist = 10000;\n itemWithLeastDistance = null;\n floating = innermostContainer.floating || this._isFloating( this.currentItem );\n posProperty = floating ? \"left\" : \"top\";\n sizeProperty = floating ? \"width\" : \"height\";\n axis = floating ? \"pageX\" : \"pageY\";\n\n for ( j = this.items.length - 1; j >= 0; j-- ) {\n if ( !$.contains(\n this.containers[ innermostIndex ].element[ 0 ], this.items[ j ].item[ 0 ] )\n ) {\n continue;\n }\n if ( this.items[ j ].item[ 0 ] === this.currentItem[ 0 ] ) {\n continue;\n }\n\n cur = this.items[ j ].item.offset()[ posProperty ];\n nearBottom = false;\n if ( event[ axis ] - cur > this.items[ j ][ sizeProperty ] / 2 ) {\n nearBottom = true;\n }\n\n if ( Math.abs( event[ axis ] - cur ) < dist ) {\n dist = Math.abs( event[ axis ] - cur );\n itemWithLeastDistance = this.items[ j ];\n this.direction = nearBottom ? \"up\" : \"down\";\n }\n }\n\n //Check if dropOnEmpty is enabled\n if ( !itemWithLeastDistance && !this.options.dropOnEmpty ) {\n return;\n }\n\n if ( this.currentContainer === this.containers[ innermostIndex ] ) {\n if ( !this.currentContainer.containerCache.over ) {\n this.containers[ innermostIndex ]._trigger( \"over\", event, this._uiHash() );\n this.currentContainer.containerCache.over = 1;\n }\n return;\n }\n\n if ( itemWithLeastDistance ) {\n this._rearrange( event, itemWithLeastDistance, null, true );\n } else {\n this._rearrange( event, null, this.containers[ innermostIndex ].element, true );\n }\n this._trigger( \"change\", event, this._uiHash() );\n this.containers[ innermostIndex ]._trigger( \"change\", event, this._uiHash( this ) );\n this.currentContainer = this.containers[ innermostIndex ];\n\n //Update the placeholder\n this.options.placeholder.update( this.currentContainer, this.placeholder );\n\n //Update scrollParent\n this.scrollParent = this.placeholder.scrollParent();\n\n //Update overflowOffset\n if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n this.scrollParent[ 0 ].tagName !== \"HTML\" ) {\n this.overflowOffset = this.scrollParent.offset();\n }\n\n this.containers[ innermostIndex ]._trigger( \"over\", event, this._uiHash( this ) );\n this.containers[ innermostIndex ].containerCache.over = 1;\n }\n\n },\n\n _createHelper: function( event ) {\n\n var o = this.options,\n helper = typeof o.helper === \"function\" ?\n $( o.helper.apply( this.element[ 0 ], [ event, this.currentItem ] ) ) :\n ( o.helper === \"clone\" ? this.currentItem.clone() : this.currentItem );\n\n //Add the helper to the DOM if that didn't happen already\n if ( !helper.parents( \"body\" ).length ) {\n this.appendTo[ 0 ].appendChild( helper[ 0 ] );\n }\n\n if ( helper[ 0 ] === this.currentItem[ 0 ] ) {\n this._storedCSS = {\n width: this.currentItem[ 0 ].style.width,\n height: this.currentItem[ 0 ].style.height,\n position: this.currentItem.css( \"position\" ),\n top: this.currentItem.css( \"top\" ),\n left: this.currentItem.css( \"left\" )\n };\n }\n\n if ( !helper[ 0 ].style.width || o.forceHelperSize ) {\n helper.width( this.currentItem.width() );\n }\n if ( !helper[ 0 ].style.height || o.forceHelperSize ) {\n helper.height( this.currentItem.height() );\n }\n\n return helper;\n\n },\n\n _adjustOffsetFromHelper: function( obj ) {\n if ( typeof obj === \"string\" ) {\n obj = obj.split( \" \" );\n }\n if ( Array.isArray( obj ) ) {\n obj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };\n }\n if ( \"left\" in obj ) {\n this.offset.click.left = obj.left + this.margins.left;\n }\n if ( \"right\" in obj ) {\n this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;\n }\n if ( \"top\" in obj ) {\n this.offset.click.top = obj.top + this.margins.top;\n }\n if ( \"bottom\" in obj ) {\n this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;\n }\n },\n\n _getParentOffset: function() {\n\n //Get the offsetParent and cache its position\n this.offsetParent = this.helper.offsetParent();\n var po = this.offsetParent.offset();\n\n // This is a special case where we need to modify a offset calculated on start, since the\n // following happened:\n // 1. The position of the helper is absolute, so it's position is calculated based on the\n // next positioned parent\n // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't\n // the document, which means that the scroll is included in the initial calculation of the\n // offset of the parent, and never recalculated upon drag\n if ( this.cssPosition === \"absolute\" && this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) {\n po.left += this.scrollParent.scrollLeft();\n po.top += this.scrollParent.scrollTop();\n }\n\n // This needs to be actually done for all browsers, since pageX/pageY includes this\n // information with an ugly IE fix\n if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ||\n ( this.offsetParent[ 0 ].tagName &&\n this.offsetParent[ 0 ].tagName.toLowerCase() === \"html\" && $.ui.ie ) ) {\n po = { top: 0, left: 0 };\n }\n\n return {\n top: po.top + ( parseInt( this.offsetParent.css( \"borderTopWidth\" ), 10 ) || 0 ),\n left: po.left + ( parseInt( this.offsetParent.css( \"borderLeftWidth\" ), 10 ) || 0 )\n };\n\n },\n\n _getRelativeOffset: function() {\n\n if ( this.cssPosition === \"relative\" ) {\n var p = this.currentItem.position();\n return {\n top: p.top - ( parseInt( this.helper.css( \"top\" ), 10 ) || 0 ) +\n this.scrollParent.scrollTop(),\n left: p.left - ( parseInt( this.helper.css( \"left\" ), 10 ) || 0 ) +\n this.scrollParent.scrollLeft()\n };\n } else {\n return { top: 0, left: 0 };\n }\n\n },\n\n _cacheMargins: function() {\n this.margins = {\n left: ( parseInt( this.currentItem.css( \"marginLeft\" ), 10 ) || 0 ),\n top: ( parseInt( this.currentItem.css( \"marginTop\" ), 10 ) || 0 )\n };\n },\n\n _cacheHelperProportions: function() {\n this.helperProportions = {\n width: this.helper.outerWidth(),\n height: this.helper.outerHeight()\n };\n },\n\n _setContainment: function() {\n\n var ce, co, over,\n o = this.options;\n if ( o.containment === \"parent\" ) {\n o.containment = this.helper[ 0 ].parentNode;\n }\n if ( o.containment === \"document\" || o.containment === \"window\" ) {\n this.containment = [\n 0 - this.offset.relative.left - this.offset.parent.left,\n 0 - this.offset.relative.top - this.offset.parent.top,\n o.containment === \"document\" ?\n this.document.width() :\n this.window.width() - this.helperProportions.width - this.margins.left,\n ( o.containment === \"document\" ?\n ( this.document.height() || document.body.parentNode.scrollHeight ) :\n this.window.height() || this.document[ 0 ].body.parentNode.scrollHeight\n ) - this.helperProportions.height - this.margins.top\n ];\n }\n\n if ( !( /^(document|window|parent)$/ ).test( o.containment ) ) {\n ce = $( o.containment )[ 0 ];\n co = $( o.containment ).offset();\n over = ( $( ce ).css( \"overflow\" ) !== \"hidden\" );\n\n this.containment = [\n co.left + ( parseInt( $( ce ).css( \"borderLeftWidth\" ), 10 ) || 0 ) +\n ( parseInt( $( ce ).css( \"paddingLeft\" ), 10 ) || 0 ) - this.margins.left,\n co.top + ( parseInt( $( ce ).css( \"borderTopWidth\" ), 10 ) || 0 ) +\n ( parseInt( $( ce ).css( \"paddingTop\" ), 10 ) || 0 ) - this.margins.top,\n co.left + ( over ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) -\n ( parseInt( $( ce ).css( \"borderLeftWidth\" ), 10 ) || 0 ) -\n ( parseInt( $( ce ).css( \"paddingRight\" ), 10 ) || 0 ) -\n this.helperProportions.width - this.margins.left,\n co.top + ( over ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) -\n ( parseInt( $( ce ).css( \"borderTopWidth\" ), 10 ) || 0 ) -\n ( parseInt( $( ce ).css( \"paddingBottom\" ), 10 ) || 0 ) -\n this.helperProportions.height - this.margins.top\n ];\n }\n\n },\n\n _convertPositionTo: function( d, pos ) {\n\n if ( !pos ) {\n pos = this.position;\n }\n var mod = d === \"absolute\" ? 1 : -1,\n scroll = this.cssPosition === \"absolute\" &&\n !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ?\n this.offsetParent :\n this.scrollParent,\n scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );\n\n return {\n top: (\n\n // The absolute mouse position\n pos.top\t+\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.top * mod +\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.top * mod -\n ( ( this.cssPosition === \"fixed\" ?\n -this.scrollParent.scrollTop() :\n ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) * mod )\n ),\n left: (\n\n // The absolute mouse position\n pos.left +\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.left * mod +\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.left * mod\t-\n ( ( this.cssPosition === \"fixed\" ?\n -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 :\n scroll.scrollLeft() ) * mod )\n )\n };\n\n },\n\n _generatePosition: function( event ) {\n\n var top, left,\n o = this.options,\n pageX = event.pageX,\n pageY = event.pageY,\n scroll = this.cssPosition === \"absolute\" &&\n !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ?\n this.offsetParent :\n this.scrollParent,\n scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );\n\n // This is another very weird special case that only happens for relative elements:\n // 1. If the css position is relative\n // 2. and the scroll parent is the document or similar to the offset parent\n // we have to refresh the relative offset during the scroll so there are no jumps\n if ( this.cssPosition === \"relative\" && !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n this.scrollParent[ 0 ] !== this.offsetParent[ 0 ] ) ) {\n this.offset.relative = this._getRelativeOffset();\n }\n\n /*\n * - Position constraining -\n * Constrain the position to a mix of grid, containment.\n */\n\n if ( this.originalPosition ) { //If we are not dragging yet, we won't check for options\n\n if ( this.containment ) {\n if ( event.pageX - this.offset.click.left < this.containment[ 0 ] ) {\n pageX = this.containment[ 0 ] + this.offset.click.left;\n }\n if ( event.pageY - this.offset.click.top < this.containment[ 1 ] ) {\n pageY = this.containment[ 1 ] + this.offset.click.top;\n }\n if ( event.pageX - this.offset.click.left > this.containment[ 2 ] ) {\n pageX = this.containment[ 2 ] + this.offset.click.left;\n }\n if ( event.pageY - this.offset.click.top > this.containment[ 3 ] ) {\n pageY = this.containment[ 3 ] + this.offset.click.top;\n }\n }\n\n if ( o.grid ) {\n top = this.originalPageY + Math.round( ( pageY - this.originalPageY ) /\n o.grid[ 1 ] ) * o.grid[ 1 ];\n pageY = this.containment ?\n ( ( top - this.offset.click.top >= this.containment[ 1 ] &&\n top - this.offset.click.top <= this.containment[ 3 ] ) ?\n top :\n ( ( top - this.offset.click.top >= this.containment[ 1 ] ) ?\n top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) :\n top;\n\n left = this.originalPageX + Math.round( ( pageX - this.originalPageX ) /\n o.grid[ 0 ] ) * o.grid[ 0 ];\n pageX = this.containment ?\n ( ( left - this.offset.click.left >= this.containment[ 0 ] &&\n left - this.offset.click.left <= this.containment[ 2 ] ) ?\n left :\n ( ( left - this.offset.click.left >= this.containment[ 0 ] ) ?\n left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) :\n left;\n }\n\n }\n\n return {\n top: (\n\n // The absolute mouse position\n pageY -\n\n // Click offset (relative to the element)\n this.offset.click.top -\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.top -\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.top +\n ( ( this.cssPosition === \"fixed\" ?\n -this.scrollParent.scrollTop() :\n ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) )\n ),\n left: (\n\n // The absolute mouse position\n pageX -\n\n // Click offset (relative to the element)\n this.offset.click.left -\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.left -\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.left +\n ( ( this.cssPosition === \"fixed\" ?\n -this.scrollParent.scrollLeft() :\n scrollIsRootNode ? 0 : scroll.scrollLeft() ) )\n )\n };\n\n },\n\n _rearrange: function( event, i, a, hardRefresh ) {\n\n if ( a ) {\n a[ 0 ].appendChild( this.placeholder[ 0 ] );\n } else {\n i.item[ 0 ].parentNode.insertBefore( this.placeholder[ 0 ],\n ( this.direction === \"down\" ? i.item[ 0 ] : i.item[ 0 ].nextSibling ) );\n }\n\n //Various things done here to improve the performance:\n // 1. we create a setTimeout, that calls refreshPositions\n // 2. on the instance, we have a counter variable, that get's higher after every append\n // 3. on the local scope, we copy the counter variable, and check in the timeout,\n // if it's still the same\n // 4. this lets only the last addition to the timeout stack through\n this.counter = this.counter ? ++this.counter : 1;\n var counter = this.counter;\n\n this._delay( function() {\n if ( counter === this.counter ) {\n\n //Precompute after each DOM insertion, NOT on mousemove\n this.refreshPositions( !hardRefresh );\n }\n } );\n\n },\n\n _clear: function( event, noPropagation ) {\n\n this.reverting = false;\n\n // We delay all events that have to be triggered to after the point where the placeholder\n // has been removed and everything else normalized again\n var i,\n delayedTriggers = [];\n\n // We first have to update the dom position of the actual currentItem\n // Note: don't do it if the current item is already removed (by a user), or it gets\n // reappended (see #4088)\n if ( !this._noFinalSort && this.currentItem.parent().length ) {\n this.placeholder.before( this.currentItem );\n }\n this._noFinalSort = null;\n\n if ( this.helper[ 0 ] === this.currentItem[ 0 ] ) {\n for ( i in this._storedCSS ) {\n if ( this._storedCSS[ i ] === \"auto\" || this._storedCSS[ i ] === \"static\" ) {\n this._storedCSS[ i ] = \"\";\n }\n }\n this.currentItem.css( this._storedCSS );\n this._removeClass( this.currentItem, \"ui-sortable-helper\" );\n } else {\n this.currentItem.show();\n }\n\n if ( this.fromOutside && !noPropagation ) {\n delayedTriggers.push( function( event ) {\n this._trigger( \"receive\", event, this._uiHash( this.fromOutside ) );\n } );\n }\n if ( ( this.fromOutside ||\n this.domPosition.prev !==\n this.currentItem.prev().not( \".ui-sortable-helper\" )[ 0 ] ||\n this.domPosition.parent !== this.currentItem.parent()[ 0 ] ) && !noPropagation ) {\n\n // Trigger update callback if the DOM position has changed\n delayedTriggers.push( function( event ) {\n this._trigger( \"update\", event, this._uiHash() );\n } );\n }\n\n // Check if the items Container has Changed and trigger appropriate\n // events.\n if ( this !== this.currentContainer ) {\n if ( !noPropagation ) {\n delayedTriggers.push( function( event ) {\n this._trigger( \"remove\", event, this._uiHash() );\n } );\n delayedTriggers.push( ( function( c ) {\n return function( event ) {\n c._trigger( \"receive\", event, this._uiHash( this ) );\n };\n } ).call( this, this.currentContainer ) );\n delayedTriggers.push( ( function( c ) {\n return function( event ) {\n c._trigger( \"update\", event, this._uiHash( this ) );\n };\n } ).call( this, this.currentContainer ) );\n }\n }\n\n //Post events to containers\n function delayEvent( type, instance, container ) {\n return function( event ) {\n container._trigger( type, event, instance._uiHash( instance ) );\n };\n }\n for ( i = this.containers.length - 1; i >= 0; i-- ) {\n if ( !noPropagation ) {\n delayedTriggers.push( delayEvent( \"deactivate\", this, this.containers[ i ] ) );\n }\n if ( this.containers[ i ].containerCache.over ) {\n delayedTriggers.push( delayEvent( \"out\", this, this.containers[ i ] ) );\n this.containers[ i ].containerCache.over = 0;\n }\n }\n\n //Do what was originally in plugins\n if ( this.storedCursor ) {\n this.document.find( \"body\" ).css( \"cursor\", this.storedCursor );\n this.storedStylesheet.remove();\n }\n if ( this._storedOpacity ) {\n this.helper.css( \"opacity\", this._storedOpacity );\n }\n if ( this._storedZIndex ) {\n this.helper.css( \"zIndex\", this._storedZIndex === \"auto\" ? \"\" : this._storedZIndex );\n }\n\n this.dragging = false;\n\n if ( !noPropagation ) {\n this._trigger( \"beforeStop\", event, this._uiHash() );\n }\n\n //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,\n // it unbinds ALL events from the original node!\n this.placeholder[ 0 ].parentNode.removeChild( this.placeholder[ 0 ] );\n\n if ( !this.cancelHelperRemoval ) {\n if ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {\n this.helper.remove();\n }\n this.helper = null;\n }\n\n if ( !noPropagation ) {\n for ( i = 0; i < delayedTriggers.length; i++ ) {\n\n // Trigger all delayed events\n delayedTriggers[ i ].call( this, event );\n }\n this._trigger( \"stop\", event, this._uiHash() );\n }\n\n this.fromOutside = false;\n return !this.cancelHelperRemoval;\n\n },\n\n _trigger: function() {\n if ( $.Widget.prototype._trigger.apply( this, arguments ) === false ) {\n this.cancel();\n }\n },\n\n _uiHash: function( _inst ) {\n var inst = _inst || this;\n return {\n helper: inst.helper,\n placeholder: inst.placeholder || $( [] ),\n position: inst.position,\n originalPosition: inst.originalPosition,\n offset: inst.positionAbs,\n item: inst.currentItem,\n sender: _inst ? _inst.element : null\n };\n }\n\n } );\n\n} );\n","jquery/ui-modules/widgets/checkboxradio.js":"/*!\n * jQuery UI Checkboxradio 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Checkboxradio\n//>>group: Widgets\n//>>description: Enhances a form with multiple themeable checkboxes or radio buttons.\n//>>docs: http://api.jqueryui.com/checkboxradio/\n//>>demos: http://jqueryui.com/checkboxradio/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/button.css\n//>>css.structure: ../../themes/base/checkboxradio.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../form-reset-mixin\",\n \"../labels\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.checkboxradio\", [ $.ui.formResetMixin, {\n version: \"1.13.2\",\n options: {\n disabled: null,\n label: null,\n icon: true,\n classes: {\n \"ui-checkboxradio-label\": \"ui-corner-all\",\n \"ui-checkboxradio-icon\": \"ui-corner-all\"\n }\n },\n\n _getCreateOptions: function() {\n var disabled, labels, labelContents;\n var options = this._super() || {};\n\n // We read the type here, because it makes more sense to throw a element type error first,\n // rather then the error for lack of a label. Often if its the wrong type, it\n // won't have a label (e.g. calling on a div, btn, etc)\n this._readType();\n\n labels = this.element.labels();\n\n // If there are multiple labels, use the last one\n this.label = $( labels[ labels.length - 1 ] );\n if ( !this.label.length ) {\n $.error( \"No label found for checkboxradio widget\" );\n }\n\n this.originalLabel = \"\";\n\n // We need to get the label text but this may also need to make sure it does not contain the\n // input itself.\n // The label contents could be text, html, or a mix. We wrap all elements\n // and read the wrapper's `innerHTML` to get a string representation of\n // the label, without the input as part of it.\n labelContents = this.label.contents().not( this.element[ 0 ] );\n\n if ( labelContents.length ) {\n this.originalLabel += labelContents\n .clone()\n .wrapAll( \"<div></div>\" )\n .parent()\n .html();\n }\n\n // Set the label option if we found label text\n if ( this.originalLabel ) {\n options.label = this.originalLabel;\n }\n\n disabled = this.element[ 0 ].disabled;\n if ( disabled != null ) {\n options.disabled = disabled;\n }\n return options;\n },\n\n _create: function() {\n var checked = this.element[ 0 ].checked;\n\n this._bindFormResetHandler();\n\n if ( this.options.disabled == null ) {\n this.options.disabled = this.element[ 0 ].disabled;\n }\n\n this._setOption( \"disabled\", this.options.disabled );\n this._addClass( \"ui-checkboxradio\", \"ui-helper-hidden-accessible\" );\n this._addClass( this.label, \"ui-checkboxradio-label\", \"ui-button ui-widget\" );\n\n if ( this.type === \"radio\" ) {\n this._addClass( this.label, \"ui-checkboxradio-radio-label\" );\n }\n\n if ( this.options.label && this.options.label !== this.originalLabel ) {\n this._updateLabel();\n } else if ( this.originalLabel ) {\n this.options.label = this.originalLabel;\n }\n\n this._enhance();\n\n if ( checked ) {\n this._addClass( this.label, \"ui-checkboxradio-checked\", \"ui-state-active\" );\n }\n\n this._on( {\n change: \"_toggleClasses\",\n focus: function() {\n this._addClass( this.label, null, \"ui-state-focus ui-visual-focus\" );\n },\n blur: function() {\n this._removeClass( this.label, null, \"ui-state-focus ui-visual-focus\" );\n }\n } );\n },\n\n _readType: function() {\n var nodeName = this.element[ 0 ].nodeName.toLowerCase();\n this.type = this.element[ 0 ].type;\n if ( nodeName !== \"input\" || !/radio|checkbox/.test( this.type ) ) {\n $.error( \"Can't create checkboxradio on element.nodeName=\" + nodeName +\n \" and element.type=\" + this.type );\n }\n },\n\n // Support jQuery Mobile enhanced option\n _enhance: function() {\n this._updateIcon( this.element[ 0 ].checked );\n },\n\n widget: function() {\n return this.label;\n },\n\n _getRadioGroup: function() {\n var group;\n var name = this.element[ 0 ].name;\n var nameSelector = \"input[name='\" + $.escapeSelector( name ) + \"']\";\n\n if ( !name ) {\n return $( [] );\n }\n\n if ( this.form.length ) {\n group = $( this.form[ 0 ].elements ).filter( nameSelector );\n } else {\n\n // Not inside a form, check all inputs that also are not inside a form\n group = $( nameSelector ).filter( function() {\n return $( this )._form().length === 0;\n } );\n }\n\n return group.not( this.element );\n },\n\n _toggleClasses: function() {\n var checked = this.element[ 0 ].checked;\n this._toggleClass( this.label, \"ui-checkboxradio-checked\", \"ui-state-active\", checked );\n\n if ( this.options.icon && this.type === \"checkbox\" ) {\n this._toggleClass( this.icon, null, \"ui-icon-check ui-state-checked\", checked )\n ._toggleClass( this.icon, null, \"ui-icon-blank\", !checked );\n }\n\n if ( this.type === \"radio\" ) {\n this._getRadioGroup()\n .each( function() {\n var instance = $( this ).checkboxradio( \"instance\" );\n\n if ( instance ) {\n instance._removeClass( instance.label,\n \"ui-checkboxradio-checked\", \"ui-state-active\" );\n }\n } );\n }\n },\n\n _destroy: function() {\n this._unbindFormResetHandler();\n\n if ( this.icon ) {\n this.icon.remove();\n this.iconSpace.remove();\n }\n },\n\n _setOption: function( key, value ) {\n\n // We don't allow the value to be set to nothing\n if ( key === \"label\" && !value ) {\n return;\n }\n\n this._super( key, value );\n\n if ( key === \"disabled\" ) {\n this._toggleClass( this.label, null, \"ui-state-disabled\", value );\n this.element[ 0 ].disabled = value;\n\n // Don't refresh when setting disabled\n return;\n }\n this.refresh();\n },\n\n _updateIcon: function( checked ) {\n var toAdd = \"ui-icon ui-icon-background \";\n\n if ( this.options.icon ) {\n if ( !this.icon ) {\n this.icon = $( \"<span>\" );\n this.iconSpace = $( \"<span> </span>\" );\n this._addClass( this.iconSpace, \"ui-checkboxradio-icon-space\" );\n }\n\n if ( this.type === \"checkbox\" ) {\n toAdd += checked ? \"ui-icon-check ui-state-checked\" : \"ui-icon-blank\";\n this._removeClass( this.icon, null, checked ? \"ui-icon-blank\" : \"ui-icon-check\" );\n } else {\n toAdd += \"ui-icon-blank\";\n }\n this._addClass( this.icon, \"ui-checkboxradio-icon\", toAdd );\n if ( !checked ) {\n this._removeClass( this.icon, null, \"ui-icon-check ui-state-checked\" );\n }\n this.icon.prependTo( this.label ).after( this.iconSpace );\n } else if ( this.icon !== undefined ) {\n this.icon.remove();\n this.iconSpace.remove();\n delete this.icon;\n }\n },\n\n _updateLabel: function() {\n\n // Remove the contents of the label ( minus the icon, icon space, and input )\n var contents = this.label.contents().not( this.element[ 0 ] );\n if ( this.icon ) {\n contents = contents.not( this.icon[ 0 ] );\n }\n if ( this.iconSpace ) {\n contents = contents.not( this.iconSpace[ 0 ] );\n }\n contents.remove();\n\n this.label.append( this.options.label );\n },\n\n refresh: function() {\n var checked = this.element[ 0 ].checked,\n isDisabled = this.element[ 0 ].disabled;\n\n this._updateIcon( checked );\n this._toggleClass( this.label, \"ui-checkboxradio-checked\", \"ui-state-active\", checked );\n if ( this.options.label !== null ) {\n this._updateLabel();\n }\n\n if ( isDisabled !== this.options.disabled ) {\n this._setOptions( { \"disabled\": isDisabled } );\n }\n }\n\n } ] );\n\n return $.ui.checkboxradio;\n\n} );\n","jquery/ui-modules/widgets/resizable.js":"/*!\n * jQuery UI Resizable 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Resizable\n//>>group: Interactions\n//>>description: Enables resize functionality for any element.\n//>>docs: http://api.jqueryui.com/resizable/\n//>>demos: http://jqueryui.com/resizable/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/resizable.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./mouse\",\n \"../disable-selection\",\n \"../plugin\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.resizable\", $.ui.mouse, {\n version: \"1.13.2\",\n widgetEventPrefix: \"resize\",\n options: {\n alsoResize: false,\n animate: false,\n animateDuration: \"slow\",\n animateEasing: \"swing\",\n aspectRatio: false,\n autoHide: false,\n classes: {\n \"ui-resizable-se\": \"ui-icon ui-icon-gripsmall-diagonal-se\"\n },\n containment: false,\n ghost: false,\n grid: false,\n handles: \"e,s,se\",\n helper: false,\n maxHeight: null,\n maxWidth: null,\n minHeight: 10,\n minWidth: 10,\n\n // See #7960\n zIndex: 90,\n\n // Callbacks\n resize: null,\n start: null,\n stop: null\n },\n\n _num: function( value ) {\n return parseFloat( value ) || 0;\n },\n\n _isNumber: function( value ) {\n return !isNaN( parseFloat( value ) );\n },\n\n _hasScroll: function( el, a ) {\n\n if ( $( el ).css( \"overflow\" ) === \"hidden\" ) {\n return false;\n }\n\n var scroll = ( a && a === \"left\" ) ? \"scrollLeft\" : \"scrollTop\",\n has = false;\n\n if ( el[ scroll ] > 0 ) {\n return true;\n }\n\n // TODO: determine which cases actually cause this to happen\n // if the element doesn't have the scroll set, see if it's possible to\n // set the scroll\n try {\n el[ scroll ] = 1;\n has = ( el[ scroll ] > 0 );\n el[ scroll ] = 0;\n } catch ( e ) {\n\n // `el` might be a string, then setting `scroll` will throw\n // an error in strict mode; ignore it.\n }\n return has;\n },\n\n _create: function() {\n\n var margins,\n o = this.options,\n that = this;\n this._addClass( \"ui-resizable\" );\n\n $.extend( this, {\n _aspectRatio: !!( o.aspectRatio ),\n aspectRatio: o.aspectRatio,\n originalElement: this.element,\n _proportionallyResizeElements: [],\n _helper: o.helper || o.ghost || o.animate ? o.helper || \"ui-resizable-helper\" : null\n } );\n\n // Wrap the element if it cannot hold child nodes\n if ( this.element[ 0 ].nodeName.match( /^(canvas|textarea|input|select|button|img)$/i ) ) {\n\n this.element.wrap(\n $( \"<div class='ui-wrapper'></div>\" ).css( {\n overflow: \"hidden\",\n position: this.element.css( \"position\" ),\n width: this.element.outerWidth(),\n height: this.element.outerHeight(),\n top: this.element.css( \"top\" ),\n left: this.element.css( \"left\" )\n } )\n );\n\n this.element = this.element.parent().data(\n \"ui-resizable\", this.element.resizable( \"instance\" )\n );\n\n this.elementIsWrapper = true;\n\n margins = {\n marginTop: this.originalElement.css( \"marginTop\" ),\n marginRight: this.originalElement.css( \"marginRight\" ),\n marginBottom: this.originalElement.css( \"marginBottom\" ),\n marginLeft: this.originalElement.css( \"marginLeft\" )\n };\n\n this.element.css( margins );\n this.originalElement.css( \"margin\", 0 );\n\n // support: Safari\n // Prevent Safari textarea resize\n this.originalResizeStyle = this.originalElement.css( \"resize\" );\n this.originalElement.css( \"resize\", \"none\" );\n\n this._proportionallyResizeElements.push( this.originalElement.css( {\n position: \"static\",\n zoom: 1,\n display: \"block\"\n } ) );\n\n // Support: IE9\n // avoid IE jump (hard set the margin)\n this.originalElement.css( margins );\n\n this._proportionallyResize();\n }\n\n this._setupHandles();\n\n if ( o.autoHide ) {\n $( this.element )\n .on( \"mouseenter\", function() {\n if ( o.disabled ) {\n return;\n }\n that._removeClass( \"ui-resizable-autohide\" );\n that._handles.show();\n } )\n .on( \"mouseleave\", function() {\n if ( o.disabled ) {\n return;\n }\n if ( !that.resizing ) {\n that._addClass( \"ui-resizable-autohide\" );\n that._handles.hide();\n }\n } );\n }\n\n this._mouseInit();\n },\n\n _destroy: function() {\n\n this._mouseDestroy();\n this._addedHandles.remove();\n\n var wrapper,\n _destroy = function( exp ) {\n $( exp )\n .removeData( \"resizable\" )\n .removeData( \"ui-resizable\" )\n .off( \".resizable\" );\n };\n\n // TODO: Unwrap at same DOM position\n if ( this.elementIsWrapper ) {\n _destroy( this.element );\n wrapper = this.element;\n this.originalElement.css( {\n position: wrapper.css( \"position\" ),\n width: wrapper.outerWidth(),\n height: wrapper.outerHeight(),\n top: wrapper.css( \"top\" ),\n left: wrapper.css( \"left\" )\n } ).insertAfter( wrapper );\n wrapper.remove();\n }\n\n this.originalElement.css( \"resize\", this.originalResizeStyle );\n _destroy( this.originalElement );\n\n return this;\n },\n\n _setOption: function( key, value ) {\n this._super( key, value );\n\n switch ( key ) {\n case \"handles\":\n this._removeHandles();\n this._setupHandles();\n break;\n case \"aspectRatio\":\n this._aspectRatio = !!value;\n break;\n default:\n break;\n }\n },\n\n _setupHandles: function() {\n var o = this.options, handle, i, n, hname, axis, that = this;\n this.handles = o.handles ||\n ( !$( \".ui-resizable-handle\", this.element ).length ?\n \"e,s,se\" : {\n n: \".ui-resizable-n\",\n e: \".ui-resizable-e\",\n s: \".ui-resizable-s\",\n w: \".ui-resizable-w\",\n se: \".ui-resizable-se\",\n sw: \".ui-resizable-sw\",\n ne: \".ui-resizable-ne\",\n nw: \".ui-resizable-nw\"\n } );\n\n this._handles = $();\n this._addedHandles = $();\n if ( this.handles.constructor === String ) {\n\n if ( this.handles === \"all\" ) {\n this.handles = \"n,e,s,w,se,sw,ne,nw\";\n }\n\n n = this.handles.split( \",\" );\n this.handles = {};\n\n for ( i = 0; i < n.length; i++ ) {\n\n handle = String.prototype.trim.call( n[ i ] );\n hname = \"ui-resizable-\" + handle;\n axis = $( \"<div>\" );\n this._addClass( axis, \"ui-resizable-handle \" + hname );\n\n axis.css( { zIndex: o.zIndex } );\n\n this.handles[ handle ] = \".ui-resizable-\" + handle;\n if ( !this.element.children( this.handles[ handle ] ).length ) {\n this.element.append( axis );\n this._addedHandles = this._addedHandles.add( axis );\n }\n }\n\n }\n\n this._renderAxis = function( target ) {\n\n var i, axis, padPos, padWrapper;\n\n target = target || this.element;\n\n for ( i in this.handles ) {\n\n if ( this.handles[ i ].constructor === String ) {\n this.handles[ i ] = this.element.children( this.handles[ i ] ).first().show();\n } else if ( this.handles[ i ].jquery || this.handles[ i ].nodeType ) {\n this.handles[ i ] = $( this.handles[ i ] );\n this._on( this.handles[ i ], { \"mousedown\": that._mouseDown } );\n }\n\n if ( this.elementIsWrapper &&\n this.originalElement[ 0 ]\n .nodeName\n .match( /^(textarea|input|select|button)$/i ) ) {\n axis = $( this.handles[ i ], this.element );\n\n padWrapper = /sw|ne|nw|se|n|s/.test( i ) ?\n axis.outerHeight() :\n axis.outerWidth();\n\n padPos = [ \"padding\",\n /ne|nw|n/.test( i ) ? \"Top\" :\n /se|sw|s/.test( i ) ? \"Bottom\" :\n /^e$/.test( i ) ? \"Right\" : \"Left\" ].join( \"\" );\n\n target.css( padPos, padWrapper );\n\n this._proportionallyResize();\n }\n\n this._handles = this._handles.add( this.handles[ i ] );\n }\n };\n\n // TODO: make renderAxis a prototype function\n this._renderAxis( this.element );\n\n this._handles = this._handles.add( this.element.find( \".ui-resizable-handle\" ) );\n this._handles.disableSelection();\n\n this._handles.on( \"mouseover\", function() {\n if ( !that.resizing ) {\n if ( this.className ) {\n axis = this.className.match( /ui-resizable-(se|sw|ne|nw|n|e|s|w)/i );\n }\n that.axis = axis && axis[ 1 ] ? axis[ 1 ] : \"se\";\n }\n } );\n\n if ( o.autoHide ) {\n this._handles.hide();\n this._addClass( \"ui-resizable-autohide\" );\n }\n },\n\n _removeHandles: function() {\n this._addedHandles.remove();\n },\n\n _mouseCapture: function( event ) {\n var i, handle,\n capture = false;\n\n for ( i in this.handles ) {\n handle = $( this.handles[ i ] )[ 0 ];\n if ( handle === event.target || $.contains( handle, event.target ) ) {\n capture = true;\n }\n }\n\n return !this.options.disabled && capture;\n },\n\n _mouseStart: function( event ) {\n\n var curleft, curtop, cursor,\n o = this.options,\n el = this.element;\n\n this.resizing = true;\n\n this._renderProxy();\n\n curleft = this._num( this.helper.css( \"left\" ) );\n curtop = this._num( this.helper.css( \"top\" ) );\n\n if ( o.containment ) {\n curleft += $( o.containment ).scrollLeft() || 0;\n curtop += $( o.containment ).scrollTop() || 0;\n }\n\n this.offset = this.helper.offset();\n this.position = { left: curleft, top: curtop };\n\n this.size = this._helper ? {\n width: this.helper.width(),\n height: this.helper.height()\n } : {\n width: el.width(),\n height: el.height()\n };\n\n this.originalSize = this._helper ? {\n width: el.outerWidth(),\n height: el.outerHeight()\n } : {\n width: el.width(),\n height: el.height()\n };\n\n this.sizeDiff = {\n width: el.outerWidth() - el.width(),\n height: el.outerHeight() - el.height()\n };\n\n this.originalPosition = { left: curleft, top: curtop };\n this.originalMousePosition = { left: event.pageX, top: event.pageY };\n\n this.aspectRatio = ( typeof o.aspectRatio === \"number\" ) ?\n o.aspectRatio :\n ( ( this.originalSize.width / this.originalSize.height ) || 1 );\n\n cursor = $( \".ui-resizable-\" + this.axis ).css( \"cursor\" );\n $( \"body\" ).css( \"cursor\", cursor === \"auto\" ? this.axis + \"-resize\" : cursor );\n\n this._addClass( \"ui-resizable-resizing\" );\n this._propagate( \"start\", event );\n return true;\n },\n\n _mouseDrag: function( event ) {\n\n var data, props,\n smp = this.originalMousePosition,\n a = this.axis,\n dx = ( event.pageX - smp.left ) || 0,\n dy = ( event.pageY - smp.top ) || 0,\n trigger = this._change[ a ];\n\n this._updatePrevProperties();\n\n if ( !trigger ) {\n return false;\n }\n\n data = trigger.apply( this, [ event, dx, dy ] );\n\n this._updateVirtualBoundaries( event.shiftKey );\n if ( this._aspectRatio || event.shiftKey ) {\n data = this._updateRatio( data, event );\n }\n\n data = this._respectSize( data, event );\n\n this._updateCache( data );\n\n this._propagate( \"resize\", event );\n\n props = this._applyChanges();\n\n if ( !this._helper && this._proportionallyResizeElements.length ) {\n this._proportionallyResize();\n }\n\n if ( !$.isEmptyObject( props ) ) {\n this._updatePrevProperties();\n this._trigger( \"resize\", event, this.ui() );\n this._applyChanges();\n }\n\n return false;\n },\n\n _mouseStop: function( event ) {\n\n this.resizing = false;\n var pr, ista, soffseth, soffsetw, s, left, top,\n o = this.options, that = this;\n\n if ( this._helper ) {\n\n pr = this._proportionallyResizeElements;\n ista = pr.length && ( /textarea/i ).test( pr[ 0 ].nodeName );\n soffseth = ista && this._hasScroll( pr[ 0 ], \"left\" ) ? 0 : that.sizeDiff.height;\n soffsetw = ista ? 0 : that.sizeDiff.width;\n\n s = {\n width: ( that.helper.width() - soffsetw ),\n height: ( that.helper.height() - soffseth )\n };\n left = ( parseFloat( that.element.css( \"left\" ) ) +\n ( that.position.left - that.originalPosition.left ) ) || null;\n top = ( parseFloat( that.element.css( \"top\" ) ) +\n ( that.position.top - that.originalPosition.top ) ) || null;\n\n if ( !o.animate ) {\n this.element.css( $.extend( s, { top: top, left: left } ) );\n }\n\n that.helper.height( that.size.height );\n that.helper.width( that.size.width );\n\n if ( this._helper && !o.animate ) {\n this._proportionallyResize();\n }\n }\n\n $( \"body\" ).css( \"cursor\", \"auto\" );\n\n this._removeClass( \"ui-resizable-resizing\" );\n\n this._propagate( \"stop\", event );\n\n if ( this._helper ) {\n this.helper.remove();\n }\n\n return false;\n\n },\n\n _updatePrevProperties: function() {\n this.prevPosition = {\n top: this.position.top,\n left: this.position.left\n };\n this.prevSize = {\n width: this.size.width,\n height: this.size.height\n };\n },\n\n _applyChanges: function() {\n var props = {};\n\n if ( this.position.top !== this.prevPosition.top ) {\n props.top = this.position.top + \"px\";\n }\n if ( this.position.left !== this.prevPosition.left ) {\n props.left = this.position.left + \"px\";\n }\n if ( this.size.width !== this.prevSize.width ) {\n props.width = this.size.width + \"px\";\n }\n if ( this.size.height !== this.prevSize.height ) {\n props.height = this.size.height + \"px\";\n }\n\n this.helper.css( props );\n\n return props;\n },\n\n _updateVirtualBoundaries: function( forceAspectRatio ) {\n var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,\n o = this.options;\n\n b = {\n minWidth: this._isNumber( o.minWidth ) ? o.minWidth : 0,\n maxWidth: this._isNumber( o.maxWidth ) ? o.maxWidth : Infinity,\n minHeight: this._isNumber( o.minHeight ) ? o.minHeight : 0,\n maxHeight: this._isNumber( o.maxHeight ) ? o.maxHeight : Infinity\n };\n\n if ( this._aspectRatio || forceAspectRatio ) {\n pMinWidth = b.minHeight * this.aspectRatio;\n pMinHeight = b.minWidth / this.aspectRatio;\n pMaxWidth = b.maxHeight * this.aspectRatio;\n pMaxHeight = b.maxWidth / this.aspectRatio;\n\n if ( pMinWidth > b.minWidth ) {\n b.minWidth = pMinWidth;\n }\n if ( pMinHeight > b.minHeight ) {\n b.minHeight = pMinHeight;\n }\n if ( pMaxWidth < b.maxWidth ) {\n b.maxWidth = pMaxWidth;\n }\n if ( pMaxHeight < b.maxHeight ) {\n b.maxHeight = pMaxHeight;\n }\n }\n this._vBoundaries = b;\n },\n\n _updateCache: function( data ) {\n this.offset = this.helper.offset();\n if ( this._isNumber( data.left ) ) {\n this.position.left = data.left;\n }\n if ( this._isNumber( data.top ) ) {\n this.position.top = data.top;\n }\n if ( this._isNumber( data.height ) ) {\n this.size.height = data.height;\n }\n if ( this._isNumber( data.width ) ) {\n this.size.width = data.width;\n }\n },\n\n _updateRatio: function( data ) {\n\n var cpos = this.position,\n csize = this.size,\n a = this.axis;\n\n if ( this._isNumber( data.height ) ) {\n data.width = ( data.height * this.aspectRatio );\n } else if ( this._isNumber( data.width ) ) {\n data.height = ( data.width / this.aspectRatio );\n }\n\n if ( a === \"sw\" ) {\n data.left = cpos.left + ( csize.width - data.width );\n data.top = null;\n }\n if ( a === \"nw\" ) {\n data.top = cpos.top + ( csize.height - data.height );\n data.left = cpos.left + ( csize.width - data.width );\n }\n\n return data;\n },\n\n _respectSize: function( data ) {\n\n var o = this._vBoundaries,\n a = this.axis,\n ismaxw = this._isNumber( data.width ) && o.maxWidth && ( o.maxWidth < data.width ),\n ismaxh = this._isNumber( data.height ) && o.maxHeight && ( o.maxHeight < data.height ),\n isminw = this._isNumber( data.width ) && o.minWidth && ( o.minWidth > data.width ),\n isminh = this._isNumber( data.height ) && o.minHeight && ( o.minHeight > data.height ),\n dw = this.originalPosition.left + this.originalSize.width,\n dh = this.originalPosition.top + this.originalSize.height,\n cw = /sw|nw|w/.test( a ), ch = /nw|ne|n/.test( a );\n if ( isminw ) {\n data.width = o.minWidth;\n }\n if ( isminh ) {\n data.height = o.minHeight;\n }\n if ( ismaxw ) {\n data.width = o.maxWidth;\n }\n if ( ismaxh ) {\n data.height = o.maxHeight;\n }\n\n if ( isminw && cw ) {\n data.left = dw - o.minWidth;\n }\n if ( ismaxw && cw ) {\n data.left = dw - o.maxWidth;\n }\n if ( isminh && ch ) {\n data.top = dh - o.minHeight;\n }\n if ( ismaxh && ch ) {\n data.top = dh - o.maxHeight;\n }\n\n // Fixing jump error on top/left - bug #2330\n if ( !data.width && !data.height && !data.left && data.top ) {\n data.top = null;\n } else if ( !data.width && !data.height && !data.top && data.left ) {\n data.left = null;\n }\n\n return data;\n },\n\n _getPaddingPlusBorderDimensions: function( element ) {\n var i = 0,\n widths = [],\n borders = [\n element.css( \"borderTopWidth\" ),\n element.css( \"borderRightWidth\" ),\n element.css( \"borderBottomWidth\" ),\n element.css( \"borderLeftWidth\" )\n ],\n paddings = [\n element.css( \"paddingTop\" ),\n element.css( \"paddingRight\" ),\n element.css( \"paddingBottom\" ),\n element.css( \"paddingLeft\" )\n ];\n\n for ( ; i < 4; i++ ) {\n widths[ i ] = ( parseFloat( borders[ i ] ) || 0 );\n widths[ i ] += ( parseFloat( paddings[ i ] ) || 0 );\n }\n\n return {\n height: widths[ 0 ] + widths[ 2 ],\n width: widths[ 1 ] + widths[ 3 ]\n };\n },\n\n _proportionallyResize: function() {\n\n if ( !this._proportionallyResizeElements.length ) {\n return;\n }\n\n var prel,\n i = 0,\n element = this.helper || this.element;\n\n for ( ; i < this._proportionallyResizeElements.length; i++ ) {\n\n prel = this._proportionallyResizeElements[ i ];\n\n // TODO: Seems like a bug to cache this.outerDimensions\n // considering that we are in a loop.\n if ( !this.outerDimensions ) {\n this.outerDimensions = this._getPaddingPlusBorderDimensions( prel );\n }\n\n prel.css( {\n height: ( element.height() - this.outerDimensions.height ) || 0,\n width: ( element.width() - this.outerDimensions.width ) || 0\n } );\n\n }\n\n },\n\n _renderProxy: function() {\n\n var el = this.element, o = this.options;\n this.elementOffset = el.offset();\n\n if ( this._helper ) {\n\n this.helper = this.helper || $( \"<div></div>\" ).css( { overflow: \"hidden\" } );\n\n this._addClass( this.helper, this._helper );\n this.helper.css( {\n width: this.element.outerWidth(),\n height: this.element.outerHeight(),\n position: \"absolute\",\n left: this.elementOffset.left + \"px\",\n top: this.elementOffset.top + \"px\",\n zIndex: ++o.zIndex //TODO: Don't modify option\n } );\n\n this.helper\n .appendTo( \"body\" )\n .disableSelection();\n\n } else {\n this.helper = this.element;\n }\n\n },\n\n _change: {\n e: function( event, dx ) {\n return { width: this.originalSize.width + dx };\n },\n w: function( event, dx ) {\n var cs = this.originalSize, sp = this.originalPosition;\n return { left: sp.left + dx, width: cs.width - dx };\n },\n n: function( event, dx, dy ) {\n var cs = this.originalSize, sp = this.originalPosition;\n return { top: sp.top + dy, height: cs.height - dy };\n },\n s: function( event, dx, dy ) {\n return { height: this.originalSize.height + dy };\n },\n se: function( event, dx, dy ) {\n return $.extend( this._change.s.apply( this, arguments ),\n this._change.e.apply( this, [ event, dx, dy ] ) );\n },\n sw: function( event, dx, dy ) {\n return $.extend( this._change.s.apply( this, arguments ),\n this._change.w.apply( this, [ event, dx, dy ] ) );\n },\n ne: function( event, dx, dy ) {\n return $.extend( this._change.n.apply( this, arguments ),\n this._change.e.apply( this, [ event, dx, dy ] ) );\n },\n nw: function( event, dx, dy ) {\n return $.extend( this._change.n.apply( this, arguments ),\n this._change.w.apply( this, [ event, dx, dy ] ) );\n }\n },\n\n _propagate: function( n, event ) {\n $.ui.plugin.call( this, n, [ event, this.ui() ] );\n if ( n !== \"resize\" ) {\n this._trigger( n, event, this.ui() );\n }\n },\n\n plugins: {},\n\n ui: function() {\n return {\n originalElement: this.originalElement,\n element: this.element,\n helper: this.helper,\n position: this.position,\n size: this.size,\n originalSize: this.originalSize,\n originalPosition: this.originalPosition\n };\n }\n\n } );\n\n /*\n * Resizable Extensions\n */\n\n $.ui.plugin.add( \"resizable\", \"animate\", {\n\n stop: function( event ) {\n var that = $( this ).resizable( \"instance\" ),\n o = that.options,\n pr = that._proportionallyResizeElements,\n ista = pr.length && ( /textarea/i ).test( pr[ 0 ].nodeName ),\n soffseth = ista && that._hasScroll( pr[ 0 ], \"left\" ) ? 0 : that.sizeDiff.height,\n soffsetw = ista ? 0 : that.sizeDiff.width,\n style = {\n width: ( that.size.width - soffsetw ),\n height: ( that.size.height - soffseth )\n },\n left = ( parseFloat( that.element.css( \"left\" ) ) +\n ( that.position.left - that.originalPosition.left ) ) || null,\n top = ( parseFloat( that.element.css( \"top\" ) ) +\n ( that.position.top - that.originalPosition.top ) ) || null;\n\n that.element.animate(\n $.extend( style, top && left ? { top: top, left: left } : {} ), {\n duration: o.animateDuration,\n easing: o.animateEasing,\n step: function() {\n\n var data = {\n width: parseFloat( that.element.css( \"width\" ) ),\n height: parseFloat( that.element.css( \"height\" ) ),\n top: parseFloat( that.element.css( \"top\" ) ),\n left: parseFloat( that.element.css( \"left\" ) )\n };\n\n if ( pr && pr.length ) {\n $( pr[ 0 ] ).css( { width: data.width, height: data.height } );\n }\n\n // Propagating resize, and updating values for each animation step\n that._updateCache( data );\n that._propagate( \"resize\", event );\n\n }\n }\n );\n }\n\n } );\n\n $.ui.plugin.add( \"resizable\", \"containment\", {\n\n start: function() {\n var element, p, co, ch, cw, width, height,\n that = $( this ).resizable( \"instance\" ),\n o = that.options,\n el = that.element,\n oc = o.containment,\n ce = ( oc instanceof $ ) ?\n oc.get( 0 ) :\n ( /parent/.test( oc ) ) ? el.parent().get( 0 ) : oc;\n\n if ( !ce ) {\n return;\n }\n\n that.containerElement = $( ce );\n\n if ( /document/.test( oc ) || oc === document ) {\n that.containerOffset = {\n left: 0,\n top: 0\n };\n that.containerPosition = {\n left: 0,\n top: 0\n };\n\n that.parentData = {\n element: $( document ),\n left: 0,\n top: 0,\n width: $( document ).width(),\n height: $( document ).height() || document.body.parentNode.scrollHeight\n };\n } else {\n element = $( ce );\n p = [];\n $( [ \"Top\", \"Right\", \"Left\", \"Bottom\" ] ).each( function( i, name ) {\n p[ i ] = that._num( element.css( \"padding\" + name ) );\n } );\n\n that.containerOffset = element.offset();\n that.containerPosition = element.position();\n that.containerSize = {\n height: ( element.innerHeight() - p[ 3 ] ),\n width: ( element.innerWidth() - p[ 1 ] )\n };\n\n co = that.containerOffset;\n ch = that.containerSize.height;\n cw = that.containerSize.width;\n width = ( that._hasScroll( ce, \"left\" ) ? ce.scrollWidth : cw );\n height = ( that._hasScroll( ce ) ? ce.scrollHeight : ch );\n\n that.parentData = {\n element: ce,\n left: co.left,\n top: co.top,\n width: width,\n height: height\n };\n }\n },\n\n resize: function( event ) {\n var woset, hoset, isParent, isOffsetRelative,\n that = $( this ).resizable( \"instance\" ),\n o = that.options,\n co = that.containerOffset,\n cp = that.position,\n pRatio = that._aspectRatio || event.shiftKey,\n cop = {\n top: 0,\n left: 0\n },\n ce = that.containerElement,\n continueResize = true;\n\n if ( ce[ 0 ] !== document && ( /static/ ).test( ce.css( \"position\" ) ) ) {\n cop = co;\n }\n\n if ( cp.left < ( that._helper ? co.left : 0 ) ) {\n that.size.width = that.size.width +\n ( that._helper ?\n ( that.position.left - co.left ) :\n ( that.position.left - cop.left ) );\n\n if ( pRatio ) {\n that.size.height = that.size.width / that.aspectRatio;\n continueResize = false;\n }\n that.position.left = o.helper ? co.left : 0;\n }\n\n if ( cp.top < ( that._helper ? co.top : 0 ) ) {\n that.size.height = that.size.height +\n ( that._helper ?\n ( that.position.top - co.top ) :\n that.position.top );\n\n if ( pRatio ) {\n that.size.width = that.size.height * that.aspectRatio;\n continueResize = false;\n }\n that.position.top = that._helper ? co.top : 0;\n }\n\n isParent = that.containerElement.get( 0 ) === that.element.parent().get( 0 );\n isOffsetRelative = /relative|absolute/.test( that.containerElement.css( \"position\" ) );\n\n if ( isParent && isOffsetRelative ) {\n that.offset.left = that.parentData.left + that.position.left;\n that.offset.top = that.parentData.top + that.position.top;\n } else {\n that.offset.left = that.element.offset().left;\n that.offset.top = that.element.offset().top;\n }\n\n woset = Math.abs( that.sizeDiff.width +\n ( that._helper ?\n that.offset.left - cop.left :\n ( that.offset.left - co.left ) ) );\n\n hoset = Math.abs( that.sizeDiff.height +\n ( that._helper ?\n that.offset.top - cop.top :\n ( that.offset.top - co.top ) ) );\n\n if ( woset + that.size.width >= that.parentData.width ) {\n that.size.width = that.parentData.width - woset;\n if ( pRatio ) {\n that.size.height = that.size.width / that.aspectRatio;\n continueResize = false;\n }\n }\n\n if ( hoset + that.size.height >= that.parentData.height ) {\n that.size.height = that.parentData.height - hoset;\n if ( pRatio ) {\n that.size.width = that.size.height * that.aspectRatio;\n continueResize = false;\n }\n }\n\n if ( !continueResize ) {\n that.position.left = that.prevPosition.left;\n that.position.top = that.prevPosition.top;\n that.size.width = that.prevSize.width;\n that.size.height = that.prevSize.height;\n }\n },\n\n stop: function() {\n var that = $( this ).resizable( \"instance\" ),\n o = that.options,\n co = that.containerOffset,\n cop = that.containerPosition,\n ce = that.containerElement,\n helper = $( that.helper ),\n ho = helper.offset(),\n w = helper.outerWidth() - that.sizeDiff.width,\n h = helper.outerHeight() - that.sizeDiff.height;\n\n if ( that._helper && !o.animate && ( /relative/ ).test( ce.css( \"position\" ) ) ) {\n $( this ).css( {\n left: ho.left - cop.left - co.left,\n width: w,\n height: h\n } );\n }\n\n if ( that._helper && !o.animate && ( /static/ ).test( ce.css( \"position\" ) ) ) {\n $( this ).css( {\n left: ho.left - cop.left - co.left,\n width: w,\n height: h\n } );\n }\n }\n } );\n\n $.ui.plugin.add( \"resizable\", \"alsoResize\", {\n\n start: function() {\n var that = $( this ).resizable( \"instance\" ),\n o = that.options;\n\n $( o.alsoResize ).each( function() {\n var el = $( this );\n el.data( \"ui-resizable-alsoresize\", {\n width: parseFloat( el.width() ), height: parseFloat( el.height() ),\n left: parseFloat( el.css( \"left\" ) ), top: parseFloat( el.css( \"top\" ) )\n } );\n } );\n },\n\n resize: function( event, ui ) {\n var that = $( this ).resizable( \"instance\" ),\n o = that.options,\n os = that.originalSize,\n op = that.originalPosition,\n delta = {\n height: ( that.size.height - os.height ) || 0,\n width: ( that.size.width - os.width ) || 0,\n top: ( that.position.top - op.top ) || 0,\n left: ( that.position.left - op.left ) || 0\n };\n\n $( o.alsoResize ).each( function() {\n var el = $( this ), start = $( this ).data( \"ui-resizable-alsoresize\" ), style = {},\n css = el.parents( ui.originalElement[ 0 ] ).length ?\n [ \"width\", \"height\" ] :\n [ \"width\", \"height\", \"top\", \"left\" ];\n\n $.each( css, function( i, prop ) {\n var sum = ( start[ prop ] || 0 ) + ( delta[ prop ] || 0 );\n if ( sum && sum >= 0 ) {\n style[ prop ] = sum || null;\n }\n } );\n\n el.css( style );\n } );\n },\n\n stop: function() {\n $( this ).removeData( \"ui-resizable-alsoresize\" );\n }\n } );\n\n $.ui.plugin.add( \"resizable\", \"ghost\", {\n\n start: function() {\n\n var that = $( this ).resizable( \"instance\" ), cs = that.size;\n\n that.ghost = that.originalElement.clone();\n that.ghost.css( {\n opacity: 0.25,\n display: \"block\",\n position: \"relative\",\n height: cs.height,\n width: cs.width,\n margin: 0,\n left: 0,\n top: 0\n } );\n\n that._addClass( that.ghost, \"ui-resizable-ghost\" );\n\n // DEPRECATED\n // TODO: remove after 1.12\n if ( $.uiBackCompat !== false && typeof that.options.ghost === \"string\" ) {\n\n // Ghost option\n that.ghost.addClass( this.options.ghost );\n }\n\n that.ghost.appendTo( that.helper );\n\n },\n\n resize: function() {\n var that = $( this ).resizable( \"instance\" );\n if ( that.ghost ) {\n that.ghost.css( {\n position: \"relative\",\n height: that.size.height,\n width: that.size.width\n } );\n }\n },\n\n stop: function() {\n var that = $( this ).resizable( \"instance\" );\n if ( that.ghost && that.helper ) {\n that.helper.get( 0 ).removeChild( that.ghost.get( 0 ) );\n }\n }\n\n } );\n\n $.ui.plugin.add( \"resizable\", \"grid\", {\n\n resize: function() {\n var outerDimensions,\n that = $( this ).resizable( \"instance\" ),\n o = that.options,\n cs = that.size,\n os = that.originalSize,\n op = that.originalPosition,\n a = that.axis,\n grid = typeof o.grid === \"number\" ? [ o.grid, o.grid ] : o.grid,\n gridX = ( grid[ 0 ] || 1 ),\n gridY = ( grid[ 1 ] || 1 ),\n ox = Math.round( ( cs.width - os.width ) / gridX ) * gridX,\n oy = Math.round( ( cs.height - os.height ) / gridY ) * gridY,\n newWidth = os.width + ox,\n newHeight = os.height + oy,\n isMaxWidth = o.maxWidth && ( o.maxWidth < newWidth ),\n isMaxHeight = o.maxHeight && ( o.maxHeight < newHeight ),\n isMinWidth = o.minWidth && ( o.minWidth > newWidth ),\n isMinHeight = o.minHeight && ( o.minHeight > newHeight );\n\n o.grid = grid;\n\n if ( isMinWidth ) {\n newWidth += gridX;\n }\n if ( isMinHeight ) {\n newHeight += gridY;\n }\n if ( isMaxWidth ) {\n newWidth -= gridX;\n }\n if ( isMaxHeight ) {\n newHeight -= gridY;\n }\n\n if ( /^(se|s|e)$/.test( a ) ) {\n that.size.width = newWidth;\n that.size.height = newHeight;\n } else if ( /^(ne)$/.test( a ) ) {\n that.size.width = newWidth;\n that.size.height = newHeight;\n that.position.top = op.top - oy;\n } else if ( /^(sw)$/.test( a ) ) {\n that.size.width = newWidth;\n that.size.height = newHeight;\n that.position.left = op.left - ox;\n } else {\n if ( newHeight - gridY <= 0 || newWidth - gridX <= 0 ) {\n outerDimensions = that._getPaddingPlusBorderDimensions( this );\n }\n\n if ( newHeight - gridY > 0 ) {\n that.size.height = newHeight;\n that.position.top = op.top - oy;\n } else {\n newHeight = gridY - outerDimensions.height;\n that.size.height = newHeight;\n that.position.top = op.top + os.height - newHeight;\n }\n if ( newWidth - gridX > 0 ) {\n that.size.width = newWidth;\n that.position.left = op.left - ox;\n } else {\n newWidth = gridX - outerDimensions.width;\n that.size.width = newWidth;\n that.position.left = op.left + os.width - newWidth;\n }\n }\n }\n\n } );\n\n return $.ui.resizable;\n\n} );\n","jquery/ui-modules/widgets/progressbar.js":"/*!\n * jQuery UI Progressbar 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Progressbar\n//>>group: Widgets\n/* eslint-disable max-len */\n//>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.\n/* eslint-enable max-len */\n//>>docs: http://api.jqueryui.com/progressbar/\n//>>demos: http://jqueryui.com/progressbar/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/progressbar.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.progressbar\", {\n version: \"1.13.2\",\n options: {\n classes: {\n \"ui-progressbar\": \"ui-corner-all\",\n \"ui-progressbar-value\": \"ui-corner-left\",\n \"ui-progressbar-complete\": \"ui-corner-right\"\n },\n max: 100,\n value: 0,\n\n change: null,\n complete: null\n },\n\n min: 0,\n\n _create: function() {\n\n // Constrain initial value\n this.oldValue = this.options.value = this._constrainedValue();\n\n this.element.attr( {\n\n // Only set static values; aria-valuenow and aria-valuemax are\n // set inside _refreshValue()\n role: \"progressbar\",\n \"aria-valuemin\": this.min\n } );\n this._addClass( \"ui-progressbar\", \"ui-widget ui-widget-content\" );\n\n this.valueDiv = $( \"<div>\" ).appendTo( this.element );\n this._addClass( this.valueDiv, \"ui-progressbar-value\", \"ui-widget-header\" );\n this._refreshValue();\n },\n\n _destroy: function() {\n this.element.removeAttr( \"role aria-valuemin aria-valuemax aria-valuenow\" );\n\n this.valueDiv.remove();\n },\n\n value: function( newValue ) {\n if ( newValue === undefined ) {\n return this.options.value;\n }\n\n this.options.value = this._constrainedValue( newValue );\n this._refreshValue();\n },\n\n _constrainedValue: function( newValue ) {\n if ( newValue === undefined ) {\n newValue = this.options.value;\n }\n\n this.indeterminate = newValue === false;\n\n // Sanitize value\n if ( typeof newValue !== \"number\" ) {\n newValue = 0;\n }\n\n return this.indeterminate ? false :\n Math.min( this.options.max, Math.max( this.min, newValue ) );\n },\n\n _setOptions: function( options ) {\n\n // Ensure \"value\" option is set after other values (like max)\n var value = options.value;\n delete options.value;\n\n this._super( options );\n\n this.options.value = this._constrainedValue( value );\n this._refreshValue();\n },\n\n _setOption: function( key, value ) {\n if ( key === \"max\" ) {\n\n // Don't allow a max less than min\n value = Math.max( this.min, value );\n }\n this._super( key, value );\n },\n\n _setOptionDisabled: function( value ) {\n this._super( value );\n\n this.element.attr( \"aria-disabled\", value );\n this._toggleClass( null, \"ui-state-disabled\", !!value );\n },\n\n _percentage: function() {\n return this.indeterminate ?\n 100 :\n 100 * ( this.options.value - this.min ) / ( this.options.max - this.min );\n },\n\n _refreshValue: function() {\n var value = this.options.value,\n percentage = this._percentage();\n\n this.valueDiv\n .toggle( this.indeterminate || value > this.min )\n .width( percentage.toFixed( 0 ) + \"%\" );\n\n this\n ._toggleClass( this.valueDiv, \"ui-progressbar-complete\", null,\n value === this.options.max )\n ._toggleClass( \"ui-progressbar-indeterminate\", null, this.indeterminate );\n\n if ( this.indeterminate ) {\n this.element.removeAttr( \"aria-valuenow\" );\n if ( !this.overlayDiv ) {\n this.overlayDiv = $( \"<div>\" ).appendTo( this.valueDiv );\n this._addClass( this.overlayDiv, \"ui-progressbar-overlay\" );\n }\n } else {\n this.element.attr( {\n \"aria-valuemax\": this.options.max,\n \"aria-valuenow\": value\n } );\n if ( this.overlayDiv ) {\n this.overlayDiv.remove();\n this.overlayDiv = null;\n }\n }\n\n if ( this.oldValue !== value ) {\n this.oldValue = value;\n this._trigger( \"change\" );\n }\n if ( value === this.options.max ) {\n this._trigger( \"complete\" );\n }\n }\n } );\n\n} );\n","jquery/ui-modules/widgets/button.js":"/*!\n * jQuery UI Button 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Button\n//>>group: Widgets\n//>>description: Enhances a form with themeable buttons.\n//>>docs: http://api.jqueryui.com/button/\n//>>demos: http://jqueryui.com/button/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/button.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n\n // These are only for backcompat\n // TODO: Remove after 1.12\n \"./controlgroup\",\n \"./checkboxradio\",\n\n \"../keycode\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.button\", {\n version: \"1.13.2\",\n defaultElement: \"<button>\",\n options: {\n classes: {\n \"ui-button\": \"ui-corner-all\"\n },\n disabled: null,\n icon: null,\n iconPosition: \"beginning\",\n label: null,\n showLabel: true\n },\n\n _getCreateOptions: function() {\n var disabled,\n\n // This is to support cases like in jQuery Mobile where the base widget does have\n // an implementation of _getCreateOptions\n options = this._super() || {};\n\n this.isInput = this.element.is( \"input\" );\n\n disabled = this.element[ 0 ].disabled;\n if ( disabled != null ) {\n options.disabled = disabled;\n }\n\n this.originalLabel = this.isInput ? this.element.val() : this.element.html();\n if ( this.originalLabel ) {\n options.label = this.originalLabel;\n }\n\n return options;\n },\n\n _create: function() {\n if ( !this.option.showLabel & !this.options.icon ) {\n this.options.showLabel = true;\n }\n\n // We have to check the option again here even though we did in _getCreateOptions,\n // because null may have been passed on init which would override what was set in\n // _getCreateOptions\n if ( this.options.disabled == null ) {\n this.options.disabled = this.element[ 0 ].disabled || false;\n }\n\n this.hasTitle = !!this.element.attr( \"title\" );\n\n // Check to see if the label needs to be set or if its already correct\n if ( this.options.label && this.options.label !== this.originalLabel ) {\n if ( this.isInput ) {\n this.element.val( this.options.label );\n } else {\n this.element.html( this.options.label );\n }\n }\n this._addClass( \"ui-button\", \"ui-widget\" );\n this._setOption( \"disabled\", this.options.disabled );\n this._enhance();\n\n if ( this.element.is( \"a\" ) ) {\n this._on( {\n \"keyup\": function( event ) {\n if ( event.keyCode === $.ui.keyCode.SPACE ) {\n event.preventDefault();\n\n // Support: PhantomJS <= 1.9, IE 8 Only\n // If a native click is available use it so we actually cause navigation\n // otherwise just trigger a click event\n if ( this.element[ 0 ].click ) {\n this.element[ 0 ].click();\n } else {\n this.element.trigger( \"click\" );\n }\n }\n }\n } );\n }\n },\n\n _enhance: function() {\n if ( !this.element.is( \"button\" ) ) {\n this.element.attr( \"role\", \"button\" );\n }\n\n if ( this.options.icon ) {\n this._updateIcon( \"icon\", this.options.icon );\n this._updateTooltip();\n }\n },\n\n _updateTooltip: function() {\n this.title = this.element.attr( \"title\" );\n\n if ( !this.options.showLabel && !this.title ) {\n this.element.attr( \"title\", this.options.label );\n }\n },\n\n _updateIcon: function( option, value ) {\n var icon = option !== \"iconPosition\",\n position = icon ? this.options.iconPosition : value,\n displayBlock = position === \"top\" || position === \"bottom\";\n\n // Create icon\n if ( !this.icon ) {\n this.icon = $( \"<span>\" );\n\n this._addClass( this.icon, \"ui-button-icon\", \"ui-icon\" );\n\n if ( !this.options.showLabel ) {\n this._addClass( \"ui-button-icon-only\" );\n }\n } else if ( icon ) {\n\n // If we are updating the icon remove the old icon class\n this._removeClass( this.icon, null, this.options.icon );\n }\n\n // If we are updating the icon add the new icon class\n if ( icon ) {\n this._addClass( this.icon, null, value );\n }\n\n this._attachIcon( position );\n\n // If the icon is on top or bottom we need to add the ui-widget-icon-block class and remove\n // the iconSpace if there is one.\n if ( displayBlock ) {\n this._addClass( this.icon, null, \"ui-widget-icon-block\" );\n if ( this.iconSpace ) {\n this.iconSpace.remove();\n }\n } else {\n\n // Position is beginning or end so remove the ui-widget-icon-block class and add the\n // space if it does not exist\n if ( !this.iconSpace ) {\n this.iconSpace = $( \"<span> </span>\" );\n this._addClass( this.iconSpace, \"ui-button-icon-space\" );\n }\n this._removeClass( this.icon, null, \"ui-wiget-icon-block\" );\n this._attachIconSpace( position );\n }\n },\n\n _destroy: function() {\n this.element.removeAttr( \"role\" );\n\n if ( this.icon ) {\n this.icon.remove();\n }\n if ( this.iconSpace ) {\n this.iconSpace.remove();\n }\n if ( !this.hasTitle ) {\n this.element.removeAttr( \"title\" );\n }\n },\n\n _attachIconSpace: function( iconPosition ) {\n this.icon[ /^(?:end|bottom)/.test( iconPosition ) ? \"before\" : \"after\" ]( this.iconSpace );\n },\n\n _attachIcon: function( iconPosition ) {\n this.element[ /^(?:end|bottom)/.test( iconPosition ) ? \"append\" : \"prepend\" ]( this.icon );\n },\n\n _setOptions: function( options ) {\n var newShowLabel = options.showLabel === undefined ?\n this.options.showLabel :\n options.showLabel,\n newIcon = options.icon === undefined ? this.options.icon : options.icon;\n\n if ( !newShowLabel && !newIcon ) {\n options.showLabel = true;\n }\n this._super( options );\n },\n\n _setOption: function( key, value ) {\n if ( key === \"icon\" ) {\n if ( value ) {\n this._updateIcon( key, value );\n } else if ( this.icon ) {\n this.icon.remove();\n if ( this.iconSpace ) {\n this.iconSpace.remove();\n }\n }\n }\n\n if ( key === \"iconPosition\" ) {\n this._updateIcon( key, value );\n }\n\n // Make sure we can't end up with a button that has neither text nor icon\n if ( key === \"showLabel\" ) {\n this._toggleClass( \"ui-button-icon-only\", null, !value );\n this._updateTooltip();\n }\n\n if ( key === \"label\" ) {\n if ( this.isInput ) {\n this.element.val( value );\n } else {\n\n // If there is an icon, append it, else nothing then append the value\n // this avoids removal of the icon when setting label text\n this.element.html( value );\n if ( this.icon ) {\n this._attachIcon( this.options.iconPosition );\n this._attachIconSpace( this.options.iconPosition );\n }\n }\n }\n\n this._super( key, value );\n\n if ( key === \"disabled\" ) {\n this._toggleClass( null, \"ui-state-disabled\", value );\n this.element[ 0 ].disabled = value;\n if ( value ) {\n this.element.trigger( \"blur\" );\n }\n }\n },\n\n refresh: function() {\n\n // Make sure to only check disabled if its an element that supports this otherwise\n // check for the disabled class to determine state\n var isDisabled = this.element.is( \"input, button\" ) ?\n this.element[ 0 ].disabled : this.element.hasClass( \"ui-button-disabled\" );\n\n if ( isDisabled !== this.options.disabled ) {\n this._setOptions( { disabled: isDisabled } );\n }\n\n this._updateTooltip();\n }\n } );\n\n// DEPRECATED\n if ( $.uiBackCompat !== false ) {\n\n // Text and Icons options\n $.widget( \"ui.button\", $.ui.button, {\n options: {\n text: true,\n icons: {\n primary: null,\n secondary: null\n }\n },\n\n _create: function() {\n if ( this.options.showLabel && !this.options.text ) {\n this.options.showLabel = this.options.text;\n }\n if ( !this.options.showLabel && this.options.text ) {\n this.options.text = this.options.showLabel;\n }\n if ( !this.options.icon && ( this.options.icons.primary ||\n this.options.icons.secondary ) ) {\n if ( this.options.icons.primary ) {\n this.options.icon = this.options.icons.primary;\n } else {\n this.options.icon = this.options.icons.secondary;\n this.options.iconPosition = \"end\";\n }\n } else if ( this.options.icon ) {\n this.options.icons.primary = this.options.icon;\n }\n this._super();\n },\n\n _setOption: function( key, value ) {\n if ( key === \"text\" ) {\n this._super( \"showLabel\", value );\n return;\n }\n if ( key === \"showLabel\" ) {\n this.options.text = value;\n }\n if ( key === \"icon\" ) {\n this.options.icons.primary = value;\n }\n if ( key === \"icons\" ) {\n if ( value.primary ) {\n this._super( \"icon\", value.primary );\n this._super( \"iconPosition\", \"beginning\" );\n } else if ( value.secondary ) {\n this._super( \"icon\", value.secondary );\n this._super( \"iconPosition\", \"end\" );\n }\n }\n this._superApply( arguments );\n }\n } );\n\n $.fn.button = ( function( orig ) {\n return function( options ) {\n var isMethodCall = typeof options === \"string\";\n var args = Array.prototype.slice.call( arguments, 1 );\n var returnValue = this;\n\n if ( isMethodCall ) {\n\n // If this is an empty collection, we need to have the instance method\n // return undefined instead of the jQuery instance\n if ( !this.length && options === \"instance\" ) {\n returnValue = undefined;\n } else {\n this.each( function() {\n var methodValue;\n var type = $( this ).attr( \"type\" );\n var name = type !== \"checkbox\" && type !== \"radio\" ?\n \"button\" :\n \"checkboxradio\";\n var instance = $.data( this, \"ui-\" + name );\n\n if ( options === \"instance\" ) {\n returnValue = instance;\n return false;\n }\n\n if ( !instance ) {\n return $.error( \"cannot call methods on button\" +\n \" prior to initialization; \" +\n \"attempted to call method '\" + options + \"'\" );\n }\n\n if ( typeof instance[ options ] !== \"function\" ||\n options.charAt( 0 ) === \"_\" ) {\n return $.error( \"no such method '\" + options + \"' for button\" +\n \" widget instance\" );\n }\n\n methodValue = instance[ options ].apply( instance, args );\n\n if ( methodValue !== instance && methodValue !== undefined ) {\n returnValue = methodValue && methodValue.jquery ?\n returnValue.pushStack( methodValue.get() ) :\n methodValue;\n return false;\n }\n } );\n }\n } else {\n\n // Allow multiple hashes to be passed on init\n if ( args.length ) {\n options = $.widget.extend.apply( null, [ options ].concat( args ) );\n }\n\n this.each( function() {\n var type = $( this ).attr( \"type\" );\n var name = type !== \"checkbox\" && type !== \"radio\" ? \"button\" : \"checkboxradio\";\n var instance = $.data( this, \"ui-\" + name );\n\n if ( instance ) {\n instance.option( options || {} );\n if ( instance._init ) {\n instance._init();\n }\n } else {\n if ( name === \"button\" ) {\n orig.call( $( this ), options );\n return;\n }\n\n $( this ).checkboxradio( $.extend( { icon: false }, options ) );\n }\n } );\n }\n\n return returnValue;\n };\n } )( $.fn.button );\n\n $.fn.buttonset = function() {\n if ( !$.ui.controlgroup ) {\n $.error( \"Controlgroup widget missing\" );\n }\n if ( arguments[ 0 ] === \"option\" && arguments[ 1 ] === \"items\" && arguments[ 2 ] ) {\n return this.controlgroup.apply( this,\n [ arguments[ 0 ], \"items.button\", arguments[ 2 ] ] );\n }\n if ( arguments[ 0 ] === \"option\" && arguments[ 1 ] === \"items\" ) {\n return this.controlgroup.apply( this, [ arguments[ 0 ], \"items.button\" ] );\n }\n if ( typeof arguments[ 0 ] === \"object\" && arguments[ 0 ].items ) {\n arguments[ 0 ].items = {\n button: arguments[ 0 ].items\n };\n }\n return this.controlgroup.apply( this, arguments );\n };\n }\n\n return $.ui.button;\n\n} );\n","jquery/ui-modules/widgets/draggable.js":"/*!\n * jQuery UI Draggable 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Draggable\n//>>group: Interactions\n//>>description: Enables dragging functionality for any element.\n//>>docs: http://api.jqueryui.com/draggable/\n//>>demos: http://jqueryui.com/draggable/\n//>>css.structure: ../../themes/base/draggable.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./mouse\",\n \"../data\",\n \"../plugin\",\n \"../safe-active-element\",\n \"../safe-blur\",\n \"../scroll-parent\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.draggable\", $.ui.mouse, {\n version: \"1.13.2\",\n widgetEventPrefix: \"drag\",\n options: {\n addClasses: true,\n appendTo: \"parent\",\n axis: false,\n connectToSortable: false,\n containment: false,\n cursor: \"auto\",\n cursorAt: false,\n grid: false,\n handle: false,\n helper: \"original\",\n iframeFix: false,\n opacity: false,\n refreshPositions: false,\n revert: false,\n revertDuration: 500,\n scope: \"default\",\n scroll: true,\n scrollSensitivity: 20,\n scrollSpeed: 20,\n snap: false,\n snapMode: \"both\",\n snapTolerance: 20,\n stack: false,\n zIndex: false,\n\n // Callbacks\n drag: null,\n start: null,\n stop: null\n },\n _create: function() {\n\n if ( this.options.helper === \"original\" ) {\n this._setPositionRelative();\n }\n if ( this.options.addClasses ) {\n this._addClass( \"ui-draggable\" );\n }\n this._setHandleClassName();\n\n this._mouseInit();\n },\n\n _setOption: function( key, value ) {\n this._super( key, value );\n if ( key === \"handle\" ) {\n this._removeHandleClassName();\n this._setHandleClassName();\n }\n },\n\n _destroy: function() {\n if ( ( this.helper || this.element ).is( \".ui-draggable-dragging\" ) ) {\n this.destroyOnClear = true;\n return;\n }\n this._removeHandleClassName();\n this._mouseDestroy();\n },\n\n _mouseCapture: function( event ) {\n var o = this.options;\n\n // Among others, prevent a drag on a resizable-handle\n if ( this.helper || o.disabled ||\n $( event.target ).closest( \".ui-resizable-handle\" ).length > 0 ) {\n return false;\n }\n\n //Quit if we're not on a valid handle\n this.handle = this._getHandle( event );\n if ( !this.handle ) {\n return false;\n }\n\n this._blurActiveElement( event );\n\n this._blockFrames( o.iframeFix === true ? \"iframe\" : o.iframeFix );\n\n return true;\n\n },\n\n _blockFrames: function( selector ) {\n this.iframeBlocks = this.document.find( selector ).map( function() {\n var iframe = $( this );\n\n return $( \"<div>\" )\n .css( \"position\", \"absolute\" )\n .appendTo( iframe.parent() )\n .outerWidth( iframe.outerWidth() )\n .outerHeight( iframe.outerHeight() )\n .offset( iframe.offset() )[ 0 ];\n } );\n },\n\n _unblockFrames: function() {\n if ( this.iframeBlocks ) {\n this.iframeBlocks.remove();\n delete this.iframeBlocks;\n }\n },\n\n _blurActiveElement: function( event ) {\n var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),\n target = $( event.target );\n\n // Don't blur if the event occurred on an element that is within\n // the currently focused element\n // See #10527, #12472\n if ( target.closest( activeElement ).length ) {\n return;\n }\n\n // Blur any element that currently has focus, see #4261\n $.ui.safeBlur( activeElement );\n },\n\n _mouseStart: function( event ) {\n\n var o = this.options;\n\n //Create and append the visible helper\n this.helper = this._createHelper( event );\n\n this._addClass( this.helper, \"ui-draggable-dragging\" );\n\n //Cache the helper size\n this._cacheHelperProportions();\n\n //If ddmanager is used for droppables, set the global draggable\n if ( $.ui.ddmanager ) {\n $.ui.ddmanager.current = this;\n }\n\n /*\n * - Position generation -\n * This block generates everything position related - it's the core of draggables.\n */\n\n //Cache the margins of the original element\n this._cacheMargins();\n\n //Store the helper's css position\n this.cssPosition = this.helper.css( \"position\" );\n this.scrollParent = this.helper.scrollParent( true );\n this.offsetParent = this.helper.offsetParent();\n this.hasFixedAncestor = this.helper.parents().filter( function() {\n return $( this ).css( \"position\" ) === \"fixed\";\n } ).length > 0;\n\n //The element's absolute position on the page minus margins\n this.positionAbs = this.element.offset();\n this._refreshOffsets( event );\n\n //Generate the original position\n this.originalPosition = this.position = this._generatePosition( event, false );\n this.originalPageX = event.pageX;\n this.originalPageY = event.pageY;\n\n //Adjust the mouse offset relative to the helper if \"cursorAt\" is supplied\n if ( o.cursorAt ) {\n this._adjustOffsetFromHelper( o.cursorAt );\n }\n\n //Set a containment if given in the options\n this._setContainment();\n\n //Trigger event + callbacks\n if ( this._trigger( \"start\", event ) === false ) {\n this._clear();\n return false;\n }\n\n //Recache the helper size\n this._cacheHelperProportions();\n\n //Prepare the droppable offsets\n if ( $.ui.ddmanager && !o.dropBehaviour ) {\n $.ui.ddmanager.prepareOffsets( this, event );\n }\n\n // Execute the drag once - this causes the helper not to be visible before getting its\n // correct position\n this._mouseDrag( event, true );\n\n // If the ddmanager is used for droppables, inform the manager that dragging has started\n // (see #5003)\n if ( $.ui.ddmanager ) {\n $.ui.ddmanager.dragStart( this, event );\n }\n\n return true;\n },\n\n _refreshOffsets: function( event ) {\n this.offset = {\n top: this.positionAbs.top - this.margins.top,\n left: this.positionAbs.left - this.margins.left,\n scroll: false,\n parent: this._getParentOffset(),\n relative: this._getRelativeOffset()\n };\n\n this.offset.click = {\n left: event.pageX - this.offset.left,\n top: event.pageY - this.offset.top\n };\n },\n\n _mouseDrag: function( event, noPropagation ) {\n\n // reset any necessary cached properties (see #5009)\n if ( this.hasFixedAncestor ) {\n this.offset.parent = this._getParentOffset();\n }\n\n //Compute the helpers position\n this.position = this._generatePosition( event, true );\n this.positionAbs = this._convertPositionTo( \"absolute\" );\n\n //Call plugins and callbacks and use the resulting position if something is returned\n if ( !noPropagation ) {\n var ui = this._uiHash();\n if ( this._trigger( \"drag\", event, ui ) === false ) {\n this._mouseUp( new $.Event( \"mouseup\", event ) );\n return false;\n }\n this.position = ui.position;\n }\n\n this.helper[ 0 ].style.left = this.position.left + \"px\";\n this.helper[ 0 ].style.top = this.position.top + \"px\";\n\n if ( $.ui.ddmanager ) {\n $.ui.ddmanager.drag( this, event );\n }\n\n return false;\n },\n\n _mouseStop: function( event ) {\n\n //If we are using droppables, inform the manager about the drop\n var that = this,\n dropped = false;\n if ( $.ui.ddmanager && !this.options.dropBehaviour ) {\n dropped = $.ui.ddmanager.drop( this, event );\n }\n\n //if a drop comes from outside (a sortable)\n if ( this.dropped ) {\n dropped = this.dropped;\n this.dropped = false;\n }\n\n if ( ( this.options.revert === \"invalid\" && !dropped ) ||\n ( this.options.revert === \"valid\" && dropped ) ||\n this.options.revert === true || ( typeof this.options.revert === \"function\" &&\n this.options.revert.call( this.element, dropped ) )\n ) {\n $( this.helper ).animate(\n this.originalPosition,\n parseInt( this.options.revertDuration, 10 ),\n function() {\n if ( that._trigger( \"stop\", event ) !== false ) {\n that._clear();\n }\n }\n );\n } else {\n if ( this._trigger( \"stop\", event ) !== false ) {\n this._clear();\n }\n }\n\n return false;\n },\n\n _mouseUp: function( event ) {\n this._unblockFrames();\n\n // If the ddmanager is used for droppables, inform the manager that dragging has stopped\n // (see #5003)\n if ( $.ui.ddmanager ) {\n $.ui.ddmanager.dragStop( this, event );\n }\n\n // Only need to focus if the event occurred on the draggable itself, see #10527\n if ( this.handleElement.is( event.target ) ) {\n\n // The interaction is over; whether or not the click resulted in a drag,\n // focus the element\n this.element.trigger( \"focus\" );\n }\n\n return $.ui.mouse.prototype._mouseUp.call( this, event );\n },\n\n cancel: function() {\n\n if ( this.helper.is( \".ui-draggable-dragging\" ) ) {\n this._mouseUp( new $.Event( \"mouseup\", { target: this.element[ 0 ] } ) );\n } else {\n this._clear();\n }\n\n return this;\n\n },\n\n _getHandle: function( event ) {\n return this.options.handle ?\n !!$( event.target ).closest( this.element.find( this.options.handle ) ).length :\n true;\n },\n\n _setHandleClassName: function() {\n this.handleElement = this.options.handle ?\n this.element.find( this.options.handle ) : this.element;\n this._addClass( this.handleElement, \"ui-draggable-handle\" );\n },\n\n _removeHandleClassName: function() {\n this._removeClass( this.handleElement, \"ui-draggable-handle\" );\n },\n\n _createHelper: function( event ) {\n\n var o = this.options,\n helperIsFunction = typeof o.helper === \"function\",\n helper = helperIsFunction ?\n $( o.helper.apply( this.element[ 0 ], [ event ] ) ) :\n ( o.helper === \"clone\" ?\n this.element.clone().removeAttr( \"id\" ) :\n this.element );\n\n if ( !helper.parents( \"body\" ).length ) {\n helper.appendTo( ( o.appendTo === \"parent\" ?\n this.element[ 0 ].parentNode :\n o.appendTo ) );\n }\n\n // Http://bugs.jqueryui.com/ticket/9446\n // a helper function can return the original element\n // which wouldn't have been set to relative in _create\n if ( helperIsFunction && helper[ 0 ] === this.element[ 0 ] ) {\n this._setPositionRelative();\n }\n\n if ( helper[ 0 ] !== this.element[ 0 ] &&\n !( /(fixed|absolute)/ ).test( helper.css( \"position\" ) ) ) {\n helper.css( \"position\", \"absolute\" );\n }\n\n return helper;\n\n },\n\n _setPositionRelative: function() {\n if ( !( /^(?:r|a|f)/ ).test( this.element.css( \"position\" ) ) ) {\n this.element[ 0 ].style.position = \"relative\";\n }\n },\n\n _adjustOffsetFromHelper: function( obj ) {\n if ( typeof obj === \"string\" ) {\n obj = obj.split( \" \" );\n }\n if ( Array.isArray( obj ) ) {\n obj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };\n }\n if ( \"left\" in obj ) {\n this.offset.click.left = obj.left + this.margins.left;\n }\n if ( \"right\" in obj ) {\n this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;\n }\n if ( \"top\" in obj ) {\n this.offset.click.top = obj.top + this.margins.top;\n }\n if ( \"bottom\" in obj ) {\n this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;\n }\n },\n\n _isRootNode: function( element ) {\n return ( /(html|body)/i ).test( element.tagName ) || element === this.document[ 0 ];\n },\n\n _getParentOffset: function() {\n\n //Get the offsetParent and cache its position\n var po = this.offsetParent.offset(),\n document = this.document[ 0 ];\n\n // This is a special case where we need to modify a offset calculated on start, since the\n // following happened:\n // 1. The position of the helper is absolute, so it's position is calculated based on the\n // next positioned parent\n // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't\n // the document, which means that the scroll is included in the initial calculation of the\n // offset of the parent, and never recalculated upon drag\n if ( this.cssPosition === \"absolute\" && this.scrollParent[ 0 ] !== document &&\n $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) {\n po.left += this.scrollParent.scrollLeft();\n po.top += this.scrollParent.scrollTop();\n }\n\n if ( this._isRootNode( this.offsetParent[ 0 ] ) ) {\n po = { top: 0, left: 0 };\n }\n\n return {\n top: po.top + ( parseInt( this.offsetParent.css( \"borderTopWidth\" ), 10 ) || 0 ),\n left: po.left + ( parseInt( this.offsetParent.css( \"borderLeftWidth\" ), 10 ) || 0 )\n };\n\n },\n\n _getRelativeOffset: function() {\n if ( this.cssPosition !== \"relative\" ) {\n return { top: 0, left: 0 };\n }\n\n var p = this.element.position(),\n scrollIsRootNode = this._isRootNode( this.scrollParent[ 0 ] );\n\n return {\n top: p.top - ( parseInt( this.helper.css( \"top\" ), 10 ) || 0 ) +\n ( !scrollIsRootNode ? this.scrollParent.scrollTop() : 0 ),\n left: p.left - ( parseInt( this.helper.css( \"left\" ), 10 ) || 0 ) +\n ( !scrollIsRootNode ? this.scrollParent.scrollLeft() : 0 )\n };\n\n },\n\n _cacheMargins: function() {\n this.margins = {\n left: ( parseInt( this.element.css( \"marginLeft\" ), 10 ) || 0 ),\n top: ( parseInt( this.element.css( \"marginTop\" ), 10 ) || 0 ),\n right: ( parseInt( this.element.css( \"marginRight\" ), 10 ) || 0 ),\n bottom: ( parseInt( this.element.css( \"marginBottom\" ), 10 ) || 0 )\n };\n },\n\n _cacheHelperProportions: function() {\n this.helperProportions = {\n width: this.helper.outerWidth(),\n height: this.helper.outerHeight()\n };\n },\n\n _setContainment: function() {\n\n var isUserScrollable, c, ce,\n o = this.options,\n document = this.document[ 0 ];\n\n this.relativeContainer = null;\n\n if ( !o.containment ) {\n this.containment = null;\n return;\n }\n\n if ( o.containment === \"window\" ) {\n this.containment = [\n $( window ).scrollLeft() - this.offset.relative.left - this.offset.parent.left,\n $( window ).scrollTop() - this.offset.relative.top - this.offset.parent.top,\n $( window ).scrollLeft() + $( window ).width() -\n this.helperProportions.width - this.margins.left,\n $( window ).scrollTop() +\n ( $( window ).height() || document.body.parentNode.scrollHeight ) -\n this.helperProportions.height - this.margins.top\n ];\n return;\n }\n\n if ( o.containment === \"document\" ) {\n this.containment = [\n 0,\n 0,\n $( document ).width() - this.helperProportions.width - this.margins.left,\n ( $( document ).height() || document.body.parentNode.scrollHeight ) -\n this.helperProportions.height - this.margins.top\n ];\n return;\n }\n\n if ( o.containment.constructor === Array ) {\n this.containment = o.containment;\n return;\n }\n\n if ( o.containment === \"parent\" ) {\n o.containment = this.helper[ 0 ].parentNode;\n }\n\n c = $( o.containment );\n ce = c[ 0 ];\n\n if ( !ce ) {\n return;\n }\n\n isUserScrollable = /(scroll|auto)/.test( c.css( \"overflow\" ) );\n\n this.containment = [\n ( parseInt( c.css( \"borderLeftWidth\" ), 10 ) || 0 ) +\n ( parseInt( c.css( \"paddingLeft\" ), 10 ) || 0 ),\n ( parseInt( c.css( \"borderTopWidth\" ), 10 ) || 0 ) +\n ( parseInt( c.css( \"paddingTop\" ), 10 ) || 0 ),\n ( isUserScrollable ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) -\n ( parseInt( c.css( \"borderRightWidth\" ), 10 ) || 0 ) -\n ( parseInt( c.css( \"paddingRight\" ), 10 ) || 0 ) -\n this.helperProportions.width -\n this.margins.left -\n this.margins.right,\n ( isUserScrollable ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) -\n ( parseInt( c.css( \"borderBottomWidth\" ), 10 ) || 0 ) -\n ( parseInt( c.css( \"paddingBottom\" ), 10 ) || 0 ) -\n this.helperProportions.height -\n this.margins.top -\n this.margins.bottom\n ];\n this.relativeContainer = c;\n },\n\n _convertPositionTo: function( d, pos ) {\n\n if ( !pos ) {\n pos = this.position;\n }\n\n var mod = d === \"absolute\" ? 1 : -1,\n scrollIsRootNode = this._isRootNode( this.scrollParent[ 0 ] );\n\n return {\n top: (\n\n // The absolute mouse position\n pos.top\t+\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.top * mod +\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.top * mod -\n ( ( this.cssPosition === \"fixed\" ?\n -this.offset.scroll.top :\n ( scrollIsRootNode ? 0 : this.offset.scroll.top ) ) * mod )\n ),\n left: (\n\n // The absolute mouse position\n pos.left +\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.left * mod +\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.left * mod\t-\n ( ( this.cssPosition === \"fixed\" ?\n -this.offset.scroll.left :\n ( scrollIsRootNode ? 0 : this.offset.scroll.left ) ) * mod )\n )\n };\n\n },\n\n _generatePosition: function( event, constrainPosition ) {\n\n var containment, co, top, left,\n o = this.options,\n scrollIsRootNode = this._isRootNode( this.scrollParent[ 0 ] ),\n pageX = event.pageX,\n pageY = event.pageY;\n\n // Cache the scroll\n if ( !scrollIsRootNode || !this.offset.scroll ) {\n this.offset.scroll = {\n top: this.scrollParent.scrollTop(),\n left: this.scrollParent.scrollLeft()\n };\n }\n\n /*\n * - Position constraining -\n * Constrain the position to a mix of grid, containment.\n */\n\n // If we are not dragging yet, we won't check for options\n if ( constrainPosition ) {\n if ( this.containment ) {\n if ( this.relativeContainer ) {\n co = this.relativeContainer.offset();\n containment = [\n this.containment[ 0 ] + co.left,\n this.containment[ 1 ] + co.top,\n this.containment[ 2 ] + co.left,\n this.containment[ 3 ] + co.top\n ];\n } else {\n containment = this.containment;\n }\n\n if ( event.pageX - this.offset.click.left < containment[ 0 ] ) {\n pageX = containment[ 0 ] + this.offset.click.left;\n }\n if ( event.pageY - this.offset.click.top < containment[ 1 ] ) {\n pageY = containment[ 1 ] + this.offset.click.top;\n }\n if ( event.pageX - this.offset.click.left > containment[ 2 ] ) {\n pageX = containment[ 2 ] + this.offset.click.left;\n }\n if ( event.pageY - this.offset.click.top > containment[ 3 ] ) {\n pageY = containment[ 3 ] + this.offset.click.top;\n }\n }\n\n if ( o.grid ) {\n\n //Check for grid elements set to 0 to prevent divide by 0 error causing invalid\n // argument errors in IE (see ticket #6950)\n top = o.grid[ 1 ] ? this.originalPageY + Math.round( ( pageY -\n this.originalPageY ) / o.grid[ 1 ] ) * o.grid[ 1 ] : this.originalPageY;\n pageY = containment ? ( ( top - this.offset.click.top >= containment[ 1 ] ||\n top - this.offset.click.top > containment[ 3 ] ) ?\n top :\n ( ( top - this.offset.click.top >= containment[ 1 ] ) ?\n top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) : top;\n\n left = o.grid[ 0 ] ? this.originalPageX +\n Math.round( ( pageX - this.originalPageX ) / o.grid[ 0 ] ) * o.grid[ 0 ] :\n this.originalPageX;\n pageX = containment ? ( ( left - this.offset.click.left >= containment[ 0 ] ||\n left - this.offset.click.left > containment[ 2 ] ) ?\n left :\n ( ( left - this.offset.click.left >= containment[ 0 ] ) ?\n left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) : left;\n }\n\n if ( o.axis === \"y\" ) {\n pageX = this.originalPageX;\n }\n\n if ( o.axis === \"x\" ) {\n pageY = this.originalPageY;\n }\n }\n\n return {\n top: (\n\n // The absolute mouse position\n pageY -\n\n // Click offset (relative to the element)\n this.offset.click.top -\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.top -\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.top +\n ( this.cssPosition === \"fixed\" ?\n -this.offset.scroll.top :\n ( scrollIsRootNode ? 0 : this.offset.scroll.top ) )\n ),\n left: (\n\n // The absolute mouse position\n pageX -\n\n // Click offset (relative to the element)\n this.offset.click.left -\n\n // Only for relative positioned nodes: Relative offset from element to offset parent\n this.offset.relative.left -\n\n // The offsetParent's offset without borders (offset + border)\n this.offset.parent.left +\n ( this.cssPosition === \"fixed\" ?\n -this.offset.scroll.left :\n ( scrollIsRootNode ? 0 : this.offset.scroll.left ) )\n )\n };\n\n },\n\n _clear: function() {\n this._removeClass( this.helper, \"ui-draggable-dragging\" );\n if ( this.helper[ 0 ] !== this.element[ 0 ] && !this.cancelHelperRemoval ) {\n this.helper.remove();\n }\n this.helper = null;\n this.cancelHelperRemoval = false;\n if ( this.destroyOnClear ) {\n this.destroy();\n }\n },\n\n // From now on bulk stuff - mainly helpers\n\n _trigger: function( type, event, ui ) {\n ui = ui || this._uiHash();\n $.ui.plugin.call( this, type, [ event, ui, this ], true );\n\n // Absolute position and offset (see #6884 ) have to be recalculated after plugins\n if ( /^(drag|start|stop)/.test( type ) ) {\n this.positionAbs = this._convertPositionTo( \"absolute\" );\n ui.offset = this.positionAbs;\n }\n return $.Widget.prototype._trigger.call( this, type, event, ui );\n },\n\n plugins: {},\n\n _uiHash: function() {\n return {\n helper: this.helper,\n position: this.position,\n originalPosition: this.originalPosition,\n offset: this.positionAbs\n };\n }\n\n } );\n\n $.ui.plugin.add( \"draggable\", \"connectToSortable\", {\n start: function( event, ui, draggable ) {\n var uiSortable = $.extend( {}, ui, {\n item: draggable.element\n } );\n\n draggable.sortables = [];\n $( draggable.options.connectToSortable ).each( function() {\n var sortable = $( this ).sortable( \"instance\" );\n\n if ( sortable && !sortable.options.disabled ) {\n draggable.sortables.push( sortable );\n\n // RefreshPositions is called at drag start to refresh the containerCache\n // which is used in drag. This ensures it's initialized and synchronized\n // with any changes that might have happened on the page since initialization.\n sortable.refreshPositions();\n sortable._trigger( \"activate\", event, uiSortable );\n }\n } );\n },\n stop: function( event, ui, draggable ) {\n var uiSortable = $.extend( {}, ui, {\n item: draggable.element\n } );\n\n draggable.cancelHelperRemoval = false;\n\n $.each( draggable.sortables, function() {\n var sortable = this;\n\n if ( sortable.isOver ) {\n sortable.isOver = 0;\n\n // Allow this sortable to handle removing the helper\n draggable.cancelHelperRemoval = true;\n sortable.cancelHelperRemoval = false;\n\n // Use _storedCSS To restore properties in the sortable,\n // as this also handles revert (#9675) since the draggable\n // may have modified them in unexpected ways (#8809)\n sortable._storedCSS = {\n position: sortable.placeholder.css( \"position\" ),\n top: sortable.placeholder.css( \"top\" ),\n left: sortable.placeholder.css( \"left\" )\n };\n\n sortable._mouseStop( event );\n\n // Once drag has ended, the sortable should return to using\n // its original helper, not the shared helper from draggable\n sortable.options.helper = sortable.options._helper;\n } else {\n\n // Prevent this Sortable from removing the helper.\n // However, don't set the draggable to remove the helper\n // either as another connected Sortable may yet handle the removal.\n sortable.cancelHelperRemoval = true;\n\n sortable._trigger( \"deactivate\", event, uiSortable );\n }\n } );\n },\n drag: function( event, ui, draggable ) {\n $.each( draggable.sortables, function() {\n var innermostIntersecting = false,\n sortable = this;\n\n // Copy over variables that sortable's _intersectsWith uses\n sortable.positionAbs = draggable.positionAbs;\n sortable.helperProportions = draggable.helperProportions;\n sortable.offset.click = draggable.offset.click;\n\n if ( sortable._intersectsWith( sortable.containerCache ) ) {\n innermostIntersecting = true;\n\n $.each( draggable.sortables, function() {\n\n // Copy over variables that sortable's _intersectsWith uses\n this.positionAbs = draggable.positionAbs;\n this.helperProportions = draggable.helperProportions;\n this.offset.click = draggable.offset.click;\n\n if ( this !== sortable &&\n this._intersectsWith( this.containerCache ) &&\n $.contains( sortable.element[ 0 ], this.element[ 0 ] ) ) {\n innermostIntersecting = false;\n }\n\n return innermostIntersecting;\n } );\n }\n\n if ( innermostIntersecting ) {\n\n // If it intersects, we use a little isOver variable and set it once,\n // so that the move-in stuff gets fired only once.\n if ( !sortable.isOver ) {\n sortable.isOver = 1;\n\n // Store draggable's parent in case we need to reappend to it later.\n draggable._parent = ui.helper.parent();\n\n sortable.currentItem = ui.helper\n .appendTo( sortable.element )\n .data( \"ui-sortable-item\", true );\n\n // Store helper option to later restore it\n sortable.options._helper = sortable.options.helper;\n\n sortable.options.helper = function() {\n return ui.helper[ 0 ];\n };\n\n // Fire the start events of the sortable with our passed browser event,\n // and our own helper (so it doesn't create a new one)\n event.target = sortable.currentItem[ 0 ];\n sortable._mouseCapture( event, true );\n sortable._mouseStart( event, true, true );\n\n // Because the browser event is way off the new appended portlet,\n // modify necessary variables to reflect the changes\n sortable.offset.click.top = draggable.offset.click.top;\n sortable.offset.click.left = draggable.offset.click.left;\n sortable.offset.parent.left -= draggable.offset.parent.left -\n sortable.offset.parent.left;\n sortable.offset.parent.top -= draggable.offset.parent.top -\n sortable.offset.parent.top;\n\n draggable._trigger( \"toSortable\", event );\n\n // Inform draggable that the helper is in a valid drop zone,\n // used solely in the revert option to handle \"valid/invalid\".\n draggable.dropped = sortable.element;\n\n // Need to refreshPositions of all sortables in the case that\n // adding to one sortable changes the location of the other sortables (#9675)\n $.each( draggable.sortables, function() {\n this.refreshPositions();\n } );\n\n // Hack so receive/update callbacks work (mostly)\n draggable.currentItem = draggable.element;\n sortable.fromOutside = draggable;\n }\n\n if ( sortable.currentItem ) {\n sortable._mouseDrag( event );\n\n // Copy the sortable's position because the draggable's can potentially reflect\n // a relative position, while sortable is always absolute, which the dragged\n // element has now become. (#8809)\n ui.position = sortable.position;\n }\n } else {\n\n // If it doesn't intersect with the sortable, and it intersected before,\n // we fake the drag stop of the sortable, but make sure it doesn't remove\n // the helper by using cancelHelperRemoval.\n if ( sortable.isOver ) {\n\n sortable.isOver = 0;\n sortable.cancelHelperRemoval = true;\n\n // Calling sortable's mouseStop would trigger a revert,\n // so revert must be temporarily false until after mouseStop is called.\n sortable.options._revert = sortable.options.revert;\n sortable.options.revert = false;\n\n sortable._trigger( \"out\", event, sortable._uiHash( sortable ) );\n sortable._mouseStop( event, true );\n\n // Restore sortable behaviors that were modfied\n // when the draggable entered the sortable area (#9481)\n sortable.options.revert = sortable.options._revert;\n sortable.options.helper = sortable.options._helper;\n\n if ( sortable.placeholder ) {\n sortable.placeholder.remove();\n }\n\n // Restore and recalculate the draggable's offset considering the sortable\n // may have modified them in unexpected ways. (#8809, #10669)\n ui.helper.appendTo( draggable._parent );\n draggable._refreshOffsets( event );\n ui.position = draggable._generatePosition( event, true );\n\n draggable._trigger( \"fromSortable\", event );\n\n // Inform draggable that the helper is no longer in a valid drop zone\n draggable.dropped = false;\n\n // Need to refreshPositions of all sortables just in case removing\n // from one sortable changes the location of other sortables (#9675)\n $.each( draggable.sortables, function() {\n this.refreshPositions();\n } );\n }\n }\n } );\n }\n } );\n\n $.ui.plugin.add( \"draggable\", \"cursor\", {\n start: function( event, ui, instance ) {\n var t = $( \"body\" ),\n o = instance.options;\n\n if ( t.css( \"cursor\" ) ) {\n o._cursor = t.css( \"cursor\" );\n }\n t.css( \"cursor\", o.cursor );\n },\n stop: function( event, ui, instance ) {\n var o = instance.options;\n if ( o._cursor ) {\n $( \"body\" ).css( \"cursor\", o._cursor );\n }\n }\n } );\n\n $.ui.plugin.add( \"draggable\", \"opacity\", {\n start: function( event, ui, instance ) {\n var t = $( ui.helper ),\n o = instance.options;\n if ( t.css( \"opacity\" ) ) {\n o._opacity = t.css( \"opacity\" );\n }\n t.css( \"opacity\", o.opacity );\n },\n stop: function( event, ui, instance ) {\n var o = instance.options;\n if ( o._opacity ) {\n $( ui.helper ).css( \"opacity\", o._opacity );\n }\n }\n } );\n\n $.ui.plugin.add( \"draggable\", \"scroll\", {\n start: function( event, ui, i ) {\n if ( !i.scrollParentNotHidden ) {\n i.scrollParentNotHidden = i.helper.scrollParent( false );\n }\n\n if ( i.scrollParentNotHidden[ 0 ] !== i.document[ 0 ] &&\n i.scrollParentNotHidden[ 0 ].tagName !== \"HTML\" ) {\n i.overflowOffset = i.scrollParentNotHidden.offset();\n }\n },\n drag: function( event, ui, i ) {\n\n var o = i.options,\n scrolled = false,\n scrollParent = i.scrollParentNotHidden[ 0 ],\n document = i.document[ 0 ];\n\n if ( scrollParent !== document && scrollParent.tagName !== \"HTML\" ) {\n if ( !o.axis || o.axis !== \"x\" ) {\n if ( ( i.overflowOffset.top + scrollParent.offsetHeight ) - event.pageY <\n o.scrollSensitivity ) {\n scrollParent.scrollTop = scrolled = scrollParent.scrollTop + o.scrollSpeed;\n } else if ( event.pageY - i.overflowOffset.top < o.scrollSensitivity ) {\n scrollParent.scrollTop = scrolled = scrollParent.scrollTop - o.scrollSpeed;\n }\n }\n\n if ( !o.axis || o.axis !== \"y\" ) {\n if ( ( i.overflowOffset.left + scrollParent.offsetWidth ) - event.pageX <\n o.scrollSensitivity ) {\n scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft + o.scrollSpeed;\n } else if ( event.pageX - i.overflowOffset.left < o.scrollSensitivity ) {\n scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft - o.scrollSpeed;\n }\n }\n\n } else {\n\n if ( !o.axis || o.axis !== \"x\" ) {\n if ( event.pageY - $( document ).scrollTop() < o.scrollSensitivity ) {\n scrolled = $( document ).scrollTop( $( document ).scrollTop() - o.scrollSpeed );\n } else if ( $( window ).height() - ( event.pageY - $( document ).scrollTop() ) <\n o.scrollSensitivity ) {\n scrolled = $( document ).scrollTop( $( document ).scrollTop() + o.scrollSpeed );\n }\n }\n\n if ( !o.axis || o.axis !== \"y\" ) {\n if ( event.pageX - $( document ).scrollLeft() < o.scrollSensitivity ) {\n scrolled = $( document ).scrollLeft(\n $( document ).scrollLeft() - o.scrollSpeed\n );\n } else if ( $( window ).width() - ( event.pageX - $( document ).scrollLeft() ) <\n o.scrollSensitivity ) {\n scrolled = $( document ).scrollLeft(\n $( document ).scrollLeft() + o.scrollSpeed\n );\n }\n }\n\n }\n\n if ( scrolled !== false && $.ui.ddmanager && !o.dropBehaviour ) {\n $.ui.ddmanager.prepareOffsets( i, event );\n }\n\n }\n } );\n\n $.ui.plugin.add( \"draggable\", \"snap\", {\n start: function( event, ui, i ) {\n\n var o = i.options;\n\n i.snapElements = [];\n\n $( o.snap.constructor !== String ? ( o.snap.items || \":data(ui-draggable)\" ) : o.snap )\n .each( function() {\n var $t = $( this ),\n $o = $t.offset();\n if ( this !== i.element[ 0 ] ) {\n i.snapElements.push( {\n item: this,\n width: $t.outerWidth(), height: $t.outerHeight(),\n top: $o.top, left: $o.left\n } );\n }\n } );\n\n },\n drag: function( event, ui, inst ) {\n\n var ts, bs, ls, rs, l, r, t, b, i, first,\n o = inst.options,\n d = o.snapTolerance,\n x1 = ui.offset.left, x2 = x1 + inst.helperProportions.width,\n y1 = ui.offset.top, y2 = y1 + inst.helperProportions.height;\n\n for ( i = inst.snapElements.length - 1; i >= 0; i-- ) {\n\n l = inst.snapElements[ i ].left - inst.margins.left;\n r = l + inst.snapElements[ i ].width;\n t = inst.snapElements[ i ].top - inst.margins.top;\n b = t + inst.snapElements[ i ].height;\n\n if ( x2 < l - d || x1 > r + d || y2 < t - d || y1 > b + d ||\n !$.contains( inst.snapElements[ i ].item.ownerDocument,\n inst.snapElements[ i ].item ) ) {\n if ( inst.snapElements[ i ].snapping ) {\n if ( inst.options.snap.release ) {\n inst.options.snap.release.call(\n inst.element,\n event,\n $.extend( inst._uiHash(), { snapItem: inst.snapElements[ i ].item } )\n );\n }\n }\n inst.snapElements[ i ].snapping = false;\n continue;\n }\n\n if ( o.snapMode !== \"inner\" ) {\n ts = Math.abs( t - y2 ) <= d;\n bs = Math.abs( b - y1 ) <= d;\n ls = Math.abs( l - x2 ) <= d;\n rs = Math.abs( r - x1 ) <= d;\n if ( ts ) {\n ui.position.top = inst._convertPositionTo( \"relative\", {\n top: t - inst.helperProportions.height,\n left: 0\n } ).top;\n }\n if ( bs ) {\n ui.position.top = inst._convertPositionTo( \"relative\", {\n top: b,\n left: 0\n } ).top;\n }\n if ( ls ) {\n ui.position.left = inst._convertPositionTo( \"relative\", {\n top: 0,\n left: l - inst.helperProportions.width\n } ).left;\n }\n if ( rs ) {\n ui.position.left = inst._convertPositionTo( \"relative\", {\n top: 0,\n left: r\n } ).left;\n }\n }\n\n first = ( ts || bs || ls || rs );\n\n if ( o.snapMode !== \"outer\" ) {\n ts = Math.abs( t - y1 ) <= d;\n bs = Math.abs( b - y2 ) <= d;\n ls = Math.abs( l - x1 ) <= d;\n rs = Math.abs( r - x2 ) <= d;\n if ( ts ) {\n ui.position.top = inst._convertPositionTo( \"relative\", {\n top: t,\n left: 0\n } ).top;\n }\n if ( bs ) {\n ui.position.top = inst._convertPositionTo( \"relative\", {\n top: b - inst.helperProportions.height,\n left: 0\n } ).top;\n }\n if ( ls ) {\n ui.position.left = inst._convertPositionTo( \"relative\", {\n top: 0,\n left: l\n } ).left;\n }\n if ( rs ) {\n ui.position.left = inst._convertPositionTo( \"relative\", {\n top: 0,\n left: r - inst.helperProportions.width\n } ).left;\n }\n }\n\n if ( !inst.snapElements[ i ].snapping && ( ts || bs || ls || rs || first ) ) {\n if ( inst.options.snap.snap ) {\n inst.options.snap.snap.call(\n inst.element,\n event,\n $.extend( inst._uiHash(), {\n snapItem: inst.snapElements[ i ].item\n } ) );\n }\n }\n inst.snapElements[ i ].snapping = ( ts || bs || ls || rs || first );\n\n }\n\n }\n } );\n\n $.ui.plugin.add( \"draggable\", \"stack\", {\n start: function( event, ui, instance ) {\n var min,\n o = instance.options,\n group = $.makeArray( $( o.stack ) ).sort( function( a, b ) {\n return ( parseInt( $( a ).css( \"zIndex\" ), 10 ) || 0 ) -\n ( parseInt( $( b ).css( \"zIndex\" ), 10 ) || 0 );\n } );\n\n if ( !group.length ) {\n return;\n }\n\n min = parseInt( $( group[ 0 ] ).css( \"zIndex\" ), 10 ) || 0;\n $( group ).each( function( i ) {\n $( this ).css( \"zIndex\", min + i );\n } );\n this.css( \"zIndex\", ( min + group.length ) );\n }\n } );\n\n $.ui.plugin.add( \"draggable\", \"zIndex\", {\n start: function( event, ui, instance ) {\n var t = $( ui.helper ),\n o = instance.options;\n\n if ( t.css( \"zIndex\" ) ) {\n o._zIndex = t.css( \"zIndex\" );\n }\n t.css( \"zIndex\", o.zIndex );\n },\n stop: function( event, ui, instance ) {\n var o = instance.options;\n\n if ( o._zIndex ) {\n $( ui.helper ).css( \"zIndex\", o._zIndex );\n }\n }\n } );\n\n return $.ui.draggable;\n\n} );\n","jquery/ui-modules/widgets/autocomplete.js":"/*!\n * jQuery UI Autocomplete 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Autocomplete\n//>>group: Widgets\n//>>description: Lists suggested words as the user is typing.\n//>>docs: http://api.jqueryui.com/autocomplete/\n//>>demos: http://jqueryui.com/autocomplete/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/autocomplete.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./menu\",\n \"../keycode\",\n \"../position\",\n \"../safe-active-element\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.autocomplete\", {\n version: \"1.13.2\",\n defaultElement: \"<input>\",\n options: {\n appendTo: null,\n autoFocus: false,\n delay: 300,\n minLength: 1,\n position: {\n my: \"left top\",\n at: \"left bottom\",\n collision: \"none\"\n },\n source: null,\n\n // Callbacks\n change: null,\n close: null,\n focus: null,\n open: null,\n response: null,\n search: null,\n select: null\n },\n\n requestIndex: 0,\n pending: 0,\n liveRegionTimer: null,\n\n _create: function() {\n\n // Some browsers only repeat keydown events, not keypress events,\n // so we use the suppressKeyPress flag to determine if we've already\n // handled the keydown event. #7269\n // Unfortunately the code for & in keypress is the same as the up arrow,\n // so we use the suppressKeyPressRepeat flag to avoid handling keypress\n // events when we know the keydown event was used to modify the\n // search term. #7799\n var suppressKeyPress, suppressKeyPressRepeat, suppressInput,\n nodeName = this.element[ 0 ].nodeName.toLowerCase(),\n isTextarea = nodeName === \"textarea\",\n isInput = nodeName === \"input\";\n\n // Textareas are always multi-line\n // Inputs are always single-line, even if inside a contentEditable element\n // IE also treats inputs as contentEditable\n // All other element types are determined by whether or not they're contentEditable\n this.isMultiLine = isTextarea || !isInput && this._isContentEditable( this.element );\n\n this.valueMethod = this.element[ isTextarea || isInput ? \"val\" : \"text\" ];\n this.isNewMenu = true;\n\n this._addClass( \"ui-autocomplete-input\" );\n this.element.attr( \"autocomplete\", \"off\" );\n\n this._on( this.element, {\n keydown: function( event ) {\n if ( this.element.prop( \"readOnly\" ) ) {\n suppressKeyPress = true;\n suppressInput = true;\n suppressKeyPressRepeat = true;\n return;\n }\n\n suppressKeyPress = false;\n suppressInput = false;\n suppressKeyPressRepeat = false;\n var keyCode = $.ui.keyCode;\n switch ( event.keyCode ) {\n case keyCode.PAGE_UP:\n suppressKeyPress = true;\n this._move( \"previousPage\", event );\n break;\n case keyCode.PAGE_DOWN:\n suppressKeyPress = true;\n this._move( \"nextPage\", event );\n break;\n case keyCode.UP:\n suppressKeyPress = true;\n this._keyEvent( \"previous\", event );\n break;\n case keyCode.DOWN:\n suppressKeyPress = true;\n this._keyEvent( \"next\", event );\n break;\n case keyCode.ENTER:\n\n // when menu is open and has focus\n if ( this.menu.active ) {\n\n // #6055 - Opera still allows the keypress to occur\n // which causes forms to submit\n suppressKeyPress = true;\n event.preventDefault();\n this.menu.select( event );\n }\n break;\n case keyCode.TAB:\n if ( this.menu.active ) {\n this.menu.select( event );\n }\n break;\n case keyCode.ESCAPE:\n if ( this.menu.element.is( \":visible\" ) ) {\n if ( !this.isMultiLine ) {\n this._value( this.term );\n }\n this.close( event );\n\n // Different browsers have different default behavior for escape\n // Single press can mean undo or clear\n // Double press in IE means clear the whole form\n event.preventDefault();\n }\n break;\n default:\n suppressKeyPressRepeat = true;\n\n // search timeout should be triggered before the input value is changed\n this._searchTimeout( event );\n break;\n }\n },\n keypress: function( event ) {\n if ( suppressKeyPress ) {\n suppressKeyPress = false;\n if ( !this.isMultiLine || this.menu.element.is( \":visible\" ) ) {\n event.preventDefault();\n }\n return;\n }\n if ( suppressKeyPressRepeat ) {\n return;\n }\n\n // Replicate some key handlers to allow them to repeat in Firefox and Opera\n var keyCode = $.ui.keyCode;\n switch ( event.keyCode ) {\n case keyCode.PAGE_UP:\n this._move( \"previousPage\", event );\n break;\n case keyCode.PAGE_DOWN:\n this._move( \"nextPage\", event );\n break;\n case keyCode.UP:\n this._keyEvent( \"previous\", event );\n break;\n case keyCode.DOWN:\n this._keyEvent( \"next\", event );\n break;\n }\n },\n input: function( event ) {\n if ( suppressInput ) {\n suppressInput = false;\n event.preventDefault();\n return;\n }\n this._searchTimeout( event );\n },\n focus: function() {\n this.selectedItem = null;\n this.previous = this._value();\n },\n blur: function( event ) {\n clearTimeout( this.searching );\n this.close( event );\n this._change( event );\n }\n } );\n\n this._initSource();\n this.menu = $( \"<ul>\" )\n .appendTo( this._appendTo() )\n .menu( {\n\n // disable ARIA support, the live region takes care of that\n role: null\n } )\n .hide()\n\n // Support: IE 11 only, Edge <= 14\n // For other browsers, we preventDefault() on the mousedown event\n // to keep the dropdown from taking focus from the input. This doesn't\n // work for IE/Edge, causing problems with selection and scrolling (#9638)\n // Happily, IE and Edge support an \"unselectable\" attribute that\n // prevents an element from receiving focus, exactly what we want here.\n .attr( {\n \"unselectable\": \"on\"\n } )\n .menu( \"instance\" );\n\n this._addClass( this.menu.element, \"ui-autocomplete\", \"ui-front\" );\n this._on( this.menu.element, {\n mousedown: function( event ) {\n\n // Prevent moving focus out of the text field\n event.preventDefault();\n },\n menufocus: function( event, ui ) {\n var label, item;\n\n // support: Firefox\n // Prevent accidental activation of menu items in Firefox (#7024 #9118)\n if ( this.isNewMenu ) {\n this.isNewMenu = false;\n if ( event.originalEvent && /^mouse/.test( event.originalEvent.type ) ) {\n this.menu.blur();\n\n this.document.one( \"mousemove\", function() {\n $( event.target ).trigger( event.originalEvent );\n } );\n\n return;\n }\n }\n\n item = ui.item.data( \"ui-autocomplete-item\" );\n if ( false !== this._trigger( \"focus\", event, { item: item } ) ) {\n\n // use value to match what will end up in the input, if it was a key event\n if ( event.originalEvent && /^key/.test( event.originalEvent.type ) ) {\n this._value( item.value );\n }\n }\n\n // Announce the value in the liveRegion\n label = ui.item.attr( \"aria-label\" ) || item.value;\n if ( label && String.prototype.trim.call( label ).length ) {\n clearTimeout( this.liveRegionTimer );\n this.liveRegionTimer = this._delay( function() {\n this.liveRegion.html( $( \"<div>\" ).text( label ) );\n }, 100 );\n }\n },\n menuselect: function( event, ui ) {\n var item = ui.item.data( \"ui-autocomplete-item\" ),\n previous = this.previous;\n\n // Only trigger when focus was lost (click on menu)\n if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {\n this.element.trigger( \"focus\" );\n this.previous = previous;\n\n // #6109 - IE triggers two focus events and the second\n // is asynchronous, so we need to reset the previous\n // term synchronously and asynchronously :-(\n this._delay( function() {\n this.previous = previous;\n this.selectedItem = item;\n } );\n }\n\n if ( false !== this._trigger( \"select\", event, { item: item } ) ) {\n this._value( item.value );\n }\n\n // reset the term after the select event\n // this allows custom select handling to work properly\n this.term = this._value();\n\n this.close( event );\n this.selectedItem = item;\n }\n } );\n\n this.liveRegion = $( \"<div>\", {\n role: \"status\",\n \"aria-live\": \"assertive\",\n \"aria-relevant\": \"additions\"\n } )\n .appendTo( this.document[ 0 ].body );\n\n this._addClass( this.liveRegion, null, \"ui-helper-hidden-accessible\" );\n\n // Turning off autocomplete prevents the browser from remembering the\n // value when navigating through history, so we re-enable autocomplete\n // if the page is unloaded before the widget is destroyed. #7790\n this._on( this.window, {\n beforeunload: function() {\n this.element.removeAttr( \"autocomplete\" );\n }\n } );\n },\n\n _destroy: function() {\n clearTimeout( this.searching );\n this.element.removeAttr( \"autocomplete\" );\n this.menu.element.remove();\n this.liveRegion.remove();\n },\n\n _setOption: function( key, value ) {\n this._super( key, value );\n if ( key === \"source\" ) {\n this._initSource();\n }\n if ( key === \"appendTo\" ) {\n this.menu.element.appendTo( this._appendTo() );\n }\n if ( key === \"disabled\" && value && this.xhr ) {\n this.xhr.abort();\n }\n },\n\n _isEventTargetInWidget: function( event ) {\n var menuElement = this.menu.element[ 0 ];\n\n return event.target === this.element[ 0 ] ||\n event.target === menuElement ||\n $.contains( menuElement, event.target );\n },\n\n _closeOnClickOutside: function( event ) {\n if ( !this._isEventTargetInWidget( event ) ) {\n this.close();\n }\n },\n\n _appendTo: function() {\n var element = this.options.appendTo;\n\n if ( element ) {\n element = element.jquery || element.nodeType ?\n $( element ) :\n this.document.find( element ).eq( 0 );\n }\n\n if ( !element || !element[ 0 ] ) {\n element = this.element.closest( \".ui-front, dialog\" );\n }\n\n if ( !element.length ) {\n element = this.document[ 0 ].body;\n }\n\n return element;\n },\n\n _initSource: function() {\n var array, url,\n that = this;\n if ( Array.isArray( this.options.source ) ) {\n array = this.options.source;\n this.source = function( request, response ) {\n response( $.ui.autocomplete.filter( array, request.term ) );\n };\n } else if ( typeof this.options.source === \"string\" ) {\n url = this.options.source;\n this.source = function( request, response ) {\n if ( that.xhr ) {\n that.xhr.abort();\n }\n that.xhr = $.ajax( {\n url: url,\n data: request,\n dataType: \"json\",\n success: function( data ) {\n response( data );\n },\n error: function() {\n response( [] );\n }\n } );\n };\n } else {\n this.source = this.options.source;\n }\n },\n\n _searchTimeout: function( event ) {\n clearTimeout( this.searching );\n this.searching = this._delay( function() {\n\n // Search if the value has changed, or if the user retypes the same value (see #7434)\n var equalValues = this.term === this._value(),\n menuVisible = this.menu.element.is( \":visible\" ),\n modifierKey = event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;\n\n if ( !equalValues || ( equalValues && !menuVisible && !modifierKey ) ) {\n this.selectedItem = null;\n this.search( null, event );\n }\n }, this.options.delay );\n },\n\n search: function( value, event ) {\n value = value != null ? value : this._value();\n\n // Always save the actual value, not the one passed as an argument\n this.term = this._value();\n\n if ( value.length < this.options.minLength ) {\n return this.close( event );\n }\n\n if ( this._trigger( \"search\", event ) === false ) {\n return;\n }\n\n return this._search( value );\n },\n\n _search: function( value ) {\n this.pending++;\n this._addClass( \"ui-autocomplete-loading\" );\n this.cancelSearch = false;\n\n this.source( { term: value }, this._response() );\n },\n\n _response: function() {\n var index = ++this.requestIndex;\n\n return function( content ) {\n if ( index === this.requestIndex ) {\n this.__response( content );\n }\n\n this.pending--;\n if ( !this.pending ) {\n this._removeClass( \"ui-autocomplete-loading\" );\n }\n }.bind( this );\n },\n\n __response: function( content ) {\n if ( content ) {\n content = this._normalize( content );\n }\n this._trigger( \"response\", null, { content: content } );\n if ( !this.options.disabled && content && content.length && !this.cancelSearch ) {\n this._suggest( content );\n this._trigger( \"open\" );\n } else {\n\n // use ._close() instead of .close() so we don't cancel future searches\n this._close();\n }\n },\n\n close: function( event ) {\n this.cancelSearch = true;\n this._close( event );\n },\n\n _close: function( event ) {\n\n // Remove the handler that closes the menu on outside clicks\n this._off( this.document, \"mousedown\" );\n\n if ( this.menu.element.is( \":visible\" ) ) {\n this.menu.element.hide();\n this.menu.blur();\n this.isNewMenu = true;\n this._trigger( \"close\", event );\n }\n },\n\n _change: function( event ) {\n if ( this.previous !== this._value() ) {\n this._trigger( \"change\", event, { item: this.selectedItem } );\n }\n },\n\n _normalize: function( items ) {\n\n // assume all items have the right format when the first item is complete\n if ( items.length && items[ 0 ].label && items[ 0 ].value ) {\n return items;\n }\n return $.map( items, function( item ) {\n if ( typeof item === \"string\" ) {\n return {\n label: item,\n value: item\n };\n }\n return $.extend( {}, item, {\n label: item.label || item.value,\n value: item.value || item.label\n } );\n } );\n },\n\n _suggest: function( items ) {\n var ul = this.menu.element.empty();\n this._renderMenu( ul, items );\n this.isNewMenu = true;\n this.menu.refresh();\n\n // Size and position menu\n ul.show();\n this._resizeMenu();\n ul.position( $.extend( {\n of: this.element\n }, this.options.position ) );\n\n if ( this.options.autoFocus ) {\n this.menu.next();\n }\n\n // Listen for interactions outside of the widget (#6642)\n this._on( this.document, {\n mousedown: \"_closeOnClickOutside\"\n } );\n },\n\n _resizeMenu: function() {\n var ul = this.menu.element;\n ul.outerWidth( Math.max(\n\n // Firefox wraps long text (possibly a rounding bug)\n // so we add 1px to avoid the wrapping (#7513)\n ul.width( \"\" ).outerWidth() + 1,\n this.element.outerWidth()\n ) );\n },\n\n _renderMenu: function( ul, items ) {\n var that = this;\n $.each( items, function( index, item ) {\n that._renderItemData( ul, item );\n } );\n },\n\n _renderItemData: function( ul, item ) {\n return this._renderItem( ul, item ).data( \"ui-autocomplete-item\", item );\n },\n\n _renderItem: function( ul, item ) {\n return $( \"<li>\" )\n .append( $( \"<div>\" ).text( item.label ) )\n .appendTo( ul );\n },\n\n _move: function( direction, event ) {\n if ( !this.menu.element.is( \":visible\" ) ) {\n this.search( null, event );\n return;\n }\n if ( this.menu.isFirstItem() && /^previous/.test( direction ) ||\n this.menu.isLastItem() && /^next/.test( direction ) ) {\n\n if ( !this.isMultiLine ) {\n this._value( this.term );\n }\n\n this.menu.blur();\n return;\n }\n this.menu[ direction ]( event );\n },\n\n widget: function() {\n return this.menu.element;\n },\n\n _value: function() {\n return this.valueMethod.apply( this.element, arguments );\n },\n\n _keyEvent: function( keyEvent, event ) {\n if ( !this.isMultiLine || this.menu.element.is( \":visible\" ) ) {\n this._move( keyEvent, event );\n\n // Prevents moving cursor to beginning/end of the text field in some browsers\n event.preventDefault();\n }\n },\n\n // Support: Chrome <=50\n // We should be able to just use this.element.prop( \"isContentEditable\" )\n // but hidden elements always report false in Chrome.\n // https://code.google.com/p/chromium/issues/detail?id=313082\n _isContentEditable: function( element ) {\n if ( !element.length ) {\n return false;\n }\n\n var editable = element.prop( \"contentEditable\" );\n\n if ( editable === \"inherit\" ) {\n return this._isContentEditable( element.parent() );\n }\n\n return editable === \"true\";\n }\n } );\n\n $.extend( $.ui.autocomplete, {\n escapeRegex: function( value ) {\n return value.replace( /[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, \"\\\\$&\" );\n },\n filter: function( array, term ) {\n var matcher = new RegExp( $.ui.autocomplete.escapeRegex( term ), \"i\" );\n return $.grep( array, function( value ) {\n return matcher.test( value.label || value.value || value );\n } );\n }\n } );\n\n// Live region extension, adding a `messages` option\n// NOTE: This is an experimental API. We are still investigating\n// a full solution for string manipulation and internationalization.\n $.widget( \"ui.autocomplete\", $.ui.autocomplete, {\n options: {\n messages: {\n noResults: \"No search results.\",\n results: function( amount ) {\n return amount + ( amount > 1 ? \" results are\" : \" result is\" ) +\n \" available, use up and down arrow keys to navigate.\";\n }\n }\n },\n\n __response: function( content ) {\n var message;\n this._superApply( arguments );\n if ( this.options.disabled || this.cancelSearch ) {\n return;\n }\n if ( content && content.length ) {\n message = this.options.messages.results( content.length );\n } else {\n message = this.options.messages.noResults;\n }\n clearTimeout( this.liveRegionTimer );\n this.liveRegionTimer = this._delay( function() {\n this.liveRegion.html( $( \"<div>\" ).text( message ) );\n }, 100 );\n }\n } );\n\n return $.ui.autocomplete;\n\n} );\n","jquery/ui-modules/widgets/accordion.js":"/*!\n * jQuery UI Accordion 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Accordion\n//>>group: Widgets\n/* eslint-disable max-len */\n//>>description: Displays collapsible content panels for presenting information in a limited amount of space.\n/* eslint-enable max-len */\n//>>docs: http://api.jqueryui.com/accordion/\n//>>demos: http://jqueryui.com/accordion/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/accordion.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../keycode\",\n \"../unique-id\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.accordion\", {\n version: \"1.13.2\",\n options: {\n active: 0,\n animate: {},\n classes: {\n \"ui-accordion-header\": \"ui-corner-top\",\n \"ui-accordion-header-collapsed\": \"ui-corner-all\",\n \"ui-accordion-content\": \"ui-corner-bottom\"\n },\n collapsible: false,\n event: \"click\",\n header: function( elem ) {\n return elem.find( \"> li > :first-child\" ).add( elem.find( \"> :not(li)\" ).even() );\n },\n heightStyle: \"auto\",\n icons: {\n activeHeader: \"ui-icon-triangle-1-s\",\n header: \"ui-icon-triangle-1-e\"\n },\n\n // Callbacks\n activate: null,\n beforeActivate: null\n },\n\n hideProps: {\n borderTopWidth: \"hide\",\n borderBottomWidth: \"hide\",\n paddingTop: \"hide\",\n paddingBottom: \"hide\",\n height: \"hide\"\n },\n\n showProps: {\n borderTopWidth: \"show\",\n borderBottomWidth: \"show\",\n paddingTop: \"show\",\n paddingBottom: \"show\",\n height: \"show\"\n },\n\n _create: function() {\n var options = this.options;\n\n this.prevShow = this.prevHide = $();\n this._addClass( \"ui-accordion\", \"ui-widget ui-helper-reset\" );\n this.element.attr( \"role\", \"tablist\" );\n\n // Don't allow collapsible: false and active: false / null\n if ( !options.collapsible && ( options.active === false || options.active == null ) ) {\n options.active = 0;\n }\n\n this._processPanels();\n\n // handle negative values\n if ( options.active < 0 ) {\n options.active += this.headers.length;\n }\n this._refresh();\n },\n\n _getCreateEventData: function() {\n return {\n header: this.active,\n panel: !this.active.length ? $() : this.active.next()\n };\n },\n\n _createIcons: function() {\n var icon, children,\n icons = this.options.icons;\n\n if ( icons ) {\n icon = $( \"<span>\" );\n this._addClass( icon, \"ui-accordion-header-icon\", \"ui-icon \" + icons.header );\n icon.prependTo( this.headers );\n children = this.active.children( \".ui-accordion-header-icon\" );\n this._removeClass( children, icons.header )\n ._addClass( children, null, icons.activeHeader )\n ._addClass( this.headers, \"ui-accordion-icons\" );\n }\n },\n\n _destroyIcons: function() {\n this._removeClass( this.headers, \"ui-accordion-icons\" );\n this.headers.children( \".ui-accordion-header-icon\" ).remove();\n },\n\n _destroy: function() {\n var contents;\n\n // Clean up main element\n this.element.removeAttr( \"role\" );\n\n // Clean up headers\n this.headers\n .removeAttr( \"role aria-expanded aria-selected aria-controls tabIndex\" )\n .removeUniqueId();\n\n this._destroyIcons();\n\n // Clean up content panels\n contents = this.headers.next()\n .css( \"display\", \"\" )\n .removeAttr( \"role aria-hidden aria-labelledby\" )\n .removeUniqueId();\n\n if ( this.options.heightStyle !== \"content\" ) {\n contents.css( \"height\", \"\" );\n }\n },\n\n _setOption: function( key, value ) {\n if ( key === \"active\" ) {\n\n // _activate() will handle invalid values and update this.options\n this._activate( value );\n return;\n }\n\n if ( key === \"event\" ) {\n if ( this.options.event ) {\n this._off( this.headers, this.options.event );\n }\n this._setupEvents( value );\n }\n\n this._super( key, value );\n\n // Setting collapsible: false while collapsed; open first panel\n if ( key === \"collapsible\" && !value && this.options.active === false ) {\n this._activate( 0 );\n }\n\n if ( key === \"icons\" ) {\n this._destroyIcons();\n if ( value ) {\n this._createIcons();\n }\n }\n },\n\n _setOptionDisabled: function( value ) {\n this._super( value );\n\n this.element.attr( \"aria-disabled\", value );\n\n // Support: IE8 Only\n // #5332 / #6059 - opacity doesn't cascade to positioned elements in IE\n // so we need to add the disabled class to the headers and panels\n this._toggleClass( null, \"ui-state-disabled\", !!value );\n this._toggleClass( this.headers.add( this.headers.next() ), null, \"ui-state-disabled\",\n !!value );\n },\n\n _keydown: function( event ) {\n if ( event.altKey || event.ctrlKey ) {\n return;\n }\n\n var keyCode = $.ui.keyCode,\n length = this.headers.length,\n currentIndex = this.headers.index( event.target ),\n toFocus = false;\n\n switch ( event.keyCode ) {\n case keyCode.RIGHT:\n case keyCode.DOWN:\n toFocus = this.headers[ ( currentIndex + 1 ) % length ];\n break;\n case keyCode.LEFT:\n case keyCode.UP:\n toFocus = this.headers[ ( currentIndex - 1 + length ) % length ];\n break;\n case keyCode.SPACE:\n case keyCode.ENTER:\n this._eventHandler( event );\n break;\n case keyCode.HOME:\n toFocus = this.headers[ 0 ];\n break;\n case keyCode.END:\n toFocus = this.headers[ length - 1 ];\n break;\n }\n\n if ( toFocus ) {\n $( event.target ).attr( \"tabIndex\", -1 );\n $( toFocus ).attr( \"tabIndex\", 0 );\n $( toFocus ).trigger( \"focus\" );\n event.preventDefault();\n }\n },\n\n _panelKeyDown: function( event ) {\n if ( event.keyCode === $.ui.keyCode.UP && event.ctrlKey ) {\n $( event.currentTarget ).prev().trigger( \"focus\" );\n }\n },\n\n refresh: function() {\n var options = this.options;\n this._processPanels();\n\n // Was collapsed or no panel\n if ( ( options.active === false && options.collapsible === true ) ||\n !this.headers.length ) {\n options.active = false;\n this.active = $();\n\n // active false only when collapsible is true\n } else if ( options.active === false ) {\n this._activate( 0 );\n\n // was active, but active panel is gone\n } else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {\n\n // all remaining panel are disabled\n if ( this.headers.length === this.headers.find( \".ui-state-disabled\" ).length ) {\n options.active = false;\n this.active = $();\n\n // activate previous panel\n } else {\n this._activate( Math.max( 0, options.active - 1 ) );\n }\n\n // was active, active panel still exists\n } else {\n\n // make sure active index is correct\n options.active = this.headers.index( this.active );\n }\n\n this._destroyIcons();\n\n this._refresh();\n },\n\n _processPanels: function() {\n var prevHeaders = this.headers,\n prevPanels = this.panels;\n\n if ( typeof this.options.header === \"function\" ) {\n this.headers = this.options.header( this.element );\n } else {\n this.headers = this.element.find( this.options.header );\n }\n this._addClass( this.headers, \"ui-accordion-header ui-accordion-header-collapsed\",\n \"ui-state-default\" );\n\n this.panels = this.headers.next().filter( \":not(.ui-accordion-content-active)\" ).hide();\n this._addClass( this.panels, \"ui-accordion-content\", \"ui-helper-reset ui-widget-content\" );\n\n // Avoid memory leaks (#10056)\n if ( prevPanels ) {\n this._off( prevHeaders.not( this.headers ) );\n this._off( prevPanels.not( this.panels ) );\n }\n },\n\n _refresh: function() {\n var maxHeight,\n options = this.options,\n heightStyle = options.heightStyle,\n parent = this.element.parent();\n\n this.active = this._findActive( options.active );\n this._addClass( this.active, \"ui-accordion-header-active\", \"ui-state-active\" )\n ._removeClass( this.active, \"ui-accordion-header-collapsed\" );\n this._addClass( this.active.next(), \"ui-accordion-content-active\" );\n this.active.next().show();\n\n this.headers\n .attr( \"role\", \"tab\" )\n .each( function() {\n var header = $( this ),\n headerId = header.uniqueId().attr( \"id\" ),\n panel = header.next(),\n panelId = panel.uniqueId().attr( \"id\" );\n header.attr( \"aria-controls\", panelId );\n panel.attr( \"aria-labelledby\", headerId );\n } )\n .next()\n .attr( \"role\", \"tabpanel\" );\n\n this.headers\n .not( this.active )\n .attr( {\n \"aria-selected\": \"false\",\n \"aria-expanded\": \"false\",\n tabIndex: -1\n } )\n .next()\n .attr( {\n \"aria-hidden\": \"true\"\n } )\n .hide();\n\n // Make sure at least one header is in the tab order\n if ( !this.active.length ) {\n this.headers.eq( 0 ).attr( \"tabIndex\", 0 );\n } else {\n this.active.attr( {\n \"aria-selected\": \"true\",\n \"aria-expanded\": \"true\",\n tabIndex: 0\n } )\n .next()\n .attr( {\n \"aria-hidden\": \"false\"\n } );\n }\n\n this._createIcons();\n\n this._setupEvents( options.event );\n\n if ( heightStyle === \"fill\" ) {\n maxHeight = parent.height();\n this.element.siblings( \":visible\" ).each( function() {\n var elem = $( this ),\n position = elem.css( \"position\" );\n\n if ( position === \"absolute\" || position === \"fixed\" ) {\n return;\n }\n maxHeight -= elem.outerHeight( true );\n } );\n\n this.headers.each( function() {\n maxHeight -= $( this ).outerHeight( true );\n } );\n\n this.headers.next()\n .each( function() {\n $( this ).height( Math.max( 0, maxHeight -\n $( this ).innerHeight() + $( this ).height() ) );\n } )\n .css( \"overflow\", \"auto\" );\n } else if ( heightStyle === \"auto\" ) {\n maxHeight = 0;\n this.headers.next()\n .each( function() {\n var isVisible = $( this ).is( \":visible\" );\n if ( !isVisible ) {\n $( this ).show();\n }\n maxHeight = Math.max( maxHeight, $( this ).css( \"height\", \"\" ).height() );\n if ( !isVisible ) {\n $( this ).hide();\n }\n } )\n .height( maxHeight );\n }\n },\n\n _activate: function( index ) {\n var active = this._findActive( index )[ 0 ];\n\n // Trying to activate the already active panel\n if ( active === this.active[ 0 ] ) {\n return;\n }\n\n // Trying to collapse, simulate a click on the currently active header\n active = active || this.active[ 0 ];\n\n this._eventHandler( {\n target: active,\n currentTarget: active,\n preventDefault: $.noop\n } );\n },\n\n _findActive: function( selector ) {\n return typeof selector === \"number\" ? this.headers.eq( selector ) : $();\n },\n\n _setupEvents: function( event ) {\n var events = {\n keydown: \"_keydown\"\n };\n if ( event ) {\n $.each( event.split( \" \" ), function( index, eventName ) {\n events[ eventName ] = \"_eventHandler\";\n } );\n }\n\n this._off( this.headers.add( this.headers.next() ) );\n this._on( this.headers, events );\n this._on( this.headers.next(), { keydown: \"_panelKeyDown\" } );\n this._hoverable( this.headers );\n this._focusable( this.headers );\n },\n\n _eventHandler: function( event ) {\n var activeChildren, clickedChildren,\n options = this.options,\n active = this.active,\n clicked = $( event.currentTarget ),\n clickedIsActive = clicked[ 0 ] === active[ 0 ],\n collapsing = clickedIsActive && options.collapsible,\n toShow = collapsing ? $() : clicked.next(),\n toHide = active.next(),\n eventData = {\n oldHeader: active,\n oldPanel: toHide,\n newHeader: collapsing ? $() : clicked,\n newPanel: toShow\n };\n\n event.preventDefault();\n\n if (\n\n // click on active header, but not collapsible\n ( clickedIsActive && !options.collapsible ) ||\n\n // allow canceling activation\n ( this._trigger( \"beforeActivate\", event, eventData ) === false ) ) {\n return;\n }\n\n options.active = collapsing ? false : this.headers.index( clicked );\n\n // When the call to ._toggle() comes after the class changes\n // it causes a very odd bug in IE 8 (see #6720)\n this.active = clickedIsActive ? $() : clicked;\n this._toggle( eventData );\n\n // Switch classes\n // corner classes on the previously active header stay after the animation\n this._removeClass( active, \"ui-accordion-header-active\", \"ui-state-active\" );\n if ( options.icons ) {\n activeChildren = active.children( \".ui-accordion-header-icon\" );\n this._removeClass( activeChildren, null, options.icons.activeHeader )\n ._addClass( activeChildren, null, options.icons.header );\n }\n\n if ( !clickedIsActive ) {\n this._removeClass( clicked, \"ui-accordion-header-collapsed\" )\n ._addClass( clicked, \"ui-accordion-header-active\", \"ui-state-active\" );\n if ( options.icons ) {\n clickedChildren = clicked.children( \".ui-accordion-header-icon\" );\n this._removeClass( clickedChildren, null, options.icons.header )\n ._addClass( clickedChildren, null, options.icons.activeHeader );\n }\n\n this._addClass( clicked.next(), \"ui-accordion-content-active\" );\n }\n },\n\n _toggle: function( data ) {\n var toShow = data.newPanel,\n toHide = this.prevShow.length ? this.prevShow : data.oldPanel;\n\n // Handle activating a panel during the animation for another activation\n this.prevShow.add( this.prevHide ).stop( true, true );\n this.prevShow = toShow;\n this.prevHide = toHide;\n\n if ( this.options.animate ) {\n this._animate( toShow, toHide, data );\n } else {\n toHide.hide();\n toShow.show();\n this._toggleComplete( data );\n }\n\n toHide.attr( {\n \"aria-hidden\": \"true\"\n } );\n toHide.prev().attr( {\n \"aria-selected\": \"false\",\n \"aria-expanded\": \"false\"\n } );\n\n // if we're switching panels, remove the old header from the tab order\n // if we're opening from collapsed state, remove the previous header from the tab order\n // if we're collapsing, then keep the collapsing header in the tab order\n if ( toShow.length && toHide.length ) {\n toHide.prev().attr( {\n \"tabIndex\": -1,\n \"aria-expanded\": \"false\"\n } );\n } else if ( toShow.length ) {\n this.headers.filter( function() {\n return parseInt( $( this ).attr( \"tabIndex\" ), 10 ) === 0;\n } )\n .attr( \"tabIndex\", -1 );\n }\n\n toShow\n .attr( \"aria-hidden\", \"false\" )\n .prev()\n .attr( {\n \"aria-selected\": \"true\",\n \"aria-expanded\": \"true\",\n tabIndex: 0\n } );\n },\n\n _animate: function( toShow, toHide, data ) {\n var total, easing, duration,\n that = this,\n adjust = 0,\n boxSizing = toShow.css( \"box-sizing\" ),\n down = toShow.length &&\n ( !toHide.length || ( toShow.index() < toHide.index() ) ),\n animate = this.options.animate || {},\n options = down && animate.down || animate,\n complete = function() {\n that._toggleComplete( data );\n };\n\n if ( typeof options === \"number\" ) {\n duration = options;\n }\n if ( typeof options === \"string\" ) {\n easing = options;\n }\n\n // fall back from options to animation in case of partial down settings\n easing = easing || options.easing || animate.easing;\n duration = duration || options.duration || animate.duration;\n\n if ( !toHide.length ) {\n return toShow.animate( this.showProps, duration, easing, complete );\n }\n if ( !toShow.length ) {\n return toHide.animate( this.hideProps, duration, easing, complete );\n }\n\n total = toShow.show().outerHeight();\n toHide.animate( this.hideProps, {\n duration: duration,\n easing: easing,\n step: function( now, fx ) {\n fx.now = Math.round( now );\n }\n } );\n toShow\n .hide()\n .animate( this.showProps, {\n duration: duration,\n easing: easing,\n complete: complete,\n step: function( now, fx ) {\n fx.now = Math.round( now );\n if ( fx.prop !== \"height\" ) {\n if ( boxSizing === \"content-box\" ) {\n adjust += fx.now;\n }\n } else if ( that.options.heightStyle !== \"content\" ) {\n fx.now = Math.round( total - toHide.outerHeight() - adjust );\n adjust = 0;\n }\n }\n } );\n },\n\n _toggleComplete: function( data ) {\n var toHide = data.oldPanel,\n prev = toHide.prev();\n\n this._removeClass( toHide, \"ui-accordion-content-active\" );\n this._removeClass( prev, \"ui-accordion-header-active\" )\n ._addClass( prev, \"ui-accordion-header-collapsed\" );\n\n // Work around for rendering bug in IE (#5421)\n if ( toHide.length ) {\n toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;\n }\n this._trigger( \"activate\", null, data );\n }\n } );\n\n} );\n","jquery/ui-modules/widgets/droppable.js":"/*!\n * jQuery UI Droppable 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Droppable\n//>>group: Interactions\n//>>description: Enables drop targets for draggable elements.\n//>>docs: http://api.jqueryui.com/droppable/\n//>>demos: http://jqueryui.com/droppable/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./draggable\",\n \"./mouse\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.droppable\", {\n version: \"1.13.2\",\n widgetEventPrefix: \"drop\",\n options: {\n accept: \"*\",\n addClasses: true,\n greedy: false,\n scope: \"default\",\n tolerance: \"intersect\",\n\n // Callbacks\n activate: null,\n deactivate: null,\n drop: null,\n out: null,\n over: null\n },\n _create: function() {\n\n var proportions,\n o = this.options,\n accept = o.accept;\n\n this.isover = false;\n this.isout = true;\n\n this.accept = typeof accept === \"function\" ? accept : function( d ) {\n return d.is( accept );\n };\n\n this.proportions = function( /* valueToWrite */ ) {\n if ( arguments.length ) {\n\n // Store the droppable's proportions\n proportions = arguments[ 0 ];\n } else {\n\n // Retrieve or derive the droppable's proportions\n return proportions ?\n proportions :\n proportions = {\n width: this.element[ 0 ].offsetWidth,\n height: this.element[ 0 ].offsetHeight\n };\n }\n };\n\n this._addToManager( o.scope );\n\n if ( o.addClasses ) {\n this._addClass( \"ui-droppable\" );\n }\n\n },\n\n _addToManager: function( scope ) {\n\n // Add the reference and positions to the manager\n $.ui.ddmanager.droppables[ scope ] = $.ui.ddmanager.droppables[ scope ] || [];\n $.ui.ddmanager.droppables[ scope ].push( this );\n },\n\n _splice: function( drop ) {\n var i = 0;\n for ( ; i < drop.length; i++ ) {\n if ( drop[ i ] === this ) {\n drop.splice( i, 1 );\n }\n }\n },\n\n _destroy: function() {\n var drop = $.ui.ddmanager.droppables[ this.options.scope ];\n\n this._splice( drop );\n },\n\n _setOption: function( key, value ) {\n\n if ( key === \"accept\" ) {\n this.accept = typeof value === \"function\" ? value : function( d ) {\n return d.is( value );\n };\n } else if ( key === \"scope\" ) {\n var drop = $.ui.ddmanager.droppables[ this.options.scope ];\n\n this._splice( drop );\n this._addToManager( value );\n }\n\n this._super( key, value );\n },\n\n _activate: function( event ) {\n var draggable = $.ui.ddmanager.current;\n\n this._addActiveClass();\n if ( draggable ) {\n this._trigger( \"activate\", event, this.ui( draggable ) );\n }\n },\n\n _deactivate: function( event ) {\n var draggable = $.ui.ddmanager.current;\n\n this._removeActiveClass();\n if ( draggable ) {\n this._trigger( \"deactivate\", event, this.ui( draggable ) );\n }\n },\n\n _over: function( event ) {\n\n var draggable = $.ui.ddmanager.current;\n\n // Bail if draggable and droppable are same element\n if ( !draggable || ( draggable.currentItem ||\n draggable.element )[ 0 ] === this.element[ 0 ] ) {\n return;\n }\n\n if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem ||\n draggable.element ) ) ) {\n this._addHoverClass();\n this._trigger( \"over\", event, this.ui( draggable ) );\n }\n\n },\n\n _out: function( event ) {\n\n var draggable = $.ui.ddmanager.current;\n\n // Bail if draggable and droppable are same element\n if ( !draggable || ( draggable.currentItem ||\n draggable.element )[ 0 ] === this.element[ 0 ] ) {\n return;\n }\n\n if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem ||\n draggable.element ) ) ) {\n this._removeHoverClass();\n this._trigger( \"out\", event, this.ui( draggable ) );\n }\n\n },\n\n _drop: function( event, custom ) {\n\n var draggable = custom || $.ui.ddmanager.current,\n childrenIntersection = false;\n\n // Bail if draggable and droppable are same element\n if ( !draggable || ( draggable.currentItem ||\n draggable.element )[ 0 ] === this.element[ 0 ] ) {\n return false;\n }\n\n this.element\n .find( \":data(ui-droppable)\" )\n .not( \".ui-draggable-dragging\" )\n .each( function() {\n var inst = $( this ).droppable( \"instance\" );\n if (\n inst.options.greedy &&\n !inst.options.disabled &&\n inst.options.scope === draggable.options.scope &&\n inst.accept.call(\n inst.element[ 0 ], ( draggable.currentItem || draggable.element )\n ) &&\n $.ui.intersect(\n draggable,\n $.extend( inst, { offset: inst.element.offset() } ),\n inst.options.tolerance, event\n )\n ) {\n childrenIntersection = true;\n return false;\n }\n } );\n if ( childrenIntersection ) {\n return false;\n }\n\n if ( this.accept.call( this.element[ 0 ],\n ( draggable.currentItem || draggable.element ) ) ) {\n this._removeActiveClass();\n this._removeHoverClass();\n\n this._trigger( \"drop\", event, this.ui( draggable ) );\n return this.element;\n }\n\n return false;\n\n },\n\n ui: function( c ) {\n return {\n draggable: ( c.currentItem || c.element ),\n helper: c.helper,\n position: c.position,\n offset: c.positionAbs\n };\n },\n\n // Extension points just to make backcompat sane and avoid duplicating logic\n // TODO: Remove in 1.14 along with call to it below\n _addHoverClass: function() {\n this._addClass( \"ui-droppable-hover\" );\n },\n\n _removeHoverClass: function() {\n this._removeClass( \"ui-droppable-hover\" );\n },\n\n _addActiveClass: function() {\n this._addClass( \"ui-droppable-active\" );\n },\n\n _removeActiveClass: function() {\n this._removeClass( \"ui-droppable-active\" );\n }\n } );\n\n $.ui.intersect = ( function() {\n function isOverAxis( x, reference, size ) {\n return ( x >= reference ) && ( x < ( reference + size ) );\n }\n\n return function( draggable, droppable, toleranceMode, event ) {\n\n if ( !droppable.offset ) {\n return false;\n }\n\n var x1 = ( draggable.positionAbs ||\n draggable.position.absolute ).left + draggable.margins.left,\n y1 = ( draggable.positionAbs ||\n draggable.position.absolute ).top + draggable.margins.top,\n x2 = x1 + draggable.helperProportions.width,\n y2 = y1 + draggable.helperProportions.height,\n l = droppable.offset.left,\n t = droppable.offset.top,\n r = l + droppable.proportions().width,\n b = t + droppable.proportions().height;\n\n switch ( toleranceMode ) {\n case \"fit\":\n return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b );\n case \"intersect\":\n return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half\n x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half\n t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half\n y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half\n case \"pointer\":\n return isOverAxis( event.pageY, t, droppable.proportions().height ) &&\n isOverAxis( event.pageX, l, droppable.proportions().width );\n case \"touch\":\n return (\n ( y1 >= t && y1 <= b ) || // Top edge touching\n ( y2 >= t && y2 <= b ) || // Bottom edge touching\n ( y1 < t && y2 > b ) // Surrounded vertically\n ) && (\n ( x1 >= l && x1 <= r ) || // Left edge touching\n ( x2 >= l && x2 <= r ) || // Right edge touching\n ( x1 < l && x2 > r ) // Surrounded horizontally\n );\n default:\n return false;\n }\n };\n } )();\n\n /*\n This manager tracks offsets of draggables and droppables\n */\n $.ui.ddmanager = {\n current: null,\n droppables: { \"default\": [] },\n prepareOffsets: function( t, event ) {\n\n var i, j,\n m = $.ui.ddmanager.droppables[ t.options.scope ] || [],\n type = event ? event.type : null, // workaround for #2317\n list = ( t.currentItem || t.element ).find( \":data(ui-droppable)\" ).addBack();\n\n droppablesLoop: for ( i = 0; i < m.length; i++ ) {\n\n // No disabled and non-accepted\n if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ],\n ( t.currentItem || t.element ) ) ) ) {\n continue;\n }\n\n // Filter out elements in the current dragged item\n for ( j = 0; j < list.length; j++ ) {\n if ( list[ j ] === m[ i ].element[ 0 ] ) {\n m[ i ].proportions().height = 0;\n continue droppablesLoop;\n }\n }\n\n m[ i ].visible = m[ i ].element.css( \"display\" ) !== \"none\";\n if ( !m[ i ].visible ) {\n continue;\n }\n\n // Activate the droppable if used directly from draggables\n if ( type === \"mousedown\" ) {\n m[ i ]._activate.call( m[ i ], event );\n }\n\n m[ i ].offset = m[ i ].element.offset();\n m[ i ].proportions( {\n width: m[ i ].element[ 0 ].offsetWidth,\n height: m[ i ].element[ 0 ].offsetHeight\n } );\n\n }\n\n },\n drop: function( draggable, event ) {\n\n var dropped = false;\n\n // Create a copy of the droppables in case the list changes during the drop (#9116)\n $.each( ( $.ui.ddmanager.droppables[ draggable.options.scope ] || [] ).slice(), function() {\n\n if ( !this.options ) {\n return;\n }\n if ( !this.options.disabled && this.visible &&\n $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {\n dropped = this._drop.call( this, event ) || dropped;\n }\n\n if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ],\n ( draggable.currentItem || draggable.element ) ) ) {\n this.isout = true;\n this.isover = false;\n this._deactivate.call( this, event );\n }\n\n } );\n return dropped;\n\n },\n dragStart: function( draggable, event ) {\n\n // Listen for scrolling so that if the dragging causes scrolling the position of the\n // droppables can be recalculated (see #5003)\n draggable.element.parentsUntil( \"body\" ).on( \"scroll.droppable\", function() {\n if ( !draggable.options.refreshPositions ) {\n $.ui.ddmanager.prepareOffsets( draggable, event );\n }\n } );\n },\n drag: function( draggable, event ) {\n\n // If you have a highly dynamic page, you might try this option. It renders positions\n // every time you move the mouse.\n if ( draggable.options.refreshPositions ) {\n $.ui.ddmanager.prepareOffsets( draggable, event );\n }\n\n // Run through all droppables and check their positions based on specific tolerance options\n $.each( $.ui.ddmanager.droppables[ draggable.options.scope ] || [], function() {\n\n if ( this.options.disabled || this.greedyChild || !this.visible ) {\n return;\n }\n\n var parentInstance, scope, parent,\n intersects = $.ui.intersect( draggable, this, this.options.tolerance, event ),\n c = !intersects && this.isover ?\n \"isout\" :\n ( intersects && !this.isover ? \"isover\" : null );\n if ( !c ) {\n return;\n }\n\n if ( this.options.greedy ) {\n\n // find droppable parents with same scope\n scope = this.options.scope;\n parent = this.element.parents( \":data(ui-droppable)\" ).filter( function() {\n return $( this ).droppable( \"instance\" ).options.scope === scope;\n } );\n\n if ( parent.length ) {\n parentInstance = $( parent[ 0 ] ).droppable( \"instance\" );\n parentInstance.greedyChild = ( c === \"isover\" );\n }\n }\n\n // We just moved into a greedy child\n if ( parentInstance && c === \"isover\" ) {\n parentInstance.isover = false;\n parentInstance.isout = true;\n parentInstance._out.call( parentInstance, event );\n }\n\n this[ c ] = true;\n this[ c === \"isout\" ? \"isover\" : \"isout\" ] = false;\n this[ c === \"isover\" ? \"_over\" : \"_out\" ].call( this, event );\n\n // We just moved out of a greedy child\n if ( parentInstance && c === \"isout\" ) {\n parentInstance.isout = false;\n parentInstance.isover = true;\n parentInstance._over.call( parentInstance, event );\n }\n } );\n\n },\n dragStop: function( draggable, event ) {\n draggable.element.parentsUntil( \"body\" ).off( \"scroll.droppable\" );\n\n // Call prepareOffsets one final time since IE does not fire return scroll events when\n // overflow was caused by drag (see #5003)\n if ( !draggable.options.refreshPositions ) {\n $.ui.ddmanager.prepareOffsets( draggable, event );\n }\n }\n };\n\n// DEPRECATED\n// TODO: switch return back to widget declaration at top of file when this is removed\n if ( $.uiBackCompat !== false ) {\n\n // Backcompat for activeClass and hoverClass options\n $.widget( \"ui.droppable\", $.ui.droppable, {\n options: {\n hoverClass: false,\n activeClass: false\n },\n _addActiveClass: function() {\n this._super();\n if ( this.options.activeClass ) {\n this.element.addClass( this.options.activeClass );\n }\n },\n _removeActiveClass: function() {\n this._super();\n if ( this.options.activeClass ) {\n this.element.removeClass( this.options.activeClass );\n }\n },\n _addHoverClass: function() {\n this._super();\n if ( this.options.hoverClass ) {\n this.element.addClass( this.options.hoverClass );\n }\n },\n _removeHoverClass: function() {\n this._super();\n if ( this.options.hoverClass ) {\n this.element.removeClass( this.options.hoverClass );\n }\n }\n } );\n }\n\n return $.ui.droppable;\n\n} );\n","jquery/ui-modules/widgets/spinner.js":"/*!\n * jQuery UI Spinner 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Spinner\n//>>group: Widgets\n//>>description: Displays buttons to easily input numbers via the keyboard or mouse.\n//>>docs: http://api.jqueryui.com/spinner/\n//>>demos: http://jqueryui.com/spinner/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/spinner.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./button\",\n \"../version\",\n \"../keycode\",\n \"../safe-active-element\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n function spinnerModifier( fn ) {\n return function() {\n var previous = this.element.val();\n fn.apply( this, arguments );\n this._refresh();\n if ( previous !== this.element.val() ) {\n this._trigger( \"change\" );\n }\n };\n }\n\n $.widget( \"ui.spinner\", {\n version: \"1.13.2\",\n defaultElement: \"<input>\",\n widgetEventPrefix: \"spin\",\n options: {\n classes: {\n \"ui-spinner\": \"ui-corner-all\",\n \"ui-spinner-down\": \"ui-corner-br\",\n \"ui-spinner-up\": \"ui-corner-tr\"\n },\n culture: null,\n icons: {\n down: \"ui-icon-triangle-1-s\",\n up: \"ui-icon-triangle-1-n\"\n },\n incremental: true,\n max: null,\n min: null,\n numberFormat: null,\n page: 10,\n step: 1,\n\n change: null,\n spin: null,\n start: null,\n stop: null\n },\n\n _create: function() {\n\n // handle string values that need to be parsed\n this._setOption( \"max\", this.options.max );\n this._setOption( \"min\", this.options.min );\n this._setOption( \"step\", this.options.step );\n\n // Only format if there is a value, prevents the field from being marked\n // as invalid in Firefox, see #9573.\n if ( this.value() !== \"\" ) {\n\n // Format the value, but don't constrain.\n this._value( this.element.val(), true );\n }\n\n this._draw();\n this._on( this._events );\n this._refresh();\n\n // Turning off autocomplete prevents the browser from remembering the\n // value when navigating through history, so we re-enable autocomplete\n // if the page is unloaded before the widget is destroyed. #7790\n this._on( this.window, {\n beforeunload: function() {\n this.element.removeAttr( \"autocomplete\" );\n }\n } );\n },\n\n _getCreateOptions: function() {\n var options = this._super();\n var element = this.element;\n\n $.each( [ \"min\", \"max\", \"step\" ], function( i, option ) {\n var value = element.attr( option );\n if ( value != null && value.length ) {\n options[ option ] = value;\n }\n } );\n\n return options;\n },\n\n _events: {\n keydown: function( event ) {\n if ( this._start( event ) && this._keydown( event ) ) {\n event.preventDefault();\n }\n },\n keyup: \"_stop\",\n focus: function() {\n this.previous = this.element.val();\n },\n blur: function( event ) {\n if ( this.cancelBlur ) {\n delete this.cancelBlur;\n return;\n }\n\n this._stop();\n this._refresh();\n if ( this.previous !== this.element.val() ) {\n this._trigger( \"change\", event );\n }\n },\n mousewheel: function( event, delta ) {\n var activeElement = $.ui.safeActiveElement( this.document[ 0 ] );\n var isActive = this.element[ 0 ] === activeElement;\n\n if ( !isActive || !delta ) {\n return;\n }\n\n if ( !this.spinning && !this._start( event ) ) {\n return false;\n }\n\n this._spin( ( delta > 0 ? 1 : -1 ) * this.options.step, event );\n clearTimeout( this.mousewheelTimer );\n this.mousewheelTimer = this._delay( function() {\n if ( this.spinning ) {\n this._stop( event );\n }\n }, 100 );\n event.preventDefault();\n },\n \"mousedown .ui-spinner-button\": function( event ) {\n var previous;\n\n // We never want the buttons to have focus; whenever the user is\n // interacting with the spinner, the focus should be on the input.\n // If the input is focused then this.previous is properly set from\n // when the input first received focus. If the input is not focused\n // then we need to set this.previous based on the value before spinning.\n previous = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] ) ?\n this.previous : this.element.val();\n function checkFocus() {\n var isActive = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] );\n if ( !isActive ) {\n this.element.trigger( \"focus\" );\n this.previous = previous;\n\n // support: IE\n // IE sets focus asynchronously, so we need to check if focus\n // moved off of the input because the user clicked on the button.\n this._delay( function() {\n this.previous = previous;\n } );\n }\n }\n\n // Ensure focus is on (or stays on) the text field\n event.preventDefault();\n checkFocus.call( this );\n\n // Support: IE\n // IE doesn't prevent moving focus even with event.preventDefault()\n // so we set a flag to know when we should ignore the blur event\n // and check (again) if focus moved off of the input.\n this.cancelBlur = true;\n this._delay( function() {\n delete this.cancelBlur;\n checkFocus.call( this );\n } );\n\n if ( this._start( event ) === false ) {\n return;\n }\n\n this._repeat( null, $( event.currentTarget )\n .hasClass( \"ui-spinner-up\" ) ? 1 : -1, event );\n },\n \"mouseup .ui-spinner-button\": \"_stop\",\n \"mouseenter .ui-spinner-button\": function( event ) {\n\n // button will add ui-state-active if mouse was down while mouseleave and kept down\n if ( !$( event.currentTarget ).hasClass( \"ui-state-active\" ) ) {\n return;\n }\n\n if ( this._start( event ) === false ) {\n return false;\n }\n this._repeat( null, $( event.currentTarget )\n .hasClass( \"ui-spinner-up\" ) ? 1 : -1, event );\n },\n\n // TODO: do we really want to consider this a stop?\n // shouldn't we just stop the repeater and wait until mouseup before\n // we trigger the stop event?\n \"mouseleave .ui-spinner-button\": \"_stop\"\n },\n\n // Support mobile enhanced option and make backcompat more sane\n _enhance: function() {\n this.uiSpinner = this.element\n .attr( \"autocomplete\", \"off\" )\n .wrap( \"<span>\" )\n .parent()\n\n // Add buttons\n .append(\n \"<a></a><a></a>\"\n );\n },\n\n _draw: function() {\n this._enhance();\n\n this._addClass( this.uiSpinner, \"ui-spinner\", \"ui-widget ui-widget-content\" );\n this._addClass( \"ui-spinner-input\" );\n\n this.element.attr( \"role\", \"spinbutton\" );\n\n // Button bindings\n this.buttons = this.uiSpinner.children( \"a\" )\n .attr( \"tabIndex\", -1 )\n .attr( \"aria-hidden\", true )\n .button( {\n classes: {\n \"ui-button\": \"\"\n }\n } );\n\n // TODO: Right now button does not support classes this is already updated in button PR\n this._removeClass( this.buttons, \"ui-corner-all\" );\n\n this._addClass( this.buttons.first(), \"ui-spinner-button ui-spinner-up\" );\n this._addClass( this.buttons.last(), \"ui-spinner-button ui-spinner-down\" );\n this.buttons.first().button( {\n \"icon\": this.options.icons.up,\n \"showLabel\": false\n } );\n this.buttons.last().button( {\n \"icon\": this.options.icons.down,\n \"showLabel\": false\n } );\n\n // IE 6 doesn't understand height: 50% for the buttons\n // unless the wrapper has an explicit height\n if ( this.buttons.height() > Math.ceil( this.uiSpinner.height() * 0.5 ) &&\n this.uiSpinner.height() > 0 ) {\n this.uiSpinner.height( this.uiSpinner.height() );\n }\n },\n\n _keydown: function( event ) {\n var options = this.options,\n keyCode = $.ui.keyCode;\n\n switch ( event.keyCode ) {\n case keyCode.UP:\n this._repeat( null, 1, event );\n return true;\n case keyCode.DOWN:\n this._repeat( null, -1, event );\n return true;\n case keyCode.PAGE_UP:\n this._repeat( null, options.page, event );\n return true;\n case keyCode.PAGE_DOWN:\n this._repeat( null, -options.page, event );\n return true;\n }\n\n return false;\n },\n\n _start: function( event ) {\n if ( !this.spinning && this._trigger( \"start\", event ) === false ) {\n return false;\n }\n\n if ( !this.counter ) {\n this.counter = 1;\n }\n this.spinning = true;\n return true;\n },\n\n _repeat: function( i, steps, event ) {\n i = i || 500;\n\n clearTimeout( this.timer );\n this.timer = this._delay( function() {\n this._repeat( 40, steps, event );\n }, i );\n\n this._spin( steps * this.options.step, event );\n },\n\n _spin: function( step, event ) {\n var value = this.value() || 0;\n\n if ( !this.counter ) {\n this.counter = 1;\n }\n\n value = this._adjustValue( value + step * this._increment( this.counter ) );\n\n if ( !this.spinning || this._trigger( \"spin\", event, { value: value } ) !== false ) {\n this._value( value );\n this.counter++;\n }\n },\n\n _increment: function( i ) {\n var incremental = this.options.incremental;\n\n if ( incremental ) {\n return typeof incremental === \"function\" ?\n incremental( i ) :\n Math.floor( i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1 );\n }\n\n return 1;\n },\n\n _precision: function() {\n var precision = this._precisionOf( this.options.step );\n if ( this.options.min !== null ) {\n precision = Math.max( precision, this._precisionOf( this.options.min ) );\n }\n return precision;\n },\n\n _precisionOf: function( num ) {\n var str = num.toString(),\n decimal = str.indexOf( \".\" );\n return decimal === -1 ? 0 : str.length - decimal - 1;\n },\n\n _adjustValue: function( value ) {\n var base, aboveMin,\n options = this.options;\n\n // Make sure we're at a valid step\n // - find out where we are relative to the base (min or 0)\n base = options.min !== null ? options.min : 0;\n aboveMin = value - base;\n\n // - round to the nearest step\n aboveMin = Math.round( aboveMin / options.step ) * options.step;\n\n // - rounding is based on 0, so adjust back to our base\n value = base + aboveMin;\n\n // Fix precision from bad JS floating point math\n value = parseFloat( value.toFixed( this._precision() ) );\n\n // Clamp the value\n if ( options.max !== null && value > options.max ) {\n return options.max;\n }\n if ( options.min !== null && value < options.min ) {\n return options.min;\n }\n\n return value;\n },\n\n _stop: function( event ) {\n if ( !this.spinning ) {\n return;\n }\n\n clearTimeout( this.timer );\n clearTimeout( this.mousewheelTimer );\n this.counter = 0;\n this.spinning = false;\n this._trigger( \"stop\", event );\n },\n\n _setOption: function( key, value ) {\n var prevValue, first, last;\n\n if ( key === \"culture\" || key === \"numberFormat\" ) {\n prevValue = this._parse( this.element.val() );\n this.options[ key ] = value;\n this.element.val( this._format( prevValue ) );\n return;\n }\n\n if ( key === \"max\" || key === \"min\" || key === \"step\" ) {\n if ( typeof value === \"string\" ) {\n value = this._parse( value );\n }\n }\n if ( key === \"icons\" ) {\n first = this.buttons.first().find( \".ui-icon\" );\n this._removeClass( first, null, this.options.icons.up );\n this._addClass( first, null, value.up );\n last = this.buttons.last().find( \".ui-icon\" );\n this._removeClass( last, null, this.options.icons.down );\n this._addClass( last, null, value.down );\n }\n\n this._super( key, value );\n },\n\n _setOptionDisabled: function( value ) {\n this._super( value );\n\n this._toggleClass( this.uiSpinner, null, \"ui-state-disabled\", !!value );\n this.element.prop( \"disabled\", !!value );\n this.buttons.button( value ? \"disable\" : \"enable\" );\n },\n\n _setOptions: spinnerModifier( function( options ) {\n this._super( options );\n } ),\n\n _parse: function( val ) {\n if ( typeof val === \"string\" && val !== \"\" ) {\n val = window.Globalize && this.options.numberFormat ?\n Globalize.parseFloat( val, 10, this.options.culture ) : +val;\n }\n return val === \"\" || isNaN( val ) ? null : val;\n },\n\n _format: function( value ) {\n if ( value === \"\" ) {\n return \"\";\n }\n return window.Globalize && this.options.numberFormat ?\n Globalize.format( value, this.options.numberFormat, this.options.culture ) :\n value;\n },\n\n _refresh: function() {\n this.element.attr( {\n \"aria-valuemin\": this.options.min,\n \"aria-valuemax\": this.options.max,\n\n // TODO: what should we do with values that can't be parsed?\n \"aria-valuenow\": this._parse( this.element.val() )\n } );\n },\n\n isValid: function() {\n var value = this.value();\n\n // Null is invalid\n if ( value === null ) {\n return false;\n }\n\n // If value gets adjusted, it's invalid\n return value === this._adjustValue( value );\n },\n\n // Update the value without triggering change\n _value: function( value, allowAny ) {\n var parsed;\n if ( value !== \"\" ) {\n parsed = this._parse( value );\n if ( parsed !== null ) {\n if ( !allowAny ) {\n parsed = this._adjustValue( parsed );\n }\n value = this._format( parsed );\n }\n }\n this.element.val( value );\n this._refresh();\n },\n\n _destroy: function() {\n this.element\n .prop( \"disabled\", false )\n .removeAttr( \"autocomplete role aria-valuemin aria-valuemax aria-valuenow\" );\n\n this.uiSpinner.replaceWith( this.element );\n },\n\n stepUp: spinnerModifier( function( steps ) {\n this._stepUp( steps );\n } ),\n _stepUp: function( steps ) {\n if ( this._start() ) {\n this._spin( ( steps || 1 ) * this.options.step );\n this._stop();\n }\n },\n\n stepDown: spinnerModifier( function( steps ) {\n this._stepDown( steps );\n } ),\n _stepDown: function( steps ) {\n if ( this._start() ) {\n this._spin( ( steps || 1 ) * -this.options.step );\n this._stop();\n }\n },\n\n pageUp: spinnerModifier( function( pages ) {\n this._stepUp( ( pages || 1 ) * this.options.page );\n } ),\n\n pageDown: spinnerModifier( function( pages ) {\n this._stepDown( ( pages || 1 ) * this.options.page );\n } ),\n\n value: function( newVal ) {\n if ( !arguments.length ) {\n return this._parse( this.element.val() );\n }\n spinnerModifier( this._value ).call( this, newVal );\n },\n\n widget: function() {\n return this.uiSpinner;\n }\n } );\n\n// DEPRECATED\n// TODO: switch return back to widget declaration at top of file when this is removed\n if ( $.uiBackCompat !== false ) {\n\n // Backcompat for spinner html extension points\n $.widget( \"ui.spinner\", $.ui.spinner, {\n _enhance: function() {\n this.uiSpinner = this.element\n .attr( \"autocomplete\", \"off\" )\n .wrap( this._uiSpinnerHtml() )\n .parent()\n\n // Add buttons\n .append( this._buttonHtml() );\n },\n _uiSpinnerHtml: function() {\n return \"<span>\";\n },\n\n _buttonHtml: function() {\n return \"<a></a><a></a>\";\n }\n } );\n }\n\n return $.ui.spinner;\n\n} );\n","jquery/ui-modules/widgets/mouse.js":"/*!\n * jQuery UI Mouse 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Mouse\n//>>group: Widgets\n//>>description: Abstracts mouse-based interactions to assist in creating certain widgets.\n//>>docs: http://api.jqueryui.com/mouse/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../ie\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n var mouseHandled = false;\n $( document ).on( \"mouseup\", function() {\n mouseHandled = false;\n } );\n\n return $.widget( \"ui.mouse\", {\n version: \"1.13.2\",\n options: {\n cancel: \"input, textarea, button, select, option\",\n distance: 1,\n delay: 0\n },\n _mouseInit: function() {\n var that = this;\n\n this.element\n .on( \"mousedown.\" + this.widgetName, function( event ) {\n return that._mouseDown( event );\n } )\n .on( \"click.\" + this.widgetName, function( event ) {\n if ( true === $.data( event.target, that.widgetName + \".preventClickEvent\" ) ) {\n $.removeData( event.target, that.widgetName + \".preventClickEvent\" );\n event.stopImmediatePropagation();\n return false;\n }\n } );\n\n this.started = false;\n },\n\n // TODO: make sure destroying one instance of mouse doesn't mess with\n // other instances of mouse\n _mouseDestroy: function() {\n this.element.off( \".\" + this.widgetName );\n if ( this._mouseMoveDelegate ) {\n this.document\n .off( \"mousemove.\" + this.widgetName, this._mouseMoveDelegate )\n .off( \"mouseup.\" + this.widgetName, this._mouseUpDelegate );\n }\n },\n\n _mouseDown: function( event ) {\n\n // don't let more than one widget handle mouseStart\n if ( mouseHandled ) {\n return;\n }\n\n this._mouseMoved = false;\n\n // We may have missed mouseup (out of window)\n if ( this._mouseStarted ) {\n this._mouseUp( event );\n }\n\n this._mouseDownEvent = event;\n\n var that = this,\n btnIsLeft = ( event.which === 1 ),\n\n // event.target.nodeName works around a bug in IE 8 with\n // disabled inputs (#7620)\n elIsCancel = ( typeof this.options.cancel === \"string\" && event.target.nodeName ?\n $( event.target ).closest( this.options.cancel ).length : false );\n if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {\n return true;\n }\n\n this.mouseDelayMet = !this.options.delay;\n if ( !this.mouseDelayMet ) {\n this._mouseDelayTimer = setTimeout( function() {\n that.mouseDelayMet = true;\n }, this.options.delay );\n }\n\n if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {\n this._mouseStarted = ( this._mouseStart( event ) !== false );\n if ( !this._mouseStarted ) {\n event.preventDefault();\n return true;\n }\n }\n\n // Click event may never have fired (Gecko & Opera)\n if ( true === $.data( event.target, this.widgetName + \".preventClickEvent\" ) ) {\n $.removeData( event.target, this.widgetName + \".preventClickEvent\" );\n }\n\n // These delegates are required to keep context\n this._mouseMoveDelegate = function( event ) {\n return that._mouseMove( event );\n };\n this._mouseUpDelegate = function( event ) {\n return that._mouseUp( event );\n };\n\n this.document\n .on( \"mousemove.\" + this.widgetName, this._mouseMoveDelegate )\n .on( \"mouseup.\" + this.widgetName, this._mouseUpDelegate );\n\n event.preventDefault();\n\n mouseHandled = true;\n return true;\n },\n\n _mouseMove: function( event ) {\n\n // Only check for mouseups outside the document if you've moved inside the document\n // at least once. This prevents the firing of mouseup in the case of IE<9, which will\n // fire a mousemove event if content is placed under the cursor. See #7778\n // Support: IE <9\n if ( this._mouseMoved ) {\n\n // IE mouseup check - mouseup happened when mouse was out of window\n if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&\n !event.button ) {\n return this._mouseUp( event );\n\n // Iframe mouseup check - mouseup occurred in another document\n } else if ( !event.which ) {\n\n // Support: Safari <=8 - 9\n // Safari sets which to 0 if you press any of the following keys\n // during a drag (#14461)\n if ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||\n event.originalEvent.metaKey || event.originalEvent.shiftKey ) {\n this.ignoreMissingWhich = true;\n } else if ( !this.ignoreMissingWhich ) {\n return this._mouseUp( event );\n }\n }\n }\n\n if ( event.which || event.button ) {\n this._mouseMoved = true;\n }\n\n if ( this._mouseStarted ) {\n this._mouseDrag( event );\n return event.preventDefault();\n }\n\n if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {\n this._mouseStarted =\n ( this._mouseStart( this._mouseDownEvent, event ) !== false );\n if ( this._mouseStarted ) {\n this._mouseDrag( event );\n } else {\n this._mouseUp( event );\n }\n }\n\n return !this._mouseStarted;\n },\n\n _mouseUp: function( event ) {\n this.document\n .off( \"mousemove.\" + this.widgetName, this._mouseMoveDelegate )\n .off( \"mouseup.\" + this.widgetName, this._mouseUpDelegate );\n\n if ( this._mouseStarted ) {\n this._mouseStarted = false;\n\n if ( event.target === this._mouseDownEvent.target ) {\n $.data( event.target, this.widgetName + \".preventClickEvent\", true );\n }\n\n this._mouseStop( event );\n }\n\n if ( this._mouseDelayTimer ) {\n clearTimeout( this._mouseDelayTimer );\n delete this._mouseDelayTimer;\n }\n\n this.ignoreMissingWhich = false;\n mouseHandled = false;\n event.preventDefault();\n },\n\n _mouseDistanceMet: function( event ) {\n return ( Math.max(\n Math.abs( this._mouseDownEvent.pageX - event.pageX ),\n Math.abs( this._mouseDownEvent.pageY - event.pageY )\n ) >= this.options.distance\n );\n },\n\n _mouseDelayMet: function( /* event */ ) {\n return this.mouseDelayMet;\n },\n\n // These are placeholder methods, to be overriden by extending plugin\n _mouseStart: function( /* event */ ) {},\n _mouseDrag: function( /* event */ ) {},\n _mouseStop: function( /* event */ ) {},\n _mouseCapture: function( /* event */ ) {\n return true;\n }\n } );\n\n} );\n","jquery/ui-modules/widgets/controlgroup.js":"/*!\n * jQuery UI Controlgroup 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Controlgroup\n//>>group: Widgets\n//>>description: Visually groups form control widgets\n//>>docs: http://api.jqueryui.com/controlgroup/\n//>>demos: http://jqueryui.com/controlgroup/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/controlgroup.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;\n\n return $.widget( \"ui.controlgroup\", {\n version: \"1.13.2\",\n defaultElement: \"<div>\",\n options: {\n direction: \"horizontal\",\n disabled: null,\n onlyVisible: true,\n items: {\n \"button\": \"input[type=button], input[type=submit], input[type=reset], button, a\",\n \"controlgroupLabel\": \".ui-controlgroup-label\",\n \"checkboxradio\": \"input[type='checkbox'], input[type='radio']\",\n \"selectmenu\": \"select\",\n \"spinner\": \".ui-spinner-input\"\n }\n },\n\n _create: function() {\n this._enhance();\n },\n\n // To support the enhanced option in jQuery Mobile, we isolate DOM manipulation\n _enhance: function() {\n this.element.attr( \"role\", \"toolbar\" );\n this.refresh();\n },\n\n _destroy: function() {\n this._callChildMethod( \"destroy\" );\n this.childWidgets.removeData( \"ui-controlgroup-data\" );\n this.element.removeAttr( \"role\" );\n if ( this.options.items.controlgroupLabel ) {\n this.element\n .find( this.options.items.controlgroupLabel )\n .find( \".ui-controlgroup-label-contents\" )\n .contents().unwrap();\n }\n },\n\n _initWidgets: function() {\n var that = this,\n childWidgets = [];\n\n // First we iterate over each of the items options\n $.each( this.options.items, function( widget, selector ) {\n var labels;\n var options = {};\n\n // Make sure the widget has a selector set\n if ( !selector ) {\n return;\n }\n\n if ( widget === \"controlgroupLabel\" ) {\n labels = that.element.find( selector );\n labels.each( function() {\n var element = $( this );\n\n if ( element.children( \".ui-controlgroup-label-contents\" ).length ) {\n return;\n }\n element.contents()\n .wrapAll( \"<span class='ui-controlgroup-label-contents'></span>\" );\n } );\n that._addClass( labels, null, \"ui-widget ui-widget-content ui-state-default\" );\n childWidgets = childWidgets.concat( labels.get() );\n return;\n }\n\n // Make sure the widget actually exists\n if ( !$.fn[ widget ] ) {\n return;\n }\n\n // We assume everything is in the middle to start because we can't determine\n // first / last elements until all enhancments are done.\n if ( that[ \"_\" + widget + \"Options\" ] ) {\n options = that[ \"_\" + widget + \"Options\" ]( \"middle\" );\n } else {\n options = { classes: {} };\n }\n\n // Find instances of this widget inside controlgroup and init them\n that.element\n .find( selector )\n .each( function() {\n var element = $( this );\n var instance = element[ widget ]( \"instance\" );\n\n // We need to clone the default options for this type of widget to avoid\n // polluting the variable options which has a wider scope than a single widget.\n var instanceOptions = $.widget.extend( {}, options );\n\n // If the button is the child of a spinner ignore it\n // TODO: Find a more generic solution\n if ( widget === \"button\" && element.parent( \".ui-spinner\" ).length ) {\n return;\n }\n\n // Create the widget if it doesn't exist\n if ( !instance ) {\n instance = element[ widget ]()[ widget ]( \"instance\" );\n }\n if ( instance ) {\n instanceOptions.classes =\n that._resolveClassesValues( instanceOptions.classes, instance );\n }\n element[ widget ]( instanceOptions );\n\n // Store an instance of the controlgroup to be able to reference\n // from the outermost element for changing options and refresh\n var widgetElement = element[ widget ]( \"widget\" );\n $.data( widgetElement[ 0 ], \"ui-controlgroup-data\",\n instance ? instance : element[ widget ]( \"instance\" ) );\n\n childWidgets.push( widgetElement[ 0 ] );\n } );\n } );\n\n this.childWidgets = $( $.uniqueSort( childWidgets ) );\n this._addClass( this.childWidgets, \"ui-controlgroup-item\" );\n },\n\n _callChildMethod: function( method ) {\n this.childWidgets.each( function() {\n var element = $( this ),\n data = element.data( \"ui-controlgroup-data\" );\n if ( data && data[ method ] ) {\n data[ method ]();\n }\n } );\n },\n\n _updateCornerClass: function( element, position ) {\n var remove = \"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all\";\n var add = this._buildSimpleOptions( position, \"label\" ).classes.label;\n\n this._removeClass( element, null, remove );\n this._addClass( element, null, add );\n },\n\n _buildSimpleOptions: function( position, key ) {\n var direction = this.options.direction === \"vertical\";\n var result = {\n classes: {}\n };\n result.classes[ key ] = {\n \"middle\": \"\",\n \"first\": \"ui-corner-\" + ( direction ? \"top\" : \"left\" ),\n \"last\": \"ui-corner-\" + ( direction ? \"bottom\" : \"right\" ),\n \"only\": \"ui-corner-all\"\n }[ position ];\n\n return result;\n },\n\n _spinnerOptions: function( position ) {\n var options = this._buildSimpleOptions( position, \"ui-spinner\" );\n\n options.classes[ \"ui-spinner-up\" ] = \"\";\n options.classes[ \"ui-spinner-down\" ] = \"\";\n\n return options;\n },\n\n _buttonOptions: function( position ) {\n return this._buildSimpleOptions( position, \"ui-button\" );\n },\n\n _checkboxradioOptions: function( position ) {\n return this._buildSimpleOptions( position, \"ui-checkboxradio-label\" );\n },\n\n _selectmenuOptions: function( position ) {\n var direction = this.options.direction === \"vertical\";\n return {\n width: direction ? \"auto\" : false,\n classes: {\n middle: {\n \"ui-selectmenu-button-open\": \"\",\n \"ui-selectmenu-button-closed\": \"\"\n },\n first: {\n \"ui-selectmenu-button-open\": \"ui-corner-\" + ( direction ? \"top\" : \"tl\" ),\n \"ui-selectmenu-button-closed\": \"ui-corner-\" + ( direction ? \"top\" : \"left\" )\n },\n last: {\n \"ui-selectmenu-button-open\": direction ? \"\" : \"ui-corner-tr\",\n \"ui-selectmenu-button-closed\": \"ui-corner-\" + ( direction ? \"bottom\" : \"right\" )\n },\n only: {\n \"ui-selectmenu-button-open\": \"ui-corner-top\",\n \"ui-selectmenu-button-closed\": \"ui-corner-all\"\n }\n\n }[ position ]\n };\n },\n\n _resolveClassesValues: function( classes, instance ) {\n var result = {};\n $.each( classes, function( key ) {\n var current = instance.options.classes[ key ] || \"\";\n current = String.prototype.trim.call( current.replace( controlgroupCornerRegex, \"\" ) );\n result[ key ] = ( current + \" \" + classes[ key ] ).replace( /\\s+/g, \" \" );\n } );\n return result;\n },\n\n _setOption: function( key, value ) {\n if ( key === \"direction\" ) {\n this._removeClass( \"ui-controlgroup-\" + this.options.direction );\n }\n\n this._super( key, value );\n if ( key === \"disabled\" ) {\n this._callChildMethod( value ? \"disable\" : \"enable\" );\n return;\n }\n\n this.refresh();\n },\n\n refresh: function() {\n var children,\n that = this;\n\n this._addClass( \"ui-controlgroup ui-controlgroup-\" + this.options.direction );\n\n if ( this.options.direction === \"horizontal\" ) {\n this._addClass( null, \"ui-helper-clearfix\" );\n }\n this._initWidgets();\n\n children = this.childWidgets;\n\n // We filter here because we need to track all childWidgets not just the visible ones\n if ( this.options.onlyVisible ) {\n children = children.filter( \":visible\" );\n }\n\n if ( children.length ) {\n\n // We do this last because we need to make sure all enhancment is done\n // before determining first and last\n $.each( [ \"first\", \"last\" ], function( index, value ) {\n var instance = children[ value ]().data( \"ui-controlgroup-data\" );\n\n if ( instance && that[ \"_\" + instance.widgetName + \"Options\" ] ) {\n var options = that[ \"_\" + instance.widgetName + \"Options\" ](\n children.length === 1 ? \"only\" : value\n );\n options.classes = that._resolveClassesValues( options.classes, instance );\n instance.element[ instance.widgetName ]( options );\n } else {\n that._updateCornerClass( children[ value ](), value );\n }\n } );\n\n // Finally call the refresh method on each of the child widgets.\n this._callChildMethod( \"refresh\" );\n }\n }\n } );\n} );\n","jquery/ui-modules/widgets/dialog.js":"/*!\n * jQuery UI Dialog 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Dialog\n//>>group: Widgets\n//>>description: Displays customizable dialog windows.\n//>>docs: http://api.jqueryui.com/dialog/\n//>>demos: http://jqueryui.com/dialog/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/dialog.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./button\",\n \"./draggable\",\n \"./mouse\",\n \"./resizable\",\n \"../focusable\",\n \"../keycode\",\n \"../position\",\n \"../safe-active-element\",\n \"../safe-blur\",\n \"../tabbable\",\n \"../unique-id\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.dialog\", {\n version: \"1.13.2\",\n options: {\n appendTo: \"body\",\n autoOpen: true,\n buttons: [],\n classes: {\n \"ui-dialog\": \"ui-corner-all\",\n \"ui-dialog-titlebar\": \"ui-corner-all\"\n },\n closeOnEscape: true,\n closeText: \"Close\",\n draggable: true,\n hide: null,\n height: \"auto\",\n maxHeight: null,\n maxWidth: null,\n minHeight: 150,\n minWidth: 150,\n modal: false,\n position: {\n my: \"center\",\n at: \"center\",\n of: window,\n collision: \"fit\",\n\n // Ensure the titlebar is always visible\n using: function( pos ) {\n var topOffset = $( this ).css( pos ).offset().top;\n if ( topOffset < 0 ) {\n $( this ).css( \"top\", pos.top - topOffset );\n }\n }\n },\n resizable: true,\n show: null,\n title: null,\n width: 300,\n\n // Callbacks\n beforeClose: null,\n close: null,\n drag: null,\n dragStart: null,\n dragStop: null,\n focus: null,\n open: null,\n resize: null,\n resizeStart: null,\n resizeStop: null\n },\n\n sizeRelatedOptions: {\n buttons: true,\n height: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n width: true\n },\n\n resizableRelatedOptions: {\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true\n },\n\n _create: function() {\n this.originalCss = {\n display: this.element[ 0 ].style.display,\n width: this.element[ 0 ].style.width,\n minHeight: this.element[ 0 ].style.minHeight,\n maxHeight: this.element[ 0 ].style.maxHeight,\n height: this.element[ 0 ].style.height\n };\n this.originalPosition = {\n parent: this.element.parent(),\n index: this.element.parent().children().index( this.element )\n };\n this.originalTitle = this.element.attr( \"title\" );\n if ( this.options.title == null && this.originalTitle != null ) {\n this.options.title = this.originalTitle;\n }\n\n // Dialogs can't be disabled\n if ( this.options.disabled ) {\n this.options.disabled = false;\n }\n\n this._createWrapper();\n\n this.element\n .show()\n .removeAttr( \"title\" )\n .appendTo( this.uiDialog );\n\n this._addClass( \"ui-dialog-content\", \"ui-widget-content\" );\n\n this._createTitlebar();\n this._createButtonPane();\n\n if ( this.options.draggable && $.fn.draggable ) {\n this._makeDraggable();\n }\n if ( this.options.resizable && $.fn.resizable ) {\n this._makeResizable();\n }\n\n this._isOpen = false;\n\n this._trackFocus();\n },\n\n _init: function() {\n if ( this.options.autoOpen ) {\n this.open();\n }\n },\n\n _appendTo: function() {\n var element = this.options.appendTo;\n if ( element && ( element.jquery || element.nodeType ) ) {\n return $( element );\n }\n return this.document.find( element || \"body\" ).eq( 0 );\n },\n\n _destroy: function() {\n var next,\n originalPosition = this.originalPosition;\n\n this._untrackInstance();\n this._destroyOverlay();\n\n this.element\n .removeUniqueId()\n .css( this.originalCss )\n\n // Without detaching first, the following becomes really slow\n .detach();\n\n this.uiDialog.remove();\n\n if ( this.originalTitle ) {\n this.element.attr( \"title\", this.originalTitle );\n }\n\n next = originalPosition.parent.children().eq( originalPosition.index );\n\n // Don't try to place the dialog next to itself (#8613)\n if ( next.length && next[ 0 ] !== this.element[ 0 ] ) {\n next.before( this.element );\n } else {\n originalPosition.parent.append( this.element );\n }\n },\n\n widget: function() {\n return this.uiDialog;\n },\n\n disable: $.noop,\n enable: $.noop,\n\n close: function( event ) {\n var that = this;\n\n if ( !this._isOpen || this._trigger( \"beforeClose\", event ) === false ) {\n return;\n }\n\n this._isOpen = false;\n this._focusedElement = null;\n this._destroyOverlay();\n this._untrackInstance();\n\n if ( !this.opener.filter( \":focusable\" ).trigger( \"focus\" ).length ) {\n\n // Hiding a focused element doesn't trigger blur in WebKit\n // so in case we have nothing to focus on, explicitly blur the active element\n // https://bugs.webkit.org/show_bug.cgi?id=47182\n $.ui.safeBlur( $.ui.safeActiveElement( this.document[ 0 ] ) );\n }\n\n this._hide( this.uiDialog, this.options.hide, function() {\n that._trigger( \"close\", event );\n } );\n },\n\n isOpen: function() {\n return this._isOpen;\n },\n\n moveToTop: function() {\n this._moveToTop();\n },\n\n _moveToTop: function( event, silent ) {\n var moved = false,\n zIndices = this.uiDialog.siblings( \".ui-front:visible\" ).map( function() {\n return +$( this ).css( \"z-index\" );\n } ).get(),\n zIndexMax = Math.max.apply( null, zIndices );\n\n if ( zIndexMax >= +this.uiDialog.css( \"z-index\" ) ) {\n this.uiDialog.css( \"z-index\", zIndexMax + 1 );\n moved = true;\n }\n\n if ( moved && !silent ) {\n this._trigger( \"focus\", event );\n }\n return moved;\n },\n\n open: function() {\n var that = this;\n if ( this._isOpen ) {\n if ( this._moveToTop() ) {\n this._focusTabbable();\n }\n return;\n }\n\n this._isOpen = true;\n this.opener = $( $.ui.safeActiveElement( this.document[ 0 ] ) );\n\n this._size();\n this._position();\n this._createOverlay();\n this._moveToTop( null, true );\n\n // Ensure the overlay is moved to the top with the dialog, but only when\n // opening. The overlay shouldn't move after the dialog is open so that\n // modeless dialogs opened after the modal dialog stack properly.\n if ( this.overlay ) {\n this.overlay.css( \"z-index\", this.uiDialog.css( \"z-index\" ) - 1 );\n }\n\n this._show( this.uiDialog, this.options.show, function() {\n that._focusTabbable();\n that._trigger( \"focus\" );\n } );\n\n // Track the dialog immediately upon opening in case a focus event\n // somehow occurs outside of the dialog before an element inside the\n // dialog is focused (#10152)\n this._makeFocusTarget();\n\n this._trigger( \"open\" );\n },\n\n _focusTabbable: function() {\n\n // Set focus to the first match:\n // 1. An element that was focused previously\n // 2. First element inside the dialog matching [autofocus]\n // 3. Tabbable element inside the content element\n // 4. Tabbable element inside the buttonpane\n // 5. The close button\n // 6. The dialog itself\n var hasFocus = this._focusedElement;\n if ( !hasFocus ) {\n hasFocus = this.element.find( \"[autofocus]\" );\n }\n if ( !hasFocus.length ) {\n hasFocus = this.element.find( \":tabbable\" );\n }\n if ( !hasFocus.length ) {\n hasFocus = this.uiDialogButtonPane.find( \":tabbable\" );\n }\n if ( !hasFocus.length ) {\n hasFocus = this.uiDialogTitlebarClose.filter( \":tabbable\" );\n }\n if ( !hasFocus.length ) {\n hasFocus = this.uiDialog;\n }\n hasFocus.eq( 0 ).trigger( \"focus\" );\n },\n\n _restoreTabbableFocus: function() {\n var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),\n isActive = this.uiDialog[ 0 ] === activeElement ||\n $.contains( this.uiDialog[ 0 ], activeElement );\n if ( !isActive ) {\n this._focusTabbable();\n }\n },\n\n _keepFocus: function( event ) {\n event.preventDefault();\n this._restoreTabbableFocus();\n\n // support: IE\n // IE <= 8 doesn't prevent moving focus even with event.preventDefault()\n // so we check again later\n this._delay( this._restoreTabbableFocus );\n },\n\n _createWrapper: function() {\n this.uiDialog = $( \"<div>\" )\n .hide()\n .attr( {\n\n // Setting tabIndex makes the div focusable\n tabIndex: -1,\n role: \"dialog\"\n } )\n .appendTo( this._appendTo() );\n\n this._addClass( this.uiDialog, \"ui-dialog\", \"ui-widget ui-widget-content ui-front\" );\n this._on( this.uiDialog, {\n keydown: function( event ) {\n if ( this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode &&\n event.keyCode === $.ui.keyCode.ESCAPE ) {\n event.preventDefault();\n this.close( event );\n return;\n }\n\n // Prevent tabbing out of dialogs\n if ( event.keyCode !== $.ui.keyCode.TAB || event.isDefaultPrevented() ) {\n return;\n }\n var tabbables = this.uiDialog.find( \":tabbable\" ),\n first = tabbables.first(),\n last = tabbables.last();\n\n if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) &&\n !event.shiftKey ) {\n this._delay( function() {\n first.trigger( \"focus\" );\n } );\n event.preventDefault();\n } else if ( ( event.target === first[ 0 ] ||\n event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) {\n this._delay( function() {\n last.trigger( \"focus\" );\n } );\n event.preventDefault();\n }\n },\n mousedown: function( event ) {\n if ( this._moveToTop( event ) ) {\n this._focusTabbable();\n }\n }\n } );\n\n // We assume that any existing aria-describedby attribute means\n // that the dialog content is marked up properly\n // otherwise we brute force the content as the description\n if ( !this.element.find( \"[aria-describedby]\" ).length ) {\n this.uiDialog.attr( {\n \"aria-describedby\": this.element.uniqueId().attr( \"id\" )\n } );\n }\n },\n\n _createTitlebar: function() {\n var uiDialogTitle;\n\n this.uiDialogTitlebar = $( \"<div>\" );\n this._addClass( this.uiDialogTitlebar,\n \"ui-dialog-titlebar\", \"ui-widget-header ui-helper-clearfix\" );\n this._on( this.uiDialogTitlebar, {\n mousedown: function( event ) {\n\n // Don't prevent click on close button (#8838)\n // Focusing a dialog that is partially scrolled out of view\n // causes the browser to scroll it into view, preventing the click event\n if ( !$( event.target ).closest( \".ui-dialog-titlebar-close\" ) ) {\n\n // Dialog isn't getting focus when dragging (#8063)\n this.uiDialog.trigger( \"focus\" );\n }\n }\n } );\n\n // Support: IE\n // Use type=\"button\" to prevent enter keypresses in textboxes from closing the\n // dialog in IE (#9312)\n this.uiDialogTitlebarClose = $( \"<button type='button'></button>\" )\n .button( {\n label: $( \"<a>\" ).text( this.options.closeText ).html(),\n icon: \"ui-icon-closethick\",\n showLabel: false\n } )\n .appendTo( this.uiDialogTitlebar );\n\n this._addClass( this.uiDialogTitlebarClose, \"ui-dialog-titlebar-close\" );\n this._on( this.uiDialogTitlebarClose, {\n click: function( event ) {\n event.preventDefault();\n this.close( event );\n }\n } );\n\n uiDialogTitle = $( \"<span>\" ).uniqueId().prependTo( this.uiDialogTitlebar );\n this._addClass( uiDialogTitle, \"ui-dialog-title\" );\n this._title( uiDialogTitle );\n\n this.uiDialogTitlebar.prependTo( this.uiDialog );\n\n this.uiDialog.attr( {\n \"aria-labelledby\": uiDialogTitle.attr( \"id\" )\n } );\n },\n\n _title: function( title ) {\n if ( this.options.title ) {\n title.text( this.options.title );\n } else {\n title.html( \" \" );\n }\n },\n\n _createButtonPane: function() {\n this.uiDialogButtonPane = $( \"<div>\" );\n this._addClass( this.uiDialogButtonPane, \"ui-dialog-buttonpane\",\n \"ui-widget-content ui-helper-clearfix\" );\n\n this.uiButtonSet = $( \"<div>\" )\n .appendTo( this.uiDialogButtonPane );\n this._addClass( this.uiButtonSet, \"ui-dialog-buttonset\" );\n\n this._createButtons();\n },\n\n _createButtons: function() {\n var that = this,\n buttons = this.options.buttons;\n\n // If we already have a button pane, remove it\n this.uiDialogButtonPane.remove();\n this.uiButtonSet.empty();\n\n if ( $.isEmptyObject( buttons ) || ( Array.isArray( buttons ) && !buttons.length ) ) {\n this._removeClass( this.uiDialog, \"ui-dialog-buttons\" );\n return;\n }\n\n $.each( buttons, function( name, props ) {\n var click, buttonOptions;\n props = typeof props === \"function\" ?\n { click: props, text: name } :\n props;\n\n // Default to a non-submitting button\n props = $.extend( { type: \"button\" }, props );\n\n // Change the context for the click callback to be the main element\n click = props.click;\n buttonOptions = {\n icon: props.icon,\n iconPosition: props.iconPosition,\n showLabel: props.showLabel,\n\n // Deprecated options\n icons: props.icons,\n text: props.text\n };\n\n delete props.click;\n delete props.icon;\n delete props.iconPosition;\n delete props.showLabel;\n\n // Deprecated options\n delete props.icons;\n if ( typeof props.text === \"boolean\" ) {\n delete props.text;\n }\n\n $( \"<button></button>\", props )\n .button( buttonOptions )\n .appendTo( that.uiButtonSet )\n .on( \"click\", function() {\n click.apply( that.element[ 0 ], arguments );\n } );\n } );\n this._addClass( this.uiDialog, \"ui-dialog-buttons\" );\n this.uiDialogButtonPane.appendTo( this.uiDialog );\n },\n\n _makeDraggable: function() {\n var that = this,\n options = this.options;\n\n function filteredUi( ui ) {\n return {\n position: ui.position,\n offset: ui.offset\n };\n }\n\n this.uiDialog.draggable( {\n cancel: \".ui-dialog-content, .ui-dialog-titlebar-close\",\n handle: \".ui-dialog-titlebar\",\n containment: \"document\",\n start: function( event, ui ) {\n that._addClass( $( this ), \"ui-dialog-dragging\" );\n that._blockFrames();\n that._trigger( \"dragStart\", event, filteredUi( ui ) );\n },\n drag: function( event, ui ) {\n that._trigger( \"drag\", event, filteredUi( ui ) );\n },\n stop: function( event, ui ) {\n var left = ui.offset.left - that.document.scrollLeft(),\n top = ui.offset.top - that.document.scrollTop();\n\n options.position = {\n my: \"left top\",\n at: \"left\" + ( left >= 0 ? \"+\" : \"\" ) + left + \" \" +\n \"top\" + ( top >= 0 ? \"+\" : \"\" ) + top,\n of: that.window\n };\n that._removeClass( $( this ), \"ui-dialog-dragging\" );\n that._unblockFrames();\n that._trigger( \"dragStop\", event, filteredUi( ui ) );\n }\n } );\n },\n\n _makeResizable: function() {\n var that = this,\n options = this.options,\n handles = options.resizable,\n\n // .ui-resizable has position: relative defined in the stylesheet\n // but dialogs have to use absolute or fixed positioning\n position = this.uiDialog.css( \"position\" ),\n resizeHandles = typeof handles === \"string\" ?\n handles :\n \"n,e,s,w,se,sw,ne,nw\";\n\n function filteredUi( ui ) {\n return {\n originalPosition: ui.originalPosition,\n originalSize: ui.originalSize,\n position: ui.position,\n size: ui.size\n };\n }\n\n this.uiDialog.resizable( {\n cancel: \".ui-dialog-content\",\n containment: \"document\",\n alsoResize: this.element,\n maxWidth: options.maxWidth,\n maxHeight: options.maxHeight,\n minWidth: options.minWidth,\n minHeight: this._minHeight(),\n handles: resizeHandles,\n start: function( event, ui ) {\n that._addClass( $( this ), \"ui-dialog-resizing\" );\n that._blockFrames();\n that._trigger( \"resizeStart\", event, filteredUi( ui ) );\n },\n resize: function( event, ui ) {\n that._trigger( \"resize\", event, filteredUi( ui ) );\n },\n stop: function( event, ui ) {\n var offset = that.uiDialog.offset(),\n left = offset.left - that.document.scrollLeft(),\n top = offset.top - that.document.scrollTop();\n\n options.height = that.uiDialog.height();\n options.width = that.uiDialog.width();\n options.position = {\n my: \"left top\",\n at: \"left\" + ( left >= 0 ? \"+\" : \"\" ) + left + \" \" +\n \"top\" + ( top >= 0 ? \"+\" : \"\" ) + top,\n of: that.window\n };\n that._removeClass( $( this ), \"ui-dialog-resizing\" );\n that._unblockFrames();\n that._trigger( \"resizeStop\", event, filteredUi( ui ) );\n }\n } )\n .css( \"position\", position );\n },\n\n _trackFocus: function() {\n this._on( this.widget(), {\n focusin: function( event ) {\n this._makeFocusTarget();\n this._focusedElement = $( event.target );\n }\n } );\n },\n\n _makeFocusTarget: function() {\n this._untrackInstance();\n this._trackingInstances().unshift( this );\n },\n\n _untrackInstance: function() {\n var instances = this._trackingInstances(),\n exists = $.inArray( this, instances );\n if ( exists !== -1 ) {\n instances.splice( exists, 1 );\n }\n },\n\n _trackingInstances: function() {\n var instances = this.document.data( \"ui-dialog-instances\" );\n if ( !instances ) {\n instances = [];\n this.document.data( \"ui-dialog-instances\", instances );\n }\n return instances;\n },\n\n _minHeight: function() {\n var options = this.options;\n\n return options.height === \"auto\" ?\n options.minHeight :\n Math.min( options.minHeight, options.height );\n },\n\n _position: function() {\n\n // Need to show the dialog to get the actual offset in the position plugin\n var isVisible = this.uiDialog.is( \":visible\" );\n if ( !isVisible ) {\n this.uiDialog.show();\n }\n this.uiDialog.position( this.options.position );\n if ( !isVisible ) {\n this.uiDialog.hide();\n }\n },\n\n _setOptions: function( options ) {\n var that = this,\n resize = false,\n resizableOptions = {};\n\n $.each( options, function( key, value ) {\n that._setOption( key, value );\n\n if ( key in that.sizeRelatedOptions ) {\n resize = true;\n }\n if ( key in that.resizableRelatedOptions ) {\n resizableOptions[ key ] = value;\n }\n } );\n\n if ( resize ) {\n this._size();\n this._position();\n }\n if ( this.uiDialog.is( \":data(ui-resizable)\" ) ) {\n this.uiDialog.resizable( \"option\", resizableOptions );\n }\n },\n\n _setOption: function( key, value ) {\n var isDraggable, isResizable,\n uiDialog = this.uiDialog;\n\n if ( key === \"disabled\" ) {\n return;\n }\n\n this._super( key, value );\n\n if ( key === \"appendTo\" ) {\n this.uiDialog.appendTo( this._appendTo() );\n }\n\n if ( key === \"buttons\" ) {\n this._createButtons();\n }\n\n if ( key === \"closeText\" ) {\n this.uiDialogTitlebarClose.button( {\n\n // Ensure that we always pass a string\n label: $( \"<a>\" ).text( \"\" + this.options.closeText ).html()\n } );\n }\n\n if ( key === \"draggable\" ) {\n isDraggable = uiDialog.is( \":data(ui-draggable)\" );\n if ( isDraggable && !value ) {\n uiDialog.draggable( \"destroy\" );\n }\n\n if ( !isDraggable && value ) {\n this._makeDraggable();\n }\n }\n\n if ( key === \"position\" ) {\n this._position();\n }\n\n if ( key === \"resizable\" ) {\n\n // currently resizable, becoming non-resizable\n isResizable = uiDialog.is( \":data(ui-resizable)\" );\n if ( isResizable && !value ) {\n uiDialog.resizable( \"destroy\" );\n }\n\n // Currently resizable, changing handles\n if ( isResizable && typeof value === \"string\" ) {\n uiDialog.resizable( \"option\", \"handles\", value );\n }\n\n // Currently non-resizable, becoming resizable\n if ( !isResizable && value !== false ) {\n this._makeResizable();\n }\n }\n\n if ( key === \"title\" ) {\n this._title( this.uiDialogTitlebar.find( \".ui-dialog-title\" ) );\n }\n },\n\n _size: function() {\n\n // If the user has resized the dialog, the .ui-dialog and .ui-dialog-content\n // divs will both have width and height set, so we need to reset them\n var nonContentHeight, minContentHeight, maxContentHeight,\n options = this.options;\n\n // Reset content sizing\n this.element.show().css( {\n width: \"auto\",\n minHeight: 0,\n maxHeight: \"none\",\n height: 0\n } );\n\n if ( options.minWidth > options.width ) {\n options.width = options.minWidth;\n }\n\n // Reset wrapper sizing\n // determine the height of all the non-content elements\n nonContentHeight = this.uiDialog.css( {\n height: \"auto\",\n width: options.width\n } )\n .outerHeight();\n minContentHeight = Math.max( 0, options.minHeight - nonContentHeight );\n maxContentHeight = typeof options.maxHeight === \"number\" ?\n Math.max( 0, options.maxHeight - nonContentHeight ) :\n \"none\";\n\n if ( options.height === \"auto\" ) {\n this.element.css( {\n minHeight: minContentHeight,\n maxHeight: maxContentHeight,\n height: \"auto\"\n } );\n } else {\n this.element.height( Math.max( 0, options.height - nonContentHeight ) );\n }\n\n if ( this.uiDialog.is( \":data(ui-resizable)\" ) ) {\n this.uiDialog.resizable( \"option\", \"minHeight\", this._minHeight() );\n }\n },\n\n _blockFrames: function() {\n this.iframeBlocks = this.document.find( \"iframe\" ).map( function() {\n var iframe = $( this );\n\n return $( \"<div>\" )\n .css( {\n position: \"absolute\",\n width: iframe.outerWidth(),\n height: iframe.outerHeight()\n } )\n .appendTo( iframe.parent() )\n .offset( iframe.offset() )[ 0 ];\n } );\n },\n\n _unblockFrames: function() {\n if ( this.iframeBlocks ) {\n this.iframeBlocks.remove();\n delete this.iframeBlocks;\n }\n },\n\n _allowInteraction: function( event ) {\n if ( $( event.target ).closest( \".ui-dialog\" ).length ) {\n return true;\n }\n\n // TODO: Remove hack when datepicker implements\n // the .ui-front logic (#8989)\n return !!$( event.target ).closest( \".ui-datepicker\" ).length;\n },\n\n _createOverlay: function() {\n if ( !this.options.modal ) {\n return;\n }\n\n var jqMinor = $.fn.jquery.substring( 0, 4 );\n\n // We use a delay in case the overlay is created from an\n // event that we're going to be cancelling (#2804)\n var isOpening = true;\n this._delay( function() {\n isOpening = false;\n } );\n\n if ( !this.document.data( \"ui-dialog-overlays\" ) ) {\n\n // Prevent use of anchors and inputs\n // This doesn't use `_on()` because it is a shared event handler\n // across all open modal dialogs.\n this.document.on( \"focusin.ui-dialog\", function( event ) {\n if ( isOpening ) {\n return;\n }\n\n var instance = this._trackingInstances()[ 0 ];\n if ( !instance._allowInteraction( event ) ) {\n event.preventDefault();\n instance._focusTabbable();\n\n // Support: jQuery >=3.4 <3.6 only\n // Focus re-triggering in jQuery 3.4/3.5 makes the original element\n // have its focus event propagated last, breaking the re-targeting.\n // Trigger focus in a delay in addition if needed to avoid the issue\n // See https://github.com/jquery/jquery/issues/4382\n if ( jqMinor === \"3.4.\" || jqMinor === \"3.5.\" ) {\n instance._delay( instance._restoreTabbableFocus );\n }\n }\n }.bind( this ) );\n }\n\n this.overlay = $( \"<div>\" )\n .appendTo( this._appendTo() );\n\n this._addClass( this.overlay, null, \"ui-widget-overlay ui-front\" );\n this._on( this.overlay, {\n mousedown: \"_keepFocus\"\n } );\n this.document.data( \"ui-dialog-overlays\",\n ( this.document.data( \"ui-dialog-overlays\" ) || 0 ) + 1 );\n },\n\n _destroyOverlay: function() {\n if ( !this.options.modal ) {\n return;\n }\n\n if ( this.overlay ) {\n var overlays = this.document.data( \"ui-dialog-overlays\" ) - 1;\n\n if ( !overlays ) {\n this.document.off( \"focusin.ui-dialog\" );\n this.document.removeData( \"ui-dialog-overlays\" );\n } else {\n this.document.data( \"ui-dialog-overlays\", overlays );\n }\n\n this.overlay.remove();\n this.overlay = null;\n }\n }\n } );\n\n// DEPRECATED\n// TODO: switch return back to widget declaration at top of file when this is removed\n if ( $.uiBackCompat !== false ) {\n\n // Backcompat for dialogClass option\n $.widget( \"ui.dialog\", $.ui.dialog, {\n options: {\n dialogClass: \"\"\n },\n _createWrapper: function() {\n this._super();\n this.uiDialog.addClass( this.options.dialogClass );\n },\n _setOption: function( key, value ) {\n if ( key === \"dialogClass\" ) {\n this.uiDialog\n .removeClass( this.options.dialogClass )\n .addClass( value );\n }\n this._superApply( arguments );\n }\n } );\n }\n\n return $.ui.dialog;\n\n} );\n","jquery/ui-modules/widgets/datepicker.js":"/* eslint-disable max-len, camelcase */\n/*!\n * jQuery UI Datepicker 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Datepicker\n//>>group: Widgets\n//>>description: Displays a calendar from an input or inline for selecting dates.\n//>>docs: http://api.jqueryui.com/datepicker/\n//>>demos: http://jqueryui.com/datepicker/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/datepicker.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../keycode\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.extend( $.ui, { datepicker: { version: \"1.13.2\" } } );\n\n var datepicker_instActive;\n\n function datepicker_getZindex( elem ) {\n var position, value;\n while ( elem.length && elem[ 0 ] !== document ) {\n\n // Ignore z-index if position is set to a value where z-index is ignored by the browser\n // This makes behavior of this function consistent across browsers\n // WebKit always returns auto if the element is positioned\n position = elem.css( \"position\" );\n if ( position === \"absolute\" || position === \"relative\" || position === \"fixed\" ) {\n\n // IE returns 0 when zIndex is not specified\n // other browsers return a string\n // we ignore the case of nested elements with an explicit value of 0\n // <div style=\"z-index: -10;\"><div style=\"z-index: 0;\"></div></div>\n value = parseInt( elem.css( \"zIndex\" ), 10 );\n if ( !isNaN( value ) && value !== 0 ) {\n return value;\n }\n }\n elem = elem.parent();\n }\n\n return 0;\n }\n\n /* Date picker manager.\n Use the singleton instance of this class, $.datepicker, to interact with the date picker.\n Settings for (groups of) date pickers are maintained in an instance object,\n allowing multiple different settings on the same page. */\n\n function Datepicker() {\n this._curInst = null; // The current instance in use\n this._keyEvent = false; // If the last event was a key event\n this._disabledInputs = []; // List of date picker inputs that have been disabled\n this._datepickerShowing = false; // True if the popup picker is showing , false if not\n this._inDialog = false; // True if showing within a \"dialog\", false if not\n this._mainDivId = \"ui-datepicker-div\"; // The ID of the main datepicker division\n this._inlineClass = \"ui-datepicker-inline\"; // The name of the inline marker class\n this._appendClass = \"ui-datepicker-append\"; // The name of the append marker class\n this._triggerClass = \"ui-datepicker-trigger\"; // The name of the trigger marker class\n this._dialogClass = \"ui-datepicker-dialog\"; // The name of the dialog marker class\n this._disableClass = \"ui-datepicker-disabled\"; // The name of the disabled covering marker class\n this._unselectableClass = \"ui-datepicker-unselectable\"; // The name of the unselectable cell marker class\n this._currentClass = \"ui-datepicker-current-day\"; // The name of the current day marker class\n this._dayOverClass = \"ui-datepicker-days-cell-over\"; // The name of the day hover marker class\n this.regional = []; // Available regional settings, indexed by language code\n this.regional[ \"\" ] = { // Default regional settings\n closeText: \"Done\", // Display text for close link\n prevText: \"Prev\", // Display text for previous month link\n nextText: \"Next\", // Display text for next month link\n currentText: \"Today\", // Display text for current month link\n monthNames: [ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\",\n \"July\", \"August\", \"September\", \"October\", \"November\", \"December\" ], // Names of months for drop-down and formatting\n monthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\" ], // For formatting\n dayNames: [ \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\" ], // For formatting\n dayNamesShort: [ \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\" ], // For formatting\n dayNamesMin: [ \"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\" ], // Column headings for days starting at Sunday\n weekHeader: \"Wk\", // Column header for week of the year\n dateFormat: \"mm/dd/yy\", // See format options on parseDate\n firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...\n isRTL: false, // True if right-to-left language, false if left-to-right\n showMonthAfterYear: false, // True if the year select precedes month, false for month then year\n yearSuffix: \"\", // Additional text to append to the year in the month headers,\n selectMonthLabel: \"Select month\", // Invisible label for month selector\n selectYearLabel: \"Select year\" // Invisible label for year selector\n };\n this._defaults = { // Global defaults for all the date picker instances\n showOn: \"focus\", // \"focus\" for popup on focus,\n // \"button\" for trigger button, or \"both\" for either\n showAnim: \"fadeIn\", // Name of jQuery animation for popup\n showOptions: {}, // Options for enhanced animations\n defaultDate: null, // Used when field is blank: actual date,\n // +/-number for offset from today, null for today\n appendText: \"\", // Display text following the input box, e.g. showing the format\n buttonText: \"...\", // Text for trigger button\n buttonImage: \"\", // URL for trigger button image\n buttonImageOnly: false, // True if the image appears alone, false if it appears on a button\n hideIfNoPrevNext: false, // True to hide next/previous month links\n // if not applicable, false to just disable them\n navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links\n gotoCurrent: false, // True if today link goes back to current selection instead\n changeMonth: false, // True if month can be selected directly, false if only prev/next\n changeYear: false, // True if year can be selected directly, false if only prev/next\n yearRange: \"c-10:c+10\", // Range of years to display in drop-down,\n // either relative to today's year (-nn:+nn), relative to currently displayed year\n // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)\n showOtherMonths: false, // True to show dates in other months, false to leave blank\n selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable\n showWeek: false, // True to show week of the year, false to not show it\n calculateWeek: this.iso8601Week, // How to calculate the week of the year,\n // takes a Date and returns the number of the week for it\n shortYearCutoff: \"+10\", // Short year values < this are in the current century,\n // > this are in the previous century,\n // string value starting with \"+\" for current year + value\n minDate: null, // The earliest selectable date, or null for no limit\n maxDate: null, // The latest selectable date, or null for no limit\n duration: \"fast\", // Duration of display/closure\n beforeShowDay: null, // Function that takes a date and returns an array with\n // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or \"\",\n // [2] = cell title (optional), e.g. $.datepicker.noWeekends\n beforeShow: null, // Function that takes an input field and\n // returns a set of custom settings for the date picker\n onSelect: null, // Define a callback function when a date is selected\n onChangeMonthYear: null, // Define a callback function when the month or year is changed\n onClose: null, // Define a callback function when the datepicker is closed\n onUpdateDatepicker: null, // Define a callback function when the datepicker is updated\n numberOfMonths: 1, // Number of months to show at a time\n showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)\n stepMonths: 1, // Number of months to step back/forward\n stepBigMonths: 12, // Number of months to step back/forward for the big links\n altField: \"\", // Selector for an alternate field to store selected dates into\n altFormat: \"\", // The date format to use for the alternate field\n constrainInput: true, // The input is constrained by the current date format\n showButtonPanel: false, // True to show button panel, false to not show it\n autoSize: false, // True to size the input for the date format, false to leave as is\n disabled: false // The initial disabled state\n };\n $.extend( this._defaults, this.regional[ \"\" ] );\n this.regional.en = $.extend( true, {}, this.regional[ \"\" ] );\n this.regional[ \"en-US\" ] = $.extend( true, {}, this.regional.en );\n this.dpDiv = datepicker_bindHover( $( \"<div id='\" + this._mainDivId + \"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\" ) );\n }\n\n $.extend( Datepicker.prototype, {\n\n /* Class name added to elements to indicate already configured with a date picker. */\n markerClassName: \"hasDatepicker\",\n\n //Keep track of the maximum number of rows displayed (see #7043)\n maxRows: 4,\n\n // TODO rename to \"widget\" when switching to widget factory\n _widgetDatepicker: function() {\n return this.dpDiv;\n },\n\n /* Override the default settings for all instances of the date picker.\n * @param settings object - the new settings to use as defaults (anonymous object)\n * @return the manager object\n */\n setDefaults: function( settings ) {\n datepicker_extendRemove( this._defaults, settings || {} );\n return this;\n },\n\n /* Attach the date picker to a jQuery selection.\n * @param target\telement - the target input field or division or span\n * @param settings object - the new settings to use for this date picker instance (anonymous)\n */\n _attachDatepicker: function( target, settings ) {\n var nodeName, inline, inst;\n nodeName = target.nodeName.toLowerCase();\n inline = ( nodeName === \"div\" || nodeName === \"span\" );\n if ( !target.id ) {\n this.uuid += 1;\n target.id = \"dp\" + this.uuid;\n }\n inst = this._newInst( $( target ), inline );\n inst.settings = $.extend( {}, settings || {} );\n if ( nodeName === \"input\" ) {\n this._connectDatepicker( target, inst );\n } else if ( inline ) {\n this._inlineDatepicker( target, inst );\n }\n },\n\n /* Create a new instance object. */\n _newInst: function( target, inline ) {\n var id = target[ 0 ].id.replace( /([^A-Za-z0-9_\\-])/g, \"\\\\\\\\$1\" ); // escape jQuery meta chars\n return { id: id, input: target, // associated target\n selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection\n drawMonth: 0, drawYear: 0, // month being drawn\n inline: inline, // is datepicker inline or not\n dpDiv: ( !inline ? this.dpDiv : // presentation div\n datepicker_bindHover( $( \"<div class='\" + this._inlineClass + \" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\" ) ) ) };\n },\n\n /* Attach the date picker to an input field. */\n _connectDatepicker: function( target, inst ) {\n var input = $( target );\n inst.append = $( [] );\n inst.trigger = $( [] );\n if ( input.hasClass( this.markerClassName ) ) {\n return;\n }\n this._attachments( input, inst );\n input.addClass( this.markerClassName ).on( \"keydown\", this._doKeyDown ).\n on( \"keypress\", this._doKeyPress ).on( \"keyup\", this._doKeyUp );\n this._autoSize( inst );\n $.data( target, \"datepicker\", inst );\n\n //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)\n if ( inst.settings.disabled ) {\n this._disableDatepicker( target );\n }\n },\n\n /* Make attachments based on settings. */\n _attachments: function( input, inst ) {\n var showOn, buttonText, buttonImage,\n appendText = this._get( inst, \"appendText\" ),\n isRTL = this._get( inst, \"isRTL\" );\n\n if ( inst.append ) {\n inst.append.remove();\n }\n if ( appendText ) {\n inst.append = $( \"<span>\" )\n .addClass( this._appendClass )\n .text( appendText );\n input[ isRTL ? \"before\" : \"after\" ]( inst.append );\n }\n\n input.off( \"focus\", this._showDatepicker );\n\n if ( inst.trigger ) {\n inst.trigger.remove();\n }\n\n showOn = this._get( inst, \"showOn\" );\n if ( showOn === \"focus\" || showOn === \"both\" ) { // pop-up date picker when in the marked field\n input.on( \"focus\", this._showDatepicker );\n }\n if ( showOn === \"button\" || showOn === \"both\" ) { // pop-up date picker when button clicked\n buttonText = this._get( inst, \"buttonText\" );\n buttonImage = this._get( inst, \"buttonImage\" );\n\n if ( this._get( inst, \"buttonImageOnly\" ) ) {\n inst.trigger = $( \"<img>\" )\n .addClass( this._triggerClass )\n .attr( {\n src: buttonImage,\n alt: buttonText,\n title: buttonText\n } );\n } else {\n inst.trigger = $( \"<button type='button'>\" )\n .addClass( this._triggerClass );\n if ( buttonImage ) {\n inst.trigger.html(\n $( \"<img>\" )\n .attr( {\n src: buttonImage,\n alt: buttonText,\n title: buttonText\n } )\n );\n } else {\n inst.trigger.text( buttonText );\n }\n }\n\n input[ isRTL ? \"before\" : \"after\" ]( inst.trigger );\n inst.trigger.on( \"click\", function() {\n if ( $.datepicker._datepickerShowing && $.datepicker._lastInput === input[ 0 ] ) {\n $.datepicker._hideDatepicker();\n } else if ( $.datepicker._datepickerShowing && $.datepicker._lastInput !== input[ 0 ] ) {\n $.datepicker._hideDatepicker();\n $.datepicker._showDatepicker( input[ 0 ] );\n } else {\n $.datepicker._showDatepicker( input[ 0 ] );\n }\n return false;\n } );\n }\n },\n\n /* Apply the maximum length for the date format. */\n _autoSize: function( inst ) {\n if ( this._get( inst, \"autoSize\" ) && !inst.inline ) {\n var findMax, max, maxI, i,\n date = new Date( 2009, 12 - 1, 20 ), // Ensure double digits\n dateFormat = this._get( inst, \"dateFormat\" );\n\n if ( dateFormat.match( /[DM]/ ) ) {\n findMax = function( names ) {\n max = 0;\n maxI = 0;\n for ( i = 0; i < names.length; i++ ) {\n if ( names[ i ].length > max ) {\n max = names[ i ].length;\n maxI = i;\n }\n }\n return maxI;\n };\n date.setMonth( findMax( this._get( inst, ( dateFormat.match( /MM/ ) ?\n \"monthNames\" : \"monthNamesShort\" ) ) ) );\n date.setDate( findMax( this._get( inst, ( dateFormat.match( /DD/ ) ?\n \"dayNames\" : \"dayNamesShort\" ) ) ) + 20 - date.getDay() );\n }\n inst.input.attr( \"size\", this._formatDate( inst, date ).length );\n }\n },\n\n /* Attach an inline date picker to a div. */\n _inlineDatepicker: function( target, inst ) {\n var divSpan = $( target );\n if ( divSpan.hasClass( this.markerClassName ) ) {\n return;\n }\n divSpan.addClass( this.markerClassName ).append( inst.dpDiv );\n $.data( target, \"datepicker\", inst );\n this._setDate( inst, this._getDefaultDate( inst ), true );\n this._updateDatepicker( inst );\n this._updateAlternate( inst );\n\n //If disabled option is true, disable the datepicker before showing it (see ticket #5665)\n if ( inst.settings.disabled ) {\n this._disableDatepicker( target );\n }\n\n // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements\n // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height\n inst.dpDiv.css( \"display\", \"block\" );\n },\n\n /* Pop-up the date picker in a \"dialog\" box.\n * @param input element - ignored\n * @param date\tstring or Date - the initial date to display\n * @param onSelect function - the function to call when a date is selected\n * @param settings object - update the dialog date picker instance's settings (anonymous object)\n * @param pos int[2] - coordinates for the dialog's position within the screen or\n *\t\t\t\t\tevent - with x/y coordinates or\n *\t\t\t\t\tleave empty for default (screen centre)\n * @return the manager object\n */\n _dialogDatepicker: function( input, date, onSelect, settings, pos ) {\n var id, browserWidth, browserHeight, scrollX, scrollY,\n inst = this._dialogInst; // internal instance\n\n if ( !inst ) {\n this.uuid += 1;\n id = \"dp\" + this.uuid;\n this._dialogInput = $( \"<input type='text' id='\" + id +\n \"' style='position: absolute; top: -100px; width: 0px;'/>\" );\n this._dialogInput.on( \"keydown\", this._doKeyDown );\n $( \"body\" ).append( this._dialogInput );\n inst = this._dialogInst = this._newInst( this._dialogInput, false );\n inst.settings = {};\n $.data( this._dialogInput[ 0 ], \"datepicker\", inst );\n }\n datepicker_extendRemove( inst.settings, settings || {} );\n date = ( date && date.constructor === Date ? this._formatDate( inst, date ) : date );\n this._dialogInput.val( date );\n\n this._pos = ( pos ? ( pos.length ? pos : [ pos.pageX, pos.pageY ] ) : null );\n if ( !this._pos ) {\n browserWidth = document.documentElement.clientWidth;\n browserHeight = document.documentElement.clientHeight;\n scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;\n scrollY = document.documentElement.scrollTop || document.body.scrollTop;\n this._pos = // should use actual width/height below\n [ ( browserWidth / 2 ) - 100 + scrollX, ( browserHeight / 2 ) - 150 + scrollY ];\n }\n\n // Move input on screen for focus, but hidden behind dialog\n this._dialogInput.css( \"left\", ( this._pos[ 0 ] + 20 ) + \"px\" ).css( \"top\", this._pos[ 1 ] + \"px\" );\n inst.settings.onSelect = onSelect;\n this._inDialog = true;\n this.dpDiv.addClass( this._dialogClass );\n this._showDatepicker( this._dialogInput[ 0 ] );\n if ( $.blockUI ) {\n $.blockUI( this.dpDiv );\n }\n $.data( this._dialogInput[ 0 ], \"datepicker\", inst );\n return this;\n },\n\n /* Detach a datepicker from its control.\n * @param target\telement - the target input field or division or span\n */\n _destroyDatepicker: function( target ) {\n var nodeName,\n $target = $( target ),\n inst = $.data( target, \"datepicker\" );\n\n if ( !$target.hasClass( this.markerClassName ) ) {\n return;\n }\n\n nodeName = target.nodeName.toLowerCase();\n $.removeData( target, \"datepicker\" );\n if ( nodeName === \"input\" ) {\n inst.append.remove();\n inst.trigger.remove();\n $target.removeClass( this.markerClassName ).\n off( \"focus\", this._showDatepicker ).\n off( \"keydown\", this._doKeyDown ).\n off( \"keypress\", this._doKeyPress ).\n off( \"keyup\", this._doKeyUp );\n } else if ( nodeName === \"div\" || nodeName === \"span\" ) {\n $target.removeClass( this.markerClassName ).empty();\n }\n\n if ( datepicker_instActive === inst ) {\n datepicker_instActive = null;\n this._curInst = null;\n }\n },\n\n /* Enable the date picker to a jQuery selection.\n * @param target\telement - the target input field or division or span\n */\n _enableDatepicker: function( target ) {\n var nodeName, inline,\n $target = $( target ),\n inst = $.data( target, \"datepicker\" );\n\n if ( !$target.hasClass( this.markerClassName ) ) {\n return;\n }\n\n nodeName = target.nodeName.toLowerCase();\n if ( nodeName === \"input\" ) {\n target.disabled = false;\n inst.trigger.filter( \"button\" ).\n each( function() {\n this.disabled = false;\n } ).end().\n filter( \"img\" ).css( { opacity: \"1.0\", cursor: \"\" } );\n } else if ( nodeName === \"div\" || nodeName === \"span\" ) {\n inline = $target.children( \".\" + this._inlineClass );\n inline.children().removeClass( \"ui-state-disabled\" );\n inline.find( \"select.ui-datepicker-month, select.ui-datepicker-year\" ).\n prop( \"disabled\", false );\n }\n this._disabledInputs = $.map( this._disabledInputs,\n\n // Delete entry\n function( value ) {\n return ( value === target ? null : value );\n } );\n },\n\n /* Disable the date picker to a jQuery selection.\n * @param target\telement - the target input field or division or span\n */\n _disableDatepicker: function( target ) {\n var nodeName, inline,\n $target = $( target ),\n inst = $.data( target, \"datepicker\" );\n\n if ( !$target.hasClass( this.markerClassName ) ) {\n return;\n }\n\n nodeName = target.nodeName.toLowerCase();\n if ( nodeName === \"input\" ) {\n target.disabled = true;\n inst.trigger.filter( \"button\" ).\n each( function() {\n this.disabled = true;\n } ).end().\n filter( \"img\" ).css( { opacity: \"0.5\", cursor: \"default\" } );\n } else if ( nodeName === \"div\" || nodeName === \"span\" ) {\n inline = $target.children( \".\" + this._inlineClass );\n inline.children().addClass( \"ui-state-disabled\" );\n inline.find( \"select.ui-datepicker-month, select.ui-datepicker-year\" ).\n prop( \"disabled\", true );\n }\n this._disabledInputs = $.map( this._disabledInputs,\n\n // Delete entry\n function( value ) {\n return ( value === target ? null : value );\n } );\n this._disabledInputs[ this._disabledInputs.length ] = target;\n },\n\n /* Is the first field in a jQuery collection disabled as a datepicker?\n * @param target\telement - the target input field or division or span\n * @return boolean - true if disabled, false if enabled\n */\n _isDisabledDatepicker: function( target ) {\n if ( !target ) {\n return false;\n }\n for ( var i = 0; i < this._disabledInputs.length; i++ ) {\n if ( this._disabledInputs[ i ] === target ) {\n return true;\n }\n }\n return false;\n },\n\n /* Retrieve the instance data for the target control.\n * @param target element - the target input field or division or span\n * @return object - the associated instance data\n * @throws error if a jQuery problem getting data\n */\n _getInst: function( target ) {\n try {\n return $.data( target, \"datepicker\" );\n } catch ( err ) {\n throw \"Missing instance data for this datepicker\";\n }\n },\n\n /* Update or retrieve the settings for a date picker attached to an input field or division.\n * @param target element - the target input field or division or span\n * @param name\tobject - the new settings to update or\n *\t\t\t\tstring - the name of the setting to change or retrieve,\n *\t\t\t\twhen retrieving also \"all\" for all instance settings or\n *\t\t\t\t\"defaults\" for all global defaults\n * @param value any - the new value for the setting\n *\t\t\t\t(omit if above is an object or to retrieve a value)\n */\n _optionDatepicker: function( target, name, value ) {\n var settings, date, minDate, maxDate,\n inst = this._getInst( target );\n\n if ( arguments.length === 2 && typeof name === \"string\" ) {\n return ( name === \"defaults\" ? $.extend( {}, $.datepicker._defaults ) :\n ( inst ? ( name === \"all\" ? $.extend( {}, inst.settings ) :\n this._get( inst, name ) ) : null ) );\n }\n\n settings = name || {};\n if ( typeof name === \"string\" ) {\n settings = {};\n settings[ name ] = value;\n }\n\n if ( inst ) {\n if ( this._curInst === inst ) {\n this._hideDatepicker();\n }\n\n date = this._getDateDatepicker( target, true );\n minDate = this._getMinMaxDate( inst, \"min\" );\n maxDate = this._getMinMaxDate( inst, \"max\" );\n datepicker_extendRemove( inst.settings, settings );\n\n // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided\n if ( minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined ) {\n inst.settings.minDate = this._formatDate( inst, minDate );\n }\n if ( maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined ) {\n inst.settings.maxDate = this._formatDate( inst, maxDate );\n }\n if ( \"disabled\" in settings ) {\n if ( settings.disabled ) {\n this._disableDatepicker( target );\n } else {\n this._enableDatepicker( target );\n }\n }\n this._attachments( $( target ), inst );\n this._autoSize( inst );\n this._setDate( inst, date );\n this._updateAlternate( inst );\n this._updateDatepicker( inst );\n }\n },\n\n // Change method deprecated\n _changeDatepicker: function( target, name, value ) {\n this._optionDatepicker( target, name, value );\n },\n\n /* Redraw the date picker attached to an input field or division.\n * @param target element - the target input field or division or span\n */\n _refreshDatepicker: function( target ) {\n var inst = this._getInst( target );\n if ( inst ) {\n this._updateDatepicker( inst );\n }\n },\n\n /* Set the dates for a jQuery selection.\n * @param target element - the target input field or division or span\n * @param date\tDate - the new date\n */\n _setDateDatepicker: function( target, date ) {\n var inst = this._getInst( target );\n if ( inst ) {\n this._setDate( inst, date );\n this._updateDatepicker( inst );\n this._updateAlternate( inst );\n }\n },\n\n /* Get the date(s) for the first entry in a jQuery selection.\n * @param target element - the target input field or division or span\n * @param noDefault boolean - true if no default date is to be used\n * @return Date - the current date\n */\n _getDateDatepicker: function( target, noDefault ) {\n var inst = this._getInst( target );\n if ( inst && !inst.inline ) {\n this._setDateFromField( inst, noDefault );\n }\n return ( inst ? this._getDate( inst ) : null );\n },\n\n /* Handle keystrokes. */\n _doKeyDown: function( event ) {\n var onSelect, dateStr, sel,\n inst = $.datepicker._getInst( event.target ),\n handled = true,\n isRTL = inst.dpDiv.is( \".ui-datepicker-rtl\" );\n\n inst._keyEvent = true;\n if ( $.datepicker._datepickerShowing ) {\n switch ( event.keyCode ) {\n case 9: $.datepicker._hideDatepicker();\n handled = false;\n break; // hide on tab out\n case 13: sel = $( \"td.\" + $.datepicker._dayOverClass + \":not(.\" +\n $.datepicker._currentClass + \")\", inst.dpDiv );\n if ( sel[ 0 ] ) {\n $.datepicker._selectDay( event.target, inst.selectedMonth, inst.selectedYear, sel[ 0 ] );\n }\n\n onSelect = $.datepicker._get( inst, \"onSelect\" );\n if ( onSelect ) {\n dateStr = $.datepicker._formatDate( inst );\n\n // Trigger custom callback\n onSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] );\n } else {\n $.datepicker._hideDatepicker();\n }\n\n return false; // don't submit the form\n case 27: $.datepicker._hideDatepicker();\n break; // hide on escape\n case 33: $.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n -$.datepicker._get( inst, \"stepBigMonths\" ) :\n -$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n break; // previous month/year on page up/+ ctrl\n case 34: $.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n +$.datepicker._get( inst, \"stepBigMonths\" ) :\n +$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n break; // next month/year on page down/+ ctrl\n case 35: if ( event.ctrlKey || event.metaKey ) {\n $.datepicker._clearDate( event.target );\n }\n handled = event.ctrlKey || event.metaKey;\n break; // clear on ctrl or command +end\n case 36: if ( event.ctrlKey || event.metaKey ) {\n $.datepicker._gotoToday( event.target );\n }\n handled = event.ctrlKey || event.metaKey;\n break; // current on ctrl or command +home\n case 37: if ( event.ctrlKey || event.metaKey ) {\n $.datepicker._adjustDate( event.target, ( isRTL ? +1 : -1 ), \"D\" );\n }\n handled = event.ctrlKey || event.metaKey;\n\n // -1 day on ctrl or command +left\n if ( event.originalEvent.altKey ) {\n $.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n -$.datepicker._get( inst, \"stepBigMonths\" ) :\n -$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n }\n\n // next month/year on alt +left on Mac\n break;\n case 38: if ( event.ctrlKey || event.metaKey ) {\n $.datepicker._adjustDate( event.target, -7, \"D\" );\n }\n handled = event.ctrlKey || event.metaKey;\n break; // -1 week on ctrl or command +up\n case 39: if ( event.ctrlKey || event.metaKey ) {\n $.datepicker._adjustDate( event.target, ( isRTL ? -1 : +1 ), \"D\" );\n }\n handled = event.ctrlKey || event.metaKey;\n\n // +1 day on ctrl or command +right\n if ( event.originalEvent.altKey ) {\n $.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n +$.datepicker._get( inst, \"stepBigMonths\" ) :\n +$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n }\n\n // next month/year on alt +right\n break;\n case 40: if ( event.ctrlKey || event.metaKey ) {\n $.datepicker._adjustDate( event.target, +7, \"D\" );\n }\n handled = event.ctrlKey || event.metaKey;\n break; // +1 week on ctrl or command +down\n default: handled = false;\n }\n } else if ( event.keyCode === 36 && event.ctrlKey ) { // display the date picker on ctrl+home\n $.datepicker._showDatepicker( this );\n } else {\n handled = false;\n }\n\n if ( handled ) {\n event.preventDefault();\n event.stopPropagation();\n }\n },\n\n /* Filter entered characters - based on date format. */\n _doKeyPress: function( event ) {\n var chars, chr,\n inst = $.datepicker._getInst( event.target );\n\n if ( $.datepicker._get( inst, \"constrainInput\" ) ) {\n chars = $.datepicker._possibleChars( $.datepicker._get( inst, \"dateFormat\" ) );\n chr = String.fromCharCode( event.charCode == null ? event.keyCode : event.charCode );\n return event.ctrlKey || event.metaKey || ( chr < \" \" || !chars || chars.indexOf( chr ) > -1 );\n }\n },\n\n /* Synchronise manual entry and field/alternate field. */\n _doKeyUp: function( event ) {\n var date,\n inst = $.datepicker._getInst( event.target );\n\n if ( inst.input.val() !== inst.lastVal ) {\n try {\n date = $.datepicker.parseDate( $.datepicker._get( inst, \"dateFormat\" ),\n ( inst.input ? inst.input.val() : null ),\n $.datepicker._getFormatConfig( inst ) );\n\n if ( date ) { // only if valid\n $.datepicker._setDateFromField( inst );\n $.datepicker._updateAlternate( inst );\n $.datepicker._updateDatepicker( inst );\n }\n } catch ( err ) {\n }\n }\n return true;\n },\n\n /* Pop-up the date picker for a given input field.\n * If false returned from beforeShow event handler do not show.\n * @param input element - the input field attached to the date picker or\n *\t\t\t\t\tevent - if triggered by focus\n */\n _showDatepicker: function( input ) {\n input = input.target || input;\n if ( input.nodeName.toLowerCase() !== \"input\" ) { // find from button/image trigger\n input = $( \"input\", input.parentNode )[ 0 ];\n }\n\n if ( $.datepicker._isDisabledDatepicker( input ) || $.datepicker._lastInput === input ) { // already here\n return;\n }\n\n var inst, beforeShow, beforeShowSettings, isFixed,\n offset, showAnim, duration;\n\n inst = $.datepicker._getInst( input );\n if ( $.datepicker._curInst && $.datepicker._curInst !== inst ) {\n $.datepicker._curInst.dpDiv.stop( true, true );\n if ( inst && $.datepicker._datepickerShowing ) {\n $.datepicker._hideDatepicker( $.datepicker._curInst.input[ 0 ] );\n }\n }\n\n beforeShow = $.datepicker._get( inst, \"beforeShow\" );\n beforeShowSettings = beforeShow ? beforeShow.apply( input, [ input, inst ] ) : {};\n if ( beforeShowSettings === false ) {\n return;\n }\n datepicker_extendRemove( inst.settings, beforeShowSettings );\n\n inst.lastVal = null;\n $.datepicker._lastInput = input;\n $.datepicker._setDateFromField( inst );\n\n if ( $.datepicker._inDialog ) { // hide cursor\n input.value = \"\";\n }\n if ( !$.datepicker._pos ) { // position below input\n $.datepicker._pos = $.datepicker._findPos( input );\n $.datepicker._pos[ 1 ] += input.offsetHeight; // add the height\n }\n\n isFixed = false;\n $( input ).parents().each( function() {\n isFixed |= $( this ).css( \"position\" ) === \"fixed\";\n return !isFixed;\n } );\n\n offset = { left: $.datepicker._pos[ 0 ], top: $.datepicker._pos[ 1 ] };\n $.datepicker._pos = null;\n\n //to avoid flashes on Firefox\n inst.dpDiv.empty();\n\n // determine sizing offscreen\n inst.dpDiv.css( { position: \"absolute\", display: \"block\", top: \"-1000px\" } );\n $.datepicker._updateDatepicker( inst );\n\n // fix width for dynamic number of date pickers\n // and adjust position before showing\n offset = $.datepicker._checkOffset( inst, offset, isFixed );\n inst.dpDiv.css( { position: ( $.datepicker._inDialog && $.blockUI ?\n \"static\" : ( isFixed ? \"fixed\" : \"absolute\" ) ), display: \"none\",\n left: offset.left + \"px\", top: offset.top + \"px\" } );\n\n if ( !inst.inline ) {\n showAnim = $.datepicker._get( inst, \"showAnim\" );\n duration = $.datepicker._get( inst, \"duration\" );\n inst.dpDiv.css( \"z-index\", datepicker_getZindex( $( input ) ) + 1 );\n $.datepicker._datepickerShowing = true;\n\n if ( $.effects && $.effects.effect[ showAnim ] ) {\n inst.dpDiv.show( showAnim, $.datepicker._get( inst, \"showOptions\" ), duration );\n } else {\n inst.dpDiv[ showAnim || \"show\" ]( showAnim ? duration : null );\n }\n\n if ( $.datepicker._shouldFocusInput( inst ) ) {\n inst.input.trigger( \"focus\" );\n }\n\n $.datepicker._curInst = inst;\n }\n },\n\n /* Generate the date picker content. */\n _updateDatepicker: function( inst ) {\n this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)\n datepicker_instActive = inst; // for delegate hover events\n inst.dpDiv.empty().append( this._generateHTML( inst ) );\n this._attachHandlers( inst );\n\n var origyearshtml,\n numMonths = this._getNumberOfMonths( inst ),\n cols = numMonths[ 1 ],\n width = 17,\n activeCell = inst.dpDiv.find( \".\" + this._dayOverClass + \" a\" ),\n onUpdateDatepicker = $.datepicker._get( inst, \"onUpdateDatepicker\" );\n\n if ( activeCell.length > 0 ) {\n datepicker_handleMouseover.apply( activeCell.get( 0 ) );\n }\n\n inst.dpDiv.removeClass( \"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\" ).width( \"\" );\n if ( cols > 1 ) {\n inst.dpDiv.addClass( \"ui-datepicker-multi-\" + cols ).css( \"width\", ( width * cols ) + \"em\" );\n }\n inst.dpDiv[ ( numMonths[ 0 ] !== 1 || numMonths[ 1 ] !== 1 ? \"add\" : \"remove\" ) +\n \"Class\" ]( \"ui-datepicker-multi\" );\n inst.dpDiv[ ( this._get( inst, \"isRTL\" ) ? \"add\" : \"remove\" ) +\n \"Class\" ]( \"ui-datepicker-rtl\" );\n\n if ( inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) {\n inst.input.trigger( \"focus\" );\n }\n\n // Deffered render of the years select (to avoid flashes on Firefox)\n if ( inst.yearshtml ) {\n origyearshtml = inst.yearshtml;\n setTimeout( function() {\n\n //assure that inst.yearshtml didn't change.\n if ( origyearshtml === inst.yearshtml && inst.yearshtml ) {\n inst.dpDiv.find( \"select.ui-datepicker-year\" ).first().replaceWith( inst.yearshtml );\n }\n origyearshtml = inst.yearshtml = null;\n }, 0 );\n }\n\n if ( onUpdateDatepicker ) {\n onUpdateDatepicker.apply( ( inst.input ? inst.input[ 0 ] : null ), [ inst ] );\n }\n },\n\n // #6694 - don't focus the input if it's already focused\n // this breaks the change event in IE\n // Support: IE and jQuery <1.9\n _shouldFocusInput: function( inst ) {\n return inst.input && inst.input.is( \":visible\" ) && !inst.input.is( \":disabled\" ) && !inst.input.is( \":focus\" );\n },\n\n /* Check positioning to remain on screen. */\n _checkOffset: function( inst, offset, isFixed ) {\n var dpWidth = inst.dpDiv.outerWidth(),\n dpHeight = inst.dpDiv.outerHeight(),\n inputWidth = inst.input ? inst.input.outerWidth() : 0,\n inputHeight = inst.input ? inst.input.outerHeight() : 0,\n viewWidth = document.documentElement.clientWidth + ( isFixed ? 0 : $( document ).scrollLeft() ),\n viewHeight = document.documentElement.clientHeight + ( isFixed ? 0 : $( document ).scrollTop() );\n\n offset.left -= ( this._get( inst, \"isRTL\" ) ? ( dpWidth - inputWidth ) : 0 );\n offset.left -= ( isFixed && offset.left === inst.input.offset().left ) ? $( document ).scrollLeft() : 0;\n offset.top -= ( isFixed && offset.top === ( inst.input.offset().top + inputHeight ) ) ? $( document ).scrollTop() : 0;\n\n // Now check if datepicker is showing outside window viewport - move to a better place if so.\n offset.left -= Math.min( offset.left, ( offset.left + dpWidth > viewWidth && viewWidth > dpWidth ) ?\n Math.abs( offset.left + dpWidth - viewWidth ) : 0 );\n offset.top -= Math.min( offset.top, ( offset.top + dpHeight > viewHeight && viewHeight > dpHeight ) ?\n Math.abs( dpHeight + inputHeight ) : 0 );\n\n return offset;\n },\n\n /* Find an object's position on the screen. */\n _findPos: function( obj ) {\n var position,\n inst = this._getInst( obj ),\n isRTL = this._get( inst, \"isRTL\" );\n\n while ( obj && ( obj.type === \"hidden\" || obj.nodeType !== 1 || $.expr.pseudos.hidden( obj ) ) ) {\n obj = obj[ isRTL ? \"previousSibling\" : \"nextSibling\" ];\n }\n\n position = $( obj ).offset();\n return [ position.left, position.top ];\n },\n\n /* Hide the date picker from view.\n * @param input element - the input field attached to the date picker\n */\n _hideDatepicker: function( input ) {\n var showAnim, duration, postProcess, onClose,\n inst = this._curInst;\n\n if ( !inst || ( input && inst !== $.data( input, \"datepicker\" ) ) ) {\n return;\n }\n\n if ( this._datepickerShowing ) {\n showAnim = this._get( inst, \"showAnim\" );\n duration = this._get( inst, \"duration\" );\n postProcess = function() {\n $.datepicker._tidyDialog( inst );\n };\n\n // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed\n if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {\n inst.dpDiv.hide( showAnim, $.datepicker._get( inst, \"showOptions\" ), duration, postProcess );\n } else {\n inst.dpDiv[ ( showAnim === \"slideDown\" ? \"slideUp\" :\n ( showAnim === \"fadeIn\" ? \"fadeOut\" : \"hide\" ) ) ]( ( showAnim ? duration : null ), postProcess );\n }\n\n if ( !showAnim ) {\n postProcess();\n }\n this._datepickerShowing = false;\n\n onClose = this._get( inst, \"onClose\" );\n if ( onClose ) {\n onClose.apply( ( inst.input ? inst.input[ 0 ] : null ), [ ( inst.input ? inst.input.val() : \"\" ), inst ] );\n }\n\n this._lastInput = null;\n if ( this._inDialog ) {\n this._dialogInput.css( { position: \"absolute\", left: \"0\", top: \"-100px\" } );\n if ( $.blockUI ) {\n $.unblockUI();\n $( \"body\" ).append( this.dpDiv );\n }\n }\n this._inDialog = false;\n }\n },\n\n /* Tidy up after a dialog display. */\n _tidyDialog: function( inst ) {\n inst.dpDiv.removeClass( this._dialogClass ).off( \".ui-datepicker-calendar\" );\n },\n\n /* Close date picker if clicked elsewhere. */\n _checkExternalClick: function( event ) {\n if ( !$.datepicker._curInst ) {\n return;\n }\n\n var $target = $( event.target ),\n inst = $.datepicker._getInst( $target[ 0 ] );\n\n if ( ( ( $target[ 0 ].id !== $.datepicker._mainDivId &&\n $target.parents( \"#\" + $.datepicker._mainDivId ).length === 0 &&\n !$target.hasClass( $.datepicker.markerClassName ) &&\n !$target.closest( \".\" + $.datepicker._triggerClass ).length &&\n $.datepicker._datepickerShowing && !( $.datepicker._inDialog && $.blockUI ) ) ) ||\n ( $target.hasClass( $.datepicker.markerClassName ) && $.datepicker._curInst !== inst ) ) {\n $.datepicker._hideDatepicker();\n }\n },\n\n /* Adjust one of the date sub-fields. */\n _adjustDate: function( id, offset, period ) {\n var target = $( id ),\n inst = this._getInst( target[ 0 ] );\n\n if ( this._isDisabledDatepicker( target[ 0 ] ) ) {\n return;\n }\n this._adjustInstDate( inst, offset, period );\n this._updateDatepicker( inst );\n },\n\n /* Action for current link. */\n _gotoToday: function( id ) {\n var date,\n target = $( id ),\n inst = this._getInst( target[ 0 ] );\n\n if ( this._get( inst, \"gotoCurrent\" ) && inst.currentDay ) {\n inst.selectedDay = inst.currentDay;\n inst.drawMonth = inst.selectedMonth = inst.currentMonth;\n inst.drawYear = inst.selectedYear = inst.currentYear;\n } else {\n date = new Date();\n inst.selectedDay = date.getDate();\n inst.drawMonth = inst.selectedMonth = date.getMonth();\n inst.drawYear = inst.selectedYear = date.getFullYear();\n }\n this._notifyChange( inst );\n this._adjustDate( target );\n },\n\n /* Action for selecting a new month/year. */\n _selectMonthYear: function( id, select, period ) {\n var target = $( id ),\n inst = this._getInst( target[ 0 ] );\n\n inst[ \"selected\" + ( period === \"M\" ? \"Month\" : \"Year\" ) ] =\n inst[ \"draw\" + ( period === \"M\" ? \"Month\" : \"Year\" ) ] =\n parseInt( select.options[ select.selectedIndex ].value, 10 );\n\n this._notifyChange( inst );\n this._adjustDate( target );\n },\n\n /* Action for selecting a day. */\n _selectDay: function( id, month, year, td ) {\n var inst,\n target = $( id );\n\n if ( $( td ).hasClass( this._unselectableClass ) || this._isDisabledDatepicker( target[ 0 ] ) ) {\n return;\n }\n\n inst = this._getInst( target[ 0 ] );\n inst.selectedDay = inst.currentDay = parseInt( $( \"a\", td ).attr( \"data-date\" ) );\n inst.selectedMonth = inst.currentMonth = month;\n inst.selectedYear = inst.currentYear = year;\n this._selectDate( id, this._formatDate( inst,\n inst.currentDay, inst.currentMonth, inst.currentYear ) );\n },\n\n /* Erase the input field and hide the date picker. */\n _clearDate: function( id ) {\n var target = $( id );\n this._selectDate( target, \"\" );\n },\n\n /* Update the input field with the selected date. */\n _selectDate: function( id, dateStr ) {\n var onSelect,\n target = $( id ),\n inst = this._getInst( target[ 0 ] );\n\n dateStr = ( dateStr != null ? dateStr : this._formatDate( inst ) );\n if ( inst.input ) {\n inst.input.val( dateStr );\n }\n this._updateAlternate( inst );\n\n onSelect = this._get( inst, \"onSelect\" );\n if ( onSelect ) {\n onSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] ); // trigger custom callback\n } else if ( inst.input ) {\n inst.input.trigger( \"change\" ); // fire the change event\n }\n\n if ( inst.inline ) {\n this._updateDatepicker( inst );\n } else {\n this._hideDatepicker();\n this._lastInput = inst.input[ 0 ];\n if ( typeof( inst.input[ 0 ] ) !== \"object\" ) {\n inst.input.trigger( \"focus\" ); // restore focus\n }\n this._lastInput = null;\n }\n },\n\n /* Update any alternate field to synchronise with the main field. */\n _updateAlternate: function( inst ) {\n var altFormat, date, dateStr,\n altField = this._get( inst, \"altField\" );\n\n if ( altField ) { // update alternate field too\n altFormat = this._get( inst, \"altFormat\" ) || this._get( inst, \"dateFormat\" );\n date = this._getDate( inst );\n dateStr = this.formatDate( altFormat, date, this._getFormatConfig( inst ) );\n $( document ).find( altField ).val( dateStr );\n }\n },\n\n /* Set as beforeShowDay function to prevent selection of weekends.\n * @param date Date - the date to customise\n * @return [boolean, string] - is this date selectable?, what is its CSS class?\n */\n noWeekends: function( date ) {\n var day = date.getDay();\n return [ ( day > 0 && day < 6 ), \"\" ];\n },\n\n /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.\n * @param date Date - the date to get the week for\n * @return number - the number of the week within the year that contains this date\n */\n iso8601Week: function( date ) {\n var time,\n checkDate = new Date( date.getTime() );\n\n // Find Thursday of this week starting on Monday\n checkDate.setDate( checkDate.getDate() + 4 - ( checkDate.getDay() || 7 ) );\n\n time = checkDate.getTime();\n checkDate.setMonth( 0 ); // Compare with Jan 1\n checkDate.setDate( 1 );\n return Math.floor( Math.round( ( time - checkDate ) / 86400000 ) / 7 ) + 1;\n },\n\n /* Parse a string value into a date object.\n * See formatDate below for the possible formats.\n *\n * @param format string - the expected format of the date\n * @param value string - the date in the above format\n * @param settings Object - attributes include:\n *\t\t\t\t\tshortYearCutoff number - the cutoff year for determining the century (optional)\n *\t\t\t\t\tdayNamesShort\tstring[7] - abbreviated names of the days from Sunday (optional)\n *\t\t\t\t\tdayNames\t\tstring[7] - names of the days from Sunday (optional)\n *\t\t\t\t\tmonthNamesShort string[12] - abbreviated names of the months (optional)\n *\t\t\t\t\tmonthNames\t\tstring[12] - names of the months (optional)\n * @return Date - the extracted date value or null if value is blank\n */\n parseDate: function( format, value, settings ) {\n if ( format == null || value == null ) {\n throw \"Invalid arguments\";\n }\n\n value = ( typeof value === \"object\" ? value.toString() : value + \"\" );\n if ( value === \"\" ) {\n return null;\n }\n\n var iFormat, dim, extra,\n iValue = 0,\n shortYearCutoffTemp = ( settings ? settings.shortYearCutoff : null ) || this._defaults.shortYearCutoff,\n shortYearCutoff = ( typeof shortYearCutoffTemp !== \"string\" ? shortYearCutoffTemp :\n new Date().getFullYear() % 100 + parseInt( shortYearCutoffTemp, 10 ) ),\n dayNamesShort = ( settings ? settings.dayNamesShort : null ) || this._defaults.dayNamesShort,\n dayNames = ( settings ? settings.dayNames : null ) || this._defaults.dayNames,\n monthNamesShort = ( settings ? settings.monthNamesShort : null ) || this._defaults.monthNamesShort,\n monthNames = ( settings ? settings.monthNames : null ) || this._defaults.monthNames,\n year = -1,\n month = -1,\n day = -1,\n doy = -1,\n literal = false,\n date,\n\n // Check whether a format character is doubled\n lookAhead = function( match ) {\n var matches = ( iFormat + 1 < format.length && format.charAt( iFormat + 1 ) === match );\n if ( matches ) {\n iFormat++;\n }\n return matches;\n },\n\n // Extract a number from the string value\n getNumber = function( match ) {\n var isDoubled = lookAhead( match ),\n size = ( match === \"@\" ? 14 : ( match === \"!\" ? 20 :\n ( match === \"y\" && isDoubled ? 4 : ( match === \"o\" ? 3 : 2 ) ) ) ),\n minSize = ( match === \"y\" ? size : 1 ),\n digits = new RegExp( \"^\\\\d{\" + minSize + \",\" + size + \"}\" ),\n num = value.substring( iValue ).match( digits );\n if ( !num ) {\n throw \"Missing number at position \" + iValue;\n }\n iValue += num[ 0 ].length;\n return parseInt( num[ 0 ], 10 );\n },\n\n // Extract a name from the string value and convert to an index\n getName = function( match, shortNames, longNames ) {\n var index = -1,\n names = $.map( lookAhead( match ) ? longNames : shortNames, function( v, k ) {\n return [ [ k, v ] ];\n } ).sort( function( a, b ) {\n return -( a[ 1 ].length - b[ 1 ].length );\n } );\n\n $.each( names, function( i, pair ) {\n var name = pair[ 1 ];\n if ( value.substr( iValue, name.length ).toLowerCase() === name.toLowerCase() ) {\n index = pair[ 0 ];\n iValue += name.length;\n return false;\n }\n } );\n if ( index !== -1 ) {\n return index + 1;\n } else {\n throw \"Unknown name at position \" + iValue;\n }\n },\n\n // Confirm that a literal character matches the string value\n checkLiteral = function() {\n if ( value.charAt( iValue ) !== format.charAt( iFormat ) ) {\n throw \"Unexpected literal at position \" + iValue;\n }\n iValue++;\n };\n\n for ( iFormat = 0; iFormat < format.length; iFormat++ ) {\n if ( literal ) {\n if ( format.charAt( iFormat ) === \"'\" && !lookAhead( \"'\" ) ) {\n literal = false;\n } else {\n checkLiteral();\n }\n } else {\n switch ( format.charAt( iFormat ) ) {\n case \"d\":\n day = getNumber( \"d\" );\n break;\n case \"D\":\n getName( \"D\", dayNamesShort, dayNames );\n break;\n case \"o\":\n doy = getNumber( \"o\" );\n break;\n case \"m\":\n month = getNumber( \"m\" );\n break;\n case \"M\":\n month = getName( \"M\", monthNamesShort, monthNames );\n break;\n case \"y\":\n year = getNumber( \"y\" );\n break;\n case \"@\":\n date = new Date( getNumber( \"@\" ) );\n year = date.getFullYear();\n month = date.getMonth() + 1;\n day = date.getDate();\n break;\n case \"!\":\n date = new Date( ( getNumber( \"!\" ) - this._ticksTo1970 ) / 10000 );\n year = date.getFullYear();\n month = date.getMonth() + 1;\n day = date.getDate();\n break;\n case \"'\":\n if ( lookAhead( \"'\" ) ) {\n checkLiteral();\n } else {\n literal = true;\n }\n break;\n default:\n checkLiteral();\n }\n }\n }\n\n if ( iValue < value.length ) {\n extra = value.substr( iValue );\n if ( !/^\\s+/.test( extra ) ) {\n throw \"Extra/unparsed characters found in date: \" + extra;\n }\n }\n\n if ( year === -1 ) {\n year = new Date().getFullYear();\n } else if ( year < 100 ) {\n year += new Date().getFullYear() - new Date().getFullYear() % 100 +\n ( year <= shortYearCutoff ? 0 : -100 );\n }\n\n if ( doy > -1 ) {\n month = 1;\n day = doy;\n do {\n dim = this._getDaysInMonth( year, month - 1 );\n if ( day <= dim ) {\n break;\n }\n month++;\n day -= dim;\n } while ( true );\n }\n\n date = this._daylightSavingAdjust( new Date( year, month - 1, day ) );\n if ( date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day ) {\n throw \"Invalid date\"; // E.g. 31/02/00\n }\n return date;\n },\n\n /* Standard date formats. */\n ATOM: \"yy-mm-dd\", // RFC 3339 (ISO 8601)\n COOKIE: \"D, dd M yy\",\n ISO_8601: \"yy-mm-dd\",\n RFC_822: \"D, d M y\",\n RFC_850: \"DD, dd-M-y\",\n RFC_1036: \"D, d M y\",\n RFC_1123: \"D, d M yy\",\n RFC_2822: \"D, d M yy\",\n RSS: \"D, d M y\", // RFC 822\n TICKS: \"!\",\n TIMESTAMP: \"@\",\n W3C: \"yy-mm-dd\", // ISO 8601\n\n _ticksTo1970: ( ( ( 1970 - 1 ) * 365 + Math.floor( 1970 / 4 ) - Math.floor( 1970 / 100 ) +\n Math.floor( 1970 / 400 ) ) * 24 * 60 * 60 * 10000000 ),\n\n /* Format a date object into a string value.\n * The format can be combinations of the following:\n * d - day of month (no leading zero)\n * dd - day of month (two digit)\n * o - day of year (no leading zeros)\n * oo - day of year (three digit)\n * D - day name short\n * DD - day name long\n * m - month of year (no leading zero)\n * mm - month of year (two digit)\n * M - month name short\n * MM - month name long\n * y - year (two digit)\n * yy - year (four digit)\n * @ - Unix timestamp (ms since 01/01/1970)\n * ! - Windows ticks (100ns since 01/01/0001)\n * \"...\" - literal text\n * '' - single quote\n *\n * @param format string - the desired format of the date\n * @param date Date - the date value to format\n * @param settings Object - attributes include:\n *\t\t\t\t\tdayNamesShort\tstring[7] - abbreviated names of the days from Sunday (optional)\n *\t\t\t\t\tdayNames\t\tstring[7] - names of the days from Sunday (optional)\n *\t\t\t\t\tmonthNamesShort string[12] - abbreviated names of the months (optional)\n *\t\t\t\t\tmonthNames\t\tstring[12] - names of the months (optional)\n * @return string - the date in the above format\n */\n formatDate: function( format, date, settings ) {\n if ( !date ) {\n return \"\";\n }\n\n var iFormat,\n dayNamesShort = ( settings ? settings.dayNamesShort : null ) || this._defaults.dayNamesShort,\n dayNames = ( settings ? settings.dayNames : null ) || this._defaults.dayNames,\n monthNamesShort = ( settings ? settings.monthNamesShort : null ) || this._defaults.monthNamesShort,\n monthNames = ( settings ? settings.monthNames : null ) || this._defaults.monthNames,\n\n // Check whether a format character is doubled\n lookAhead = function( match ) {\n var matches = ( iFormat + 1 < format.length && format.charAt( iFormat + 1 ) === match );\n if ( matches ) {\n iFormat++;\n }\n return matches;\n },\n\n // Format a number, with leading zero if necessary\n formatNumber = function( match, value, len ) {\n var num = \"\" + value;\n if ( lookAhead( match ) ) {\n while ( num.length < len ) {\n num = \"0\" + num;\n }\n }\n return num;\n },\n\n // Format a name, short or long as requested\n formatName = function( match, value, shortNames, longNames ) {\n return ( lookAhead( match ) ? longNames[ value ] : shortNames[ value ] );\n },\n output = \"\",\n literal = false;\n\n if ( date ) {\n for ( iFormat = 0; iFormat < format.length; iFormat++ ) {\n if ( literal ) {\n if ( format.charAt( iFormat ) === \"'\" && !lookAhead( \"'\" ) ) {\n literal = false;\n } else {\n output += format.charAt( iFormat );\n }\n } else {\n switch ( format.charAt( iFormat ) ) {\n case \"d\":\n output += formatNumber( \"d\", date.getDate(), 2 );\n break;\n case \"D\":\n output += formatName( \"D\", date.getDay(), dayNamesShort, dayNames );\n break;\n case \"o\":\n output += formatNumber( \"o\",\n Math.round( ( new Date( date.getFullYear(), date.getMonth(), date.getDate() ).getTime() - new Date( date.getFullYear(), 0, 0 ).getTime() ) / 86400000 ), 3 );\n break;\n case \"m\":\n output += formatNumber( \"m\", date.getMonth() + 1, 2 );\n break;\n case \"M\":\n output += formatName( \"M\", date.getMonth(), monthNamesShort, monthNames );\n break;\n case \"y\":\n output += ( lookAhead( \"y\" ) ? date.getFullYear() :\n ( date.getFullYear() % 100 < 10 ? \"0\" : \"\" ) + date.getFullYear() % 100 );\n break;\n case \"@\":\n output += date.getTime();\n break;\n case \"!\":\n output += date.getTime() * 10000 + this._ticksTo1970;\n break;\n case \"'\":\n if ( lookAhead( \"'\" ) ) {\n output += \"'\";\n } else {\n literal = true;\n }\n break;\n default:\n output += format.charAt( iFormat );\n }\n }\n }\n }\n return output;\n },\n\n /* Extract all possible characters from the date format. */\n _possibleChars: function( format ) {\n var iFormat,\n chars = \"\",\n literal = false,\n\n // Check whether a format character is doubled\n lookAhead = function( match ) {\n var matches = ( iFormat + 1 < format.length && format.charAt( iFormat + 1 ) === match );\n if ( matches ) {\n iFormat++;\n }\n return matches;\n };\n\n for ( iFormat = 0; iFormat < format.length; iFormat++ ) {\n if ( literal ) {\n if ( format.charAt( iFormat ) === \"'\" && !lookAhead( \"'\" ) ) {\n literal = false;\n } else {\n chars += format.charAt( iFormat );\n }\n } else {\n switch ( format.charAt( iFormat ) ) {\n case \"d\": case \"m\": case \"y\": case \"@\":\n chars += \"0123456789\";\n break;\n case \"D\": case \"M\":\n return null; // Accept anything\n case \"'\":\n if ( lookAhead( \"'\" ) ) {\n chars += \"'\";\n } else {\n literal = true;\n }\n break;\n default:\n chars += format.charAt( iFormat );\n }\n }\n }\n return chars;\n },\n\n /* Get a setting value, defaulting if necessary. */\n _get: function( inst, name ) {\n return inst.settings[ name ] !== undefined ?\n inst.settings[ name ] : this._defaults[ name ];\n },\n\n /* Parse existing date and initialise date picker. */\n _setDateFromField: function( inst, noDefault ) {\n if ( inst.input.val() === inst.lastVal ) {\n return;\n }\n\n var dateFormat = this._get( inst, \"dateFormat\" ),\n dates = inst.lastVal = inst.input ? inst.input.val() : null,\n defaultDate = this._getDefaultDate( inst ),\n date = defaultDate,\n settings = this._getFormatConfig( inst );\n\n try {\n date = this.parseDate( dateFormat, dates, settings ) || defaultDate;\n } catch ( event ) {\n dates = ( noDefault ? \"\" : dates );\n }\n inst.selectedDay = date.getDate();\n inst.drawMonth = inst.selectedMonth = date.getMonth();\n inst.drawYear = inst.selectedYear = date.getFullYear();\n inst.currentDay = ( dates ? date.getDate() : 0 );\n inst.currentMonth = ( dates ? date.getMonth() : 0 );\n inst.currentYear = ( dates ? date.getFullYear() : 0 );\n this._adjustInstDate( inst );\n },\n\n /* Retrieve the default date shown on opening. */\n _getDefaultDate: function( inst ) {\n return this._restrictMinMax( inst,\n this._determineDate( inst, this._get( inst, \"defaultDate\" ), new Date() ) );\n },\n\n /* A date may be specified as an exact value or a relative one. */\n _determineDate: function( inst, date, defaultDate ) {\n var offsetNumeric = function( offset ) {\n var date = new Date();\n date.setDate( date.getDate() + offset );\n return date;\n },\n offsetString = function( offset ) {\n try {\n return $.datepicker.parseDate( $.datepicker._get( inst, \"dateFormat\" ),\n offset, $.datepicker._getFormatConfig( inst ) );\n } catch ( e ) {\n\n // Ignore\n }\n\n var date = ( offset.toLowerCase().match( /^c/ ) ?\n $.datepicker._getDate( inst ) : null ) || new Date(),\n year = date.getFullYear(),\n month = date.getMonth(),\n day = date.getDate(),\n pattern = /([+\\-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,\n matches = pattern.exec( offset );\n\n while ( matches ) {\n switch ( matches[ 2 ] || \"d\" ) {\n case \"d\" : case \"D\" :\n day += parseInt( matches[ 1 ], 10 ); break;\n case \"w\" : case \"W\" :\n day += parseInt( matches[ 1 ], 10 ) * 7; break;\n case \"m\" : case \"M\" :\n month += parseInt( matches[ 1 ], 10 );\n day = Math.min( day, $.datepicker._getDaysInMonth( year, month ) );\n break;\n case \"y\": case \"Y\" :\n year += parseInt( matches[ 1 ], 10 );\n day = Math.min( day, $.datepicker._getDaysInMonth( year, month ) );\n break;\n }\n matches = pattern.exec( offset );\n }\n return new Date( year, month, day );\n },\n newDate = ( date == null || date === \"\" ? defaultDate : ( typeof date === \"string\" ? offsetString( date ) :\n ( typeof date === \"number\" ? ( isNaN( date ) ? defaultDate : offsetNumeric( date ) ) : new Date( date.getTime() ) ) ) );\n\n newDate = ( newDate && newDate.toString() === \"Invalid Date\" ? defaultDate : newDate );\n if ( newDate ) {\n newDate.setHours( 0 );\n newDate.setMinutes( 0 );\n newDate.setSeconds( 0 );\n newDate.setMilliseconds( 0 );\n }\n return this._daylightSavingAdjust( newDate );\n },\n\n /* Handle switch to/from daylight saving.\n * Hours may be non-zero on daylight saving cut-over:\n * > 12 when midnight changeover, but then cannot generate\n * midnight datetime, so jump to 1AM, otherwise reset.\n * @param date (Date) the date to check\n * @return (Date) the corrected date\n */\n _daylightSavingAdjust: function( date ) {\n if ( !date ) {\n return null;\n }\n date.setHours( date.getHours() > 12 ? date.getHours() + 2 : 0 );\n return date;\n },\n\n /* Set the date(s) directly. */\n _setDate: function( inst, date, noChange ) {\n var clear = !date,\n origMonth = inst.selectedMonth,\n origYear = inst.selectedYear,\n newDate = this._restrictMinMax( inst, this._determineDate( inst, date, new Date() ) );\n\n inst.selectedDay = inst.currentDay = newDate.getDate();\n inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();\n inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();\n if ( ( origMonth !== inst.selectedMonth || origYear !== inst.selectedYear ) && !noChange ) {\n this._notifyChange( inst );\n }\n this._adjustInstDate( inst );\n if ( inst.input ) {\n inst.input.val( clear ? \"\" : this._formatDate( inst ) );\n }\n },\n\n /* Retrieve the date(s) directly. */\n _getDate: function( inst ) {\n var startDate = ( !inst.currentYear || ( inst.input && inst.input.val() === \"\" ) ? null :\n this._daylightSavingAdjust( new Date(\n inst.currentYear, inst.currentMonth, inst.currentDay ) ) );\n return startDate;\n },\n\n /* Attach the onxxx handlers. These are declared statically so\n * they work with static code transformers like Caja.\n */\n _attachHandlers: function( inst ) {\n var stepMonths = this._get( inst, \"stepMonths\" ),\n id = \"#\" + inst.id.replace( /\\\\\\\\/g, \"\\\\\" );\n inst.dpDiv.find( \"[data-handler]\" ).map( function() {\n var handler = {\n prev: function() {\n $.datepicker._adjustDate( id, -stepMonths, \"M\" );\n },\n next: function() {\n $.datepicker._adjustDate( id, +stepMonths, \"M\" );\n },\n hide: function() {\n $.datepicker._hideDatepicker();\n },\n today: function() {\n $.datepicker._gotoToday( id );\n },\n selectDay: function() {\n $.datepicker._selectDay( id, +this.getAttribute( \"data-month\" ), +this.getAttribute( \"data-year\" ), this );\n return false;\n },\n selectMonth: function() {\n $.datepicker._selectMonthYear( id, this, \"M\" );\n return false;\n },\n selectYear: function() {\n $.datepicker._selectMonthYear( id, this, \"Y\" );\n return false;\n }\n };\n $( this ).on( this.getAttribute( \"data-event\" ), handler[ this.getAttribute( \"data-handler\" ) ] );\n } );\n },\n\n /* Generate the HTML for the current state of the date picker. */\n _generateHTML: function( inst ) {\n var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,\n controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,\n monthNames, monthNamesShort, beforeShowDay, showOtherMonths,\n selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,\n cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,\n printDate, dRow, tbody, daySettings, otherMonth, unselectable,\n tempDate = new Date(),\n today = this._daylightSavingAdjust(\n new Date( tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate() ) ), // clear time\n isRTL = this._get( inst, \"isRTL\" ),\n showButtonPanel = this._get( inst, \"showButtonPanel\" ),\n hideIfNoPrevNext = this._get( inst, \"hideIfNoPrevNext\" ),\n navigationAsDateFormat = this._get( inst, \"navigationAsDateFormat\" ),\n numMonths = this._getNumberOfMonths( inst ),\n showCurrentAtPos = this._get( inst, \"showCurrentAtPos\" ),\n stepMonths = this._get( inst, \"stepMonths\" ),\n isMultiMonth = ( numMonths[ 0 ] !== 1 || numMonths[ 1 ] !== 1 ),\n currentDate = this._daylightSavingAdjust( ( !inst.currentDay ? new Date( 9999, 9, 9 ) :\n new Date( inst.currentYear, inst.currentMonth, inst.currentDay ) ) ),\n minDate = this._getMinMaxDate( inst, \"min\" ),\n maxDate = this._getMinMaxDate( inst, \"max\" ),\n drawMonth = inst.drawMonth - showCurrentAtPos,\n drawYear = inst.drawYear;\n\n if ( drawMonth < 0 ) {\n drawMonth += 12;\n drawYear--;\n }\n if ( maxDate ) {\n maxDraw = this._daylightSavingAdjust( new Date( maxDate.getFullYear(),\n maxDate.getMonth() - ( numMonths[ 0 ] * numMonths[ 1 ] ) + 1, maxDate.getDate() ) );\n maxDraw = ( minDate && maxDraw < minDate ? minDate : maxDraw );\n while ( this._daylightSavingAdjust( new Date( drawYear, drawMonth, 1 ) ) > maxDraw ) {\n drawMonth--;\n if ( drawMonth < 0 ) {\n drawMonth = 11;\n drawYear--;\n }\n }\n }\n inst.drawMonth = drawMonth;\n inst.drawYear = drawYear;\n\n prevText = this._get( inst, \"prevText\" );\n prevText = ( !navigationAsDateFormat ? prevText : this.formatDate( prevText,\n this._daylightSavingAdjust( new Date( drawYear, drawMonth - stepMonths, 1 ) ),\n this._getFormatConfig( inst ) ) );\n\n if ( this._canAdjustMonth( inst, -1, drawYear, drawMonth ) ) {\n prev = $( \"<a>\" )\n .attr( {\n \"class\": \"ui-datepicker-prev ui-corner-all\",\n \"data-handler\": \"prev\",\n \"data-event\": \"click\",\n title: prevText\n } )\n .append(\n $( \"<span>\" )\n .addClass( \"ui-icon ui-icon-circle-triangle-\" +\n ( isRTL ? \"e\" : \"w\" ) )\n .text( prevText )\n )[ 0 ].outerHTML;\n } else if ( hideIfNoPrevNext ) {\n prev = \"\";\n } else {\n prev = $( \"<a>\" )\n .attr( {\n \"class\": \"ui-datepicker-prev ui-corner-all ui-state-disabled\",\n title: prevText\n } )\n .append(\n $( \"<span>\" )\n .addClass( \"ui-icon ui-icon-circle-triangle-\" +\n ( isRTL ? \"e\" : \"w\" ) )\n .text( prevText )\n )[ 0 ].outerHTML;\n }\n\n nextText = this._get( inst, \"nextText\" );\n nextText = ( !navigationAsDateFormat ? nextText : this.formatDate( nextText,\n this._daylightSavingAdjust( new Date( drawYear, drawMonth + stepMonths, 1 ) ),\n this._getFormatConfig( inst ) ) );\n\n if ( this._canAdjustMonth( inst, +1, drawYear, drawMonth ) ) {\n next = $( \"<a>\" )\n .attr( {\n \"class\": \"ui-datepicker-next ui-corner-all\",\n \"data-handler\": \"next\",\n \"data-event\": \"click\",\n title: nextText\n } )\n .append(\n $( \"<span>\" )\n .addClass( \"ui-icon ui-icon-circle-triangle-\" +\n ( isRTL ? \"w\" : \"e\" ) )\n .text( nextText )\n )[ 0 ].outerHTML;\n } else if ( hideIfNoPrevNext ) {\n next = \"\";\n } else {\n next = $( \"<a>\" )\n .attr( {\n \"class\": \"ui-datepicker-next ui-corner-all ui-state-disabled\",\n title: nextText\n } )\n .append(\n $( \"<span>\" )\n .attr( \"class\", \"ui-icon ui-icon-circle-triangle-\" +\n ( isRTL ? \"w\" : \"e\" ) )\n .text( nextText )\n )[ 0 ].outerHTML;\n }\n\n currentText = this._get( inst, \"currentText\" );\n gotoDate = ( this._get( inst, \"gotoCurrent\" ) && inst.currentDay ? currentDate : today );\n currentText = ( !navigationAsDateFormat ? currentText :\n this.formatDate( currentText, gotoDate, this._getFormatConfig( inst ) ) );\n\n controls = \"\";\n if ( !inst.inline ) {\n controls = $( \"<button>\" )\n .attr( {\n type: \"button\",\n \"class\": \"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all\",\n \"data-handler\": \"hide\",\n \"data-event\": \"click\"\n } )\n .text( this._get( inst, \"closeText\" ) )[ 0 ].outerHTML;\n }\n\n buttonPanel = \"\";\n if ( showButtonPanel ) {\n buttonPanel = $( \"<div class='ui-datepicker-buttonpane ui-widget-content'>\" )\n .append( isRTL ? controls : \"\" )\n .append( this._isInRange( inst, gotoDate ) ?\n $( \"<button>\" )\n .attr( {\n type: \"button\",\n \"class\": \"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all\",\n \"data-handler\": \"today\",\n \"data-event\": \"click\"\n } )\n .text( currentText ) :\n \"\" )\n .append( isRTL ? \"\" : controls )[ 0 ].outerHTML;\n }\n\n firstDay = parseInt( this._get( inst, \"firstDay\" ), 10 );\n firstDay = ( isNaN( firstDay ) ? 0 : firstDay );\n\n showWeek = this._get( inst, \"showWeek\" );\n dayNames = this._get( inst, \"dayNames\" );\n dayNamesMin = this._get( inst, \"dayNamesMin\" );\n monthNames = this._get( inst, \"monthNames\" );\n monthNamesShort = this._get( inst, \"monthNamesShort\" );\n beforeShowDay = this._get( inst, \"beforeShowDay\" );\n showOtherMonths = this._get( inst, \"showOtherMonths\" );\n selectOtherMonths = this._get( inst, \"selectOtherMonths\" );\n defaultDate = this._getDefaultDate( inst );\n html = \"\";\n\n for ( row = 0; row < numMonths[ 0 ]; row++ ) {\n group = \"\";\n this.maxRows = 4;\n for ( col = 0; col < numMonths[ 1 ]; col++ ) {\n selectedDate = this._daylightSavingAdjust( new Date( drawYear, drawMonth, inst.selectedDay ) );\n cornerClass = \" ui-corner-all\";\n calender = \"\";\n if ( isMultiMonth ) {\n calender += \"<div class='ui-datepicker-group\";\n if ( numMonths[ 1 ] > 1 ) {\n switch ( col ) {\n case 0: calender += \" ui-datepicker-group-first\";\n cornerClass = \" ui-corner-\" + ( isRTL ? \"right\" : \"left\" ); break;\n case numMonths[ 1 ] - 1: calender += \" ui-datepicker-group-last\";\n cornerClass = \" ui-corner-\" + ( isRTL ? \"left\" : \"right\" ); break;\n default: calender += \" ui-datepicker-group-middle\"; cornerClass = \"\"; break;\n }\n }\n calender += \"'>\";\n }\n calender += \"<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix\" + cornerClass + \"'>\" +\n ( /all|left/.test( cornerClass ) && row === 0 ? ( isRTL ? next : prev ) : \"\" ) +\n ( /all|right/.test( cornerClass ) && row === 0 ? ( isRTL ? prev : next ) : \"\" ) +\n this._generateMonthYearHeader( inst, drawMonth, drawYear, minDate, maxDate,\n row > 0 || col > 0, monthNames, monthNamesShort ) + // draw month headers\n \"</div><table class='ui-datepicker-calendar'><thead>\" +\n \"<tr>\";\n thead = ( showWeek ? \"<th class='ui-datepicker-week-col'>\" + this._get( inst, \"weekHeader\" ) + \"</th>\" : \"\" );\n for ( dow = 0; dow < 7; dow++ ) { // days of the week\n day = ( dow + firstDay ) % 7;\n thead += \"<th scope='col'\" + ( ( dow + firstDay + 6 ) % 7 >= 5 ? \" class='ui-datepicker-week-end'\" : \"\" ) + \">\" +\n \"<span title='\" + dayNames[ day ] + \"'>\" + dayNamesMin[ day ] + \"</span></th>\";\n }\n calender += thead + \"</tr></thead><tbody>\";\n daysInMonth = this._getDaysInMonth( drawYear, drawMonth );\n if ( drawYear === inst.selectedYear && drawMonth === inst.selectedMonth ) {\n inst.selectedDay = Math.min( inst.selectedDay, daysInMonth );\n }\n leadDays = ( this._getFirstDayOfMonth( drawYear, drawMonth ) - firstDay + 7 ) % 7;\n curRows = Math.ceil( ( leadDays + daysInMonth ) / 7 ); // calculate the number of rows to generate\n numRows = ( isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows ); //If multiple months, use the higher number of rows (see #7043)\n this.maxRows = numRows;\n printDate = this._daylightSavingAdjust( new Date( drawYear, drawMonth, 1 - leadDays ) );\n for ( dRow = 0; dRow < numRows; dRow++ ) { // create date picker rows\n calender += \"<tr>\";\n tbody = ( !showWeek ? \"\" : \"<td class='ui-datepicker-week-col'>\" +\n this._get( inst, \"calculateWeek\" )( printDate ) + \"</td>\" );\n for ( dow = 0; dow < 7; dow++ ) { // create date picker days\n daySettings = ( beforeShowDay ?\n beforeShowDay.apply( ( inst.input ? inst.input[ 0 ] : null ), [ printDate ] ) : [ true, \"\" ] );\n otherMonth = ( printDate.getMonth() !== drawMonth );\n unselectable = ( otherMonth && !selectOtherMonths ) || !daySettings[ 0 ] ||\n ( minDate && printDate < minDate ) || ( maxDate && printDate > maxDate );\n tbody += \"<td class='\" +\n ( ( dow + firstDay + 6 ) % 7 >= 5 ? \" ui-datepicker-week-end\" : \"\" ) + // highlight weekends\n ( otherMonth ? \" ui-datepicker-other-month\" : \"\" ) + // highlight days from other months\n ( ( printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent ) || // user pressed key\n ( defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime() ) ?\n\n // or defaultDate is current printedDate and defaultDate is selectedDate\n \" \" + this._dayOverClass : \"\" ) + // highlight selected day\n ( unselectable ? \" \" + this._unselectableClass + \" ui-state-disabled\" : \"\" ) + // highlight unselectable days\n ( otherMonth && !showOtherMonths ? \"\" : \" \" + daySettings[ 1 ] + // highlight custom dates\n ( printDate.getTime() === currentDate.getTime() ? \" \" + this._currentClass : \"\" ) + // highlight selected day\n ( printDate.getTime() === today.getTime() ? \" ui-datepicker-today\" : \"\" ) ) + \"'\" + // highlight today (if different)\n ( ( !otherMonth || showOtherMonths ) && daySettings[ 2 ] ? \" title='\" + daySettings[ 2 ].replace( /'/g, \"'\" ) + \"'\" : \"\" ) + // cell title\n ( unselectable ? \"\" : \" data-handler='selectDay' data-event='click' data-month='\" + printDate.getMonth() + \"' data-year='\" + printDate.getFullYear() + \"'\" ) + \">\" + // actions\n ( otherMonth && !showOtherMonths ? \" \" : // display for other months\n ( unselectable ? \"<span class='ui-state-default'>\" + printDate.getDate() + \"</span>\" : \"<a class='ui-state-default\" +\n ( printDate.getTime() === today.getTime() ? \" ui-state-highlight\" : \"\" ) +\n ( printDate.getTime() === currentDate.getTime() ? \" ui-state-active\" : \"\" ) + // highlight selected day\n ( otherMonth ? \" ui-priority-secondary\" : \"\" ) + // distinguish dates from other months\n \"' href='#' aria-current='\" + ( printDate.getTime() === currentDate.getTime() ? \"true\" : \"false\" ) + // mark date as selected for screen reader\n \"' data-date='\" + printDate.getDate() + // store date as data\n \"'>\" + printDate.getDate() + \"</a>\" ) ) + \"</td>\"; // display selectable date\n printDate.setDate( printDate.getDate() + 1 );\n printDate = this._daylightSavingAdjust( printDate );\n }\n calender += tbody + \"</tr>\";\n }\n drawMonth++;\n if ( drawMonth > 11 ) {\n drawMonth = 0;\n drawYear++;\n }\n calender += \"</tbody></table>\" + ( isMultiMonth ? \"</div>\" +\n ( ( numMonths[ 0 ] > 0 && col === numMonths[ 1 ] - 1 ) ? \"<div class='ui-datepicker-row-break'></div>\" : \"\" ) : \"\" );\n group += calender;\n }\n html += group;\n }\n html += buttonPanel;\n inst._keyEvent = false;\n return html;\n },\n\n /* Generate the month and year header. */\n _generateMonthYearHeader: function( inst, drawMonth, drawYear, minDate, maxDate,\n secondary, monthNames, monthNamesShort ) {\n\n var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,\n changeMonth = this._get( inst, \"changeMonth\" ),\n changeYear = this._get( inst, \"changeYear\" ),\n showMonthAfterYear = this._get( inst, \"showMonthAfterYear\" ),\n selectMonthLabel = this._get( inst, \"selectMonthLabel\" ),\n selectYearLabel = this._get( inst, \"selectYearLabel\" ),\n html = \"<div class='ui-datepicker-title'>\",\n monthHtml = \"\";\n\n // Month selection\n if ( secondary || !changeMonth ) {\n monthHtml += \"<span class='ui-datepicker-month'>\" + monthNames[ drawMonth ] + \"</span>\";\n } else {\n inMinYear = ( minDate && minDate.getFullYear() === drawYear );\n inMaxYear = ( maxDate && maxDate.getFullYear() === drawYear );\n monthHtml += \"<select class='ui-datepicker-month' aria-label='\" + selectMonthLabel + \"' data-handler='selectMonth' data-event='change'>\";\n for ( month = 0; month < 12; month++ ) {\n if ( ( !inMinYear || month >= minDate.getMonth() ) && ( !inMaxYear || month <= maxDate.getMonth() ) ) {\n monthHtml += \"<option value='\" + month + \"'\" +\n ( month === drawMonth ? \" selected='selected'\" : \"\" ) +\n \">\" + monthNamesShort[ month ] + \"</option>\";\n }\n }\n monthHtml += \"</select>\";\n }\n\n if ( !showMonthAfterYear ) {\n html += monthHtml + ( secondary || !( changeMonth && changeYear ) ? \" \" : \"\" );\n }\n\n // Year selection\n if ( !inst.yearshtml ) {\n inst.yearshtml = \"\";\n if ( secondary || !changeYear ) {\n html += \"<span class='ui-datepicker-year'>\" + drawYear + \"</span>\";\n } else {\n\n // determine range of years to display\n years = this._get( inst, \"yearRange\" ).split( \":\" );\n thisYear = new Date().getFullYear();\n determineYear = function( value ) {\n var year = ( value.match( /c[+\\-].*/ ) ? drawYear + parseInt( value.substring( 1 ), 10 ) :\n ( value.match( /[+\\-].*/ ) ? thisYear + parseInt( value, 10 ) :\n parseInt( value, 10 ) ) );\n return ( isNaN( year ) ? thisYear : year );\n };\n year = determineYear( years[ 0 ] );\n endYear = Math.max( year, determineYear( years[ 1 ] || \"\" ) );\n year = ( minDate ? Math.max( year, minDate.getFullYear() ) : year );\n endYear = ( maxDate ? Math.min( endYear, maxDate.getFullYear() ) : endYear );\n inst.yearshtml += \"<select class='ui-datepicker-year' aria-label='\" + selectYearLabel + \"' data-handler='selectYear' data-event='change'>\";\n for ( ; year <= endYear; year++ ) {\n inst.yearshtml += \"<option value='\" + year + \"'\" +\n ( year === drawYear ? \" selected='selected'\" : \"\" ) +\n \">\" + year + \"</option>\";\n }\n inst.yearshtml += \"</select>\";\n\n html += inst.yearshtml;\n inst.yearshtml = null;\n }\n }\n\n html += this._get( inst, \"yearSuffix\" );\n if ( showMonthAfterYear ) {\n html += ( secondary || !( changeMonth && changeYear ) ? \" \" : \"\" ) + monthHtml;\n }\n html += \"</div>\"; // Close datepicker_header\n return html;\n },\n\n /* Adjust one of the date sub-fields. */\n _adjustInstDate: function( inst, offset, period ) {\n var year = inst.selectedYear + ( period === \"Y\" ? offset : 0 ),\n month = inst.selectedMonth + ( period === \"M\" ? offset : 0 ),\n day = Math.min( inst.selectedDay, this._getDaysInMonth( year, month ) ) + ( period === \"D\" ? offset : 0 ),\n date = this._restrictMinMax( inst, this._daylightSavingAdjust( new Date( year, month, day ) ) );\n\n inst.selectedDay = date.getDate();\n inst.drawMonth = inst.selectedMonth = date.getMonth();\n inst.drawYear = inst.selectedYear = date.getFullYear();\n if ( period === \"M\" || period === \"Y\" ) {\n this._notifyChange( inst );\n }\n },\n\n /* Ensure a date is within any min/max bounds. */\n _restrictMinMax: function( inst, date ) {\n var minDate = this._getMinMaxDate( inst, \"min\" ),\n maxDate = this._getMinMaxDate( inst, \"max\" ),\n newDate = ( minDate && date < minDate ? minDate : date );\n return ( maxDate && newDate > maxDate ? maxDate : newDate );\n },\n\n /* Notify change of month/year. */\n _notifyChange: function( inst ) {\n var onChange = this._get( inst, \"onChangeMonthYear\" );\n if ( onChange ) {\n onChange.apply( ( inst.input ? inst.input[ 0 ] : null ),\n [ inst.selectedYear, inst.selectedMonth + 1, inst ] );\n }\n },\n\n /* Determine the number of months to show. */\n _getNumberOfMonths: function( inst ) {\n var numMonths = this._get( inst, \"numberOfMonths\" );\n return ( numMonths == null ? [ 1, 1 ] : ( typeof numMonths === \"number\" ? [ 1, numMonths ] : numMonths ) );\n },\n\n /* Determine the current maximum date - ensure no time components are set. */\n _getMinMaxDate: function( inst, minMax ) {\n return this._determineDate( inst, this._get( inst, minMax + \"Date\" ), null );\n },\n\n /* Find the number of days in a given month. */\n _getDaysInMonth: function( year, month ) {\n return 32 - this._daylightSavingAdjust( new Date( year, month, 32 ) ).getDate();\n },\n\n /* Find the day of the week of the first of a month. */\n _getFirstDayOfMonth: function( year, month ) {\n return new Date( year, month, 1 ).getDay();\n },\n\n /* Determines if we should allow a \"next/prev\" month display change. */\n _canAdjustMonth: function( inst, offset, curYear, curMonth ) {\n var numMonths = this._getNumberOfMonths( inst ),\n date = this._daylightSavingAdjust( new Date( curYear,\n curMonth + ( offset < 0 ? offset : numMonths[ 0 ] * numMonths[ 1 ] ), 1 ) );\n\n if ( offset < 0 ) {\n date.setDate( this._getDaysInMonth( date.getFullYear(), date.getMonth() ) );\n }\n return this._isInRange( inst, date );\n },\n\n /* Is the given date in the accepted range? */\n _isInRange: function( inst, date ) {\n var yearSplit, currentYear,\n minDate = this._getMinMaxDate( inst, \"min\" ),\n maxDate = this._getMinMaxDate( inst, \"max\" ),\n minYear = null,\n maxYear = null,\n years = this._get( inst, \"yearRange\" );\n if ( years ) {\n yearSplit = years.split( \":\" );\n currentYear = new Date().getFullYear();\n minYear = parseInt( yearSplit[ 0 ], 10 );\n maxYear = parseInt( yearSplit[ 1 ], 10 );\n if ( yearSplit[ 0 ].match( /[+\\-].*/ ) ) {\n minYear += currentYear;\n }\n if ( yearSplit[ 1 ].match( /[+\\-].*/ ) ) {\n maxYear += currentYear;\n }\n }\n\n return ( ( !minDate || date.getTime() >= minDate.getTime() ) &&\n ( !maxDate || date.getTime() <= maxDate.getTime() ) &&\n ( !minYear || date.getFullYear() >= minYear ) &&\n ( !maxYear || date.getFullYear() <= maxYear ) );\n },\n\n /* Provide the configuration settings for formatting/parsing. */\n _getFormatConfig: function( inst ) {\n var shortYearCutoff = this._get( inst, \"shortYearCutoff\" );\n shortYearCutoff = ( typeof shortYearCutoff !== \"string\" ? shortYearCutoff :\n new Date().getFullYear() % 100 + parseInt( shortYearCutoff, 10 ) );\n return { shortYearCutoff: shortYearCutoff,\n dayNamesShort: this._get( inst, \"dayNamesShort\" ), dayNames: this._get( inst, \"dayNames\" ),\n monthNamesShort: this._get( inst, \"monthNamesShort\" ), monthNames: this._get( inst, \"monthNames\" ) };\n },\n\n /* Format the given date for display. */\n _formatDate: function( inst, day, month, year ) {\n if ( !day ) {\n inst.currentDay = inst.selectedDay;\n inst.currentMonth = inst.selectedMonth;\n inst.currentYear = inst.selectedYear;\n }\n var date = ( day ? ( typeof day === \"object\" ? day :\n this._daylightSavingAdjust( new Date( year, month, day ) ) ) :\n this._daylightSavingAdjust( new Date( inst.currentYear, inst.currentMonth, inst.currentDay ) ) );\n return this.formatDate( this._get( inst, \"dateFormat\" ), date, this._getFormatConfig( inst ) );\n }\n } );\n\n /*\n * Bind hover events for datepicker elements.\n * Done via delegate so the binding only occurs once in the lifetime of the parent div.\n * Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.\n */\n function datepicker_bindHover( dpDiv ) {\n var selector = \"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";\n return dpDiv.on( \"mouseout\", selector, function() {\n $( this ).removeClass( \"ui-state-hover\" );\n if ( this.className.indexOf( \"ui-datepicker-prev\" ) !== -1 ) {\n $( this ).removeClass( \"ui-datepicker-prev-hover\" );\n }\n if ( this.className.indexOf( \"ui-datepicker-next\" ) !== -1 ) {\n $( this ).removeClass( \"ui-datepicker-next-hover\" );\n }\n } )\n .on( \"mouseover\", selector, datepicker_handleMouseover );\n }\n\n function datepicker_handleMouseover() {\n if ( !$.datepicker._isDisabledDatepicker( datepicker_instActive.inline ? datepicker_instActive.dpDiv.parent()[ 0 ] : datepicker_instActive.input[ 0 ] ) ) {\n $( this ).parents( \".ui-datepicker-calendar\" ).find( \"a\" ).removeClass( \"ui-state-hover\" );\n $( this ).addClass( \"ui-state-hover\" );\n if ( this.className.indexOf( \"ui-datepicker-prev\" ) !== -1 ) {\n $( this ).addClass( \"ui-datepicker-prev-hover\" );\n }\n if ( this.className.indexOf( \"ui-datepicker-next\" ) !== -1 ) {\n $( this ).addClass( \"ui-datepicker-next-hover\" );\n }\n }\n }\n\n /* jQuery extend now ignores nulls! */\n function datepicker_extendRemove( target, props ) {\n $.extend( target, props );\n for ( var name in props ) {\n if ( props[ name ] == null ) {\n target[ name ] = props[ name ];\n }\n }\n return target;\n }\n\n /* Invoke the datepicker functionality.\n @param options string - a command, optionally followed by additional parameters or\n Object - settings for attaching new datepicker functionality\n @return jQuery object */\n $.fn.datepicker = function( options ) {\n\n /* Verify an empty collection wasn't passed - Fixes #6976 */\n if ( !this.length ) {\n return this;\n }\n\n /* Initialise the date picker. */\n if ( !$.datepicker.initialized ) {\n $( document ).on( \"mousedown\", $.datepicker._checkExternalClick );\n $.datepicker.initialized = true;\n }\n\n /* Append datepicker main container to body if not exist. */\n if ( $( \"#\" + $.datepicker._mainDivId ).length === 0 ) {\n $( \"body\" ).append( $.datepicker.dpDiv );\n }\n\n var otherArgs = Array.prototype.slice.call( arguments, 1 );\n if ( typeof options === \"string\" && ( options === \"isDisabled\" || options === \"getDate\" || options === \"widget\" ) ) {\n return $.datepicker[ \"_\" + options + \"Datepicker\" ].\n apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );\n }\n if ( options === \"option\" && arguments.length === 2 && typeof arguments[ 1 ] === \"string\" ) {\n return $.datepicker[ \"_\" + options + \"Datepicker\" ].\n apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );\n }\n return this.each( function() {\n if ( typeof options === \"string\" ) {\n $.datepicker[ \"_\" + options + \"Datepicker\" ]\n .apply( $.datepicker, [ this ].concat( otherArgs ) );\n } else {\n $.datepicker._attachDatepicker( this, options );\n }\n } );\n };\n\n $.datepicker = new Datepicker(); // singleton instance\n $.datepicker.initialized = false;\n $.datepicker.uuid = new Date().getTime();\n $.datepicker.version = \"1.13.2\";\n\n return $.datepicker;\n\n} );\n","jquery/ui-modules/widgets/selectable.js":"/*!\n * jQuery UI Selectable 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Selectable\n//>>group: Interactions\n//>>description: Allows groups of elements to be selected with the mouse.\n//>>docs: http://api.jqueryui.com/selectable/\n//>>demos: http://jqueryui.com/selectable/\n//>>css.structure: ../../themes/base/selectable.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"./mouse\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.widget( \"ui.selectable\", $.ui.mouse, {\n version: \"1.13.2\",\n options: {\n appendTo: \"body\",\n autoRefresh: true,\n distance: 0,\n filter: \"*\",\n tolerance: \"touch\",\n\n // Callbacks\n selected: null,\n selecting: null,\n start: null,\n stop: null,\n unselected: null,\n unselecting: null\n },\n _create: function() {\n var that = this;\n\n this._addClass( \"ui-selectable\" );\n\n this.dragged = false;\n\n // Cache selectee children based on filter\n this.refresh = function() {\n that.elementPos = $( that.element[ 0 ] ).offset();\n that.selectees = $( that.options.filter, that.element[ 0 ] );\n that._addClass( that.selectees, \"ui-selectee\" );\n that.selectees.each( function() {\n var $this = $( this ),\n selecteeOffset = $this.offset(),\n pos = {\n left: selecteeOffset.left - that.elementPos.left,\n top: selecteeOffset.top - that.elementPos.top\n };\n $.data( this, \"selectable-item\", {\n element: this,\n $element: $this,\n left: pos.left,\n top: pos.top,\n right: pos.left + $this.outerWidth(),\n bottom: pos.top + $this.outerHeight(),\n startselected: false,\n selected: $this.hasClass( \"ui-selected\" ),\n selecting: $this.hasClass( \"ui-selecting\" ),\n unselecting: $this.hasClass( \"ui-unselecting\" )\n } );\n } );\n };\n this.refresh();\n\n this._mouseInit();\n\n this.helper = $( \"<div>\" );\n this._addClass( this.helper, \"ui-selectable-helper\" );\n },\n\n _destroy: function() {\n this.selectees.removeData( \"selectable-item\" );\n this._mouseDestroy();\n },\n\n _mouseStart: function( event ) {\n var that = this,\n options = this.options;\n\n this.opos = [ event.pageX, event.pageY ];\n this.elementPos = $( this.element[ 0 ] ).offset();\n\n if ( this.options.disabled ) {\n return;\n }\n\n this.selectees = $( options.filter, this.element[ 0 ] );\n\n this._trigger( \"start\", event );\n\n $( options.appendTo ).append( this.helper );\n\n // position helper (lasso)\n this.helper.css( {\n \"left\": event.pageX,\n \"top\": event.pageY,\n \"width\": 0,\n \"height\": 0\n } );\n\n if ( options.autoRefresh ) {\n this.refresh();\n }\n\n this.selectees.filter( \".ui-selected\" ).each( function() {\n var selectee = $.data( this, \"selectable-item\" );\n selectee.startselected = true;\n if ( !event.metaKey && !event.ctrlKey ) {\n that._removeClass( selectee.$element, \"ui-selected\" );\n selectee.selected = false;\n that._addClass( selectee.$element, \"ui-unselecting\" );\n selectee.unselecting = true;\n\n // selectable UNSELECTING callback\n that._trigger( \"unselecting\", event, {\n unselecting: selectee.element\n } );\n }\n } );\n\n $( event.target ).parents().addBack().each( function() {\n var doSelect,\n selectee = $.data( this, \"selectable-item\" );\n if ( selectee ) {\n doSelect = ( !event.metaKey && !event.ctrlKey ) ||\n !selectee.$element.hasClass( \"ui-selected\" );\n that._removeClass( selectee.$element, doSelect ? \"ui-unselecting\" : \"ui-selected\" )\n ._addClass( selectee.$element, doSelect ? \"ui-selecting\" : \"ui-unselecting\" );\n selectee.unselecting = !doSelect;\n selectee.selecting = doSelect;\n selectee.selected = doSelect;\n\n // selectable (UN)SELECTING callback\n if ( doSelect ) {\n that._trigger( \"selecting\", event, {\n selecting: selectee.element\n } );\n } else {\n that._trigger( \"unselecting\", event, {\n unselecting: selectee.element\n } );\n }\n return false;\n }\n } );\n\n },\n\n _mouseDrag: function( event ) {\n\n this.dragged = true;\n\n if ( this.options.disabled ) {\n return;\n }\n\n var tmp,\n that = this,\n options = this.options,\n x1 = this.opos[ 0 ],\n y1 = this.opos[ 1 ],\n x2 = event.pageX,\n y2 = event.pageY;\n\n if ( x1 > x2 ) {\n tmp = x2; x2 = x1; x1 = tmp;\n }\n if ( y1 > y2 ) {\n tmp = y2; y2 = y1; y1 = tmp;\n }\n this.helper.css( { left: x1, top: y1, width: x2 - x1, height: y2 - y1 } );\n\n this.selectees.each( function() {\n var selectee = $.data( this, \"selectable-item\" ),\n hit = false,\n offset = {};\n\n //prevent helper from being selected if appendTo: selectable\n if ( !selectee || selectee.element === that.element[ 0 ] ) {\n return;\n }\n\n offset.left = selectee.left + that.elementPos.left;\n offset.right = selectee.right + that.elementPos.left;\n offset.top = selectee.top + that.elementPos.top;\n offset.bottom = selectee.bottom + that.elementPos.top;\n\n if ( options.tolerance === \"touch\" ) {\n hit = ( !( offset.left > x2 || offset.right < x1 || offset.top > y2 ||\n offset.bottom < y1 ) );\n } else if ( options.tolerance === \"fit\" ) {\n hit = ( offset.left > x1 && offset.right < x2 && offset.top > y1 &&\n offset.bottom < y2 );\n }\n\n if ( hit ) {\n\n // SELECT\n if ( selectee.selected ) {\n that._removeClass( selectee.$element, \"ui-selected\" );\n selectee.selected = false;\n }\n if ( selectee.unselecting ) {\n that._removeClass( selectee.$element, \"ui-unselecting\" );\n selectee.unselecting = false;\n }\n if ( !selectee.selecting ) {\n that._addClass( selectee.$element, \"ui-selecting\" );\n selectee.selecting = true;\n\n // selectable SELECTING callback\n that._trigger( \"selecting\", event, {\n selecting: selectee.element\n } );\n }\n } else {\n\n // UNSELECT\n if ( selectee.selecting ) {\n if ( ( event.metaKey || event.ctrlKey ) && selectee.startselected ) {\n that._removeClass( selectee.$element, \"ui-selecting\" );\n selectee.selecting = false;\n that._addClass( selectee.$element, \"ui-selected\" );\n selectee.selected = true;\n } else {\n that._removeClass( selectee.$element, \"ui-selecting\" );\n selectee.selecting = false;\n if ( selectee.startselected ) {\n that._addClass( selectee.$element, \"ui-unselecting\" );\n selectee.unselecting = true;\n }\n\n // selectable UNSELECTING callback\n that._trigger( \"unselecting\", event, {\n unselecting: selectee.element\n } );\n }\n }\n if ( selectee.selected ) {\n if ( !event.metaKey && !event.ctrlKey && !selectee.startselected ) {\n that._removeClass( selectee.$element, \"ui-selected\" );\n selectee.selected = false;\n\n that._addClass( selectee.$element, \"ui-unselecting\" );\n selectee.unselecting = true;\n\n // selectable UNSELECTING callback\n that._trigger( \"unselecting\", event, {\n unselecting: selectee.element\n } );\n }\n }\n }\n } );\n\n return false;\n },\n\n _mouseStop: function( event ) {\n var that = this;\n\n this.dragged = false;\n\n $( \".ui-unselecting\", this.element[ 0 ] ).each( function() {\n var selectee = $.data( this, \"selectable-item\" );\n that._removeClass( selectee.$element, \"ui-unselecting\" );\n selectee.unselecting = false;\n selectee.startselected = false;\n that._trigger( \"unselected\", event, {\n unselected: selectee.element\n } );\n } );\n $( \".ui-selecting\", this.element[ 0 ] ).each( function() {\n var selectee = $.data( this, \"selectable-item\" );\n that._removeClass( selectee.$element, \"ui-selecting\" )\n ._addClass( selectee.$element, \"ui-selected\" );\n selectee.selecting = false;\n selectee.selected = true;\n selectee.startselected = true;\n that._trigger( \"selected\", event, {\n selected: selectee.element\n } );\n } );\n this._trigger( \"stop\", event );\n\n this.helper.remove();\n\n return false;\n }\n\n } );\n\n} );\n","jquery/ui-modules/widgets/tabs.js":"/*!\n * jQuery UI Tabs 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Tabs\n//>>group: Widgets\n//>>description: Transforms a set of container elements into a tab structure.\n//>>docs: http://api.jqueryui.com/tabs/\n//>>demos: http://jqueryui.com/tabs/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/tabs.css\n//>>css.theme: ../../themes/base/theme.css\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../keycode\",\n \"../safe-active-element\",\n \"../unique-id\",\n \"../version\",\n \"../widget\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n $.widget( \"ui.tabs\", {\n version: \"1.13.2\",\n delay: 300,\n options: {\n active: null,\n classes: {\n \"ui-tabs\": \"ui-corner-all\",\n \"ui-tabs-nav\": \"ui-corner-all\",\n \"ui-tabs-panel\": \"ui-corner-bottom\",\n \"ui-tabs-tab\": \"ui-corner-top\"\n },\n collapsible: false,\n event: \"click\",\n heightStyle: \"content\",\n hide: null,\n show: null,\n\n // Callbacks\n activate: null,\n beforeActivate: null,\n beforeLoad: null,\n load: null\n },\n\n _isLocal: ( function() {\n var rhash = /#.*$/;\n\n return function( anchor ) {\n var anchorUrl, locationUrl;\n\n anchorUrl = anchor.href.replace( rhash, \"\" );\n locationUrl = location.href.replace( rhash, \"\" );\n\n // Decoding may throw an error if the URL isn't UTF-8 (#9518)\n try {\n anchorUrl = decodeURIComponent( anchorUrl );\n } catch ( error ) {}\n try {\n locationUrl = decodeURIComponent( locationUrl );\n } catch ( error ) {}\n\n return anchor.hash.length > 1 && anchorUrl === locationUrl;\n };\n } )(),\n\n _create: function() {\n var that = this,\n options = this.options;\n\n this.running = false;\n\n this._addClass( \"ui-tabs\", \"ui-widget ui-widget-content\" );\n this._toggleClass( \"ui-tabs-collapsible\", null, options.collapsible );\n\n this._processTabs();\n options.active = this._initialActive();\n\n // Take disabling tabs via class attribute from HTML\n // into account and update option properly.\n if ( Array.isArray( options.disabled ) ) {\n options.disabled = $.uniqueSort( options.disabled.concat(\n $.map( this.tabs.filter( \".ui-state-disabled\" ), function( li ) {\n return that.tabs.index( li );\n } )\n ) ).sort();\n }\n\n // Check for length avoids error when initializing empty list\n if ( this.options.active !== false && this.anchors.length ) {\n this.active = this._findActive( options.active );\n } else {\n this.active = $();\n }\n\n this._refresh();\n\n if ( this.active.length ) {\n this.load( options.active );\n }\n },\n\n _initialActive: function() {\n var active = this.options.active,\n collapsible = this.options.collapsible,\n locationHash = location.hash.substring( 1 );\n\n if ( active === null ) {\n\n // check the fragment identifier in the URL\n if ( locationHash ) {\n this.tabs.each( function( i, tab ) {\n if ( $( tab ).attr( \"aria-controls\" ) === locationHash ) {\n active = i;\n return false;\n }\n } );\n }\n\n // Check for a tab marked active via a class\n if ( active === null ) {\n active = this.tabs.index( this.tabs.filter( \".ui-tabs-active\" ) );\n }\n\n // No active tab, set to false\n if ( active === null || active === -1 ) {\n active = this.tabs.length ? 0 : false;\n }\n }\n\n // Handle numbers: negative, out of range\n if ( active !== false ) {\n active = this.tabs.index( this.tabs.eq( active ) );\n if ( active === -1 ) {\n active = collapsible ? false : 0;\n }\n }\n\n // Don't allow collapsible: false and active: false\n if ( !collapsible && active === false && this.anchors.length ) {\n active = 0;\n }\n\n return active;\n },\n\n _getCreateEventData: function() {\n return {\n tab: this.active,\n panel: !this.active.length ? $() : this._getPanelForTab( this.active )\n };\n },\n\n _tabKeydown: function( event ) {\n var focusedTab = $( $.ui.safeActiveElement( this.document[ 0 ] ) ).closest( \"li\" ),\n selectedIndex = this.tabs.index( focusedTab ),\n goingForward = true;\n\n if ( this._handlePageNav( event ) ) {\n return;\n }\n\n switch ( event.keyCode ) {\n case $.ui.keyCode.RIGHT:\n case $.ui.keyCode.DOWN:\n selectedIndex++;\n break;\n case $.ui.keyCode.UP:\n case $.ui.keyCode.LEFT:\n goingForward = false;\n selectedIndex--;\n break;\n case $.ui.keyCode.END:\n selectedIndex = this.anchors.length - 1;\n break;\n case $.ui.keyCode.HOME:\n selectedIndex = 0;\n break;\n case $.ui.keyCode.SPACE:\n\n // Activate only, no collapsing\n event.preventDefault();\n clearTimeout( this.activating );\n this._activate( selectedIndex );\n return;\n case $.ui.keyCode.ENTER:\n\n // Toggle (cancel delayed activation, allow collapsing)\n event.preventDefault();\n clearTimeout( this.activating );\n\n // Determine if we should collapse or activate\n this._activate( selectedIndex === this.options.active ? false : selectedIndex );\n return;\n default:\n return;\n }\n\n // Focus the appropriate tab, based on which key was pressed\n event.preventDefault();\n clearTimeout( this.activating );\n selectedIndex = this._focusNextTab( selectedIndex, goingForward );\n\n // Navigating with control/command key will prevent automatic activation\n if ( !event.ctrlKey && !event.metaKey ) {\n\n // Update aria-selected immediately so that AT think the tab is already selected.\n // Otherwise AT may confuse the user by stating that they need to activate the tab,\n // but the tab will already be activated by the time the announcement finishes.\n focusedTab.attr( \"aria-selected\", \"false\" );\n this.tabs.eq( selectedIndex ).attr( \"aria-selected\", \"true\" );\n\n this.activating = this._delay( function() {\n this.option( \"active\", selectedIndex );\n }, this.delay );\n }\n },\n\n _panelKeydown: function( event ) {\n if ( this._handlePageNav( event ) ) {\n return;\n }\n\n // Ctrl+up moves focus to the current tab\n if ( event.ctrlKey && event.keyCode === $.ui.keyCode.UP ) {\n event.preventDefault();\n this.active.trigger( \"focus\" );\n }\n },\n\n // Alt+page up/down moves focus to the previous/next tab (and activates)\n _handlePageNav: function( event ) {\n if ( event.altKey && event.keyCode === $.ui.keyCode.PAGE_UP ) {\n this._activate( this._focusNextTab( this.options.active - 1, false ) );\n return true;\n }\n if ( event.altKey && event.keyCode === $.ui.keyCode.PAGE_DOWN ) {\n this._activate( this._focusNextTab( this.options.active + 1, true ) );\n return true;\n }\n },\n\n _findNextTab: function( index, goingForward ) {\n var lastTabIndex = this.tabs.length - 1;\n\n function constrain() {\n if ( index > lastTabIndex ) {\n index = 0;\n }\n if ( index < 0 ) {\n index = lastTabIndex;\n }\n return index;\n }\n\n while ( $.inArray( constrain(), this.options.disabled ) !== -1 ) {\n index = goingForward ? index + 1 : index - 1;\n }\n\n return index;\n },\n\n _focusNextTab: function( index, goingForward ) {\n index = this._findNextTab( index, goingForward );\n this.tabs.eq( index ).trigger( \"focus\" );\n return index;\n },\n\n _setOption: function( key, value ) {\n if ( key === \"active\" ) {\n\n // _activate() will handle invalid values and update this.options\n this._activate( value );\n return;\n }\n\n this._super( key, value );\n\n if ( key === \"collapsible\" ) {\n this._toggleClass( \"ui-tabs-collapsible\", null, value );\n\n // Setting collapsible: false while collapsed; open first panel\n if ( !value && this.options.active === false ) {\n this._activate( 0 );\n }\n }\n\n if ( key === \"event\" ) {\n this._setupEvents( value );\n }\n\n if ( key === \"heightStyle\" ) {\n this._setupHeightStyle( value );\n }\n },\n\n _sanitizeSelector: function( hash ) {\n return hash ? hash.replace( /[!\"$%&'()*+,.\\/:;<=>?@\\[\\]\\^`{|}~]/g, \"\\\\$&\" ) : \"\";\n },\n\n refresh: function() {\n var options = this.options,\n lis = this.tablist.children( \":has(a[href])\" );\n\n // Get disabled tabs from class attribute from HTML\n // this will get converted to a boolean if needed in _refresh()\n options.disabled = $.map( lis.filter( \".ui-state-disabled\" ), function( tab ) {\n return lis.index( tab );\n } );\n\n this._processTabs();\n\n // Was collapsed or no tabs\n if ( options.active === false || !this.anchors.length ) {\n options.active = false;\n this.active = $();\n\n // was active, but active tab is gone\n } else if ( this.active.length && !$.contains( this.tablist[ 0 ], this.active[ 0 ] ) ) {\n\n // all remaining tabs are disabled\n if ( this.tabs.length === options.disabled.length ) {\n options.active = false;\n this.active = $();\n\n // activate previous tab\n } else {\n this._activate( this._findNextTab( Math.max( 0, options.active - 1 ), false ) );\n }\n\n // was active, active tab still exists\n } else {\n\n // make sure active index is correct\n options.active = this.tabs.index( this.active );\n }\n\n this._refresh();\n },\n\n _refresh: function() {\n this._setOptionDisabled( this.options.disabled );\n this._setupEvents( this.options.event );\n this._setupHeightStyle( this.options.heightStyle );\n\n this.tabs.not( this.active ).attr( {\n \"aria-selected\": \"false\",\n \"aria-expanded\": \"false\",\n tabIndex: -1\n } );\n this.panels.not( this._getPanelForTab( this.active ) )\n .hide()\n .attr( {\n \"aria-hidden\": \"true\"\n } );\n\n // Make sure one tab is in the tab order\n if ( !this.active.length ) {\n this.tabs.eq( 0 ).attr( \"tabIndex\", 0 );\n } else {\n this.active\n .attr( {\n \"aria-selected\": \"true\",\n \"aria-expanded\": \"true\",\n tabIndex: 0\n } );\n this._addClass( this.active, \"ui-tabs-active\", \"ui-state-active\" );\n this._getPanelForTab( this.active )\n .show()\n .attr( {\n \"aria-hidden\": \"false\"\n } );\n }\n },\n\n _processTabs: function() {\n var that = this,\n prevTabs = this.tabs,\n prevAnchors = this.anchors,\n prevPanels = this.panels;\n\n this.tablist = this._getList().attr( \"role\", \"tablist\" );\n this._addClass( this.tablist, \"ui-tabs-nav\",\n \"ui-helper-reset ui-helper-clearfix ui-widget-header\" );\n\n // Prevent users from focusing disabled tabs via click\n this.tablist\n .on( \"mousedown\" + this.eventNamespace, \"> li\", function( event ) {\n if ( $( this ).is( \".ui-state-disabled\" ) ) {\n event.preventDefault();\n }\n } )\n\n // Support: IE <9\n // Preventing the default action in mousedown doesn't prevent IE\n // from focusing the element, so if the anchor gets focused, blur.\n // We don't have to worry about focusing the previously focused\n // element since clicking on a non-focusable element should focus\n // the body anyway.\n .on( \"focus\" + this.eventNamespace, \".ui-tabs-anchor\", function() {\n if ( $( this ).closest( \"li\" ).is( \".ui-state-disabled\" ) ) {\n this.blur();\n }\n } );\n\n this.tabs = this.tablist.find( \"> li:has(a[href])\" )\n .attr( {\n role: \"tab\",\n tabIndex: -1\n } );\n this._addClass( this.tabs, \"ui-tabs-tab\", \"ui-state-default\" );\n\n this.anchors = this.tabs.map( function() {\n return $( \"a\", this )[ 0 ];\n } )\n .attr( {\n tabIndex: -1\n } );\n this._addClass( this.anchors, \"ui-tabs-anchor\" );\n\n this.panels = $();\n\n this.anchors.each( function( i, anchor ) {\n var selector, panel, panelId,\n anchorId = $( anchor ).uniqueId().attr( \"id\" ),\n tab = $( anchor ).closest( \"li\" ),\n originalAriaControls = tab.attr( \"aria-controls\" );\n\n // Inline tab\n if ( that._isLocal( anchor ) ) {\n selector = anchor.hash;\n panelId = selector.substring( 1 );\n panel = that.element.find( that._sanitizeSelector( selector ) );\n\n // remote tab\n } else {\n\n // If the tab doesn't already have aria-controls,\n // generate an id by using a throw-away element\n panelId = tab.attr( \"aria-controls\" ) || $( {} ).uniqueId()[ 0 ].id;\n selector = \"#\" + panelId;\n panel = that.element.find( selector );\n if ( !panel.length ) {\n panel = that._createPanel( panelId );\n panel.insertAfter( that.panels[ i - 1 ] || that.tablist );\n }\n panel.attr( \"aria-live\", \"polite\" );\n }\n\n if ( panel.length ) {\n that.panels = that.panels.add( panel );\n }\n if ( originalAriaControls ) {\n tab.data( \"ui-tabs-aria-controls\", originalAriaControls );\n }\n tab.attr( {\n \"aria-controls\": panelId,\n \"aria-labelledby\": anchorId\n } );\n panel.attr( \"aria-labelledby\", anchorId );\n } );\n\n this.panels.attr( \"role\", \"tabpanel\" );\n this._addClass( this.panels, \"ui-tabs-panel\", \"ui-widget-content\" );\n\n // Avoid memory leaks (#10056)\n if ( prevTabs ) {\n this._off( prevTabs.not( this.tabs ) );\n this._off( prevAnchors.not( this.anchors ) );\n this._off( prevPanels.not( this.panels ) );\n }\n },\n\n // Allow overriding how to find the list for rare usage scenarios (#7715)\n _getList: function() {\n return this.tablist || this.element.find( \"ol, ul\" ).eq( 0 );\n },\n\n _createPanel: function( id ) {\n return $( \"<div>\" )\n .attr( \"id\", id )\n .data( \"ui-tabs-destroy\", true );\n },\n\n _setOptionDisabled: function( disabled ) {\n var currentItem, li, i;\n\n if ( Array.isArray( disabled ) ) {\n if ( !disabled.length ) {\n disabled = false;\n } else if ( disabled.length === this.anchors.length ) {\n disabled = true;\n }\n }\n\n // Disable tabs\n for ( i = 0; ( li = this.tabs[ i ] ); i++ ) {\n currentItem = $( li );\n if ( disabled === true || $.inArray( i, disabled ) !== -1 ) {\n currentItem.attr( \"aria-disabled\", \"true\" );\n this._addClass( currentItem, null, \"ui-state-disabled\" );\n } else {\n currentItem.removeAttr( \"aria-disabled\" );\n this._removeClass( currentItem, null, \"ui-state-disabled\" );\n }\n }\n\n this.options.disabled = disabled;\n\n this._toggleClass( this.widget(), this.widgetFullName + \"-disabled\", null,\n disabled === true );\n },\n\n _setupEvents: function( event ) {\n var events = {};\n if ( event ) {\n $.each( event.split( \" \" ), function( index, eventName ) {\n events[ eventName ] = \"_eventHandler\";\n } );\n }\n\n this._off( this.anchors.add( this.tabs ).add( this.panels ) );\n\n // Always prevent the default action, even when disabled\n this._on( true, this.anchors, {\n click: function( event ) {\n event.preventDefault();\n }\n } );\n this._on( this.anchors, events );\n this._on( this.tabs, { keydown: \"_tabKeydown\" } );\n this._on( this.panels, { keydown: \"_panelKeydown\" } );\n\n this._focusable( this.tabs );\n this._hoverable( this.tabs );\n },\n\n _setupHeightStyle: function( heightStyle ) {\n var maxHeight,\n parent = this.element.parent();\n\n if ( heightStyle === \"fill\" ) {\n maxHeight = parent.height();\n maxHeight -= this.element.outerHeight() - this.element.height();\n\n this.element.siblings( \":visible\" ).each( function() {\n var elem = $( this ),\n position = elem.css( \"position\" );\n\n if ( position === \"absolute\" || position === \"fixed\" ) {\n return;\n }\n maxHeight -= elem.outerHeight( true );\n } );\n\n this.element.children().not( this.panels ).each( function() {\n maxHeight -= $( this ).outerHeight( true );\n } );\n\n this.panels.each( function() {\n $( this ).height( Math.max( 0, maxHeight -\n $( this ).innerHeight() + $( this ).height() ) );\n } )\n .css( \"overflow\", \"auto\" );\n } else if ( heightStyle === \"auto\" ) {\n maxHeight = 0;\n this.panels.each( function() {\n maxHeight = Math.max( maxHeight, $( this ).height( \"\" ).height() );\n } ).height( maxHeight );\n }\n },\n\n _eventHandler: function( event ) {\n var options = this.options,\n active = this.active,\n anchor = $( event.currentTarget ),\n tab = anchor.closest( \"li\" ),\n clickedIsActive = tab[ 0 ] === active[ 0 ],\n collapsing = clickedIsActive && options.collapsible,\n toShow = collapsing ? $() : this._getPanelForTab( tab ),\n toHide = !active.length ? $() : this._getPanelForTab( active ),\n eventData = {\n oldTab: active,\n oldPanel: toHide,\n newTab: collapsing ? $() : tab,\n newPanel: toShow\n };\n\n event.preventDefault();\n\n if ( tab.hasClass( \"ui-state-disabled\" ) ||\n\n // tab is already loading\n tab.hasClass( \"ui-tabs-loading\" ) ||\n\n // can't switch durning an animation\n this.running ||\n\n // click on active header, but not collapsible\n ( clickedIsActive && !options.collapsible ) ||\n\n // allow canceling activation\n ( this._trigger( \"beforeActivate\", event, eventData ) === false ) ) {\n return;\n }\n\n options.active = collapsing ? false : this.tabs.index( tab );\n\n this.active = clickedIsActive ? $() : tab;\n if ( this.xhr ) {\n this.xhr.abort();\n }\n\n if ( !toHide.length && !toShow.length ) {\n $.error( \"jQuery UI Tabs: Mismatching fragment identifier.\" );\n }\n\n if ( toShow.length ) {\n this.load( this.tabs.index( tab ), event );\n }\n this._toggle( event, eventData );\n },\n\n // Handles show/hide for selecting tabs\n _toggle: function( event, eventData ) {\n var that = this,\n toShow = eventData.newPanel,\n toHide = eventData.oldPanel;\n\n this.running = true;\n\n function complete() {\n that.running = false;\n that._trigger( \"activate\", event, eventData );\n }\n\n function show() {\n that._addClass( eventData.newTab.closest( \"li\" ), \"ui-tabs-active\", \"ui-state-active\" );\n\n if ( toShow.length && that.options.show ) {\n that._show( toShow, that.options.show, complete );\n } else {\n toShow.show();\n complete();\n }\n }\n\n // Start out by hiding, then showing, then completing\n if ( toHide.length && this.options.hide ) {\n this._hide( toHide, this.options.hide, function() {\n that._removeClass( eventData.oldTab.closest( \"li\" ),\n \"ui-tabs-active\", \"ui-state-active\" );\n show();\n } );\n } else {\n this._removeClass( eventData.oldTab.closest( \"li\" ),\n \"ui-tabs-active\", \"ui-state-active\" );\n toHide.hide();\n show();\n }\n\n toHide.attr( \"aria-hidden\", \"true\" );\n eventData.oldTab.attr( {\n \"aria-selected\": \"false\",\n \"aria-expanded\": \"false\"\n } );\n\n // If we're switching tabs, remove the old tab from the tab order.\n // If we're opening from collapsed state, remove the previous tab from the tab order.\n // If we're collapsing, then keep the collapsing tab in the tab order.\n if ( toShow.length && toHide.length ) {\n eventData.oldTab.attr( \"tabIndex\", -1 );\n } else if ( toShow.length ) {\n this.tabs.filter( function() {\n return $( this ).attr( \"tabIndex\" ) === 0;\n } )\n .attr( \"tabIndex\", -1 );\n }\n\n toShow.attr( \"aria-hidden\", \"false\" );\n eventData.newTab.attr( {\n \"aria-selected\": \"true\",\n \"aria-expanded\": \"true\",\n tabIndex: 0\n } );\n },\n\n _activate: function( index ) {\n var anchor,\n active = this._findActive( index );\n\n // Trying to activate the already active panel\n if ( active[ 0 ] === this.active[ 0 ] ) {\n return;\n }\n\n // Trying to collapse, simulate a click on the current active header\n if ( !active.length ) {\n active = this.active;\n }\n\n anchor = active.find( \".ui-tabs-anchor\" )[ 0 ];\n this._eventHandler( {\n target: anchor,\n currentTarget: anchor,\n preventDefault: $.noop\n } );\n },\n\n _findActive: function( index ) {\n return index === false ? $() : this.tabs.eq( index );\n },\n\n _getIndex: function( index ) {\n\n // meta-function to give users option to provide a href string instead of a numerical index.\n if ( typeof index === \"string\" ) {\n index = this.anchors.index( this.anchors.filter( \"[href$='\" +\n $.escapeSelector( index ) + \"']\" ) );\n }\n\n return index;\n },\n\n _destroy: function() {\n if ( this.xhr ) {\n this.xhr.abort();\n }\n\n this.tablist\n .removeAttr( \"role\" )\n .off( this.eventNamespace );\n\n this.anchors\n .removeAttr( \"role tabIndex\" )\n .removeUniqueId();\n\n this.tabs.add( this.panels ).each( function() {\n if ( $.data( this, \"ui-tabs-destroy\" ) ) {\n $( this ).remove();\n } else {\n $( this ).removeAttr( \"role tabIndex \" +\n \"aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded\" );\n }\n } );\n\n this.tabs.each( function() {\n var li = $( this ),\n prev = li.data( \"ui-tabs-aria-controls\" );\n if ( prev ) {\n li\n .attr( \"aria-controls\", prev )\n .removeData( \"ui-tabs-aria-controls\" );\n } else {\n li.removeAttr( \"aria-controls\" );\n }\n } );\n\n this.panels.show();\n\n if ( this.options.heightStyle !== \"content\" ) {\n this.panels.css( \"height\", \"\" );\n }\n },\n\n enable: function( index ) {\n var disabled = this.options.disabled;\n if ( disabled === false ) {\n return;\n }\n\n if ( index === undefined ) {\n disabled = false;\n } else {\n index = this._getIndex( index );\n if ( Array.isArray( disabled ) ) {\n disabled = $.map( disabled, function( num ) {\n return num !== index ? num : null;\n } );\n } else {\n disabled = $.map( this.tabs, function( li, num ) {\n return num !== index ? num : null;\n } );\n }\n }\n this._setOptionDisabled( disabled );\n },\n\n disable: function( index ) {\n var disabled = this.options.disabled;\n if ( disabled === true ) {\n return;\n }\n\n if ( index === undefined ) {\n disabled = true;\n } else {\n index = this._getIndex( index );\n if ( $.inArray( index, disabled ) !== -1 ) {\n return;\n }\n if ( Array.isArray( disabled ) ) {\n disabled = $.merge( [ index ], disabled ).sort();\n } else {\n disabled = [ index ];\n }\n }\n this._setOptionDisabled( disabled );\n },\n\n load: function( index, event ) {\n index = this._getIndex( index );\n var that = this,\n tab = this.tabs.eq( index ),\n anchor = tab.find( \".ui-tabs-anchor\" ),\n panel = this._getPanelForTab( tab ),\n eventData = {\n tab: tab,\n panel: panel\n },\n complete = function( jqXHR, status ) {\n if ( status === \"abort\" ) {\n that.panels.stop( false, true );\n }\n\n that._removeClass( tab, \"ui-tabs-loading\" );\n panel.removeAttr( \"aria-busy\" );\n\n if ( jqXHR === that.xhr ) {\n delete that.xhr;\n }\n };\n\n // Not remote\n if ( this._isLocal( anchor[ 0 ] ) ) {\n return;\n }\n\n this.xhr = $.ajax( this._ajaxSettings( anchor, event, eventData ) );\n\n // Support: jQuery <1.8\n // jQuery <1.8 returns false if the request is canceled in beforeSend,\n // but as of 1.8, $.ajax() always returns a jqXHR object.\n if ( this.xhr && this.xhr.statusText !== \"canceled\" ) {\n this._addClass( tab, \"ui-tabs-loading\" );\n panel.attr( \"aria-busy\", \"true\" );\n\n this.xhr\n .done( function( response, status, jqXHR ) {\n\n // support: jQuery <1.8\n // http://bugs.jquery.com/ticket/11778\n setTimeout( function() {\n panel.html( response );\n that._trigger( \"load\", event, eventData );\n\n complete( jqXHR, status );\n }, 1 );\n } )\n .fail( function( jqXHR, status ) {\n\n // support: jQuery <1.8\n // http://bugs.jquery.com/ticket/11778\n setTimeout( function() {\n complete( jqXHR, status );\n }, 1 );\n } );\n }\n },\n\n _ajaxSettings: function( anchor, event, eventData ) {\n var that = this;\n return {\n\n // Support: IE <11 only\n // Strip any hash that exists to prevent errors with the Ajax request\n url: anchor.attr( \"href\" ).replace( /#.*$/, \"\" ),\n beforeSend: function( jqXHR, settings ) {\n return that._trigger( \"beforeLoad\", event,\n $.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );\n }\n };\n },\n\n _getPanelForTab: function( tab ) {\n var id = $( tab ).attr( \"aria-controls\" );\n return this.element.find( this._sanitizeSelector( \"#\" + id ) );\n }\n } );\n\n// DEPRECATED\n// TODO: Switch return back to widget declaration at top of file when this is removed\n if ( $.uiBackCompat !== false ) {\n\n // Backcompat for ui-tab class (now ui-tabs-tab)\n $.widget( \"ui.tabs\", $.ui.tabs, {\n _processTabs: function() {\n this._superApply( arguments );\n this._addClass( this.tabs, \"ui-tab\" );\n }\n } );\n }\n\n return $.ui.tabs;\n\n} );\n","jquery/ui-modules/i18n/datepicker-fo.js":"/* Faroese initialisation for the jQuery UI date picker plugin */\n/* Written by Sverri Mohr Olsen, [email protected] */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.fo = {\n\tcloseText: \"Lat aftur\",\n\tprevText: \"<Fyrra\",\n\tnextText: \"N\u00e6sta>\",\n\tcurrentText: \"\u00cd dag\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"Mars\", \"Apr\u00edl\", \"Mei\", \"Juni\",\n\t\"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Desember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mei\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Des\" ],\n\tdayNames: [\n\t\t\"Sunnudagur\",\n\t\t\"M\u00e1nadagur\",\n\t\t\"T\u00fdsdagur\",\n\t\t\"Mikudagur\",\n\t\t\"H\u00f3sdagur\",\n\t\t\"Fr\u00edggjadagur\",\n\t\t\"Leyardagur\"\n\t],\n\tdayNamesShort: [ \"Sun\", \"M\u00e1n\", \"T\u00fds\", \"Mik\", \"H\u00f3s\", \"Fr\u00ed\", \"Ley\" ],\n\tdayNamesMin: [ \"Su\", \"M\u00e1\", \"T\u00fd\", \"Mi\", \"H\u00f3\", \"Fr\", \"Le\" ],\n\tweekHeader: \"Vk\",\n\tdateFormat: \"dd-mm-yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.fo );\n\nreturn datepicker.regional.fo;\n\n} );\n","jquery/ui-modules/i18n/datepicker-th.js":"/* Thai initialisation for the jQuery UI date picker plugin. */\n/* Written by pipo ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.th = {\n\tcloseText: \"\u0e1b\u0e34\u0e14\",\n\tprevText: \"« \u0e22\u0e49\u0e2d\u0e19\",\n\tnextText: \"\u0e16\u0e31\u0e14\u0e44\u0e1b »\",\n\tcurrentText: \"\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49\",\n\tmonthNames: [ \"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21\", \"\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c\", \"\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21\", \"\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19\", \"\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21\", \"\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19\",\n\t\"\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21\", \"\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21\", \"\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19\", \"\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21\", \"\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19\", \"\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21\" ],\n\tmonthNamesShort: [ \"\u0e21.\u0e04.\", \"\u0e01.\u0e1e.\", \"\u0e21\u0e35.\u0e04.\", \"\u0e40\u0e21.\u0e22.\", \"\u0e1e.\u0e04.\", \"\u0e21\u0e34.\u0e22.\",\n\t\"\u0e01.\u0e04.\", \"\u0e2a.\u0e04.\", \"\u0e01.\u0e22.\", \"\u0e15.\u0e04.\", \"\u0e1e.\u0e22.\", \"\u0e18.\u0e04.\" ],\n\tdayNames: [ \"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c\", \"\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c\", \"\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23\", \"\u0e1e\u0e38\u0e18\", \"\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35\", \"\u0e28\u0e38\u0e01\u0e23\u0e4c\", \"\u0e40\u0e2a\u0e32\u0e23\u0e4c\" ],\n\tdayNamesShort: [ \"\u0e2d\u0e32.\", \"\u0e08.\", \"\u0e2d.\", \"\u0e1e.\", \"\u0e1e\u0e24.\", \"\u0e28.\", \"\u0e2a.\" ],\n\tdayNamesMin: [ \"\u0e2d\u0e32.\", \"\u0e08.\", \"\u0e2d.\", \"\u0e1e.\", \"\u0e1e\u0e24.\", \"\u0e28.\", \"\u0e2a.\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.th );\n\nreturn datepicker.regional.th;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ar-DZ.js":"/* Algerian Arabic Translation for jQuery UI date picker plugin.\n/* Used in most of Maghreb countries, primarily in Algeria, Tunisia, Morocco.\n/* Mohamed Cherif BOUCHELAGHEM -- [email protected] */\n/* Mohamed Amine HADDAD -- [email protected] */\n\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"ar-DZ\" ] = {\n\tcloseText: \"\u0625\u063a\u0644\u0627\u0642\",\n\tprevText: \"<\u0627\u0644\u0633\u0627\u0628\u0642\",\n\tnextText: \"\u0627\u0644\u062a\u0627\u0644\u064a>\",\n\tcurrentText: \"\u0627\u0644\u064a\u0648\u0645\",\n\tmonthNames: [ \"\u062c\u0627\u0646\u0641\u064a\", \"\u0641\u064a\u0641\u0631\u064a\", \"\u0645\u0627\u0631\u0633\", \"\u0623\u0641\u0631\u064a\u0644\", \"\u0645\u0627\u064a\", \"\u062c\u0648\u0627\u0646\",\n\t\"\u062c\u0648\u064a\u0644\u064a\u0629\", \"\u0623\u0648\u062a\", \"\u0633\u0628\u062a\u0645\u0628\u0631\", \"\u0623\u0643\u062a\u0648\u0628\u0631\", \"\u0646\u0648\u0641\u0645\u0628\u0631\", \"\u062f\u064a\u0633\u0645\u0628\u0631\" ],\n\tmonthNamesShort: [ \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\" ],\n\tdayNames: [ \"\u0627\u0644\u0623\u062d\u062f\", \"\u0627\u0644\u0627\u062b\u0646\u064a\u0646\", \"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621\", \"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621\", \"\u0627\u0644\u062e\u0645\u064a\u0633\", \"\u0627\u0644\u062c\u0645\u0639\u0629\", \"\u0627\u0644\u0633\u0628\u062a\" ],\n\tdayNamesShort: [ \"\u0627\u0644\u0623\u062d\u062f\", \"\u0627\u0644\u0627\u062b\u0646\u064a\u0646\", \"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621\", \"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621\", \"\u0627\u0644\u062e\u0645\u064a\u0633\", \"\u0627\u0644\u062c\u0645\u0639\u0629\", \"\u0627\u0644\u0633\u0628\u062a\" ],\n\tdayNamesMin: [ \"\u062d\", \"\u0646\", \"\u062b\", \"\u0631\", \"\u062e\", \"\u062c\", \"\u0633\" ],\n\tweekHeader: \"\u0623\u0633\u0628\u0648\u0639\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 6,\n\t\tisRTL: true,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"ar-DZ\" ] );\n\nreturn datepicker.regional[ \"ar-DZ\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-it.js":"/* Italian initialisation for the jQuery UI date picker plugin. */\n/* Written by Antonello Pasella ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.it = {\n\tcloseText: \"Chiudi\",\n\tprevText: \"<Prec\",\n\tnextText: \"Succ>\",\n\tcurrentText: \"Oggi\",\n\tmonthNames: [ \"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\",\n\t\t\"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\" ],\n\tmonthNamesShort: [ \"Gen\", \"Feb\", \"Mar\", \"Apr\", \"Mag\", \"Giu\",\n\t\t\"Lug\", \"Ago\", \"Set\", \"Ott\", \"Nov\", \"Dic\" ],\n\tdayNames: [ \"Domenica\", \"Luned\u00ec\", \"Marted\u00ec\", \"Mercoled\u00ec\", \"Gioved\u00ec\", \"Venerd\u00ec\", \"Sabato\" ],\n\tdayNamesShort: [ \"Dom\", \"Lun\", \"Mar\", \"Mer\", \"Gio\", \"Ven\", \"Sab\" ],\n\tdayNamesMin: [ \"Do\", \"Lu\", \"Ma\", \"Me\", \"Gi\", \"Ve\", \"Sa\" ],\n\tweekHeader: \"Sm\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.it );\n\nreturn datepicker.regional.it;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ky.js":"/* Kyrgyz (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Sergey Kartashov ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ky = {\n\tcloseText: \"\u0416\u0430\u0431\u0443\u0443\",\n\tprevText: \"<\u041c\u0443\u0440\",\n\tnextText: \"\u041a\u0438\u0439>\",\n\tcurrentText: \"\u0411\u04af\u0433\u04af\u043d\",\n\tmonthNames: [ \"\u042f\u043d\u0432\u0430\u0440\u044c\", \"\u0424\u0435\u0432\u0440\u0430\u043b\u044c\", \"\u041c\u0430\u0440\u0442\", \"\u0410\u043f\u0440\u0435\u043b\u044c\", \"\u041c\u0430\u0439\", \"\u0418\u044e\u043d\u044c\",\n\t\"\u0418\u044e\u043b\u044c\", \"\u0410\u0432\u0433\u0443\u0441\u0442\", \"\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c\", \"\u041e\u043a\u0442\u044f\u0431\u0440\u044c\", \"\u041d\u043e\u044f\u0431\u0440\u044c\", \"\u0414\u0435\u043a\u0430\u0431\u0440\u044c\" ],\n\tmonthNamesShort: [ \"\u042f\u043d\u0432\", \"\u0424\u0435\u0432\", \"\u041c\u0430\u0440\", \"\u0410\u043f\u0440\", \"\u041c\u0430\u0439\", \"\u0418\u044e\u043d\",\n\t\"\u0418\u044e\u043b\", \"\u0410\u0432\u0433\", \"\u0421\u0435\u043d\", \"\u041e\u043a\u0442\", \"\u041d\u043e\u044f\", \"\u0414\u0435\u043a\" ],\n\tdayNames: [ \"\u0436\u0435\u043a\u0448\u0435\u043c\u0431\u0438\", \"\u0434\u04af\u0439\u0448\u04e9\u043c\u0431\u04af\", \"\u0448\u0435\u0439\u0448\u0435\u043c\u0431\u0438\", \"\u0448\u0430\u0440\u0448\u0435\u043c\u0431\u0438\", \"\u0431\u0435\u0439\u0448\u0435\u043c\u0431\u0438\", \"\u0436\u0443\u043c\u0430\", \"\u0438\u0448\u0435\u043c\u0431\u0438\" ],\n\tdayNamesShort: [ \"\u0436\u0435\u043a\", \"\u0434\u04af\u0439\", \"\u0448\u0435\u0439\", \"\u0448\u0430\u0440\", \"\u0431\u0435\u0439\", \"\u0436\u0443\u043c\", \"\u0438\u0448\u0435\" ],\n\tdayNamesMin: [ \"\u0416\u043a\", \"\u0414\u0448\", \"\u0428\u0448\", \"\u0428\u0440\", \"\u0411\u0448\", \"\u0416\u043c\", \"\u0418\u0448\" ],\n\tweekHeader: \"\u0416\u0443\u043c\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\"\n};\ndatepicker.setDefaults( datepicker.regional.ky );\n\nreturn datepicker.regional.ky;\n\n} );\n","jquery/ui-modules/i18n/datepicker-et.js":"/* Estonian initialisation for the jQuery UI date picker plugin. */\n/* Written by Mart S\u00f5mermaa (mrts.pydev at gmail com). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.et = {\n\tcloseText: \"Sulge\",\n\tprevText: \"Eelnev\",\n\tnextText: \"J\u00e4rgnev\",\n\tcurrentText: \"T\u00e4na\",\n\tmonthNames: [ \"Jaanuar\", \"Veebruar\", \"M\u00e4rts\", \"Aprill\", \"Mai\", \"Juuni\",\n\t\"Juuli\", \"August\", \"September\", \"Oktoober\", \"November\", \"Detsember\" ],\n\tmonthNamesShort: [ \"Jaan\", \"Veebr\", \"M\u00e4rts\", \"Apr\", \"Mai\", \"Juuni\",\n\t\"Juuli\", \"Aug\", \"Sept\", \"Okt\", \"Nov\", \"Dets\" ],\n\tdayNames: [\n\t\t\"P\u00fchap\u00e4ev\",\n\t\t\"Esmasp\u00e4ev\",\n\t\t\"Teisip\u00e4ev\",\n\t\t\"Kolmap\u00e4ev\",\n\t\t\"Neljap\u00e4ev\",\n\t\t\"Reede\",\n\t\t\"Laup\u00e4ev\"\n\t],\n\tdayNamesShort: [ \"P\u00fchap\", \"Esmasp\", \"Teisip\", \"Kolmap\", \"Neljap\", \"Reede\", \"Laup\" ],\n\tdayNamesMin: [ \"P\", \"E\", \"T\", \"K\", \"N\", \"R\", \"L\" ],\n\tweekHeader: \"n\u00e4d\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.et );\n\nreturn datepicker.regional.et;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ta.js":"/* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by S A Sureshkumar ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ta = {\n\tcloseText: \"\u0bae\u0bc2\u0b9f\u0bc1\",\n\tprevText: \"\u0bae\u0bc1\u0ba9\u0bcd\u0ba9\u0bc8\u0baf\u0ba4\u0bc1\",\n\tnextText: \"\u0b85\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4\u0ba4\u0bc1\",\n\tcurrentText: \"\u0b87\u0ba9\u0bcd\u0bb1\u0bc1\",\n\tmonthNames: [ \"\u0ba4\u0bc8\", \"\u0bae\u0bbe\u0b9a\u0bbf\", \"\u0baa\u0b99\u0bcd\u0b95\u0bc1\u0ba9\u0bbf\", \"\u0b9a\u0bbf\u0ba4\u0bcd\u0ba4\u0bbf\u0bb0\u0bc8\", \"\u0bb5\u0bc8\u0b95\u0bbe\u0b9a\u0bbf\", \"\u0b86\u0ba9\u0bbf\",\n\t\"\u0b86\u0b9f\u0bbf\", \"\u0b86\u0bb5\u0ba3\u0bbf\", \"\u0baa\u0bc1\u0bb0\u0b9f\u0bcd\u0b9f\u0bbe\u0b9a\u0bbf\", \"\u0b90\u0baa\u0bcd\u0baa\u0b9a\u0bbf\", \"\u0b95\u0bbe\u0bb0\u0bcd\u0ba4\u0bcd\u0ba4\u0bbf\u0b95\u0bc8\", \"\u0bae\u0bbe\u0bb0\u0bcd\u0b95\u0bb4\u0bbf\" ],\n\tmonthNamesShort: [ \"\u0ba4\u0bc8\", \"\u0bae\u0bbe\u0b9a\u0bbf\", \"\u0baa\u0b99\u0bcd\", \"\u0b9a\u0bbf\u0ba4\u0bcd\", \"\u0bb5\u0bc8\u0b95\u0bbe\", \"\u0b86\u0ba9\u0bbf\",\n\t\"\u0b86\u0b9f\u0bbf\", \"\u0b86\u0bb5\", \"\u0baa\u0bc1\u0bb0\", \"\u0b90\u0baa\u0bcd\", \"\u0b95\u0bbe\u0bb0\u0bcd\", \"\u0bae\u0bbe\u0bb0\u0bcd\" ],\n\tdayNames: [\n\t\t\"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\",\n\t\t\"\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\",\n\t\t\"\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\",\n\t\t\"\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\",\n\t\t\"\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\",\n\t\t\"\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\",\n\t\t\"\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8\"\n\t],\n\tdayNamesShort: [\n\t\t\"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1\",\n\t\t\"\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd\",\n\t\t\"\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\",\n\t\t\"\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\",\n\t\t\"\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd\",\n\t\t\"\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\",\n\t\t\"\u0b9a\u0ba9\u0bbf\"\n\t],\n\tdayNamesMin: [ \"\u0b9e\u0bbe\", \"\u0ba4\u0bbf\", \"\u0b9a\u0bc6\", \"\u0baa\u0bc1\", \"\u0bb5\u0bbf\", \"\u0bb5\u0bc6\", \"\u0b9a\" ],\n\tweekHeader: \"\u041d\u0435\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ta );\n\nreturn datepicker.regional.ta;\n\n} );\n","jquery/ui-modules/i18n/datepicker-lb.js":"/* Luxembourgish initialisation for the jQuery UI date picker plugin. */\n/* Written by Michel Weimerskirch <[email protected]> */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.lb = {\n\tcloseText: \"F\u00e4erdeg\",\n\tprevText: \"Zr\u00e9ck\",\n\tnextText: \"Weider\",\n\tcurrentText: \"Haut\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"M\u00e4erz\", \"Abr\u00ebll\", \"Mee\", \"Juni\",\n\t\"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Dezember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"M\u00e4e\", \"Abr\", \"Mee\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dez\" ],\n\tdayNames: [\n\t\t\"Sonndeg\",\n\t\t\"M\u00e9indeg\",\n\t\t\"D\u00ebnschdeg\",\n\t\t\"M\u00ebttwoch\",\n\t\t\"Donneschdeg\",\n\t\t\"Freideg\",\n\t\t\"Samschdeg\"\n\t],\n\tdayNamesShort: [ \"Son\", \"M\u00e9i\", \"D\u00ebn\", \"M\u00ebt\", \"Don\", \"Fre\", \"Sam\" ],\n\tdayNamesMin: [ \"So\", \"M\u00e9\", \"D\u00eb\", \"M\u00eb\", \"Do\", \"Fr\", \"Sa\" ],\n\tweekHeader: \"W\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.lb );\n\nreturn datepicker.regional.lb;\n\n} );\n","jquery/ui-modules/i18n/datepicker-af.js":"/* Afrikaans initialisation for the jQuery UI date picker plugin. */\n/* Written by Renier Pretorius. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.af = {\n\tcloseText: \"Selekteer\",\n\tprevText: \"Vorige\",\n\tnextText: \"Volgende\",\n\tcurrentText: \"Vandag\",\n\tmonthNames: [ \"Januarie\", \"Februarie\", \"Maart\", \"April\", \"Mei\", \"Junie\",\n\t\"Julie\", \"Augustus\", \"September\", \"Oktober\", \"November\", \"Desember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mrt\", \"Apr\", \"Mei\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Des\" ],\n\tdayNames: [ \"Sondag\", \"Maandag\", \"Dinsdag\", \"Woensdag\", \"Donderdag\", \"Vrydag\", \"Saterdag\" ],\n\tdayNamesShort: [ \"Son\", \"Maa\", \"Din\", \"Woe\", \"Don\", \"Vry\", \"Sat\" ],\n\tdayNamesMin: [ \"So\", \"Ma\", \"Di\", \"Wo\", \"Do\", \"Vr\", \"Sa\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.af );\n\nreturn datepicker.regional.af;\n\n} );\n","jquery/ui-modules/i18n/datepicker-rm.js":"/* Romansh initialisation for the jQuery UI date picker plugin. */\n/* Written by Yvonne Gienal ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.rm = {\n\tcloseText: \"Serrar\",\n\tprevText: \"<Suandant\",\n\tnextText: \"Precedent>\",\n\tcurrentText: \"Actual\",\n\tmonthNames: [\n\t\t\"Schaner\",\n\t\t\"Favrer\",\n\t\t\"Mars\",\n\t\t\"Avrigl\",\n\t\t\"Matg\",\n\t\t\"Zercladur\",\n\t\t\"Fanadur\",\n\t\t\"Avust\",\n\t\t\"Settember\",\n\t\t\"October\",\n\t\t\"November\",\n\t\t\"December\"\n\t],\n\tmonthNamesShort: [\n\t\t\"Scha\",\n\t\t\"Fev\",\n\t\t\"Mar\",\n\t\t\"Avr\",\n\t\t\"Matg\",\n\t\t\"Zer\",\n\t\t\"Fan\",\n\t\t\"Avu\",\n\t\t\"Sett\",\n\t\t\"Oct\",\n\t\t\"Nov\",\n\t\t\"Dec\"\n\t],\n\tdayNames: [ \"Dumengia\", \"Glindesdi\", \"Mardi\", \"Mesemna\", \"Gievgia\", \"Venderdi\", \"Sonda\" ],\n\tdayNamesShort: [ \"Dum\", \"Gli\", \"Mar\", \"Mes\", \"Gie\", \"Ven\", \"Som\" ],\n\tdayNamesMin: [ \"Du\", \"Gl\", \"Ma\", \"Me\", \"Gi\", \"Ve\", \"So\" ],\n\tweekHeader: \"emna\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.rm );\n\nreturn datepicker.regional.rm;\n\n} );\n","jquery/ui-modules/i18n/datepicker-pt-BR.js":"/* Brazilian initialisation for the jQuery UI date picker plugin. */\n/* Written by Leonildo Costa Silva ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"pt-BR\" ] = {\n\tcloseText: \"Fechar\",\n\tprevText: \"<Anterior\",\n\tnextText: \"Pr\u00f3ximo>\",\n\tcurrentText: \"Hoje\",\n\tmonthNames: [ \"Janeiro\", \"Fevereiro\", \"Mar\u00e7o\", \"Abril\", \"Maio\", \"Junho\",\n\t\"Julho\", \"Agosto\", \"Setembro\", \"Outubro\", \"Novembro\", \"Dezembro\" ],\n\tmonthNamesShort: [ \"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\",\n\t\"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\" ],\n\tdayNames: [\n\t\t\"Domingo\",\n\t\t\"Segunda-feira\",\n\t\t\"Ter\u00e7a-feira\",\n\t\t\"Quarta-feira\",\n\t\t\"Quinta-feira\",\n\t\t\"Sexta-feira\",\n\t\t\"S\u00e1bado\"\n\t],\n\tdayNamesShort: [ \"Dom\", \"Seg\", \"Ter\", \"Qua\", \"Qui\", \"Sex\", \"S\u00e1b\" ],\n\tdayNamesMin: [ \"Dom\", \"Seg\", \"Ter\", \"Qua\", \"Qui\", \"Sex\", \"S\u00e1b\" ],\n\tweekHeader: \"Sm\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"pt-BR\" ] );\n\nreturn datepicker.regional[ \"pt-BR\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-en-GB.js":"/* English/UK initialisation for the jQuery UI date picker plugin. */\n/* Written by Stuart. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"en-GB\" ] = {\n\tcloseText: \"Done\",\n\tprevText: \"Prev\",\n\tnextText: \"Next\",\n\tcurrentText: \"Today\",\n\tmonthNames: [ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\",\n\t\"July\", \"August\", \"September\", \"October\", \"November\", \"December\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\" ],\n\tdayNamesShort: [ \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\" ],\n\tdayNamesMin: [ \"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"en-GB\" ] );\n\nreturn datepicker.regional[ \"en-GB\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-fr-CH.js":"/* Swiss-French initialisation for the jQuery UI date picker plugin. */\n/* Written Martin Voelkle ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"fr-CH\" ] = {\n\tcloseText: \"Fermer\",\n\tprevText: \"<Pr\u00e9c\",\n\tnextText: \"Suiv>\",\n\tcurrentText: \"Courant\",\n\tmonthNames: [ \"janvier\", \"f\u00e9vrier\", \"mars\", \"avril\", \"mai\", \"juin\",\n\t\t\"juillet\", \"ao\u00fbt\", \"septembre\", \"octobre\", \"novembre\", \"d\u00e9cembre\" ],\n\tmonthNamesShort: [ \"janv.\", \"f\u00e9vr.\", \"mars\", \"avril\", \"mai\", \"juin\",\n\t\t\"juil.\", \"ao\u00fbt\", \"sept.\", \"oct.\", \"nov.\", \"d\u00e9c.\" ],\n\tdayNames: [ \"dimanche\", \"lundi\", \"mardi\", \"mercredi\", \"jeudi\", \"vendredi\", \"samedi\" ],\n\tdayNamesShort: [ \"dim.\", \"lun.\", \"mar.\", \"mer.\", \"jeu.\", \"ven.\", \"sam.\" ],\n\tdayNamesMin: [ \"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\" ],\n\tweekHeader: \"Sm\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"fr-CH\" ] );\n\nreturn datepicker.regional[ \"fr-CH\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-fi.js":"/* Finnish initialisation for the jQuery UI date picker plugin. */\n/* Written by Harri Kilpi\u00f6 ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.fi = {\n\tcloseText: \"Sulje\",\n\tprevText: \"«Edellinen\",\n\tnextText: \"Seuraava»\",\n\tcurrentText: \"T\u00e4n\u00e4\u00e4n\",\n\tmonthNames: [ \"Tammikuu\", \"Helmikuu\", \"Maaliskuu\", \"Huhtikuu\", \"Toukokuu\", \"Kes\u00e4kuu\",\n\t\"Hein\u00e4kuu\", \"Elokuu\", \"Syyskuu\", \"Lokakuu\", \"Marraskuu\", \"Joulukuu\" ],\n\tmonthNamesShort: [ \"Tammi\", \"Helmi\", \"Maalis\", \"Huhti\", \"Touko\", \"Kes\u00e4\",\n\t\"Hein\u00e4\", \"Elo\", \"Syys\", \"Loka\", \"Marras\", \"Joulu\" ],\n\tdayNamesShort: [ \"Su\", \"Ma\", \"Ti\", \"Ke\", \"To\", \"Pe\", \"La\" ],\n\tdayNames: [ \"Sunnuntai\", \"Maanantai\", \"Tiistai\", \"Keskiviikko\", \"Torstai\", \"Perjantai\", \"Lauantai\" ],\n\tdayNamesMin: [ \"Su\", \"Ma\", \"Ti\", \"Ke\", \"To\", \"Pe\", \"La\" ],\n\tweekHeader: \"Vk\",\n\tdateFormat: \"d.m.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.fi );\n\nreturn datepicker.regional.fi;\n\n} );\n","jquery/ui-modules/i18n/datepicker-da.js":"/* Danish initialisation for the jQuery UI date picker plugin. */\n/* Written by Jan Christensen ( [email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.da = {\n\tcloseText: \"Luk\",\n\tprevText: \"<Forrige\",\n\tnextText: \"N\u00e6ste>\",\n\tcurrentText: \"I dag\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"Marts\", \"April\", \"Maj\", \"Juni\",\n\t\"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"December\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"S\u00f8ndag\", \"Mandag\", \"Tirsdag\", \"Onsdag\", \"Torsdag\", \"Fredag\", \"L\u00f8rdag\" ],\n\tdayNamesShort: [ \"S\u00f8n\", \"Man\", \"Tir\", \"Ons\", \"Tor\", \"Fre\", \"L\u00f8r\" ],\n\tdayNamesMin: [ \"S\u00f8\", \"Ma\", \"Ti\", \"On\", \"To\", \"Fr\", \"L\u00f8\" ],\n\tweekHeader: \"Uge\",\n\tdateFormat: \"dd-mm-yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.da );\n\nreturn datepicker.regional.da;\n\n} );\n","jquery/ui-modules/i18n/datepicker-no.js":"/* Norwegian initialisation for the jQuery UI date picker plugin. */\n/* Written by Naimdjon Takhirov ([email protected]). */\n\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.no = {\n\tcloseText: \"Lukk\",\n\tprevText: \"«Forrige\",\n\tnextText: \"Neste»\",\n\tcurrentText: \"I dag\",\n\tmonthNames: [\n\t\t\"januar\",\n\t\t\"februar\",\n\t\t\"mars\",\n\t\t\"april\",\n\t\t\"mai\",\n\t\t\"juni\",\n\t\t\"juli\",\n\t\t\"august\",\n\t\t\"september\",\n\t\t\"oktober\",\n\t\t\"november\",\n\t\t\"desember\"\n\t],\n\tmonthNamesShort: [ \"jan\", \"feb\", \"mar\", \"apr\", \"mai\", \"jun\", \"jul\", \"aug\", \"sep\", \"okt\", \"nov\", \"des\" ],\n\tdayNamesShort: [ \"s\u00f8n\", \"man\", \"tir\", \"ons\", \"tor\", \"fre\", \"l\u00f8r\" ],\n\tdayNames: [ \"s\u00f8ndag\", \"mandag\", \"tirsdag\", \"onsdag\", \"torsdag\", \"fredag\", \"l\u00f8rdag\" ],\n\tdayNamesMin: [ \"s\u00f8\", \"ma\", \"ti\", \"on\", \"to\", \"fr\", \"l\u00f8\" ],\n\tweekHeader: \"Uke\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\"\n};\ndatepicker.setDefaults( datepicker.regional.no );\n\nreturn datepicker.regional.no;\n\n} );\n","jquery/ui-modules/i18n/datepicker-es.js":"/* Inicializaci\u00f3n en espa\u00f1ol para la extensi\u00f3n 'UI date picker' para jQuery. */\n/* Traducido por Vester ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.es = {\n\tcloseText: \"Cerrar\",\n\tprevText: \"<Ant\",\n\tnextText: \"Sig>\",\n\tcurrentText: \"Hoy\",\n\tmonthNames: [ \"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\",\n\t\"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\" ],\n\tmonthNamesShort: [ \"ene\", \"feb\", \"mar\", \"abr\", \"may\", \"jun\",\n\t\"jul\", \"ago\", \"sep\", \"oct\", \"nov\", \"dic\" ],\n\tdayNames: [ \"domingo\", \"lunes\", \"martes\", \"mi\u00e9rcoles\", \"jueves\", \"viernes\", \"s\u00e1bado\" ],\n\tdayNamesShort: [ \"dom\", \"lun\", \"mar\", \"mi\u00e9\", \"jue\", \"vie\", \"s\u00e1b\" ],\n\tdayNamesMin: [ \"D\", \"L\", \"M\", \"X\", \"J\", \"V\", \"S\" ],\n\tweekHeader: \"Sm\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.es );\n\nreturn datepicker.regional.es;\n\n} );\n","jquery/ui-modules/i18n/datepicker-he.js":"/* Hebrew initialisation for the UI Datepicker extension. */\n/* Written by Amir Hardon (ahardon at gmail dot com). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.he = {\n\tcloseText: \"\u05e1\u05d2\u05d5\u05e8\",\n\tprevText: \"<\u05d4\u05e7\u05d5\u05d3\u05dd\",\n\tnextText: \"\u05d4\u05d1\u05d0>\",\n\tcurrentText: \"\u05d4\u05d9\u05d5\u05dd\",\n\tmonthNames: [ \"\u05d9\u05e0\u05d5\u05d0\u05e8\", \"\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8\", \"\u05de\u05e8\u05e5\", \"\u05d0\u05e4\u05e8\u05d9\u05dc\", \"\u05de\u05d0\u05d9\", \"\u05d9\u05d5\u05e0\u05d9\",\n\t\"\u05d9\u05d5\u05dc\u05d9\", \"\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8\", \"\u05e1\u05e4\u05d8\u05de\u05d1\u05e8\", \"\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8\", \"\u05e0\u05d5\u05d1\u05de\u05d1\u05e8\", \"\u05d3\u05e6\u05de\u05d1\u05e8\" ],\n\tmonthNamesShort: [ \"\u05d9\u05e0\u05d5\", \"\u05e4\u05d1\u05e8\", \"\u05de\u05e8\u05e5\", \"\u05d0\u05e4\u05e8\", \"\u05de\u05d0\u05d9\", \"\u05d9\u05d5\u05e0\u05d9\",\n\t\"\u05d9\u05d5\u05dc\u05d9\", \"\u05d0\u05d5\u05d2\", \"\u05e1\u05e4\u05d8\", \"\u05d0\u05d5\u05e7\", \"\u05e0\u05d5\u05d1\", \"\u05d3\u05e6\u05de\" ],\n\tdayNames: [ \"\u05e8\u05d0\u05e9\u05d5\u05df\", \"\u05e9\u05e0\u05d9\", \"\u05e9\u05dc\u05d9\u05e9\u05d9\", \"\u05e8\u05d1\u05d9\u05e2\u05d9\", \"\u05d7\u05de\u05d9\u05e9\u05d9\", \"\u05e9\u05d9\u05e9\u05d9\", \"\u05e9\u05d1\u05ea\" ],\n\tdayNamesShort: [ \"\u05d0'\", \"\u05d1'\", \"\u05d2'\", \"\u05d3'\", \"\u05d4'\", \"\u05d5'\", \"\u05e9\u05d1\u05ea\" ],\n\tdayNamesMin: [ \"\u05d0'\", \"\u05d1'\", \"\u05d2'\", \"\u05d3'\", \"\u05d4'\", \"\u05d5'\", \"\u05e9\u05d1\u05ea\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: true,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.he );\n\nreturn datepicker.regional.he;\n\n} );\n","jquery/ui-modules/i18n/datepicker-lt.js":"/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* @author Arturas Paleicikas <[email protected]> */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.lt = {\n\tcloseText: \"U\u017edaryti\",\n\tprevText: \"<Atgal\",\n\tnextText: \"Pirmyn>\",\n\tcurrentText: \"\u0160iandien\",\n\tmonthNames: [ \"Sausis\", \"Vasaris\", \"Kovas\", \"Balandis\", \"Gegu\u017e\u0117\", \"Bir\u017eelis\",\n\t\"Liepa\", \"Rugpj\u016btis\", \"Rugs\u0117jis\", \"Spalis\", \"Lapkritis\", \"Gruodis\" ],\n\tmonthNamesShort: [ \"Sau\", \"Vas\", \"Kov\", \"Bal\", \"Geg\", \"Bir\",\n\t\"Lie\", \"Rugp\", \"Rugs\", \"Spa\", \"Lap\", \"Gru\" ],\n\tdayNames: [\n\t\t\"sekmadienis\",\n\t\t\"pirmadienis\",\n\t\t\"antradienis\",\n\t\t\"tre\u010diadienis\",\n\t\t\"ketvirtadienis\",\n\t\t\"penktadienis\",\n\t\t\"\u0161e\u0161tadienis\"\n\t],\n\tdayNamesShort: [ \"sek\", \"pir\", \"ant\", \"tre\", \"ket\", \"pen\", \"\u0161e\u0161\" ],\n\tdayNamesMin: [ \"Se\", \"Pr\", \"An\", \"Tr\", \"Ke\", \"Pe\", \"\u0160e\" ],\n\tweekHeader: \"SAV\",\n\tdateFormat: \"yy-mm-dd\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.lt );\n\nreturn datepicker.regional.lt;\n\n} );\n","jquery/ui-modules/i18n/datepicker-hu.js":"/* Hungarian initialisation for the jQuery UI date picker plugin. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.hu = {\n\tcloseText: \"Bez\u00e1r\",\n\tprevText: \"Vissza\",\n\tnextText: \"El\u0151re\",\n\tcurrentText: \"Ma\",\n\tmonthNames: [ \"Janu\u00e1r\", \"Febru\u00e1r\", \"M\u00e1rcius\", \"\u00c1prilis\", \"M\u00e1jus\", \"J\u00fanius\",\n\t\"J\u00falius\", \"Augusztus\", \"Szeptember\", \"Okt\u00f3ber\", \"November\", \"December\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"M\u00e1r\", \"\u00c1pr\", \"M\u00e1j\", \"J\u00fan\",\n\t\"J\u00fal\", \"Aug\", \"Szep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Vas\u00e1rnap\", \"H\u00e9tf\u0151\", \"Kedd\", \"Szerda\", \"Cs\u00fct\u00f6rt\u00f6k\", \"P\u00e9ntek\", \"Szombat\" ],\n\tdayNamesShort: [ \"Vas\", \"H\u00e9t\", \"Ked\", \"Sze\", \"Cs\u00fc\", \"P\u00e9n\", \"Szo\" ],\n\tdayNamesMin: [ \"V\", \"H\", \"K\", \"Sze\", \"Cs\", \"P\", \"Szo\" ],\n\tweekHeader: \"H\u00e9t\",\n\tdateFormat: \"yy.mm.dd.\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.hu );\n\nreturn datepicker.regional.hu;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ka.js":"/* Georgian (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Lado Lomidze ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ka = {\n\tcloseText: \"\u10d3\u10d0\u10ee\u10e3\u10e0\u10d5\u10d0\",\n\tprevText: \"< \u10ec\u10d8\u10dc\u10d0\",\n\tnextText: \"\u10e8\u10d4\u10db\u10d3\u10d4\u10d2\u10d8 >\",\n\tcurrentText: \"\u10d3\u10e6\u10d4\u10e1\",\n\tmonthNames: [\n\t\t\"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8\",\n\t\t\"\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8\",\n\t\t\"\u10db\u10d0\u10e0\u10e2\u10d8\",\n\t\t\"\u10d0\u10de\u10e0\u10d8\u10da\u10d8\",\n\t\t\"\u10db\u10d0\u10d8\u10e1\u10d8\",\n\t\t\"\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8\",\n\t\t\"\u10d8\u10d5\u10da\u10d8\u10e1\u10d8\",\n\t\t\"\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd\",\n\t\t\"\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8\",\n\t\t\"\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8\",\n\t\t\"\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8\",\n\t\t\"\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8\"\n\t],\n\tmonthNamesShort: [ \"\u10d8\u10d0\u10dc\", \"\u10d7\u10d4\u10d1\", \"\u10db\u10d0\u10e0\", \"\u10d0\u10de\u10e0\", \"\u10db\u10d0\u10d8\", \"\u10d8\u10d5\u10dc\", \"\u10d8\u10d5\u10da\", \"\u10d0\u10d2\u10d5\", \"\u10e1\u10d4\u10e5\", \"\u10dd\u10e5\u10e2\", \"\u10dc\u10dd\u10d4\", \"\u10d3\u10d4\u10d9\" ],\n\tdayNames: [ \"\u10d9\u10d5\u10d8\u10e0\u10d0\", \"\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8\", \"\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8\", \"\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8\", \"\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8\", \"\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8\", \"\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8\" ],\n\tdayNamesShort: [ \"\u10d9\u10d5\", \"\u10dd\u10e0\u10e8\", \"\u10e1\u10d0\u10db\", \"\u10dd\u10d7\u10ee\", \"\u10ee\u10e3\u10d7\", \"\u10de\u10d0\u10e0\", \"\u10e8\u10d0\u10d1\" ],\n\tdayNamesMin: [ \"\u10d9\u10d5\", \"\u10dd\u10e0\u10e8\", \"\u10e1\u10d0\u10db\", \"\u10dd\u10d7\u10ee\", \"\u10ee\u10e3\u10d7\", \"\u10de\u10d0\u10e0\", \"\u10e8\u10d0\u10d1\" ],\n\tweekHeader: \"\u10d9\u10d5\u10d8\u10e0\u10d0\",\n\tdateFormat: \"dd-mm-yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ka );\n\nreturn datepicker.regional.ka;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ms.js":"/* Malaysian initialisation for the jQuery UI date picker plugin. */\n/* Written by Mohd Nawawi Mohamad Jamili ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ms = {\n\tcloseText: \"Tutup\",\n\tprevText: \"<Sebelum\",\n\tnextText: \"Selepas>\",\n\tcurrentText: \"hari ini\",\n\tmonthNames: [ \"Januari\", \"Februari\", \"Mac\", \"April\", \"Mei\", \"Jun\",\n\t\"Julai\", \"Ogos\", \"September\", \"Oktober\", \"November\", \"Disember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mac\", \"Apr\", \"Mei\", \"Jun\",\n\t\"Jul\", \"Ogo\", \"Sep\", \"Okt\", \"Nov\", \"Dis\" ],\n\tdayNames: [ \"Ahad\", \"Isnin\", \"Selasa\", \"Rabu\", \"Khamis\", \"Jumaat\", \"Sabtu\" ],\n\tdayNamesShort: [ \"Aha\", \"Isn\", \"Sel\", \"Rab\", \"kha\", \"Jum\", \"Sab\" ],\n\tdayNamesMin: [ \"Ah\", \"Is\", \"Se\", \"Ra\", \"Kh\", \"Ju\", \"Sa\" ],\n\tweekHeader: \"Mg\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ms );\n\nreturn datepicker.regional.ms;\n\n} );\n","jquery/ui-modules/i18n/datepicker-hr.js":"/* Croatian i18n for the jQuery UI date picker plugin. */\n/* Written by Vjekoslav Nesek. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.hr = {\n\tcloseText: \"Zatvori\",\n\tprevText: \"<\",\n\tnextText: \">\",\n\tcurrentText: \"Danas\",\n\tmonthNames: [ \"Sije\u010danj\", \"Velja\u010da\", \"O\u017eujak\", \"Travanj\", \"Svibanj\", \"Lipanj\",\n\t\"Srpanj\", \"Kolovoz\", \"Rujan\", \"Listopad\", \"Studeni\", \"Prosinac\" ],\n\tmonthNamesShort: [ \"Sij\", \"Velj\", \"O\u017eu\", \"Tra\", \"Svi\", \"Lip\",\n\t\"Srp\", \"Kol\", \"Ruj\", \"Lis\", \"Stu\", \"Pro\" ],\n\tdayNames: [ \"Nedjelja\", \"Ponedjeljak\", \"Utorak\", \"Srijeda\", \"\u010cetvrtak\", \"Petak\", \"Subota\" ],\n\tdayNamesShort: [ \"Ned\", \"Pon\", \"Uto\", \"Sri\", \"\u010cet\", \"Pet\", \"Sub\" ],\n\tdayNamesMin: [ \"Ne\", \"Po\", \"Ut\", \"Sr\", \"\u010ce\", \"Pe\", \"Su\" ],\n\tweekHeader: \"Tje\",\n\tdateFormat: \"dd.mm.yy.\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.hr );\n\nreturn datepicker.regional.hr;\n\n} );\n","jquery/ui-modules/i18n/datepicker-pl.js":"/* Polish initialisation for the jQuery UI date picker plugin. */\n/* Written by Jacek Wysocki ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.pl = {\n\tcloseText: \"Zamknij\",\n\tprevText: \"<Poprzedni\",\n\tnextText: \"Nast\u0119pny>\",\n\tcurrentText: \"Dzi\u015b\",\n\tmonthNames: [ \"Stycze\u0144\", \"Luty\", \"Marzec\", \"Kwiecie\u0144\", \"Maj\", \"Czerwiec\",\n\t\"Lipiec\", \"Sierpie\u0144\", \"Wrzesie\u0144\", \"Pa\u017adziernik\", \"Listopad\", \"Grudzie\u0144\" ],\n\tmonthNamesShort: [ \"Sty\", \"Lu\", \"Mar\", \"Kw\", \"Maj\", \"Cze\",\n\t\"Lip\", \"Sie\", \"Wrz\", \"Pa\", \"Lis\", \"Gru\" ],\n\tdayNames: [ \"Niedziela\", \"Poniedzia\u0142ek\", \"Wtorek\", \"\u015aroda\", \"Czwartek\", \"Pi\u0105tek\", \"Sobota\" ],\n\tdayNamesShort: [ \"Nie\", \"Pn\", \"Wt\", \"\u015ar\", \"Czw\", \"Pt\", \"So\" ],\n\tdayNamesMin: [ \"N\", \"Pn\", \"Wt\", \"\u015ar\", \"Cz\", \"Pt\", \"So\" ],\n\tweekHeader: \"Tydz\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.pl );\n\nreturn datepicker.regional.pl;\n\n} );\n","jquery/ui-modules/i18n/datepicker-tr.js":"/* Turkish initialisation for the jQuery UI date picker plugin. */\n/* Written by Izzet Emre Erkan ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.tr = {\n\tcloseText: \"kapat\",\n\tprevText: \"<geri\",\n\tnextText: \"ileri>\",\n\tcurrentText: \"bug\u00fcn\",\n\tmonthNames: [ \"Ocak\", \"\u015eubat\", \"Mart\", \"Nisan\", \"May\u0131s\", \"Haziran\",\n\t\"Temmuz\", \"A\u011fustos\", \"Eyl\u00fcl\", \"Ekim\", \"Kas\u0131m\", \"Aral\u0131k\" ],\n\tmonthNamesShort: [ \"Oca\", \"\u015eub\", \"Mar\", \"Nis\", \"May\", \"Haz\",\n\t\"Tem\", \"A\u011fu\", \"Eyl\", \"Eki\", \"Kas\", \"Ara\" ],\n\tdayNames: [ \"Pazar\", \"Pazartesi\", \"Sal\u0131\", \"\u00c7ar\u015famba\", \"Per\u015fembe\", \"Cuma\", \"Cumartesi\" ],\n\tdayNamesShort: [ \"Pz\", \"Pt\", \"Sa\", \"\u00c7a\", \"Pe\", \"Cu\", \"Ct\" ],\n\tdayNamesMin: [ \"Pz\", \"Pt\", \"Sa\", \"\u00c7a\", \"Pe\", \"Cu\", \"Ct\" ],\n\tweekHeader: \"Hf\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.tr );\n\nreturn datepicker.regional.tr;\n\n} );\n","jquery/ui-modules/i18n/datepicker-fr.js":"/* French initialisation for the jQuery UI date picker plugin. */\n/* Written by Keith Wood (kbwood{at}iinet.com.au),\n\t\t\t St\u00e9phane Nahmani ([email protected]),\n\t\t\t St\u00e9phane Raimbault <[email protected]> */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.fr = {\n\tcloseText: \"Fermer\",\n\tprevText: \"Pr\u00e9c\u00e9dent\",\n\tnextText: \"Suivant\",\n\tcurrentText: \"Aujourd'hui\",\n\tmonthNames: [ \"janvier\", \"f\u00e9vrier\", \"mars\", \"avril\", \"mai\", \"juin\",\n\t\t\"juillet\", \"ao\u00fbt\", \"septembre\", \"octobre\", \"novembre\", \"d\u00e9cembre\" ],\n\tmonthNamesShort: [ \"janv.\", \"f\u00e9vr.\", \"mars\", \"avr.\", \"mai\", \"juin\",\n\t\t\"juil.\", \"ao\u00fbt\", \"sept.\", \"oct.\", \"nov.\", \"d\u00e9c.\" ],\n\tdayNames: [ \"dimanche\", \"lundi\", \"mardi\", \"mercredi\", \"jeudi\", \"vendredi\", \"samedi\" ],\n\tdayNamesShort: [ \"dim.\", \"lun.\", \"mar.\", \"mer.\", \"jeu.\", \"ven.\", \"sam.\" ],\n\tdayNamesMin: [ \"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\" ],\n\tweekHeader: \"Sem.\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.fr );\n\nreturn datepicker.regional.fr;\n\n} );\n","jquery/ui-modules/i18n/datepicker-sr.js":"/* Serbian i18n for the jQuery UI date picker plugin. */\n/* Written by Dejan Dimi\u0107. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.sr = {\n\tcloseText: \"\u0417\u0430\u0442\u0432\u043e\u0440\u0438\",\n\tprevText: \"<\",\n\tnextText: \">\",\n\tcurrentText: \"\u0414\u0430\u043d\u0430\u0441\",\n\tmonthNames: [ \"\u0408\u0430\u043d\u0443\u0430\u0440\", \"\u0424\u0435\u0431\u0440\u0443\u0430\u0440\", \"\u041c\u0430\u0440\u0442\", \"\u0410\u043f\u0440\u0438\u043b\", \"\u041c\u0430\u0458\", \"\u0408\u0443\u043d\",\n\t\"\u0408\u0443\u043b\", \"\u0410\u0432\u0433\u0443\u0441\u0442\", \"\u0421\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440\", \"\u041e\u043a\u0442\u043e\u0431\u0430\u0440\", \"\u041d\u043e\u0432\u0435\u043c\u0431\u0430\u0440\", \"\u0414\u0435\u0446\u0435\u043c\u0431\u0430\u0440\" ],\n\tmonthNamesShort: [ \"\u0408\u0430\u043d\", \"\u0424\u0435\u0431\", \"\u041c\u0430\u0440\", \"\u0410\u043f\u0440\", \"\u041c\u0430\u0458\", \"\u0408\u0443\u043d\",\n\t\"\u0408\u0443\u043b\", \"\u0410\u0432\u0433\", \"\u0421\u0435\u043f\", \"\u041e\u043a\u0442\", \"\u041d\u043e\u0432\", \"\u0414\u0435\u0446\" ],\n\tdayNames: [ \"\u041d\u0435\u0434\u0435\u0459\u0430\", \"\u041f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a\", \"\u0423\u0442\u043e\u0440\u0430\u043a\", \"\u0421\u0440\u0435\u0434\u0430\", \"\u0427\u0435\u0442\u0432\u0440\u0442\u0430\u043a\", \"\u041f\u0435\u0442\u0430\u043a\", \"\u0421\u0443\u0431\u043e\u0442\u0430\" ],\n\tdayNamesShort: [ \"\u041d\u0435\u0434\", \"\u041f\u043e\u043d\", \"\u0423\u0442\u043e\", \"\u0421\u0440\u0435\", \"\u0427\u0435\u0442\", \"\u041f\u0435\u0442\", \"\u0421\u0443\u0431\" ],\n\tdayNamesMin: [ \"\u041d\u0435\", \"\u041f\u043e\", \"\u0423\u0442\", \"\u0421\u0440\", \"\u0427\u0435\", \"\u041f\u0435\", \"\u0421\u0443\" ],\n\tweekHeader: \"\u0421\u0435\u0434\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.sr );\n\nreturn datepicker.regional.sr;\n\n} );\n","jquery/ui-modules/i18n/datepicker-sr-SR.js":"/* Serbian i18n for the jQuery UI date picker plugin. */\n/* Written by Dejan Dimi\u0107. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"sr-SR\" ] = {\n\tcloseText: \"Zatvori\",\n\tprevText: \"<\",\n\tnextText: \">\",\n\tcurrentText: \"Danas\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"Mart\", \"April\", \"Maj\", \"Jun\",\n\t\"Jul\", \"Avgust\", \"Septembar\", \"Oktobar\", \"Novembar\", \"Decembar\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\",\n\t\"Jul\", \"Avg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Nedelja\", \"Ponedeljak\", \"Utorak\", \"Sreda\", \"\u010cetvrtak\", \"Petak\", \"Subota\" ],\n\tdayNamesShort: [ \"Ned\", \"Pon\", \"Uto\", \"Sre\", \"\u010cet\", \"Pet\", \"Sub\" ],\n\tdayNamesMin: [ \"Ne\", \"Po\", \"Ut\", \"Sr\", \"\u010ce\", \"Pe\", \"Su\" ],\n\tweekHeader: \"Sed\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"sr-SR\" ] );\n\nreturn datepicker.regional[ \"sr-SR\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-de.js":"/* German initialisation for the jQuery UI date picker plugin. */\n/* Written by Milian Wolff ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.de = {\n\tcloseText: \"Schlie\u00dfen\",\n\tprevText: \"<Zur\u00fcck\",\n\tnextText: \"Vor>\",\n\tcurrentText: \"Heute\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"M\u00e4rz\", \"April\", \"Mai\", \"Juni\",\n\t\"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Dezember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"M\u00e4r\", \"Apr\", \"Mai\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dez\" ],\n\tdayNames: [ \"Sonntag\", \"Montag\", \"Dienstag\", \"Mittwoch\", \"Donnerstag\", \"Freitag\", \"Samstag\" ],\n\tdayNamesShort: [ \"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\" ],\n\tdayNamesMin: [ \"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\" ],\n\tweekHeader: \"KW\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.de );\n\nreturn datepicker.regional.de;\n\n} );\n","jquery/ui-modules/i18n/datepicker-nb.js":"/* Norwegian Bokm\u00e5l initialisation for the jQuery UI date picker plugin. */\n/* Written by Bj\u00f8rn Johansen ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.nb = {\n\tcloseText: \"Lukk\",\n\tprevText: \"«Forrige\",\n\tnextText: \"Neste»\",\n\tcurrentText: \"I dag\",\n\tmonthNames: [\n\t\t\"januar\",\n\t\t\"februar\",\n\t\t\"mars\",\n\t\t\"april\",\n\t\t\"mai\",\n\t\t\"juni\",\n\t\t\"juli\",\n\t\t\"august\",\n\t\t\"september\",\n\t\t\"oktober\",\n\t\t\"november\",\n\t\t\"desember\"\n\t],\n\tmonthNamesShort: [ \"jan\", \"feb\", \"mar\", \"apr\", \"mai\", \"jun\", \"jul\", \"aug\", \"sep\", \"okt\", \"nov\", \"des\" ],\n\tdayNamesShort: [ \"s\u00f8n\", \"man\", \"tir\", \"ons\", \"tor\", \"fre\", \"l\u00f8r\" ],\n\tdayNames: [ \"s\u00f8ndag\", \"mandag\", \"tirsdag\", \"onsdag\", \"torsdag\", \"fredag\", \"l\u00f8rdag\" ],\n\tdayNamesMin: [ \"s\u00f8\", \"ma\", \"ti\", \"on\", \"to\", \"fr\", \"l\u00f8\" ],\n\tweekHeader: \"Uke\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\"\n};\ndatepicker.setDefaults( datepicker.regional.nb );\n\nreturn datepicker.regional.nb;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ca.js":"/* Inicialitzaci\u00f3 en catal\u00e0 per a l'extensi\u00f3 'UI date picker' per jQuery. */\n/* Writers: ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ca = {\n\tcloseText: \"Tanca\",\n\tprevText: \"Anterior\",\n\tnextText: \"Seg\u00fcent\",\n\tcurrentText: \"Avui\",\n\tmonthNames: [ \"gener\", \"febrer\", \"mar\u00e7\", \"abril\", \"maig\", \"juny\",\n\t\"juliol\", \"agost\", \"setembre\", \"octubre\", \"novembre\", \"desembre\" ],\n\tmonthNamesShort: [ \"gen\", \"feb\", \"mar\u00e7\", \"abr\", \"maig\", \"juny\",\n\t\"jul\", \"ag\", \"set\", \"oct\", \"nov\", \"des\" ],\n\tdayNames: [ \"diumenge\", \"dilluns\", \"dimarts\", \"dimecres\", \"dijous\", \"divendres\", \"dissabte\" ],\n\tdayNamesShort: [ \"dg\", \"dl\", \"dt\", \"dc\", \"dj\", \"dv\", \"ds\" ],\n\tdayNamesMin: [ \"dg\", \"dl\", \"dt\", \"dc\", \"dj\", \"dv\", \"ds\" ],\n\tweekHeader: \"Set\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ca );\n\nreturn datepicker.regional.ca;\n\n} );\n","jquery/ui-modules/i18n/datepicker-it-CH.js":"/* Italian initialisation for the jQuery UI date picker plugin. */\n/* Written by Antonello Pasella ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"it-CH\" ] = {\n\tcloseText: \"Chiudi\",\n\tprevText: \"<Prec\",\n\tnextText: \"Succ>\",\n\tcurrentText: \"Oggi\",\n\tmonthNames: [ \"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\",\n\t\t\"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\" ],\n\tmonthNamesShort: [ \"Gen\", \"Feb\", \"Mar\", \"Apr\", \"Mag\", \"Giu\",\n\t\t\"Lug\", \"Ago\", \"Set\", \"Ott\", \"Nov\", \"Dic\" ],\n\tdayNames: [ \"Domenica\", \"Luned\u00ec\", \"Marted\u00ec\", \"Mercoled\u00ec\", \"Gioved\u00ec\", \"Venerd\u00ec\", \"Sabato\" ],\n\tdayNamesShort: [ \"Dom\", \"Lun\", \"Mar\", \"Mer\", \"Gio\", \"Ven\", \"Sab\" ],\n\tdayNamesMin: [ \"Do\", \"Lu\", \"Ma\", \"Me\", \"Gi\", \"Ve\", \"Sa\" ],\n\tweekHeader: \"Sm\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"it-CH\" ] );\n\nreturn datepicker.regional[ \"it-CH\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-eu.js":"/* Karrikas-ek itzulia ([email protected]) */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.eu = {\n\tcloseText: \"Egina\",\n\tprevText: \"<Aur\",\n\tnextText: \"Hur>\",\n\tcurrentText: \"Gaur\",\n\tmonthNames: [ \"urtarrila\", \"otsaila\", \"martxoa\", \"apirila\", \"maiatza\", \"ekaina\",\n\t\t\"uztaila\", \"abuztua\", \"iraila\", \"urria\", \"azaroa\", \"abendua\" ],\n\tmonthNamesShort: [ \"urt.\", \"ots.\", \"mar.\", \"api.\", \"mai.\", \"eka.\",\n\t\t\"uzt.\", \"abu.\", \"ira.\", \"urr.\", \"aza.\", \"abe.\" ],\n\tdayNames: [ \"igandea\", \"astelehena\", \"asteartea\", \"asteazkena\", \"osteguna\", \"ostirala\", \"larunbata\" ],\n\tdayNamesShort: [ \"ig.\", \"al.\", \"ar.\", \"az.\", \"og.\", \"ol.\", \"lr.\" ],\n\tdayNamesMin: [ \"ig\", \"al\", \"ar\", \"az\", \"og\", \"ol\", \"lr\" ],\n\tweekHeader: \"As\",\n\tdateFormat: \"yy-mm-dd\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.eu );\n\nreturn datepicker.regional.eu;\n\n} );\n","jquery/ui-modules/i18n/datepicker-sv.js":"/* Swedish initialisation for the jQuery UI date picker plugin. */\n/* Written by Anders Ekdahl ( [email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.sv = {\n\tcloseText: \"St\u00e4ng\",\n\tprevText: \"«F\u00f6rra\",\n\tnextText: \"N\u00e4sta»\",\n\tcurrentText: \"Idag\",\n\tmonthNames: [ \"januari\", \"februari\", \"mars\", \"april\", \"maj\", \"juni\",\n\t\"juli\", \"augusti\", \"september\", \"oktober\", \"november\", \"december\" ],\n\tmonthNamesShort: [ \"jan.\", \"feb.\", \"mars\", \"apr.\", \"maj\", \"juni\",\n\t\"juli\", \"aug.\", \"sep.\", \"okt.\", \"nov.\", \"dec.\" ],\n\tdayNamesShort: [ \"s\u00f6n\", \"m\u00e5n\", \"tis\", \"ons\", \"tor\", \"fre\", \"l\u00f6r\" ],\n\tdayNames: [ \"s\u00f6ndag\", \"m\u00e5ndag\", \"tisdag\", \"onsdag\", \"torsdag\", \"fredag\", \"l\u00f6rdag\" ],\n\tdayNamesMin: [ \"s\u00f6\", \"m\u00e5\", \"ti\", \"on\", \"to\", \"fr\", \"l\u00f6\" ],\n\tweekHeader: \"Ve\",\n\tdateFormat: \"yy-mm-dd\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.sv );\n\nreturn datepicker.regional.sv;\n\n} );\n","jquery/ui-modules/i18n/datepicker-id.js":"/* Indonesian initialisation for the jQuery UI date picker plugin. */\n/* Written by Deden Fathurahman ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.id = {\n\tcloseText: \"Tutup\",\n\tprevText: \"<mundur\",\n\tnextText: \"maju>\",\n\tcurrentText: \"hari ini\",\n\tmonthNames: [ \"Januari\", \"Februari\", \"Maret\", \"April\", \"Mei\", \"Juni\",\n\t\"Juli\", \"Agustus\", \"September\", \"Oktober\", \"Nopember\", \"Desember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mei\", \"Jun\",\n\t\"Jul\", \"Agus\", \"Sep\", \"Okt\", \"Nop\", \"Des\" ],\n\tdayNames: [ \"Minggu\", \"Senin\", \"Selasa\", \"Rabu\", \"Kamis\", \"Jumat\", \"Sabtu\" ],\n\tdayNamesShort: [ \"Min\", \"Sen\", \"Sel\", \"Rab\", \"kam\", \"Jum\", \"Sab\" ],\n\tdayNamesMin: [ \"Mg\", \"Sn\", \"Sl\", \"Rb\", \"Km\", \"jm\", \"Sb\" ],\n\tweekHeader: \"Mg\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.id );\n\nreturn datepicker.regional.id;\n\n} );\n","jquery/ui-modules/i18n/datepicker-el.js":"/* Greek (el) initialisation for the jQuery UI date picker plugin. */\n/* Written by Alex Cicovic (http://www.alexcicovic.com) */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.el = {\n\tcloseText: \"\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf\",\n\tprevText: \"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf\u03c2\",\n\tnextText: \"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03bf\u03c2\",\n\tcurrentText: \"\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1\",\n\tmonthNames: [ \"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2\", \"\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2\", \"\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2\", \"\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2\", \"\u039c\u03ac\u03b9\u03bf\u03c2\", \"\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2\",\n\t\"\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2\", \"\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2\", \"\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2\", \"\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2\", \"\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2\", \"\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2\" ],\n\tmonthNamesShort: [ \"\u0399\u03b1\u03bd\", \"\u03a6\u03b5\u03b2\", \"\u039c\u03b1\u03c1\", \"\u0391\u03c0\u03c1\", \"\u039c\u03b1\u03b9\", \"\u0399\u03bf\u03c5\u03bd\",\n\t\"\u0399\u03bf\u03c5\u03bb\", \"\u0391\u03c5\u03b3\", \"\u03a3\u03b5\u03c0\", \"\u039f\u03ba\u03c4\", \"\u039d\u03bf\u03b5\", \"\u0394\u03b5\u03ba\" ],\n\tdayNames: [ \"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae\", \"\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1\", \"\u03a4\u03c1\u03af\u03c4\u03b7\", \"\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7\", \"\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7\", \"\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae\", \"\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf\" ],\n\tdayNamesShort: [ \"\u039a\u03c5\u03c1\", \"\u0394\u03b5\u03c5\", \"\u03a4\u03c1\u03b9\", \"\u03a4\u03b5\u03c4\", \"\u03a0\u03b5\u03bc\", \"\u03a0\u03b1\u03c1\", \"\u03a3\u03b1\u03b2\" ],\n\tdayNamesMin: [ \"\u039a\u03c5\", \"\u0394\u03b5\", \"\u03a4\u03c1\", \"\u03a4\u03b5\", \"\u03a0\u03b5\", \"\u03a0\u03b1\", \"\u03a3\u03b1\" ],\n\tweekHeader: \"\u0395\u03b2\u03b4\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.el );\n\nreturn datepicker.regional.el;\n\n} );\n","jquery/ui-modules/i18n/datepicker-gl.js":"/* Galician localization for 'UI date picker' jQuery extension. */\n/* Translated by Jorge Barreiro <[email protected]>. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.gl = {\n\tcloseText: \"Pechar\",\n\tprevText: \"<Ant\",\n\tnextText: \"Seg>\",\n\tcurrentText: \"Hoxe\",\n\tmonthNames: [ \"Xaneiro\", \"Febreiro\", \"Marzo\", \"Abril\", \"Maio\", \"Xu\u00f1o\",\n\t\"Xullo\", \"Agosto\", \"Setembro\", \"Outubro\", \"Novembro\", \"Decembro\" ],\n\tmonthNamesShort: [ \"Xan\", \"Feb\", \"Mar\", \"Abr\", \"Mai\", \"Xu\u00f1\",\n\t\"Xul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Domingo\", \"Luns\", \"Martes\", \"M\u00e9rcores\", \"Xoves\", \"Venres\", \"S\u00e1bado\" ],\n\tdayNamesShort: [ \"Dom\", \"Lun\", \"Mar\", \"M\u00e9r\", \"Xov\", \"Ven\", \"S\u00e1b\" ],\n\tdayNamesMin: [ \"Do\", \"Lu\", \"Ma\", \"M\u00e9\", \"Xo\", \"Ve\", \"S\u00e1\" ],\n\tweekHeader: \"Sm\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.gl );\n\nreturn datepicker.regional.gl;\n\n} );\n","jquery/ui-modules/i18n/datepicker-az.js":"/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Jamil Najafov ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.az = {\n\tcloseText: \"Ba\u011fla\",\n\tprevText: \"<Geri\",\n\tnextText: \"\u0130r\u0259li>\",\n\tcurrentText: \"Bug\u00fcn\",\n\tmonthNames: [ \"Yanvar\", \"Fevral\", \"Mart\", \"Aprel\", \"May\", \"\u0130yun\",\n\t\"\u0130yul\", \"Avqust\", \"Sentyabr\", \"Oktyabr\", \"Noyabr\", \"Dekabr\" ],\n\tmonthNamesShort: [ \"Yan\", \"Fev\", \"Mar\", \"Apr\", \"May\", \"\u0130yun\",\n\t\"\u0130yul\", \"Avq\", \"Sen\", \"Okt\", \"Noy\", \"Dek\" ],\n\tdayNames: [ \"Bazar\", \"Bazar ert\u0259si\", \"\u00c7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131\", \"\u00c7\u0259r\u015f\u0259nb\u0259\", \"C\u00fcm\u0259 ax\u015fam\u0131\", \"C\u00fcm\u0259\", \"\u015e\u0259nb\u0259\" ],\n\tdayNamesShort: [ \"B\", \"Be\", \"\u00c7a\", \"\u00c7\", \"Ca\", \"C\", \"\u015e\" ],\n\tdayNamesMin: [ \"B\", \"B\", \"\u00c7\", \"\u0421\", \"\u00c7\", \"C\", \"\u015e\" ],\n\tweekHeader: \"Hf\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.az );\n\nreturn datepicker.regional.az;\n\n} );\n","jquery/ui-modules/i18n/datepicker-eo.js":"/* Esperanto initialisation for the jQuery UI date picker plugin. */\n/* Written by Olivier M. ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.eo = {\n\tcloseText: \"Fermi\",\n\tprevText: \"<Anta\",\n\tnextText: \"Sekv>\",\n\tcurrentText: \"Nuna\",\n\tmonthNames: [ \"Januaro\", \"Februaro\", \"Marto\", \"Aprilo\", \"Majo\", \"Junio\",\n\t\"Julio\", \"A\u016dgusto\", \"Septembro\", \"Oktobro\", \"Novembro\", \"Decembro\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\",\n\t\"Jul\", \"A\u016dg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Diman\u0109o\", \"Lundo\", \"Mardo\", \"Merkredo\", \"\u0134a\u016ddo\", \"Vendredo\", \"Sabato\" ],\n\tdayNamesShort: [ \"Dim\", \"Lun\", \"Mar\", \"Mer\", \"\u0134a\u016d\", \"Ven\", \"Sab\" ],\n\tdayNamesMin: [ \"Di\", \"Lu\", \"Ma\", \"Me\", \"\u0134a\", \"Ve\", \"Sa\" ],\n\tweekHeader: \"Sb\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.eo );\n\nreturn datepicker.regional.eo;\n\n} );\n","jquery/ui-modules/i18n/datepicker-hy.js":"/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Levon Zakaryan ([email protected])*/\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.hy = {\n\tcloseText: \"\u0553\u0561\u056f\u0565\u056c\",\n\tprevText: \"<\u0546\u0561\u056d.\",\n\tnextText: \"\u0540\u0561\u057b.>\",\n\tcurrentText: \"\u0531\u0575\u057d\u0585\u0580\",\n\tmonthNames: [ \"\u0540\u0578\u0582\u0576\u057e\u0561\u0580\", \"\u0553\u0565\u057f\u0580\u057e\u0561\u0580\", \"\u0544\u0561\u0580\u057f\", \"\u0531\u057a\u0580\u056b\u056c\", \"\u0544\u0561\u0575\u056b\u057d\", \"\u0540\u0578\u0582\u0576\u056b\u057d\",\n\t\"\u0540\u0578\u0582\u056c\u056b\u057d\", \"\u0555\u0563\u0578\u057d\u057f\u0578\u057d\", \"\u054d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\", \"\u0540\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\", \"\u0546\u0578\u0575\u0565\u0574\u0562\u0565\u0580\", \"\u0534\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\" ],\n\tmonthNamesShort: [ \"\u0540\u0578\u0582\u0576\u057e\", \"\u0553\u0565\u057f\u0580\", \"\u0544\u0561\u0580\u057f\", \"\u0531\u057a\u0580\", \"\u0544\u0561\u0575\u056b\u057d\", \"\u0540\u0578\u0582\u0576\u056b\u057d\",\n\t\"\u0540\u0578\u0582\u056c\", \"\u0555\u0563\u057d\", \"\u054d\u0565\u057a\", \"\u0540\u0578\u056f\", \"\u0546\u0578\u0575\", \"\u0534\u0565\u056f\" ],\n\tdayNames: [ \"\u056f\u056b\u0580\u0561\u056f\u056b\", \"\u0565\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b\", \"\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b\", \"\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b\", \"\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b\", \"\u0578\u0582\u0580\u0562\u0561\u0569\", \"\u0577\u0561\u0562\u0561\u0569\" ],\n\tdayNamesShort: [ \"\u056f\u056b\u0580\", \"\u0565\u0580\u056f\", \"\u0565\u0580\u0584\", \"\u0579\u0580\u0584\", \"\u0570\u0576\u0563\", \"\u0578\u0582\u0580\u0562\", \"\u0577\u0562\u0569\" ],\n\tdayNamesMin: [ \"\u056f\u056b\u0580\", \"\u0565\u0580\u056f\", \"\u0565\u0580\u0584\", \"\u0579\u0580\u0584\", \"\u0570\u0576\u0563\", \"\u0578\u0582\u0580\u0562\", \"\u0577\u0562\u0569\" ],\n\tweekHeader: \"\u0547\u0532\u054f\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.hy );\n\nreturn datepicker.regional.hy;\n\n} );\n","jquery/ui-modules/i18n/datepicker-bs.js":"/* Bosnian i18n for the jQuery UI date picker plugin. */\n/* Written by Kenan Konjo. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.bs = {\n\tcloseText: \"Zatvori\",\n\tprevText: \"<\",\n\tnextText: \">\",\n\tcurrentText: \"Danas\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"Mart\", \"April\", \"Maj\", \"Juni\",\n\t\"Juli\", \"August\", \"Septembar\", \"Oktobar\", \"Novembar\", \"Decembar\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Nedelja\", \"Ponedeljak\", \"Utorak\", \"Srijeda\", \"\u010cetvrtak\", \"Petak\", \"Subota\" ],\n\tdayNamesShort: [ \"Ned\", \"Pon\", \"Uto\", \"Sri\", \"\u010cet\", \"Pet\", \"Sub\" ],\n\tdayNamesMin: [ \"Ne\", \"Po\", \"Ut\", \"Sr\", \"\u010ce\", \"Pe\", \"Su\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.bs );\n\nreturn datepicker.regional.bs;\n\n} );\n","jquery/ui-modules/i18n/datepicker-en-NZ.js":"/* English/New Zealand initialisation for the jQuery UI date picker plugin. */\n/* Based on the en-GB initialisation. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"en-NZ\" ] = {\n\tcloseText: \"Done\",\n\tprevText: \"Prev\",\n\tnextText: \"Next\",\n\tcurrentText: \"Today\",\n\tmonthNames: [ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\",\n\t\"July\", \"August\", \"September\", \"October\", \"November\", \"December\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\" ],\n\tdayNamesShort: [ \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\" ],\n\tdayNamesMin: [ \"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"en-NZ\" ] );\n\nreturn datepicker.regional[ \"en-NZ\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-ro.js":"/* Romanian initialisation for the jQuery UI date picker plugin.\n *\n * Written by Edmond L. ([email protected])\n * and Ionut G. Stan ([email protected])\n */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ro = {\n\tcloseText: \"\u00cenchide\",\n\tprevText: \"« Luna precedent\u0103\",\n\tnextText: \"Luna urm\u0103toare »\",\n\tcurrentText: \"Azi\",\n\tmonthNames: [ \"Ianuarie\", \"Februarie\", \"Martie\", \"Aprilie\", \"Mai\", \"Iunie\",\n\t\"Iulie\", \"August\", \"Septembrie\", \"Octombrie\", \"Noiembrie\", \"Decembrie\" ],\n\tmonthNamesShort: [ \"Ian\", \"Feb\", \"Mar\", \"Apr\", \"Mai\", \"Iun\",\n\t\"Iul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Duminic\u0103\", \"Luni\", \"Mar\u0163i\", \"Miercuri\", \"Joi\", \"Vineri\", \"S\u00e2mb\u0103t\u0103\" ],\n\tdayNamesShort: [ \"Dum\", \"Lun\", \"Mar\", \"Mie\", \"Joi\", \"Vin\", \"S\u00e2m\" ],\n\tdayNamesMin: [ \"Du\", \"Lu\", \"Ma\", \"Mi\", \"Jo\", \"Vi\", \"S\u00e2\" ],\n\tweekHeader: \"S\u0103pt\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ro );\n\nreturn datepicker.regional.ro;\n\n} );\n","jquery/ui-modules/i18n/datepicker-en-AU.js":"/* English/Australia initialisation for the jQuery UI date picker plugin. */\n/* Based on the en-GB initialisation. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"en-AU\" ] = {\n\tcloseText: \"Done\",\n\tprevText: \"Prev\",\n\tnextText: \"Next\",\n\tcurrentText: \"Today\",\n\tmonthNames: [ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\",\n\t\"July\", \"August\", \"September\", \"October\", \"November\", \"December\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\" ],\n\tdayNamesShort: [ \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\" ],\n\tdayNamesMin: [ \"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"en-AU\" ] );\n\nreturn datepicker.regional[ \"en-AU\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-zh-TW.js":"/* Chinese initialisation for the jQuery UI date picker plugin. */\n/* Written by Ressol ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"zh-TW\" ] = {\n\tcloseText: \"\u95dc\u9589\",\n\tprevText: \"<\u4e0a\u500b\u6708\",\n\tnextText: \"\u4e0b\u500b\u6708>\",\n\tcurrentText: \"\u4eca\u5929\",\n\tmonthNames: [ \"\u4e00\u6708\", \"\u4e8c\u6708\", \"\u4e09\u6708\", \"\u56db\u6708\", \"\u4e94\u6708\", \"\u516d\u6708\",\n\t\"\u4e03\u6708\", \"\u516b\u6708\", \"\u4e5d\u6708\", \"\u5341\u6708\", \"\u5341\u4e00\u6708\", \"\u5341\u4e8c\u6708\" ],\n\tmonthNamesShort: [ \"\u4e00\u6708\", \"\u4e8c\u6708\", \"\u4e09\u6708\", \"\u56db\u6708\", \"\u4e94\u6708\", \"\u516d\u6708\",\n\t\"\u4e03\u6708\", \"\u516b\u6708\", \"\u4e5d\u6708\", \"\u5341\u6708\", \"\u5341\u4e00\u6708\", \"\u5341\u4e8c\u6708\" ],\n\tdayNames: [ \"\u661f\u671f\u65e5\", \"\u661f\u671f\u4e00\", \"\u661f\u671f\u4e8c\", \"\u661f\u671f\u4e09\", \"\u661f\u671f\u56db\", \"\u661f\u671f\u4e94\", \"\u661f\u671f\u516d\" ],\n\tdayNamesShort: [ \"\u9031\u65e5\", \"\u9031\u4e00\", \"\u9031\u4e8c\", \"\u9031\u4e09\", \"\u9031\u56db\", \"\u9031\u4e94\", \"\u9031\u516d\" ],\n\tdayNamesMin: [ \"\u65e5\", \"\u4e00\", \"\u4e8c\", \"\u4e09\", \"\u56db\", \"\u4e94\", \"\u516d\" ],\n\tweekHeader: \"\u9031\",\n\tdateFormat: \"yy/mm/dd\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\u5e74\" };\ndatepicker.setDefaults( datepicker.regional[ \"zh-TW\" ] );\n\nreturn datepicker.regional[ \"zh-TW\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-ja.js":"/* Japanese initialisation for the jQuery UI date picker plugin. */\n/* Written by Kentaro SATO ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ja = {\n\tcloseText: \"\u9589\u3058\u308b\",\n\tprevText: \"<\u524d\",\n\tnextText: \"\u6b21>\",\n\tcurrentText: \"\u4eca\u65e5\",\n\tmonthNames: [ \"1\u6708\", \"2\u6708\", \"3\u6708\", \"4\u6708\", \"5\u6708\", \"6\u6708\",\n\t\"7\u6708\", \"8\u6708\", \"9\u6708\", \"10\u6708\", \"11\u6708\", \"12\u6708\" ],\n\tmonthNamesShort: [ \"1\u6708\", \"2\u6708\", \"3\u6708\", \"4\u6708\", \"5\u6708\", \"6\u6708\",\n\t\"7\u6708\", \"8\u6708\", \"9\u6708\", \"10\u6708\", \"11\u6708\", \"12\u6708\" ],\n\tdayNames: [ \"\u65e5\u66dc\u65e5\", \"\u6708\u66dc\u65e5\", \"\u706b\u66dc\u65e5\", \"\u6c34\u66dc\u65e5\", \"\u6728\u66dc\u65e5\", \"\u91d1\u66dc\u65e5\", \"\u571f\u66dc\u65e5\" ],\n\tdayNamesShort: [ \"\u65e5\", \"\u6708\", \"\u706b\", \"\u6c34\", \"\u6728\", \"\u91d1\", \"\u571f\" ],\n\tdayNamesMin: [ \"\u65e5\", \"\u6708\", \"\u706b\", \"\u6c34\", \"\u6728\", \"\u91d1\", \"\u571f\" ],\n\tweekHeader: \"\u9031\",\n\tdateFormat: \"yy/mm/dd\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\u5e74\" };\ndatepicker.setDefaults( datepicker.regional.ja );\n\nreturn datepicker.regional.ja;\n\n} );\n","jquery/ui-modules/i18n/datepicker-zh-HK.js":"/* Chinese initialisation for the jQuery UI date picker plugin. */\n/* Written by SCCY ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"zh-HK\" ] = {\n\tcloseText: \"\u95dc\u9589\",\n\tprevText: \"<\u4e0a\u6708\",\n\tnextText: \"\u4e0b\u6708>\",\n\tcurrentText: \"\u4eca\u5929\",\n\tmonthNames: [ \"\u4e00\u6708\", \"\u4e8c\u6708\", \"\u4e09\u6708\", \"\u56db\u6708\", \"\u4e94\u6708\", \"\u516d\u6708\",\n\t\"\u4e03\u6708\", \"\u516b\u6708\", \"\u4e5d\u6708\", \"\u5341\u6708\", \"\u5341\u4e00\u6708\", \"\u5341\u4e8c\u6708\" ],\n\tmonthNamesShort: [ \"\u4e00\u6708\", \"\u4e8c\u6708\", \"\u4e09\u6708\", \"\u56db\u6708\", \"\u4e94\u6708\", \"\u516d\u6708\",\n\t\"\u4e03\u6708\", \"\u516b\u6708\", \"\u4e5d\u6708\", \"\u5341\u6708\", \"\u5341\u4e00\u6708\", \"\u5341\u4e8c\u6708\" ],\n\tdayNames: [ \"\u661f\u671f\u65e5\", \"\u661f\u671f\u4e00\", \"\u661f\u671f\u4e8c\", \"\u661f\u671f\u4e09\", \"\u661f\u671f\u56db\", \"\u661f\u671f\u4e94\", \"\u661f\u671f\u516d\" ],\n\tdayNamesShort: [ \"\u5468\u65e5\", \"\u5468\u4e00\", \"\u5468\u4e8c\", \"\u5468\u4e09\", \"\u5468\u56db\", \"\u5468\u4e94\", \"\u5468\u516d\" ],\n\tdayNamesMin: [ \"\u65e5\", \"\u4e00\", \"\u4e8c\", \"\u4e09\", \"\u56db\", \"\u4e94\", \"\u516d\" ],\n\tweekHeader: \"\u5468\",\n\tdateFormat: \"dd-mm-yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\u5e74\" };\ndatepicker.setDefaults( datepicker.regional[ \"zh-HK\" ] );\n\nreturn datepicker.regional[ \"zh-HK\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-ru.js":"/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Andrew Stromnov ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ru = {\n\tcloseText: \"\u0417\u0430\u043a\u0440\u044b\u0442\u044c\",\n\tprevText: \"<\u041f\u0440\u0435\u0434\",\n\tnextText: \"\u0421\u043b\u0435\u0434>\",\n\tcurrentText: \"\u0421\u0435\u0433\u043e\u0434\u043d\u044f\",\n\tmonthNames: [ \"\u042f\u043d\u0432\u0430\u0440\u044c\", \"\u0424\u0435\u0432\u0440\u0430\u043b\u044c\", \"\u041c\u0430\u0440\u0442\", \"\u0410\u043f\u0440\u0435\u043b\u044c\", \"\u041c\u0430\u0439\", \"\u0418\u044e\u043d\u044c\",\n\t\"\u0418\u044e\u043b\u044c\", \"\u0410\u0432\u0433\u0443\u0441\u0442\", \"\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c\", \"\u041e\u043a\u0442\u044f\u0431\u0440\u044c\", \"\u041d\u043e\u044f\u0431\u0440\u044c\", \"\u0414\u0435\u043a\u0430\u0431\u0440\u044c\" ],\n\tmonthNamesShort: [ \"\u042f\u043d\u0432\", \"\u0424\u0435\u0432\", \"\u041c\u0430\u0440\", \"\u0410\u043f\u0440\", \"\u041c\u0430\u0439\", \"\u0418\u044e\u043d\",\n\t\"\u0418\u044e\u043b\", \"\u0410\u0432\u0433\", \"\u0421\u0435\u043d\", \"\u041e\u043a\u0442\", \"\u041d\u043e\u044f\", \"\u0414\u0435\u043a\" ],\n\tdayNames: [ \"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435\", \"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a\", \"\u0432\u0442\u043e\u0440\u043d\u0438\u043a\", \"\u0441\u0440\u0435\u0434\u0430\", \"\u0447\u0435\u0442\u0432\u0435\u0440\u0433\", \"\u043f\u044f\u0442\u043d\u0438\u0446\u0430\", \"\u0441\u0443\u0431\u0431\u043e\u0442\u0430\" ],\n\tdayNamesShort: [ \"\u0432\u0441\u043a\", \"\u043f\u043d\u0434\", \"\u0432\u0442\u0440\", \"\u0441\u0440\u0434\", \"\u0447\u0442\u0432\", \"\u043f\u0442\u043d\", \"\u0441\u0431\u0442\" ],\n\tdayNamesMin: [ \"\u0412\u0441\", \"\u041f\u043d\", \"\u0412\u0442\", \"\u0421\u0440\", \"\u0427\u0442\", \"\u041f\u0442\", \"\u0421\u0431\" ],\n\tweekHeader: \"\u041d\u0435\u0434\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ru );\n\nreturn datepicker.regional.ru;\n\n} );\n","jquery/ui-modules/i18n/datepicker-tj.js":"/* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Abdurahmon Saidov ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.tj = {\n\tcloseText: \"\u0418\u0434\u043e\u043c\u0430\",\n\tprevText: \"<\u049a\u0430\u0444\u043e\",\n\tnextText: \"\u041f\u0435\u0448>\",\n\tcurrentText: \"\u0418\u043c\u0440\u04ef\u0437\",\n\tmonthNames: [ \"\u042f\u043d\u0432\u0430\u0440\", \"\u0424\u0435\u0432\u0440\u0430\u043b\", \"\u041c\u0430\u0440\u0442\", \"\u0410\u043f\u0440\u0435\u043b\", \"\u041c\u0430\u0439\", \"\u0418\u044e\u043d\",\n\t\"\u0418\u044e\u043b\", \"\u0410\u0432\u0433\u0443\u0441\u0442\", \"\u0421\u0435\u043d\u0442\u044f\u0431\u0440\", \"\u041e\u043a\u0442\u044f\u0431\u0440\", \"\u041d\u043e\u044f\u0431\u0440\", \"\u0414\u0435\u043a\u0430\u0431\u0440\" ],\n\tmonthNamesShort: [ \"\u042f\u043d\u0432\", \"\u0424\u0435\u0432\", \"\u041c\u0430\u0440\", \"\u0410\u043f\u0440\", \"\u041c\u0430\u0439\", \"\u0418\u044e\u043d\",\n\t\"\u0418\u044e\u043b\", \"\u0410\u0432\u0433\", \"\u0421\u0435\u043d\", \"\u041e\u043a\u0442\", \"\u041d\u043e\u044f\", \"\u0414\u0435\u043a\" ],\n\tdayNames: [ \"\u044f\u043a\u0448\u0430\u043d\u0431\u0435\", \"\u0434\u0443\u0448\u0430\u043d\u0431\u0435\", \"\u0441\u0435\u0448\u0430\u043d\u0431\u0435\", \"\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435\", \"\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435\", \"\u04b7\u0443\u043c\u044a\u0430\", \"\u0448\u0430\u043d\u0431\u0435\" ],\n\tdayNamesShort: [ \"\u044f\u043a\u0448\", \"\u0434\u0443\u0448\", \"\u0441\u0435\u0448\", \"\u0447\u043e\u0440\", \"\u043f\u0430\u043d\", \"\u04b7\u0443\u043c\", \"\u0448\u0430\u043d\" ],\n\tdayNamesMin: [ \"\u042f\u043a\", \"\u0414\u0448\", \"\u0421\u0448\", \"\u0427\u0448\", \"\u041f\u0448\", \"\u04b6\u043c\", \"\u0428\u043d\" ],\n\tweekHeader: \"\u0425\u0444\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.tj );\n\nreturn datepicker.regional.tj;\n\n} );\n","jquery/ui-modules/i18n/datepicker-be.js":"/* Belarusian initialisation for the jQuery UI date picker plugin. */\n/* Written by Pavel Selitskas <[email protected]> */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.be = {\n\tcloseText: \"\u0417\u0430\u0447\u044b\u043d\u0456\u0446\u044c\",\n\tprevText: \"←\u041f\u0430\u043f\u044f\u0440.\",\n\tnextText: \"\u041d\u0430\u0441\u0442.→\",\n\tcurrentText: \"\u0421\u0451\u043d\u044c\u043d\u044f\",\n\tmonthNames: [ \"\u0421\u0442\u0443\u0434\u0437\u0435\u043d\u044c\", \"\u041b\u044e\u0442\u044b\", \"\u0421\u0430\u043a\u0430\u0432\u0456\u043a\", \"\u041a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\", \"\u0422\u0440\u0430\u0432\u0435\u043d\u044c\", \"\u0427\u044d\u0440\u0432\u0435\u043d\u044c\",\n\t\"\u041b\u0456\u043f\u0435\u043d\u044c\", \"\u0416\u043d\u0456\u0432\u0435\u043d\u044c\", \"\u0412\u0435\u0440\u0430\u0441\u0435\u043d\u044c\", \"\u041a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\", \"\u041b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\", \"\u0421\u044c\u043d\u0435\u0436\u0430\u043d\u044c\" ],\n\tmonthNamesShort: [ \"\u0421\u0442\u0443\", \"\u041b\u044e\u0442\", \"\u0421\u0430\u043a\", \"\u041a\u0440\u0430\", \"\u0422\u0440\u0430\", \"\u0427\u044d\u0440\",\n\t\"\u041b\u0456\u043f\", \"\u0416\u043d\u0456\", \"\u0412\u0435\u0440\", \"\u041a\u0430\u0441\", \"\u041b\u0456\u0441\", \"\u0421\u044c\u043d\" ],\n\tdayNames: [ \"\u043d\u044f\u0434\u0437\u0435\u043b\u044f\", \"\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a\", \"\u0430\u045e\u0442\u043e\u0440\u0430\u043a\", \"\u0441\u0435\u0440\u0430\u0434\u0430\", \"\u0447\u0430\u0446\u044c\u0432\u0435\u0440\", \"\u043f\u044f\u0442\u043d\u0456\u0446\u0430\", \"\u0441\u0443\u0431\u043e\u0442\u0430\" ],\n\tdayNamesShort: [ \"\u043d\u0434\u0437\", \"\u043f\u043d\u0434\", \"\u0430\u045e\u0442\", \"\u0441\u0440\u0434\", \"\u0447\u0446\u0432\", \"\u043f\u0442\u043d\", \"\u0441\u0431\u0442\" ],\n\tdayNamesMin: [ \"\u041d\u0434\", \"\u041f\u043d\", \"\u0410\u045e\", \"\u0421\u0440\", \"\u0427\u0446\", \"\u041f\u0442\", \"\u0421\u0431\" ],\n\tweekHeader: \"\u0422\u0434\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.be );\n\nreturn datepicker.regional.be;\n\n} );\n","jquery/ui-modules/i18n/datepicker-sl.js":"/* Slovenian initialisation for the jQuery UI date picker plugin. */\n/* Written by Jaka Jancar ([email protected]). */\n/* c = \u010d, s = \u0161 z = \u017e C = \u010c S = \u0160 Z = \u017d */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.sl = {\n\tcloseText: \"Zapri\",\n\tprevText: \"<Prej\u0161nji\",\n\tnextText: \"Naslednji>\",\n\tcurrentText: \"Trenutni\",\n\tmonthNames: [ \"Januar\", \"Februar\", \"Marec\", \"April\", \"Maj\", \"Junij\",\n\t\"Julij\", \"Avgust\", \"September\", \"Oktober\", \"November\", \"December\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\",\n\t\"Jul\", \"Avg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"Nedelja\", \"Ponedeljek\", \"Torek\", \"Sreda\", \"\u010cetrtek\", \"Petek\", \"Sobota\" ],\n\tdayNamesShort: [ \"Ned\", \"Pon\", \"Tor\", \"Sre\", \"\u010cet\", \"Pet\", \"Sob\" ],\n\tdayNamesMin: [ \"Ne\", \"Po\", \"To\", \"Sr\", \"\u010ce\", \"Pe\", \"So\" ],\n\tweekHeader: \"Teden\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.sl );\n\nreturn datepicker.regional.sl;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ml.js":"/* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Saji Nediyanchath ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ml = {\n\tcloseText: \"\u0d36\u0d30\u0d3f\",\n\tprevText: \"\u0d2e\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d4d\u0d24\u0d46\",\n\tnextText: \"\u0d05\u0d1f\u0d41\u0d24\u0d4d\u0d24\u0d24\u0d4d \",\n\tcurrentText: \"\u0d07\u0d28\u0d4d\u0d28\u0d4d\",\n\tmonthNames: [ \"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f\", \"\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f\", \"\u0d2e\u0d3e\u0d30\u0d4d\u200d\u0d1a\u0d4d\u0d1a\u0d4d\", \"\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d32\u0d4d\u200d\", \"\u0d2e\u0d47\u0d2f\u0d4d\", \"\u0d1c\u0d42\u0d23\u0d4d\u200d\",\n\t\"\u0d1c\u0d42\u0d32\u0d48\", \"\u0d06\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d\", \"\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d30\u0d4d\u200d\", \"\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d30\u0d4d\u200d\", \"\u0d28\u0d35\u0d02\u0d2c\u0d30\u0d4d\u200d\", \"\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d30\u0d4d\u200d\" ],\n\tmonthNamesShort: [ \"\u0d1c\u0d28\u0d41\", \"\u0d2b\u0d46\u0d2c\u0d4d\", \"\u0d2e\u0d3e\u0d30\u0d4d\u200d\", \"\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\", \"\u0d2e\u0d47\u0d2f\u0d4d\", \"\u0d1c\u0d42\u0d23\u0d4d\u200d\",\n\t\"\u0d1c\u0d42\u0d32\u0d3e\", \"\u0d06\u0d17\", \"\u0d38\u0d46\u0d2a\u0d4d\", \"\u0d12\u0d15\u0d4d\u0d1f\u0d4b\", \"\u0d28\u0d35\u0d02\", \"\u0d21\u0d3f\u0d38\" ],\n\tdayNames: [ \"\u0d1e\u0d3e\u0d2f\u0d30\u0d4d\u200d\", \"\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d4d\u200d\", \"\u0d1a\u0d4a\u0d35\u0d4d\u0d35\", \"\u0d2c\u0d41\u0d27\u0d28\u0d4d\u200d\", \"\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02\", \"\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\", \"\u0d36\u0d28\u0d3f\" ],\n\tdayNamesShort: [ \"\u0d1e\u0d3e\u0d2f\", \"\u0d24\u0d3f\u0d19\u0d4d\u0d15\", \"\u0d1a\u0d4a\u0d35\u0d4d\u0d35\", \"\u0d2c\u0d41\u0d27\", \"\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02\", \"\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\", \"\u0d36\u0d28\u0d3f\" ],\n\tdayNamesMin: [ \"\u0d1e\u0d3e\", \"\u0d24\u0d3f\", \"\u0d1a\u0d4a\", \"\u0d2c\u0d41\", \"\u0d35\u0d4d\u0d2f\u0d3e\", \"\u0d35\u0d46\", \"\u0d36\" ],\n\tweekHeader: \"\u0d06\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ml );\n\nreturn datepicker.regional.ml;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ar.js":"/* Arabic Translation for jQuery UI date picker plugin. */\n/* Used in most of Arab countries, primarily in Bahrain, */\n/* Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, Egypt, Sudan and Yemen. */\n/* Written by Mohammed Alshehri -- [email protected] */\n\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ar = {\n\tcloseText: \"\u0625\u063a\u0644\u0627\u0642\",\n\tprevText: \"<\u0627\u0644\u0633\u0627\u0628\u0642\",\n\tnextText: \"\u0627\u0644\u062a\u0627\u0644\u064a>\",\n\tcurrentText: \"\u0627\u0644\u064a\u0648\u0645\",\n\tmonthNames: [ \"\u064a\u0646\u0627\u064a\u0631\", \"\u0641\u0628\u0631\u0627\u064a\u0631\", \"\u0645\u0627\u0631\u0633\", \"\u0623\u0628\u0631\u064a\u0644\", \"\u0645\u0627\u064a\u0648\", \"\u064a\u0648\u0646\u064a\u0648\",\n\t\"\u064a\u0648\u0644\u064a\u0648\", \"\u0623\u063a\u0633\u0637\u0633\", \"\u0633\u0628\u062a\u0645\u0628\u0631\", \"\u0623\u0643\u062a\u0648\u0628\u0631\", \"\u0646\u0648\u0641\u0645\u0628\u0631\", \"\u062f\u064a\u0633\u0645\u0628\u0631\" ],\n\tmonthNamesShort: [ \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\" ],\n\tdayNames: [ \"\u0627\u0644\u0623\u062d\u062f\", \"\u0627\u0644\u0627\u062b\u0646\u064a\u0646\", \"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621\", \"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621\", \"\u0627\u0644\u062e\u0645\u064a\u0633\", \"\u0627\u0644\u062c\u0645\u0639\u0629\", \"\u0627\u0644\u0633\u0628\u062a\" ],\n\tdayNamesShort: [ \"\u0623\u062d\u062f\", \"\u0627\u062b\u0646\u064a\u0646\", \"\u062b\u0644\u0627\u062b\u0627\u0621\", \"\u0623\u0631\u0628\u0639\u0627\u0621\", \"\u062e\u0645\u064a\u0633\", \"\u062c\u0645\u0639\u0629\", \"\u0633\u0628\u062a\" ],\n\tdayNamesMin: [ \"\u062d\", \"\u0646\", \"\u062b\", \"\u0631\", \"\u062e\", \"\u062c\", \"\u0633\" ],\n\tweekHeader: \"\u0623\u0633\u0628\u0648\u0639\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\t\tisRTL: true,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.ar );\n\nreturn datepicker.regional.ar;\n\n} );\n","jquery/ui-modules/i18n/datepicker-lv.js":"/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* @author Arturas Paleicikas <[email protected]> */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.lv = {\n\tcloseText: \"Aizv\u0113rt\",\n\tprevText: \"Iepr.\",\n\tnextText: \"N\u0101k.\",\n\tcurrentText: \"\u0160odien\",\n\tmonthNames: [ \"Janv\u0101ris\", \"Febru\u0101ris\", \"Marts\", \"Apr\u012blis\", \"Maijs\", \"J\u016bnijs\",\n\t\"J\u016blijs\", \"Augusts\", \"Septembris\", \"Oktobris\", \"Novembris\", \"Decembris\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mai\", \"J\u016bn\",\n\t\"J\u016bl\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [\n\t\t\"sv\u0113tdiena\",\n\t\t\"pirmdiena\",\n\t\t\"otrdiena\",\n\t\t\"tre\u0161diena\",\n\t\t\"ceturtdiena\",\n\t\t\"piektdiena\",\n\t\t\"sestdiena\"\n\t],\n\tdayNamesShort: [ \"svt\", \"prm\", \"otr\", \"tre\", \"ctr\", \"pkt\", \"sst\" ],\n\tdayNamesMin: [ \"Sv\", \"Pr\", \"Ot\", \"Tr\", \"Ct\", \"Pk\", \"Ss\" ],\n\tweekHeader: \"Ned.\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.lv );\n\nreturn datepicker.regional.lv;\n\n} );\n","jquery/ui-modules/i18n/datepicker-sk.js":"/* Slovak initialisation for the jQuery UI date picker plugin. */\n/* Written by Vojtech Rinik ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.sk = {\n\tcloseText: \"Zavrie\u0165\",\n\tprevText: \"<Predch\u00e1dzaj\u00faci\",\n\tnextText: \"Nasleduj\u00faci>\",\n\tcurrentText: \"Dnes\",\n\tmonthNames: [ \"janu\u00e1r\", \"febru\u00e1r\", \"marec\", \"apr\u00edl\", \"m\u00e1j\", \"j\u00fan\",\n\t\"j\u00fal\", \"august\", \"september\", \"okt\u00f3ber\", \"november\", \"december\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"M\u00e1j\", \"J\u00fan\",\n\t\"J\u00fal\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\" ],\n\tdayNames: [ \"nede\u013ea\", \"pondelok\", \"utorok\", \"streda\", \"\u0161tvrtok\", \"piatok\", \"sobota\" ],\n\tdayNamesShort: [ \"Ned\", \"Pon\", \"Uto\", \"Str\", \"\u0160tv\", \"Pia\", \"Sob\" ],\n\tdayNamesMin: [ \"Ne\", \"Po\", \"Ut\", \"St\", \"\u0160t\", \"Pia\", \"So\" ],\n\tweekHeader: \"Ty\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.sk );\n\nreturn datepicker.regional.sk;\n\n} );\n","jquery/ui-modules/i18n/datepicker-cs.js":"/* Czech initialisation for the jQuery UI date picker plugin. */\n/* Written by Tomas Muller ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.cs = {\n\tcloseText: \"Zav\u0159\u00edt\",\n\tprevText: \"<D\u0159\u00edve\",\n\tnextText: \"Pozd\u011bji>\",\n\tcurrentText: \"Nyn\u00ed\",\n\tmonthNames: [ \"leden\", \"\u00fanor\", \"b\u0159ezen\", \"duben\", \"kv\u011bten\", \"\u010derven\",\n\t\"\u010dervenec\", \"srpen\", \"z\u00e1\u0159\u00ed\", \"\u0159\u00edjen\", \"listopad\", \"prosinec\" ],\n\tmonthNamesShort: [ \"led\", \"\u00fano\", \"b\u0159e\", \"dub\", \"kv\u011b\", \"\u010der\",\n\t\"\u010dvc\", \"srp\", \"z\u00e1\u0159\", \"\u0159\u00edj\", \"lis\", \"pro\" ],\n\tdayNames: [ \"ned\u011ble\", \"pond\u011bl\u00ed\", \"\u00fater\u00fd\", \"st\u0159eda\", \"\u010dtvrtek\", \"p\u00e1tek\", \"sobota\" ],\n\tdayNamesShort: [ \"ne\", \"po\", \"\u00fat\", \"st\", \"\u010dt\", \"p\u00e1\", \"so\" ],\n\tdayNamesMin: [ \"ne\", \"po\", \"\u00fat\", \"st\", \"\u010dt\", \"p\u00e1\", \"so\" ],\n\tweekHeader: \"T\u00fdd\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.cs );\n\nreturn datepicker.regional.cs;\n\n} );\n","jquery/ui-modules/i18n/datepicker-fa.js":"/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */\n/* Javad Mowlanezhad -- [email protected] */\n/* Jalali calendar should supported soon! (Its implemented but I have to test it) */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.fa = {\n\tcloseText: \"\u0628\u0633\u062a\u0646\",\n\tprevText: \"<\u0642\u0628\u0644\u06cc\",\n\tnextText: \"\u0628\u0639\u062f\u06cc>\",\n\tcurrentText: \"\u0627\u0645\u0631\u0648\u0632\",\n\tmonthNames: [\n\t\t\"\u0698\u0627\u0646\u0648\u06cc\u0647\",\n\t\t\"\u0641\u0648\u0631\u06cc\u0647\",\n\t\t\"\u0645\u0627\u0631\u0633\",\n\t\t\"\u0622\u0648\u0631\u06cc\u0644\",\n\t\t\"\u0645\u0647\",\n\t\t\"\u0698\u0648\u0626\u0646\",\n\t\t\"\u0698\u0648\u0626\u06cc\u0647\",\n\t\t\"\u0627\u0648\u062a\",\n\t\t\"\u0633\u067e\u062a\u0627\u0645\u0628\u0631\",\n\t\t\"\u0627\u06a9\u062a\u0628\u0631\",\n\t\t\"\u0646\u0648\u0627\u0645\u0628\u0631\",\n\t\t\"\u062f\u0633\u0627\u0645\u0628\u0631\"\n\t],\n\tmonthNamesShort: [ \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\" ],\n\tdayNames: [\n\t\t\"\u064a\u06a9\u0634\u0646\u0628\u0647\",\n\t\t\"\u062f\u0648\u0634\u0646\u0628\u0647\",\n\t\t\"\u0633\u0647\u200c\u0634\u0646\u0628\u0647\",\n\t\t\"\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647\",\n\t\t\"\u067e\u0646\u062c\u0634\u0646\u0628\u0647\",\n\t\t\"\u062c\u0645\u0639\u0647\",\n\t\t\"\u0634\u0646\u0628\u0647\"\n\t],\n\tdayNamesShort: [\n\t\t\"\u06cc\",\n\t\t\"\u062f\",\n\t\t\"\u0633\",\n\t\t\"\u0686\",\n\t\t\"\u067e\",\n\t\t\"\u062c\",\n\t\t\"\u0634\"\n\t],\n\tdayNamesMin: [\n\t\t\"\u06cc\",\n\t\t\"\u062f\",\n\t\t\"\u0633\",\n\t\t\"\u0686\",\n\t\t\"\u067e\",\n\t\t\"\u062c\",\n\t\t\"\u0634\"\n\t],\n\tweekHeader: \"\u0647\u0641\",\n\tdateFormat: \"yy/mm/dd\",\n\tfirstDay: 6,\n\tisRTL: true,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.fa );\n\nreturn datepicker.regional.fa;\n\n} );\n","jquery/ui-modules/i18n/datepicker-cy-GB.js":"/* Welsh/UK initialisation for the jQuery UI date picker plugin. */\n/* Written by William Griffiths. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"cy-GB\" ] = {\n\tcloseText: \"Done\",\n\tprevText: \"Prev\",\n\tnextText: \"Next\",\n\tcurrentText: \"Today\",\n\tmonthNames: [ \"Ionawr\", \"Chwefror\", \"Mawrth\", \"Ebrill\", \"Mai\", \"Mehefin\",\n\t\"Gorffennaf\", \"Awst\", \"Medi\", \"Hydref\", \"Tachwedd\", \"Rhagfyr\" ],\n\tmonthNamesShort: [ \"Ion\", \"Chw\", \"Maw\", \"Ebr\", \"Mai\", \"Meh\",\n\t\"Gor\", \"Aws\", \"Med\", \"Hyd\", \"Tac\", \"Rha\" ],\n\tdayNames: [\n\t\t\"Dydd Sul\",\n\t\t\"Dydd Llun\",\n\t\t\"Dydd Mawrth\",\n\t\t\"Dydd Mercher\",\n\t\t\"Dydd Iau\",\n\t\t\"Dydd Gwener\",\n\t\t\"Dydd Sadwrn\"\n\t],\n\tdayNamesShort: [ \"Sul\", \"Llu\", \"Maw\", \"Mer\", \"Iau\", \"Gwe\", \"Sad\" ],\n\tdayNamesMin: [ \"Su\", \"Ll\", \"Ma\", \"Me\", \"Ia\", \"Gw\", \"Sa\" ],\n\tweekHeader: \"Wy\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"cy-GB\" ] );\n\nreturn datepicker.regional[ \"cy-GB\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-kk.js":"/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Dmitriy Karasyov ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.kk = {\n\tcloseText: \"\u0416\u0430\u0431\u0443\",\n\tprevText: \"<\u0410\u043b\u0434\u044b\u04a3\u0493\u044b\",\n\tnextText: \"\u041a\u0435\u043b\u0435\u0441\u0456>\",\n\tcurrentText: \"\u0411\u04af\u0433\u0456\u043d\",\n\tmonthNames: [ \"\u049a\u0430\u04a3\u0442\u0430\u0440\", \"\u0410\u049b\u043f\u0430\u043d\", \"\u041d\u0430\u0443\u0440\u044b\u0437\", \"\u0421\u04d9\u0443\u0456\u0440\", \"\u041c\u0430\u043c\u044b\u0440\", \"\u041c\u0430\u0443\u0441\u044b\u043c\",\n\t\"\u0428\u0456\u043b\u0434\u0435\", \"\u0422\u0430\u043c\u044b\u0437\", \"\u049a\u044b\u0440\u043a\u04af\u0439\u0435\u043a\", \"\u049a\u0430\u0437\u0430\u043d\", \"\u049a\u0430\u0440\u0430\u0448\u0430\", \"\u0416\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d\" ],\n\tmonthNamesShort: [ \"\u049a\u0430\u04a3\", \"\u0410\u049b\u043f\", \"\u041d\u0430\u0443\", \"\u0421\u04d9\u0443\", \"\u041c\u0430\u043c\", \"\u041c\u0430\u0443\",\n\t\"\u0428\u0456\u043b\", \"\u0422\u0430\u043c\", \"\u049a\u044b\u0440\", \"\u049a\u0430\u0437\", \"\u049a\u0430\u0440\", \"\u0416\u0435\u043b\" ],\n\tdayNames: [ \"\u0416\u0435\u043a\u0441\u0435\u043d\u0431\u0456\", \"\u0414\u04af\u0439\u0441\u0435\u043d\u0431\u0456\", \"\u0421\u0435\u0439\u0441\u0435\u043d\u0431\u0456\", \"\u0421\u04d9\u0440\u0441\u0435\u043d\u0431\u0456\", \"\u0411\u0435\u0439\u0441\u0435\u043d\u0431\u0456\", \"\u0416\u04b1\u043c\u0430\", \"\u0421\u0435\u043d\u0431\u0456\" ],\n\tdayNamesShort: [ \"\u0436\u043a\u0441\", \"\u0434\u0441\u043d\", \"\u0441\u0441\u043d\", \"\u0441\u0440\u0441\", \"\u0431\u0441\u043d\", \"\u0436\u043c\u0430\", \"\u0441\u043d\u0431\" ],\n\tdayNamesMin: [ \"\u0416\u043a\", \"\u0414\u0441\", \"\u0421\u0441\", \"\u0421\u0440\", \"\u0411\u0441\", \"\u0416\u043c\", \"\u0421\u043d\" ],\n\tweekHeader: \"\u041d\u0435\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.kk );\n\nreturn datepicker.regional.kk;\n\n} );\n","jquery/ui-modules/i18n/datepicker-sq.js":"/* Albanian initialisation for the jQuery UI date picker plugin. */\n/* Written by Flakron Bytyqi ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.sq = {\n\tcloseText: \"mbylle\",\n\tprevText: \"<mbrapa\",\n\tnextText: \"P\u00ebrpara>\",\n\tcurrentText: \"sot\",\n\tmonthNames: [ \"Janar\", \"Shkurt\", \"Mars\", \"Prill\", \"Maj\", \"Qershor\",\n\t\"Korrik\", \"Gusht\", \"Shtator\", \"Tetor\", \"N\u00ebntor\", \"Dhjetor\" ],\n\tmonthNamesShort: [ \"Jan\", \"Shk\", \"Mar\", \"Pri\", \"Maj\", \"Qer\",\n\t\"Kor\", \"Gus\", \"Sht\", \"Tet\", \"N\u00ebn\", \"Dhj\" ],\n\tdayNames: [ \"E Diel\", \"E H\u00ebn\u00eb\", \"E Mart\u00eb\", \"E M\u00ebrkur\u00eb\", \"E Enjte\", \"E Premte\", \"E Shtune\" ],\n\tdayNamesShort: [ \"Di\", \"H\u00eb\", \"Ma\", \"M\u00eb\", \"En\", \"Pr\", \"Sh\" ],\n\tdayNamesMin: [ \"Di\", \"H\u00eb\", \"Ma\", \"M\u00eb\", \"En\", \"Pr\", \"Sh\" ],\n\tweekHeader: \"Ja\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.sq );\n\nreturn datepicker.regional.sq;\n\n} );\n","jquery/ui-modules/i18n/datepicker-nl.js":"/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Mathias Bynens <http://mathiasbynens.be/> */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.nl = {\n\tcloseText: \"Sluiten\",\n\tprevText: \"\u2190\",\n\tnextText: \"\u2192\",\n\tcurrentText: \"Vandaag\",\n\tmonthNames: [ \"januari\", \"februari\", \"maart\", \"april\", \"mei\", \"juni\",\n\t\"juli\", \"augustus\", \"september\", \"oktober\", \"november\", \"december\" ],\n\tmonthNamesShort: [ \"jan\", \"feb\", \"mrt\", \"apr\", \"mei\", \"jun\",\n\t\"jul\", \"aug\", \"sep\", \"okt\", \"nov\", \"dec\" ],\n\tdayNames: [ \"zondag\", \"maandag\", \"dinsdag\", \"woensdag\", \"donderdag\", \"vrijdag\", \"zaterdag\" ],\n\tdayNamesShort: [ \"zon\", \"maa\", \"din\", \"woe\", \"don\", \"vri\", \"zat\" ],\n\tdayNamesMin: [ \"zo\", \"ma\", \"di\", \"wo\", \"do\", \"vr\", \"za\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd-mm-yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.nl );\n\nreturn datepicker.regional.nl;\n\n} );\n","jquery/ui-modules/i18n/datepicker-km.js":"/* Khmer initialisation for the jQuery calendar extension. */\n/* Written by Chandara Om ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.km = {\n\tcloseText: \"\u1792\u17d2\u179c\u17be\u200b\u179a\u17bd\u1785\",\n\tprevText: \"\u1798\u17bb\u1793\",\n\tnextText: \"\u1794\u1793\u17d2\u1791\u17b6\u1794\u17cb\",\n\tcurrentText: \"\u1790\u17d2\u1784\u17c3\u200b\u1793\u17c1\u17c7\",\n\tmonthNames: [ \"\u1798\u1780\u179a\u17b6\", \"\u1780\u17bb\u1798\u17d2\u1797\u17c8\", \"\u1798\u17b8\u1793\u17b6\", \"\u1798\u17c1\u179f\u17b6\", \"\u17a7\u179f\u1797\u17b6\", \"\u1798\u17b7\u1790\u17bb\u1793\u17b6\",\n\t\"\u1780\u1780\u17d2\u1780\u178a\u17b6\", \"\u179f\u17b8\u17a0\u17b6\", \"\u1780\u1789\u17d2\u1789\u17b6\", \"\u178f\u17bb\u179b\u17b6\", \"\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6\", \"\u1792\u17d2\u1793\u17bc\" ],\n\tmonthNamesShort: [ \"\u1798\u1780\u179a\u17b6\", \"\u1780\u17bb\u1798\u17d2\u1797\u17c8\", \"\u1798\u17b8\u1793\u17b6\", \"\u1798\u17c1\u179f\u17b6\", \"\u17a7\u179f\u1797\u17b6\", \"\u1798\u17b7\u1790\u17bb\u1793\u17b6\",\n\t\"\u1780\u1780\u17d2\u1780\u178a\u17b6\", \"\u179f\u17b8\u17a0\u17b6\", \"\u1780\u1789\u17d2\u1789\u17b6\", \"\u178f\u17bb\u179b\u17b6\", \"\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6\", \"\u1792\u17d2\u1793\u17bc\" ],\n\tdayNames: [ \"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799\", \"\u1785\u1793\u17d2\u1791\", \"\u17a2\u1784\u17d2\u1782\u17b6\u179a\", \"\u1796\u17bb\u1792\", \"\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd\", \"\u179f\u17bb\u1780\u17d2\u179a\", \"\u179f\u17c5\u179a\u17cd\" ],\n\tdayNamesShort: [ \"\u17a2\u17b6\", \"\u1785\", \"\u17a2\", \"\u1796\u17bb\", \"\u1796\u17d2\u179a\u17a0\", \"\u179f\u17bb\", \"\u179f\u17c5\" ],\n\tdayNamesMin: [ \"\u17a2\u17b6\", \"\u1785\", \"\u17a2\", \"\u1796\u17bb\", \"\u1796\u17d2\u179a\u17a0\", \"\u179f\u17bb\", \"\u179f\u17c5\" ],\n\tweekHeader: \"\u179f\u1794\u17d2\u178a\u17b6\u17a0\u17cd\",\n\tdateFormat: \"dd-mm-yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.km );\n\nreturn datepicker.regional.km;\n\n} );\n","jquery/ui-modules/i18n/datepicker-fr-CA.js":"/* Canadian-French initialisation for the jQuery UI date picker plugin. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"fr-CA\" ] = {\n\tcloseText: \"Fermer\",\n\tprevText: \"Pr\u00e9c\u00e9dent\",\n\tnextText: \"Suivant\",\n\tcurrentText: \"Aujourd'hui\",\n\tmonthNames: [ \"janvier\", \"f\u00e9vrier\", \"mars\", \"avril\", \"mai\", \"juin\",\n\t\t\"juillet\", \"ao\u00fbt\", \"septembre\", \"octobre\", \"novembre\", \"d\u00e9cembre\" ],\n\tmonthNamesShort: [ \"janv.\", \"f\u00e9vr.\", \"mars\", \"avril\", \"mai\", \"juin\",\n\t\t\"juil.\", \"ao\u00fbt\", \"sept.\", \"oct.\", \"nov.\", \"d\u00e9c.\" ],\n\tdayNames: [ \"dimanche\", \"lundi\", \"mardi\", \"mercredi\", \"jeudi\", \"vendredi\", \"samedi\" ],\n\tdayNamesShort: [ \"dim.\", \"lun.\", \"mar.\", \"mer.\", \"jeu.\", \"ven.\", \"sam.\" ],\n\tdayNamesMin: [ \"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\" ],\n\tweekHeader: \"Sem.\",\n\tdateFormat: \"yy-mm-dd\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\"\n};\ndatepicker.setDefaults( datepicker.regional[ \"fr-CA\" ] );\n\nreturn datepicker.regional[ \"fr-CA\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-de-AT.js":"/* German/Austrian initialisation for the jQuery UI date picker plugin. */\n/* Based on the de initialisation. */\n\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"de-AT\" ] = {\n\tcloseText: \"Schlie\u00dfen\",\n\tprevText: \"<Zur\u00fcck\",\n\tnextText: \"Vor>\",\n\tcurrentText: \"Heute\",\n\tmonthNames: [ \"J\u00e4nner\", \"Februar\", \"M\u00e4rz\", \"April\", \"Mai\", \"Juni\",\n\t\"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Dezember\" ],\n\tmonthNamesShort: [ \"J\u00e4n\", \"Feb\", \"M\u00e4r\", \"Apr\", \"Mai\", \"Jun\",\n\t\"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dez\" ],\n\tdayNames: [ \"Sonntag\", \"Montag\", \"Dienstag\", \"Mittwoch\", \"Donnerstag\", \"Freitag\", \"Samstag\" ],\n\tdayNamesShort: [ \"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\" ],\n\tdayNamesMin: [ \"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\" ],\n\tweekHeader: \"KW\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"de-AT\" ] );\n\nreturn datepicker.regional[ \"de-AT\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-pt.js":"/* Portuguese initialisation for the jQuery UI date picker plugin. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.pt = {\n\tcloseText: \"Fechar\",\n\tprevText: \"Anterior\",\n\tnextText: \"Seguinte\",\n\tcurrentText: \"Hoje\",\n\tmonthNames: [ \"Janeiro\", \"Fevereiro\", \"Mar\u00e7o\", \"Abril\", \"Maio\", \"Junho\",\n\t\"Julho\", \"Agosto\", \"Setembro\", \"Outubro\", \"Novembro\", \"Dezembro\" ],\n\tmonthNamesShort: [ \"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\",\n\t\"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\" ],\n\tdayNames: [\n\t\t\"Domingo\",\n\t\t\"Segunda-feira\",\n\t\t\"Ter\u00e7a-feira\",\n\t\t\"Quarta-feira\",\n\t\t\"Quinta-feira\",\n\t\t\"Sexta-feira\",\n\t\t\"S\u00e1bado\"\n\t],\n\tdayNamesShort: [ \"Dom\", \"Seg\", \"Ter\", \"Qua\", \"Qui\", \"Sex\", \"S\u00e1b\" ],\n\tdayNamesMin: [ \"Dom\", \"Seg\", \"Ter\", \"Qua\", \"Qui\", \"Sex\", \"S\u00e1b\" ],\n\tweekHeader: \"Sem\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.pt );\n\nreturn datepicker.regional.pt;\n\n} );\n","jquery/ui-modules/i18n/datepicker-ko.js":"/* Korean initialisation for the jQuery calendar extension. */\n/* Written by DaeKwon Kang ([email protected]), Edited by Genie and Myeongjin Lee. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.ko = {\n\tcloseText: \"\ub2eb\uae30\",\n\tprevText: \"\uc774\uc804\ub2ec\",\n\tnextText: \"\ub2e4\uc74c\ub2ec\",\n\tcurrentText: \"\uc624\ub298\",\n\tmonthNames: [ \"1\uc6d4\", \"2\uc6d4\", \"3\uc6d4\", \"4\uc6d4\", \"5\uc6d4\", \"6\uc6d4\",\n\t\"7\uc6d4\", \"8\uc6d4\", \"9\uc6d4\", \"10\uc6d4\", \"11\uc6d4\", \"12\uc6d4\" ],\n\tmonthNamesShort: [ \"1\uc6d4\", \"2\uc6d4\", \"3\uc6d4\", \"4\uc6d4\", \"5\uc6d4\", \"6\uc6d4\",\n\t\"7\uc6d4\", \"8\uc6d4\", \"9\uc6d4\", \"10\uc6d4\", \"11\uc6d4\", \"12\uc6d4\" ],\n\tdayNames: [ \"\uc77c\uc694\uc77c\", \"\uc6d4\uc694\uc77c\", \"\ud654\uc694\uc77c\", \"\uc218\uc694\uc77c\", \"\ubaa9\uc694\uc77c\", \"\uae08\uc694\uc77c\", \"\ud1a0\uc694\uc77c\" ],\n\tdayNamesShort: [ \"\uc77c\", \"\uc6d4\", \"\ud654\", \"\uc218\", \"\ubaa9\", \"\uae08\", \"\ud1a0\" ],\n\tdayNamesMin: [ \"\uc77c\", \"\uc6d4\", \"\ud654\", \"\uc218\", \"\ubaa9\", \"\uae08\", \"\ud1a0\" ],\n\tweekHeader: \"\uc8fc\",\n\tdateFormat: \"yy. m. d.\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\ub144\" };\ndatepicker.setDefaults( datepicker.regional.ko );\n\nreturn datepicker.regional.ko;\n\n} );\n","jquery/ui-modules/i18n/datepicker-hi.js":"/* Hindi initialisation for the jQuery UI date picker plugin. */\n/* Written by Michael Dawart. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.hi = {\n\tcloseText: \"\u092c\u0902\u0926\",\n\tprevText: \"\u092a\u093f\u091b\u0932\u093e\",\n\tnextText: \"\u0905\u0917\u0932\u093e\",\n\tcurrentText: \"\u0906\u091c\",\n\tmonthNames: [ \"\u091c\u0928\u0935\u0930\u0940 \", \"\u092b\u0930\u0935\u0930\u0940\", \"\u092e\u093e\u0930\u094d\u091a\", \"\u0905\u092a\u094d\u0930\u0947\u0932\", \"\u092e\u0908\", \"\u091c\u0942\u0928\",\n\t\"\u091c\u0942\u0932\u093e\u0908\", \"\u0905\u0917\u0938\u094d\u0924 \", \"\u0938\u093f\u0924\u092e\u094d\u092c\u0930\", \"\u0905\u0915\u094d\u091f\u0942\u092c\u0930\", \"\u0928\u0935\u092e\u094d\u092c\u0930\", \"\u0926\u093f\u0938\u092e\u094d\u092c\u0930\" ],\n\tmonthNamesShort: [ \"\u091c\u0928\", \"\u092b\u0930\", \"\u092e\u093e\u0930\u094d\u091a\", \"\u0905\u092a\u094d\u0930\u0947\u0932\", \"\u092e\u0908\", \"\u091c\u0942\u0928\",\n\t\"\u091c\u0942\u0932\u093e\u0908\", \"\u0905\u0917\", \"\u0938\u093f\u0924\", \"\u0905\u0915\u094d\u091f\", \"\u0928\u0935\", \"\u0926\u093f\" ],\n\tdayNames: [ \"\u0930\u0935\u093f\u0935\u093e\u0930\", \"\u0938\u094b\u092e\u0935\u093e\u0930\", \"\u092e\u0902\u0917\u0932\u0935\u093e\u0930\", \"\u092c\u0941\u0927\u0935\u093e\u0930\", \"\u0917\u0941\u0930\u0941\u0935\u093e\u0930\", \"\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930\", \"\u0936\u0928\u093f\u0935\u093e\u0930\" ],\n\tdayNamesShort: [ \"\u0930\u0935\u093f\", \"\u0938\u094b\u092e\", \"\u092e\u0902\u0917\u0932\", \"\u092c\u0941\u0927\", \"\u0917\u0941\u0930\u0941\", \"\u0936\u0941\u0915\u094d\u0930\", \"\u0936\u0928\u093f\" ],\n\tdayNamesMin: [ \"\u0930\u0935\u093f\", \"\u0938\u094b\u092e\", \"\u092e\u0902\u0917\u0932\", \"\u092c\u0941\u0927\", \"\u0917\u0941\u0930\u0941\", \"\u0936\u0941\u0915\u094d\u0930\", \"\u0936\u0928\u093f\" ],\n\tweekHeader: \"\u0939\u092b\u094d\u0924\u093e\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.hi );\n\nreturn datepicker.regional.hi;\n\n} );\n","jquery/ui-modules/i18n/datepicker-nn.js":"/* Norwegian Nynorsk initialisation for the jQuery UI date picker plugin. */\n/* Written by Bj\u00f8rn Johansen ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.nn = {\n\tcloseText: \"Lukk\",\n\tprevText: \"«F\u00f8rre\",\n\tnextText: \"Neste»\",\n\tcurrentText: \"I dag\",\n\tmonthNames: [\n\t\t\"januar\",\n\t\t\"februar\",\n\t\t\"mars\",\n\t\t\"april\",\n\t\t\"mai\",\n\t\t\"juni\",\n\t\t\"juli\",\n\t\t\"august\",\n\t\t\"september\",\n\t\t\"oktober\",\n\t\t\"november\",\n\t\t\"desember\"\n\t],\n\tmonthNamesShort: [ \"jan\", \"feb\", \"mar\", \"apr\", \"mai\", \"jun\", \"jul\", \"aug\", \"sep\", \"okt\", \"nov\", \"des\" ],\n\tdayNamesShort: [ \"sun\", \"m\u00e5n\", \"tys\", \"ons\", \"tor\", \"fre\", \"lau\" ],\n\tdayNames: [ \"sundag\", \"m\u00e5ndag\", \"tysdag\", \"onsdag\", \"torsdag\", \"fredag\", \"laurdag\" ],\n\tdayNamesMin: [ \"su\", \"m\u00e5\", \"ty\", \"on\", \"to\", \"fr\", \"la\" ],\n\tweekHeader: \"Veke\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\"\n};\ndatepicker.setDefaults( datepicker.regional.nn );\n\nreturn datepicker.regional.nn;\n\n} );\n","jquery/ui-modules/i18n/datepicker-nl-BE.js":"/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */\n/* David De Sloovere @DavidDeSloovere */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"nl-BE\" ] = {\n\tcloseText: \"Sluiten\",\n\tprevText: \"\u2190\",\n\tnextText: \"\u2192\",\n\tcurrentText: \"Vandaag\",\n\tmonthNames: [ \"januari\", \"februari\", \"maart\", \"april\", \"mei\", \"juni\",\n\t\"juli\", \"augustus\", \"september\", \"oktober\", \"november\", \"december\" ],\n\tmonthNamesShort: [ \"jan\", \"feb\", \"mrt\", \"apr\", \"mei\", \"jun\",\n\t\"jul\", \"aug\", \"sep\", \"okt\", \"nov\", \"dec\" ],\n\tdayNames: [ \"zondag\", \"maandag\", \"dinsdag\", \"woensdag\", \"donderdag\", \"vrijdag\", \"zaterdag\" ],\n\tdayNamesShort: [ \"zon\", \"maa\", \"din\", \"woe\", \"don\", \"vri\", \"zat\" ],\n\tdayNamesMin: [ \"zo\", \"ma\", \"di\", \"wo\", \"do\", \"vr\", \"za\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional[ \"nl-BE\" ] );\n\nreturn datepicker.regional[ \"nl-BE\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-mk.js":"/* Macedonian i18n for the jQuery UI date picker plugin. */\n/* Written by Stojce Slavkovski. */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.mk = {\n\tcloseText: \"\u0417\u0430\u0442\u0432\u043e\u0440\u0438\",\n\tprevText: \"<\",\n\tnextText: \">\",\n\tcurrentText: \"\u0414\u0435\u043d\u0435\u0441\",\n\tmonthNames: [ \"\u0408\u0430\u043d\u0443\u0430\u0440\u0438\", \"\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438\", \"\u041c\u0430\u0440\u0442\", \"\u0410\u043f\u0440\u0438\u043b\", \"\u041c\u0430\u0458\", \"\u0408\u0443\u043d\u0438\",\n\t\"\u0408\u0443\u043b\u0438\", \"\u0410\u0432\u0433\u0443\u0441\u0442\", \"\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438\", \"\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438\", \"\u041d\u043e\u0435\u043c\u0432\u0440\u0438\", \"\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438\" ],\n\tmonthNamesShort: [ \"\u0408\u0430\u043d\", \"\u0424\u0435\u0432\", \"\u041c\u0430\u0440\", \"\u0410\u043f\u0440\", \"\u041c\u0430\u0458\", \"\u0408\u0443\u043d\",\n\t\"\u0408\u0443\u043b\", \"\u0410\u0432\u0433\", \"\u0421\u0435\u043f\", \"\u041e\u043a\u0442\", \"\u041d\u043e\u0435\", \"\u0414\u0435\u043a\" ],\n\tdayNames: [ \"\u041d\u0435\u0434\u0435\u043b\u0430\", \"\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a\", \"\u0412\u0442\u043e\u0440\u043d\u0438\u043a\", \"\u0421\u0440\u0435\u0434\u0430\", \"\u0427\u0435\u0442\u0432\u0440\u0442\u043e\u043a\", \"\u041f\u0435\u0442\u043e\u043a\", \"\u0421\u0430\u0431\u043e\u0442\u0430\" ],\n\tdayNamesShort: [ \"\u041d\u0435\u0434\", \"\u041f\u043e\u043d\", \"\u0412\u0442\u043e\", \"\u0421\u0440\u0435\", \"\u0427\u0435\u0442\", \"\u041f\u0435\u0442\", \"\u0421\u0430\u0431\" ],\n\tdayNamesMin: [ \"\u041d\u0435\", \"\u041f\u043e\", \"\u0412\u0442\", \"\u0421\u0440\", \"\u0427\u0435\", \"\u041f\u0435\", \"\u0421\u0430\" ],\n\tweekHeader: \"\u0421\u0435\u0434\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.mk );\n\nreturn datepicker.regional.mk;\n\n} );\n","jquery/ui-modules/i18n/datepicker-is.js":"/* Icelandic initialisation for the jQuery UI date picker plugin. */\n/* Written by Haukur H. Thorsson ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.is = {\n\tcloseText: \"Loka\",\n\tprevText: \"< Fyrri\",\n\tnextText: \"N\u00e6sti >\",\n\tcurrentText: \"\u00cd dag\",\n\tmonthNames: [ \"Jan\u00faar\", \"Febr\u00faar\", \"Mars\", \"Apr\u00edl\", \"Ma\u00ed\", \"J\u00fan\u00ed\",\n\t\"J\u00fal\u00ed\", \"\u00c1g\u00fast\", \"September\", \"Okt\u00f3ber\", \"N\u00f3vember\", \"Desember\" ],\n\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Ma\u00ed\", \"J\u00fan\",\n\t\"J\u00fal\", \"\u00c1g\u00fa\", \"Sep\", \"Okt\", \"N\u00f3v\", \"Des\" ],\n\tdayNames: [\n\t\t\"Sunnudagur\",\n\t\t\"M\u00e1nudagur\",\n\t\t\"\u00deri\u00f0judagur\",\n\t\t\"Mi\u00f0vikudagur\",\n\t\t\"Fimmtudagur\",\n\t\t\"F\u00f6studagur\",\n\t\t\"Laugardagur\"\n\t],\n\tdayNamesShort: [ \"Sun\", \"M\u00e1n\", \"\u00deri\", \"Mi\u00f0\", \"Fim\", \"F\u00f6s\", \"Lau\" ],\n\tdayNamesMin: [ \"Su\", \"M\u00e1\", \"\u00der\", \"Mi\", \"Fi\", \"F\u00f6\", \"La\" ],\n\tweekHeader: \"Vika\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.is );\n\nreturn datepicker.regional.is;\n\n} );\n","jquery/ui-modules/i18n/datepicker-uk.js":"/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */\n/* Written by Maxim Drogobitskiy ([email protected]). */\n/* Corrected by Igor Milla ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.uk = {\n\tcloseText: \"\u0417\u0430\u043a\u0440\u0438\u0442\u0438\",\n\tprevText: \"<\",\n\tnextText: \">\",\n\tcurrentText: \"\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456\",\n\tmonthNames: [ \"\u0421\u0456\u0447\u0435\u043d\u044c\", \"\u041b\u044e\u0442\u0438\u0439\", \"\u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c\", \"\u041a\u0432\u0456\u0442\u0435\u043d\u044c\", \"\u0422\u0440\u0430\u0432\u0435\u043d\u044c\", \"\u0427\u0435\u0440\u0432\u0435\u043d\u044c\",\n\t\"\u041b\u0438\u043f\u0435\u043d\u044c\", \"\u0421\u0435\u0440\u043f\u0435\u043d\u044c\", \"\u0412\u0435\u0440\u0435\u0441\u0435\u043d\u044c\", \"\u0416\u043e\u0432\u0442\u0435\u043d\u044c\", \"\u041b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\", \"\u0413\u0440\u0443\u0434\u0435\u043d\u044c\" ],\n\tmonthNamesShort: [ \"\u0421\u0456\u0447\", \"\u041b\u044e\u0442\", \"\u0411\u0435\u0440\", \"\u041a\u0432\u0456\", \"\u0422\u0440\u0430\", \"\u0427\u0435\u0440\",\n\t\"\u041b\u0438\u043f\", \"\u0421\u0435\u0440\", \"\u0412\u0435\u0440\", \"\u0416\u043e\u0432\", \"\u041b\u0438\u0441\", \"\u0413\u0440\u0443\" ],\n\tdayNames: [ \"\u043d\u0435\u0434\u0456\u043b\u044f\", \"\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a\", \"\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a\", \"\u0441\u0435\u0440\u0435\u0434\u0430\", \"\u0447\u0435\u0442\u0432\u0435\u0440\", \"\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f\", \"\u0441\u0443\u0431\u043e\u0442\u0430\" ],\n\tdayNamesShort: [ \"\u043d\u0435\u0434\", \"\u043f\u043d\u0434\", \"\u0432\u0456\u0432\", \"\u0441\u0440\u0434\", \"\u0447\u0442\u0432\", \"\u043f\u0442\u043d\", \"\u0441\u0431\u0442\" ],\n\tdayNamesMin: [ \"\u041d\u0434\", \"\u041f\u043d\", \"\u0412\u0442\", \"\u0421\u0440\", \"\u0427\u0442\", \"\u041f\u0442\", \"\u0421\u0431\" ],\n\tweekHeader: \"\u0422\u0438\u0436\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.uk );\n\nreturn datepicker.regional.uk;\n\n} );\n","jquery/ui-modules/i18n/datepicker-vi.js":"/* Vietnamese initialisation for the jQuery UI date picker plugin. */\n/* Translated by Le Thanh Huy ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.vi = {\n\tcloseText: \"\u0110\u00f3ng\",\n\tprevText: \"<Tr\u01b0\u1edbc\",\n\tnextText: \"Ti\u1ebfp>\",\n\tcurrentText: \"H\u00f4m nay\",\n\tmonthNames: [ \"Th\u00e1ng M\u1ed9t\", \"Th\u00e1ng Hai\", \"Th\u00e1ng Ba\", \"Th\u00e1ng T\u01b0\", \"Th\u00e1ng N\u0103m\", \"Th\u00e1ng S\u00e1u\",\n\t\"Th\u00e1ng B\u1ea3y\", \"Th\u00e1ng T\u00e1m\", \"Th\u00e1ng Ch\u00edn\", \"Th\u00e1ng M\u01b0\u1eddi\", \"Th\u00e1ng M\u01b0\u1eddi M\u1ed9t\", \"Th\u00e1ng M\u01b0\u1eddi Hai\" ],\n\tmonthNamesShort: [ \"Th\u00e1ng 1\", \"Th\u00e1ng 2\", \"Th\u00e1ng 3\", \"Th\u00e1ng 4\", \"Th\u00e1ng 5\", \"Th\u00e1ng 6\",\n\t\"Th\u00e1ng 7\", \"Th\u00e1ng 8\", \"Th\u00e1ng 9\", \"Th\u00e1ng 10\", \"Th\u00e1ng 11\", \"Th\u00e1ng 12\" ],\n\tdayNames: [ \"Ch\u1ee7 Nh\u1eadt\", \"Th\u1ee9 Hai\", \"Th\u1ee9 Ba\", \"Th\u1ee9 T\u01b0\", \"Th\u1ee9 N\u0103m\", \"Th\u1ee9 S\u00e1u\", \"Th\u1ee9 B\u1ea3y\" ],\n\tdayNamesShort: [ \"CN\", \"T2\", \"T3\", \"T4\", \"T5\", \"T6\", \"T7\" ],\n\tdayNamesMin: [ \"CN\", \"T2\", \"T3\", \"T4\", \"T5\", \"T6\", \"T7\" ],\n\tweekHeader: \"Tu\",\n\tdateFormat: \"dd/mm/yy\",\n\tfirstDay: 0,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.vi );\n\nreturn datepicker.regional.vi;\n\n} );\n","jquery/ui-modules/i18n/datepicker-zh-CN.js":"/* Chinese initialisation for the jQuery UI date picker plugin. */\n/* Written by Cloudream ([email protected]). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional[ \"zh-CN\" ] = {\n\tcloseText: \"\u5173\u95ed\",\n\tprevText: \"<\u4e0a\u6708\",\n\tnextText: \"\u4e0b\u6708>\",\n\tcurrentText: \"\u4eca\u5929\",\n\tmonthNames: [ \"\u4e00\u6708\", \"\u4e8c\u6708\", \"\u4e09\u6708\", \"\u56db\u6708\", \"\u4e94\u6708\", \"\u516d\u6708\",\n\t\"\u4e03\u6708\", \"\u516b\u6708\", \"\u4e5d\u6708\", \"\u5341\u6708\", \"\u5341\u4e00\u6708\", \"\u5341\u4e8c\u6708\" ],\n\tmonthNamesShort: [ \"\u4e00\u6708\", \"\u4e8c\u6708\", \"\u4e09\u6708\", \"\u56db\u6708\", \"\u4e94\u6708\", \"\u516d\u6708\",\n\t\"\u4e03\u6708\", \"\u516b\u6708\", \"\u4e5d\u6708\", \"\u5341\u6708\", \"\u5341\u4e00\u6708\", \"\u5341\u4e8c\u6708\" ],\n\tdayNames: [ \"\u661f\u671f\u65e5\", \"\u661f\u671f\u4e00\", \"\u661f\u671f\u4e8c\", \"\u661f\u671f\u4e09\", \"\u661f\u671f\u56db\", \"\u661f\u671f\u4e94\", \"\u661f\u671f\u516d\" ],\n\tdayNamesShort: [ \"\u5468\u65e5\", \"\u5468\u4e00\", \"\u5468\u4e8c\", \"\u5468\u4e09\", \"\u5468\u56db\", \"\u5468\u4e94\", \"\u5468\u516d\" ],\n\tdayNamesMin: [ \"\u65e5\", \"\u4e00\", \"\u4e8c\", \"\u4e09\", \"\u56db\", \"\u4e94\", \"\u516d\" ],\n\tweekHeader: \"\u5468\",\n\tdateFormat: \"yy-mm-dd\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: true,\n\tyearSuffix: \"\u5e74\" };\ndatepicker.setDefaults( datepicker.regional[ \"zh-CN\" ] );\n\nreturn datepicker.regional[ \"zh-CN\" ];\n\n} );\n","jquery/ui-modules/i18n/datepicker-bg.js":"/* Bulgarian initialisation for the jQuery UI date picker plugin. */\n/* Written by Stoyan Kyosev (http://svest.org). */\n( function( factory ) {\n\t\"use strict\";\n\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"../widgets/datepicker\" ], factory );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery.datepicker );\n\t}\n} )( function( datepicker ) {\n\"use strict\";\n\ndatepicker.regional.bg = {\n\tcloseText: \"\u0437\u0430\u0442\u0432\u043e\u0440\u0438\",\n\tprevText: \"<\u043d\u0430\u0437\u0430\u0434\",\n\tnextText: \"\u043d\u0430\u043f\u0440\u0435\u0434>\",\n\tnextBigText: \">>\",\n\tcurrentText: \"\u0434\u043d\u0435\u0441\",\n\tmonthNames: [ \"\u042f\u043d\u0443\u0430\u0440\u0438\", \"\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438\", \"\u041c\u0430\u0440\u0442\", \"\u0410\u043f\u0440\u0438\u043b\", \"\u041c\u0430\u0439\", \"\u042e\u043d\u0438\",\n\t\"\u042e\u043b\u0438\", \"\u0410\u0432\u0433\u0443\u0441\u0442\", \"\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438\", \"\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438\", \"\u041d\u043e\u0435\u043c\u0432\u0440\u0438\", \"\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438\" ],\n\tmonthNamesShort: [ \"\u042f\u043d\u0443\", \"\u0424\u0435\u0432\", \"\u041c\u0430\u0440\", \"\u0410\u043f\u0440\", \"\u041c\u0430\u0439\", \"\u042e\u043d\u0438\",\n\t\"\u042e\u043b\u0438\", \"\u0410\u0432\u0433\", \"\u0421\u0435\u043f\", \"\u041e\u043a\u0442\", \"\u041d\u043e\u0432\", \"\u0414\u0435\u043a\" ],\n\tdayNames: [ \"\u041d\u0435\u0434\u0435\u043b\u044f\", \"\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a\", \"\u0412\u0442\u043e\u0440\u043d\u0438\u043a\", \"\u0421\u0440\u044f\u0434\u0430\", \"\u0427\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a\", \"\u041f\u0435\u0442\u044a\u043a\", \"\u0421\u044a\u0431\u043e\u0442\u0430\" ],\n\tdayNamesShort: [ \"\u041d\u0435\u0434\", \"\u041f\u043e\u043d\", \"\u0412\u0442\u043e\", \"\u0421\u0440\u044f\", \"\u0427\u0435\u0442\", \"\u041f\u0435\u0442\", \"\u0421\u044a\u0431\" ],\n\tdayNamesMin: [ \"\u041d\u0435\", \"\u041f\u043e\", \"\u0412\u0442\", \"\u0421\u0440\", \"\u0427\u0435\", \"\u041f\u0435\", \"\u0421\u044a\" ],\n\tweekHeader: \"Wk\",\n\tdateFormat: \"dd.mm.yy\",\n\tfirstDay: 1,\n\tisRTL: false,\n\tshowMonthAfterYear: false,\n\tyearSuffix: \"\" };\ndatepicker.setDefaults( datepicker.regional.bg );\n\nreturn datepicker.regional.bg;\n\n} );\n","jquery/ui-modules/effects/effect-explode.js":"/*!\n * jQuery UI Effects Explode 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Explode Effect\n//>>group: Effects\n/* eslint-disable max-len */\n//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.\n/* eslint-enable max-len */\n//>>docs: http://api.jqueryui.com/explode-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"explode\", \"hide\", function( options, done ) {\n\n var i, j, left, top, mx, my,\n rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3,\n cells = rows,\n element = $( this ),\n mode = options.mode,\n show = mode === \"show\",\n\n // Show and then visibility:hidden the element before calculating offset\n offset = element.show().css( \"visibility\", \"hidden\" ).offset(),\n\n // Width and height of a piece\n width = Math.ceil( element.outerWidth() / cells ),\n height = Math.ceil( element.outerHeight() / rows ),\n pieces = [];\n\n // Children animate complete:\n function childComplete() {\n pieces.push( this );\n if ( pieces.length === rows * cells ) {\n animComplete();\n }\n }\n\n // Clone the element for each row and cell.\n for ( i = 0; i < rows; i++ ) { // ===>\n top = offset.top + i * height;\n my = i - ( rows - 1 ) / 2;\n\n for ( j = 0; j < cells; j++ ) { // |||\n left = offset.left + j * width;\n mx = j - ( cells - 1 ) / 2;\n\n // Create a clone of the now hidden main element that will be absolute positioned\n // within a wrapper div off the -left and -top equal to size of our pieces\n element\n .clone()\n .appendTo( \"body\" )\n .wrap( \"<div></div>\" )\n .css( {\n position: \"absolute\",\n visibility: \"visible\",\n left: -j * width,\n top: -i * height\n } )\n\n // Select the wrapper - make it overflow: hidden and absolute positioned based on\n // where the original was located +left and +top equal to the size of pieces\n .parent()\n .addClass( \"ui-effects-explode\" )\n .css( {\n position: \"absolute\",\n overflow: \"hidden\",\n width: width,\n height: height,\n left: left + ( show ? mx * width : 0 ),\n top: top + ( show ? my * height : 0 ),\n opacity: show ? 0 : 1\n } )\n .animate( {\n left: left + ( show ? 0 : mx * width ),\n top: top + ( show ? 0 : my * height ),\n opacity: show ? 1 : 0\n }, options.duration || 500, options.easing, childComplete );\n }\n }\n\n function animComplete() {\n element.css( {\n visibility: \"visible\"\n } );\n $( pieces ).remove();\n done();\n }\n } );\n\n} );\n","jquery/ui-modules/effects/effect-drop.js":"/*!\n * jQuery UI Effects Clip 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Clip Effect\n//>>group: Effects\n//>>description: Clips the element on and off like an old TV.\n//>>docs: http://api.jqueryui.com/clip-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"clip\", \"hide\", function( options, done ) {\n var start,\n animate = {},\n element = $( this ),\n direction = options.direction || \"vertical\",\n both = direction === \"both\",\n horizontal = both || direction === \"horizontal\",\n vertical = both || direction === \"vertical\";\n\n start = element.cssClip();\n animate.clip = {\n top: vertical ? ( start.bottom - start.top ) / 2 : start.top,\n right: horizontal ? ( start.right - start.left ) / 2 : start.right,\n bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,\n left: horizontal ? ( start.right - start.left ) / 2 : start.left\n };\n\n $.effects.createPlaceholder( element );\n\n if ( options.mode === \"show\" ) {\n element.cssClip( animate.clip );\n animate.clip = start;\n }\n\n element.animate( animate, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: done\n } );\n\n } );\n\n} );\n","jquery/ui-modules/effects/effect-size.js":"/*!\n * jQuery UI Effects Size 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Size Effect\n//>>group: Effects\n//>>description: Resize an element to a specified width and height.\n//>>docs: http://api.jqueryui.com/size-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"size\", function( options, done ) {\n\n // Create element\n var baseline, factor, temp,\n element = $( this ),\n\n // Copy for children\n cProps = [ \"fontSize\" ],\n vProps = [ \"borderTopWidth\", \"borderBottomWidth\", \"paddingTop\", \"paddingBottom\" ],\n hProps = [ \"borderLeftWidth\", \"borderRightWidth\", \"paddingLeft\", \"paddingRight\" ],\n\n // Set options\n mode = options.mode,\n restore = mode !== \"effect\",\n scale = options.scale || \"both\",\n origin = options.origin || [ \"middle\", \"center\" ],\n position = element.css( \"position\" ),\n pos = element.position(),\n original = $.effects.scaledDimensions( element ),\n from = options.from || original,\n to = options.to || $.effects.scaledDimensions( element, 0 );\n\n $.effects.createPlaceholder( element );\n\n if ( mode === \"show\" ) {\n temp = from;\n from = to;\n to = temp;\n }\n\n // Set scaling factor\n factor = {\n from: {\n y: from.height / original.height,\n x: from.width / original.width\n },\n to: {\n y: to.height / original.height,\n x: to.width / original.width\n }\n };\n\n // Scale the css box\n if ( scale === \"box\" || scale === \"both\" ) {\n\n // Vertical props scaling\n if ( factor.from.y !== factor.to.y ) {\n from = $.effects.setTransition( element, vProps, factor.from.y, from );\n to = $.effects.setTransition( element, vProps, factor.to.y, to );\n }\n\n // Horizontal props scaling\n if ( factor.from.x !== factor.to.x ) {\n from = $.effects.setTransition( element, hProps, factor.from.x, from );\n to = $.effects.setTransition( element, hProps, factor.to.x, to );\n }\n }\n\n // Scale the content\n if ( scale === \"content\" || scale === \"both\" ) {\n\n // Vertical props scaling\n if ( factor.from.y !== factor.to.y ) {\n from = $.effects.setTransition( element, cProps, factor.from.y, from );\n to = $.effects.setTransition( element, cProps, factor.to.y, to );\n }\n }\n\n // Adjust the position properties based on the provided origin points\n if ( origin ) {\n baseline = $.effects.getBaseline( origin, original );\n from.top = ( original.outerHeight - from.outerHeight ) * baseline.y + pos.top;\n from.left = ( original.outerWidth - from.outerWidth ) * baseline.x + pos.left;\n to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top;\n to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left;\n }\n delete from.outerHeight;\n delete from.outerWidth;\n element.css( from );\n\n // Animate the children if desired\n if ( scale === \"content\" || scale === \"both\" ) {\n\n vProps = vProps.concat( [ \"marginTop\", \"marginBottom\" ] ).concat( cProps );\n hProps = hProps.concat( [ \"marginLeft\", \"marginRight\" ] );\n\n // Only animate children with width attributes specified\n // TODO: is this right? should we include anything with css width specified as well\n element.find( \"*[width]\" ).each( function() {\n var child = $( this ),\n childOriginal = $.effects.scaledDimensions( child ),\n childFrom = {\n height: childOriginal.height * factor.from.y,\n width: childOriginal.width * factor.from.x,\n outerHeight: childOriginal.outerHeight * factor.from.y,\n outerWidth: childOriginal.outerWidth * factor.from.x\n },\n childTo = {\n height: childOriginal.height * factor.to.y,\n width: childOriginal.width * factor.to.x,\n outerHeight: childOriginal.height * factor.to.y,\n outerWidth: childOriginal.width * factor.to.x\n };\n\n // Vertical props scaling\n if ( factor.from.y !== factor.to.y ) {\n childFrom = $.effects.setTransition( child, vProps, factor.from.y, childFrom );\n childTo = $.effects.setTransition( child, vProps, factor.to.y, childTo );\n }\n\n // Horizontal props scaling\n if ( factor.from.x !== factor.to.x ) {\n childFrom = $.effects.setTransition( child, hProps, factor.from.x, childFrom );\n childTo = $.effects.setTransition( child, hProps, factor.to.x, childTo );\n }\n\n if ( restore ) {\n $.effects.saveStyle( child );\n }\n\n // Animate children\n child.css( childFrom );\n child.animate( childTo, options.duration, options.easing, function() {\n\n // Restore children\n if ( restore ) {\n $.effects.restoreStyle( child );\n }\n } );\n } );\n }\n\n // Animate\n element.animate( to, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: function() {\n\n var offset = element.offset();\n\n if ( to.opacity === 0 ) {\n element.css( \"opacity\", from.opacity );\n }\n\n if ( !restore ) {\n element\n .css( \"position\", position === \"static\" ? \"relative\" : position )\n .offset( offset );\n\n // Need to save style here so that automatic style restoration\n // doesn't restore to the original styles from before the animation.\n $.effects.saveStyle( element );\n }\n\n done();\n }\n } );\n\n } );\n\n} );\n","jquery/ui-modules/effects/effect-fade.js":"/*!\n * jQuery UI Effects Fade 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Fade Effect\n//>>group: Effects\n//>>description: Fades the element.\n//>>docs: http://api.jqueryui.com/fade-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"fade\", \"toggle\", function( options, done ) {\n var show = options.mode === \"show\";\n\n $( this )\n .css( \"opacity\", show ? 0 : 1 )\n .animate( {\n opacity: show ? 1 : 0\n }, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: done\n } );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-shake.js":"/*!\n * jQuery UI Effects Shake 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Shake Effect\n//>>group: Effects\n//>>description: Shakes an element horizontally or vertically n times.\n//>>docs: http://api.jqueryui.com/shake-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"shake\", function( options, done ) {\n\n var i = 1,\n element = $( this ),\n direction = options.direction || \"left\",\n distance = options.distance || 20,\n times = options.times || 3,\n anims = times * 2 + 1,\n speed = Math.round( options.duration / anims ),\n ref = ( direction === \"up\" || direction === \"down\" ) ? \"top\" : \"left\",\n positiveMotion = ( direction === \"up\" || direction === \"left\" ),\n animation = {},\n animation1 = {},\n animation2 = {},\n\n queuelen = element.queue().length;\n\n $.effects.createPlaceholder( element );\n\n // Animation\n animation[ ref ] = ( positiveMotion ? \"-=\" : \"+=\" ) + distance;\n animation1[ ref ] = ( positiveMotion ? \"+=\" : \"-=\" ) + distance * 2;\n animation2[ ref ] = ( positiveMotion ? \"-=\" : \"+=\" ) + distance * 2;\n\n // Animate\n element.animate( animation, speed, options.easing );\n\n // Shakes\n for ( ; i < times; i++ ) {\n element\n .animate( animation1, speed, options.easing )\n .animate( animation2, speed, options.easing );\n }\n\n element\n .animate( animation1, speed, options.easing )\n .animate( animation, speed / 2, options.easing )\n .queue( done );\n\n $.effects.unshift( element, queuelen, anims + 1 );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-bounce.js":"/*!\n * jQuery UI Effects Bounce 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Bounce Effect\n//>>group: Effects\n//>>description: Bounces an element horizontally or vertically n times.\n//>>docs: http://api.jqueryui.com/bounce-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"bounce\", function( options, done ) {\n var upAnim, downAnim, refValue,\n element = $( this ),\n\n // Defaults:\n mode = options.mode,\n hide = mode === \"hide\",\n show = mode === \"show\",\n direction = options.direction || \"up\",\n distance = options.distance,\n times = options.times || 5,\n\n // Number of internal animations\n anims = times * 2 + ( show || hide ? 1 : 0 ),\n speed = options.duration / anims,\n easing = options.easing,\n\n // Utility:\n ref = ( direction === \"up\" || direction === \"down\" ) ? \"top\" : \"left\",\n motion = ( direction === \"up\" || direction === \"left\" ),\n i = 0,\n\n queuelen = element.queue().length;\n\n $.effects.createPlaceholder( element );\n\n refValue = element.css( ref );\n\n // Default distance for the BIGGEST bounce is the outer Distance / 3\n if ( !distance ) {\n distance = element[ ref === \"top\" ? \"outerHeight\" : \"outerWidth\" ]() / 3;\n }\n\n if ( show ) {\n downAnim = { opacity: 1 };\n downAnim[ ref ] = refValue;\n\n // If we are showing, force opacity 0 and set the initial position\n // then do the \"first\" animation\n element\n .css( \"opacity\", 0 )\n .css( ref, motion ? -distance * 2 : distance * 2 )\n .animate( downAnim, speed, easing );\n }\n\n // Start at the smallest distance if we are hiding\n if ( hide ) {\n distance = distance / Math.pow( 2, times - 1 );\n }\n\n downAnim = {};\n downAnim[ ref ] = refValue;\n\n // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here\n for ( ; i < times; i++ ) {\n upAnim = {};\n upAnim[ ref ] = ( motion ? \"-=\" : \"+=\" ) + distance;\n\n element\n .animate( upAnim, speed, easing )\n .animate( downAnim, speed, easing );\n\n distance = hide ? distance * 2 : distance / 2;\n }\n\n // Last Bounce when Hiding\n if ( hide ) {\n upAnim = { opacity: 0 };\n upAnim[ ref ] = ( motion ? \"-=\" : \"+=\" ) + distance;\n\n element.animate( upAnim, speed, easing );\n }\n\n element.queue( done );\n\n $.effects.unshift( element, queuelen, anims + 1 );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-highlight.js":"/*!\n * jQuery UI Effects Highlight 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Highlight Effect\n//>>group: Effects\n//>>description: Highlights the background of an element in a defined color for a custom duration.\n//>>docs: http://api.jqueryui.com/highlight-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"highlight\", \"show\", function( options, done ) {\n var element = $( this ),\n animation = {\n backgroundColor: element.css( \"backgroundColor\" )\n };\n\n if ( options.mode === \"hide\" ) {\n animation.opacity = 0;\n }\n\n $.effects.saveStyle( element );\n\n element\n .css( {\n backgroundImage: \"none\",\n backgroundColor: options.color || \"#ffff99\"\n } )\n .animate( animation, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: done\n } );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-pulsate.js":"/*!\n * jQuery UI Effects Pulsate 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Pulsate Effect\n//>>group: Effects\n//>>description: Pulsates an element n times by changing the opacity to zero and back.\n//>>docs: http://api.jqueryui.com/pulsate-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"pulsate\", \"show\", function( options, done ) {\n var element = $( this ),\n mode = options.mode,\n show = mode === \"show\",\n hide = mode === \"hide\",\n showhide = show || hide,\n\n // Showing or hiding leaves off the \"last\" animation\n anims = ( ( options.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),\n duration = options.duration / anims,\n animateTo = 0,\n i = 1,\n queuelen = element.queue().length;\n\n if ( show || !element.is( \":visible\" ) ) {\n element.css( \"opacity\", 0 ).show();\n animateTo = 1;\n }\n\n // Anims - 1 opacity \"toggles\"\n for ( ; i < anims; i++ ) {\n element.animate( { opacity: animateTo }, duration, options.easing );\n animateTo = 1 - animateTo;\n }\n\n element.animate( { opacity: animateTo }, duration, options.easing );\n\n element.queue( done );\n\n $.effects.unshift( element, queuelen, anims + 1 );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-clip.js":"/*!\n * jQuery UI Effects Clip 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Clip Effect\n//>>group: Effects\n//>>description: Clips the element on and off like an old TV.\n//>>docs: http://api.jqueryui.com/clip-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"clip\", \"hide\", function( options, done ) {\n var start,\n animate = {},\n element = $( this ),\n direction = options.direction || \"vertical\",\n both = direction === \"both\",\n horizontal = both || direction === \"horizontal\",\n vertical = both || direction === \"vertical\";\n\n start = element.cssClip();\n animate.clip = {\n top: vertical ? ( start.bottom - start.top ) / 2 : start.top,\n right: horizontal ? ( start.right - start.left ) / 2 : start.right,\n bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,\n left: horizontal ? ( start.right - start.left ) / 2 : start.left\n };\n\n $.effects.createPlaceholder( element );\n\n if ( options.mode === \"show\" ) {\n element.cssClip( animate.clip );\n animate.clip = start;\n }\n\n element.animate( animate, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: done\n } );\n\n } );\n\n} );\n","jquery/ui-modules/effects/effect-scale.js":"/*!\n * jQuery UI Effects Scale 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Scale Effect\n//>>group: Effects\n//>>description: Grows or shrinks an element and its content.\n//>>docs: http://api.jqueryui.com/scale-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\",\n \"./effect-size\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"scale\", function( options, done ) {\n\n // Create element\n var el = $( this ),\n mode = options.mode,\n percent = parseInt( options.percent, 10 ) ||\n ( parseInt( options.percent, 10 ) === 0 ? 0 : ( mode !== \"effect\" ? 0 : 100 ) ),\n\n newOptions = $.extend( true, {\n from: $.effects.scaledDimensions( el ),\n to: $.effects.scaledDimensions( el, percent, options.direction || \"both\" ),\n origin: options.origin || [ \"middle\", \"center\" ]\n }, options );\n\n // Fade option to support puff\n if ( options.fade ) {\n newOptions.from.opacity = 1;\n newOptions.to.opacity = 0;\n }\n\n $.effects.effect.size.call( this, newOptions, done );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-fold.js":"/*!\n * jQuery UI Effects Fold 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Fold Effect\n//>>group: Effects\n//>>description: Folds an element first horizontally and then vertically.\n//>>docs: http://api.jqueryui.com/fold-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"fold\", \"hide\", function( options, done ) {\n\n // Create element\n var element = $( this ),\n mode = options.mode,\n show = mode === \"show\",\n hide = mode === \"hide\",\n size = options.size || 15,\n percent = /([0-9]+)%/.exec( size ),\n horizFirst = !!options.horizFirst,\n ref = horizFirst ? [ \"right\", \"bottom\" ] : [ \"bottom\", \"right\" ],\n duration = options.duration / 2,\n\n placeholder = $.effects.createPlaceholder( element ),\n\n start = element.cssClip(),\n animation1 = { clip: $.extend( {}, start ) },\n animation2 = { clip: $.extend( {}, start ) },\n\n distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],\n\n queuelen = element.queue().length;\n\n if ( percent ) {\n size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];\n }\n animation1.clip[ ref[ 0 ] ] = size;\n animation2.clip[ ref[ 0 ] ] = size;\n animation2.clip[ ref[ 1 ] ] = 0;\n\n if ( show ) {\n element.cssClip( animation2.clip );\n if ( placeholder ) {\n placeholder.css( $.effects.clipToBox( animation2 ) );\n }\n\n animation2.clip = start;\n }\n\n // Animate\n element\n .queue( function( next ) {\n if ( placeholder ) {\n placeholder\n .animate( $.effects.clipToBox( animation1 ), duration, options.easing )\n .animate( $.effects.clipToBox( animation2 ), duration, options.easing );\n }\n\n next();\n } )\n .animate( animation1, duration, options.easing )\n .animate( animation2, duration, options.easing )\n .queue( done );\n\n $.effects.unshift( element, queuelen, 4 );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-blind.js":"/*!\n * jQuery UI Effects Blind 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Blind Effect\n//>>group: Effects\n//>>description: Blinds the element.\n//>>docs: http://api.jqueryui.com/blind-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"blind\", \"hide\", function( options, done ) {\n var map = {\n up: [ \"bottom\", \"top\" ],\n vertical: [ \"bottom\", \"top\" ],\n down: [ \"top\", \"bottom\" ],\n left: [ \"right\", \"left\" ],\n horizontal: [ \"right\", \"left\" ],\n right: [ \"left\", \"right\" ]\n },\n element = $( this ),\n direction = options.direction || \"up\",\n start = element.cssClip(),\n animate = { clip: $.extend( {}, start ) },\n placeholder = $.effects.createPlaceholder( element );\n\n animate.clip[ map[ direction ][ 0 ] ] = animate.clip[ map[ direction ][ 1 ] ];\n\n if ( options.mode === \"show\" ) {\n element.cssClip( animate.clip );\n if ( placeholder ) {\n placeholder.css( $.effects.clipToBox( animate ) );\n }\n\n animate.clip = start;\n }\n\n if ( placeholder ) {\n placeholder.animate( $.effects.clipToBox( animate ), options.duration, options.easing );\n }\n\n element.animate( animate, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: done\n } );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-slide.js":"/*!\n * jQuery UI Effects Slide 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Slide Effect\n//>>group: Effects\n//>>description: Slides an element in and out of the viewport.\n//>>docs: http://api.jqueryui.com/slide-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"slide\", \"show\", function( options, done ) {\n var startClip, startRef,\n element = $( this ),\n map = {\n up: [ \"bottom\", \"top\" ],\n down: [ \"top\", \"bottom\" ],\n left: [ \"right\", \"left\" ],\n right: [ \"left\", \"right\" ]\n },\n mode = options.mode,\n direction = options.direction || \"left\",\n ref = ( direction === \"up\" || direction === \"down\" ) ? \"top\" : \"left\",\n positiveMotion = ( direction === \"up\" || direction === \"left\" ),\n distance = options.distance ||\n element[ ref === \"top\" ? \"outerHeight\" : \"outerWidth\" ]( true ),\n animation = {};\n\n $.effects.createPlaceholder( element );\n\n startClip = element.cssClip();\n startRef = element.position()[ ref ];\n\n // Define hide animation\n animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef;\n animation.clip = element.cssClip();\n animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ];\n\n // Reverse the animation if we're showing\n if ( mode === \"show\" ) {\n element.cssClip( animation.clip );\n element.css( ref, animation[ ref ] );\n animation.clip = startClip;\n animation[ ref ] = startRef;\n }\n\n // Actually animate\n element.animate( animation, {\n queue: false,\n duration: options.duration,\n easing: options.easing,\n complete: done\n } );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-puff.js":"/*!\n * jQuery UI Effects Puff 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Puff Effect\n//>>group: Effects\n//>>description: Creates a puff effect by scaling the element up and hiding it at the same time.\n//>>docs: http://api.jqueryui.com/puff-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\",\n \"./effect-scale\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n return $.effects.define( \"puff\", \"hide\", function( options, done ) {\n var newOptions = $.extend( true, {}, options, {\n fade: true,\n percent: parseInt( options.percent, 10 ) || 150\n } );\n\n $.effects.effect.scale.call( this, newOptions, done );\n } );\n\n} );\n","jquery/ui-modules/effects/effect-transfer.js":"/*!\n * jQuery UI Effects Transfer 1.13.2\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Transfer Effect\n//>>group: Effects\n//>>description: Displays a transfer effect from one element to another.\n//>>docs: http://api.jqueryui.com/transfer-effect/\n//>>demos: http://jqueryui.com/effect/\n\n( function( factory ) {\n \"use strict\";\n\n if ( typeof define === \"function\" && define.amd ) {\n\n // AMD. Register as an anonymous module.\n define( [\n \"jquery\",\n \"../version\",\n \"../effect\"\n ], factory );\n } else {\n\n // Browser globals\n factory( jQuery );\n }\n} )( function( $ ) {\n \"use strict\";\n\n var effect;\n if ( $.uiBackCompat !== false ) {\n effect = $.effects.define( \"transfer\", function( options, done ) {\n $( this ).transfer( options, done );\n } );\n }\n return effect;\n\n} );\n","jquery/ui-modules/vendor/jquery-color/jquery.color.js":"/*!\n * jQuery Color Animations v2.2.0\n * https://github.com/jquery/jquery-color\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * Date: Sun May 10 09:02:36 2020 +0200\n */\n\n( function( root, factory ) {\n\tif ( typeof define === \"function\" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ \"jquery\" ], factory );\n\t} else if ( typeof exports === \"object\" ) {\n\t\tmodule.exports = factory( require( \"jquery\" ) );\n\t} else {\n\t\tfactory( root.jQuery );\n\t}\n} )( this, function( jQuery, undefined ) {\n\n\tvar stepHooks = \"backgroundColor borderBottomColor borderLeftColor borderRightColor \" +\n\t\t\"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor\",\n\n\tclass2type = {},\n\ttoString = class2type.toString,\n\n\t// plusequals test for += 100 -= 100\n\trplusequals = /^([\\-+])=\\s*(\\d+\\.?\\d*)/,\n\n\t// a set of RE's that can match strings and generate color tuples.\n\tstringParsers = [ {\n\t\t\tre: /rgba?\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,\n\t\t\tparse: function( execResult ) {\n\t\t\t\treturn [\n\t\t\t\t\texecResult[ 1 ],\n\t\t\t\t\texecResult[ 2 ],\n\t\t\t\t\texecResult[ 3 ],\n\t\t\t\t\texecResult[ 4 ]\n\t\t\t\t];\n\t\t\t}\n\t\t}, {\n\t\t\tre: /rgba?\\(\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,\n\t\t\tparse: function( execResult ) {\n\t\t\t\treturn [\n\t\t\t\t\texecResult[ 1 ] * 2.55,\n\t\t\t\t\texecResult[ 2 ] * 2.55,\n\t\t\t\t\texecResult[ 3 ] * 2.55,\n\t\t\t\t\texecResult[ 4 ]\n\t\t\t\t];\n\t\t\t}\n\t\t}, {\n\n\t\t\t// this regex ignores A-F because it's compared against an already lowercased string\n\t\t\tre: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,\n\t\t\tparse: function( execResult ) {\n\t\t\t\treturn [\n\t\t\t\t\tparseInt( execResult[ 1 ], 16 ),\n\t\t\t\t\tparseInt( execResult[ 2 ], 16 ),\n\t\t\t\t\tparseInt( execResult[ 3 ], 16 ),\n\t\t\t\t\texecResult[ 4 ] ?\n\t\t\t\t\t\t( parseInt( execResult[ 4 ], 16 ) / 255 ).toFixed( 2 ) :\n\t\t\t\t\t\t1\n\t\t\t\t];\n\t\t\t}\n\t\t}, {\n\n\t\t\t// this regex ignores A-F because it's compared against an already lowercased string\n\t\t\tre: /#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,\n\t\t\tparse: function( execResult ) {\n\t\t\t\treturn [\n\t\t\t\t\tparseInt( execResult[ 1 ] + execResult[ 1 ], 16 ),\n\t\t\t\t\tparseInt( execResult[ 2 ] + execResult[ 2 ], 16 ),\n\t\t\t\t\tparseInt( execResult[ 3 ] + execResult[ 3 ], 16 ),\n\t\t\t\t\texecResult[ 4 ] ?\n\t\t\t\t\t\t( parseInt( execResult[ 4 ] + execResult[ 4 ], 16 ) / 255 )\n\t\t\t\t\t\t\t.toFixed( 2 ) :\n\t\t\t\t\t\t1\n\t\t\t\t];\n\t\t\t}\n\t\t}, {\n\t\t\tre: /hsla?\\(\\s*(\\d+(?:\\.\\d+)?)\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,\n\t\t\tspace: \"hsla\",\n\t\t\tparse: function( execResult ) {\n\t\t\t\treturn [\n\t\t\t\t\texecResult[ 1 ],\n\t\t\t\t\texecResult[ 2 ] / 100,\n\t\t\t\t\texecResult[ 3 ] / 100,\n\t\t\t\t\texecResult[ 4 ]\n\t\t\t\t];\n\t\t\t}\n\t\t} ],\n\n\t// jQuery.Color( )\n\tcolor = jQuery.Color = function( color, green, blue, alpha ) {\n\t\treturn new jQuery.Color.fn.parse( color, green, blue, alpha );\n\t},\n\tspaces = {\n\t\trgba: {\n\t\t\tprops: {\n\t\t\t\tred: {\n\t\t\t\t\tidx: 0,\n\t\t\t\t\ttype: \"byte\"\n\t\t\t\t},\n\t\t\t\tgreen: {\n\t\t\t\t\tidx: 1,\n\t\t\t\t\ttype: \"byte\"\n\t\t\t\t},\n\t\t\t\tblue: {\n\t\t\t\t\tidx: 2,\n\t\t\t\t\ttype: \"byte\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\thsla: {\n\t\t\tprops: {\n\t\t\t\thue: {\n\t\t\t\t\tidx: 0,\n\t\t\t\t\ttype: \"degrees\"\n\t\t\t\t},\n\t\t\t\tsaturation: {\n\t\t\t\t\tidx: 1,\n\t\t\t\t\ttype: \"percent\"\n\t\t\t\t},\n\t\t\t\tlightness: {\n\t\t\t\t\tidx: 2,\n\t\t\t\t\ttype: \"percent\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tpropTypes = {\n\t\t\"byte\": {\n\t\t\tfloor: true,\n\t\t\tmax: 255\n\t\t},\n\t\t\"percent\": {\n\t\t\tmax: 1\n\t\t},\n\t\t\"degrees\": {\n\t\t\tmod: 360,\n\t\t\tfloor: true\n\t\t}\n\t},\n\tsupport = color.support = {},\n\n\t// element for support tests\n\tsupportElem = jQuery( \"<p>\" )[ 0 ],\n\n\t// colors = jQuery.Color.names\n\tcolors,\n\n\t// local aliases of functions called often\n\teach = jQuery.each;\n\n// determine rgba support immediately\nsupportElem.style.cssText = \"background-color:rgba(1,1,1,.5)\";\nsupport.rgba = supportElem.style.backgroundColor.indexOf( \"rgba\" ) > -1;\n\n// define cache name and alpha properties\n// for rgba and hsla spaces\neach( spaces, function( spaceName, space ) {\n\tspace.cache = \"_\" + spaceName;\n\tspace.props.alpha = {\n\t\tidx: 3,\n\t\ttype: \"percent\",\n\t\tdef: 1\n\t};\n} );\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction getType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\treturn typeof obj === \"object\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n\nfunction clamp( value, prop, allowEmpty ) {\n\tvar type = propTypes[ prop.type ] || {};\n\n\tif ( value == null ) {\n\t\treturn ( allowEmpty || !prop.def ) ? null : prop.def;\n\t}\n\n\t// ~~ is an short way of doing floor for positive numbers\n\tvalue = type.floor ? ~~value : parseFloat( value );\n\n\t// IE will pass in empty strings as value for alpha,\n\t// which will hit this case\n\tif ( isNaN( value ) ) {\n\t\treturn prop.def;\n\t}\n\n\tif ( type.mod ) {\n\n\t\t// we add mod before modding to make sure that negatives values\n\t\t// get converted properly: -10 -> 350\n\t\treturn ( value + type.mod ) % type.mod;\n\t}\n\n\t// for now all property types without mod have min and max\n\treturn Math.min( type.max, Math.max( 0, value ) );\n}\n\nfunction stringParse( string ) {\n\tvar inst = color(),\n\t\trgba = inst._rgba = [];\n\n\tstring = string.toLowerCase();\n\n\teach( stringParsers, function( _i, parser ) {\n\t\tvar parsed,\n\t\t\tmatch = parser.re.exec( string ),\n\t\t\tvalues = match && parser.parse( match ),\n\t\t\tspaceName = parser.space || \"rgba\";\n\n\t\tif ( values ) {\n\t\t\tparsed = inst[ spaceName ]( values );\n\n\t\t\t// if this was an rgba parse the assignment might happen twice\n\t\t\t// oh well....\n\t\t\tinst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ];\n\t\t\trgba = inst._rgba = parsed._rgba;\n\n\t\t\t// exit each( stringParsers ) here because we matched\n\t\t\treturn false;\n\t\t}\n\t} );\n\n\t// Found a stringParser that handled it\n\tif ( rgba.length ) {\n\n\t\t// if this came from a parsed string, force \"transparent\" when alpha is 0\n\t\t// chrome, (and maybe others) return \"transparent\" as rgba(0,0,0,0)\n\t\tif ( rgba.join() === \"0,0,0,0\" ) {\n\t\t\tjQuery.extend( rgba, colors.transparent );\n\t\t}\n\t\treturn inst;\n\t}\n\n\t// named colors\n\treturn colors[ string ];\n}\n\ncolor.fn = jQuery.extend( color.prototype, {\n\tparse: function( red, green, blue, alpha ) {\n\t\tif ( red === undefined ) {\n\t\t\tthis._rgba = [ null, null, null, null ];\n\t\t\treturn this;\n\t\t}\n\t\tif ( red.jquery || red.nodeType ) {\n\t\t\tred = jQuery( red ).css( green );\n\t\t\tgreen = undefined;\n\t\t}\n\n\t\tvar inst = this,\n\t\t\ttype = getType( red ),\n\t\t\trgba = this._rgba = [];\n\n\t\t// more than 1 argument specified - assume ( red, green, blue, alpha )\n\t\tif ( green !== undefined ) {\n\t\t\tred = [ red, green, blue, alpha ];\n\t\t\ttype = \"array\";\n\t\t}\n\n\t\tif ( type === \"string\" ) {\n\t\t\treturn this.parse( stringParse( red ) || colors._default );\n\t\t}\n\n\t\tif ( type === \"array\" ) {\n\t\t\teach( spaces.rgba.props, function( _key, prop ) {\n\t\t\t\trgba[ prop.idx ] = clamp( red[ prop.idx ], prop );\n\t\t\t} );\n\t\t\treturn this;\n\t\t}\n\n\t\tif ( type === \"object\" ) {\n\t\t\tif ( red instanceof color ) {\n\t\t\t\teach( spaces, function( _spaceName, space ) {\n\t\t\t\t\tif ( red[ space.cache ] ) {\n\t\t\t\t\t\tinst[ space.cache ] = red[ space.cache ].slice();\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t} else {\n\t\t\t\teach( spaces, function( _spaceName, space ) {\n\t\t\t\t\tvar cache = space.cache;\n\t\t\t\t\teach( space.props, function( key, prop ) {\n\n\t\t\t\t\t\t// if the cache doesn't exist, and we know how to convert\n\t\t\t\t\t\tif ( !inst[ cache ] && space.to ) {\n\n\t\t\t\t\t\t\t// if the value was null, we don't need to copy it\n\t\t\t\t\t\t\t// if the key was alpha, we don't need to copy it either\n\t\t\t\t\t\t\tif ( key === \"alpha\" || red[ key ] == null ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst[ cache ] = space.to( inst._rgba );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// this is the only case where we allow nulls for ALL properties.\n\t\t\t\t\t\t// call clamp with alwaysAllowEmpty\n\t\t\t\t\t\tinst[ cache ][ prop.idx ] = clamp( red[ key ], prop, true );\n\t\t\t\t\t} );\n\n\t\t\t\t\t// everything defined but alpha?\n\t\t\t\t\tif ( inst[ cache ] && jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {\n\n\t\t\t\t\t\t// use the default of 1\n\t\t\t\t\t\tif ( inst[ cache ][ 3 ] == null ) {\n\t\t\t\t\t\t\tinst[ cache ][ 3 ] = 1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( space.from ) {\n\t\t\t\t\t\t\tinst._rgba = space.from( inst[ cache ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t},\n\tis: function( compare ) {\n\t\tvar is = color( compare ),\n\t\t\tsame = true,\n\t\t\tinst = this;\n\n\t\teach( spaces, function( _, space ) {\n\t\t\tvar localCache,\n\t\t\t\tisCache = is[ space.cache ];\n\t\t\tif ( isCache ) {\n\t\t\t\tlocalCache = inst[ space.cache ] || space.to && space.to( inst._rgba ) || [];\n\t\t\t\teach( space.props, function( _, prop ) {\n\t\t\t\t\tif ( isCache[ prop.idx ] != null ) {\n\t\t\t\t\t\tsame = ( isCache[ prop.idx ] === localCache[ prop.idx ] );\n\t\t\t\t\t\treturn same;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn same;\n\t\t} );\n\t\treturn same;\n\t},\n\t_space: function() {\n\t\tvar used = [],\n\t\t\tinst = this;\n\t\teach( spaces, function( spaceName, space ) {\n\t\t\tif ( inst[ space.cache ] ) {\n\t\t\t\tused.push( spaceName );\n\t\t\t}\n\t\t} );\n\t\treturn used.pop();\n\t},\n\ttransition: function( other, distance ) {\n\t\tvar end = color( other ),\n\t\t\tspaceName = end._space(),\n\t\t\tspace = spaces[ spaceName ],\n\t\t\tstartColor = this.alpha() === 0 ? color( \"transparent\" ) : this,\n\t\t\tstart = startColor[ space.cache ] || space.to( startColor._rgba ),\n\t\t\tresult = start.slice();\n\n\t\tend = end[ space.cache ];\n\t\teach( space.props, function( _key, prop ) {\n\t\t\tvar index = prop.idx,\n\t\t\t\tstartValue = start[ index ],\n\t\t\t\tendValue = end[ index ],\n\t\t\t\ttype = propTypes[ prop.type ] || {};\n\n\t\t\t// if null, don't override start value\n\t\t\tif ( endValue === null ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// if null - use end\n\t\t\tif ( startValue === null ) {\n\t\t\t\tresult[ index ] = endValue;\n\t\t\t} else {\n\t\t\t\tif ( type.mod ) {\n\t\t\t\t\tif ( endValue - startValue > type.mod / 2 ) {\n\t\t\t\t\t\tstartValue += type.mod;\n\t\t\t\t\t} else if ( startValue - endValue > type.mod / 2 ) {\n\t\t\t\t\t\tstartValue -= type.mod;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tresult[ index ] = clamp( ( endValue - startValue ) * distance + startValue, prop );\n\t\t\t}\n\t\t} );\n\t\treturn this[ spaceName ]( result );\n\t},\n\tblend: function( opaque ) {\n\n\t\t// if we are already opaque - return ourself\n\t\tif ( this._rgba[ 3 ] === 1 ) {\n\t\t\treturn this;\n\t\t}\n\n\t\tvar rgb = this._rgba.slice(),\n\t\t\ta = rgb.pop(),\n\t\t\tblend = color( opaque )._rgba;\n\n\t\treturn color( jQuery.map( rgb, function( v, i ) {\n\t\t\treturn ( 1 - a ) * blend[ i ] + a * v;\n\t\t} ) );\n\t},\n\ttoRgbaString: function() {\n\t\tvar prefix = \"rgba(\",\n\t\t\trgba = jQuery.map( this._rgba, function( v, i ) {\n\t\t\t\tif ( v != null ) {\n\t\t\t\t\treturn v;\n\t\t\t\t}\n\t\t\t\treturn i > 2 ? 1 : 0;\n\t\t\t} );\n\n\t\tif ( rgba[ 3 ] === 1 ) {\n\t\t\trgba.pop();\n\t\t\tprefix = \"rgb(\";\n\t\t}\n\n\t\treturn prefix + rgba.join() + \")\";\n\t},\n\ttoHslaString: function() {\n\t\tvar prefix = \"hsla(\",\n\t\t\thsla = jQuery.map( this.hsla(), function( v, i ) {\n\t\t\t\tif ( v == null ) {\n\t\t\t\t\tv = i > 2 ? 1 : 0;\n\t\t\t\t}\n\n\t\t\t\t// catch 1 and 2\n\t\t\t\tif ( i && i < 3 ) {\n\t\t\t\t\tv = Math.round( v * 100 ) + \"%\";\n\t\t\t\t}\n\t\t\t\treturn v;\n\t\t\t} );\n\n\t\tif ( hsla[ 3 ] === 1 ) {\n\t\t\thsla.pop();\n\t\t\tprefix = \"hsl(\";\n\t\t}\n\t\treturn prefix + hsla.join() + \")\";\n\t},\n\ttoHexString: function( includeAlpha ) {\n\t\tvar rgba = this._rgba.slice(),\n\t\t\talpha = rgba.pop();\n\n\t\tif ( includeAlpha ) {\n\t\t\trgba.push( ~~( alpha * 255 ) );\n\t\t}\n\n\t\treturn \"#\" + jQuery.map( rgba, function( v ) {\n\n\t\t\t// default to 0 when nulls exist\n\t\t\tv = ( v || 0 ).toString( 16 );\n\t\t\treturn v.length === 1 ? \"0\" + v : v;\n\t\t} ).join( \"\" );\n\t},\n\ttoString: function() {\n\t\treturn this._rgba[ 3 ] === 0 ? \"transparent\" : this.toRgbaString();\n\t}\n} );\ncolor.fn.parse.prototype = color.fn;\n\n// hsla conversions adapted from:\n// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021\n\nfunction hue2rgb( p, q, h ) {\n\th = ( h + 1 ) % 1;\n\tif ( h * 6 < 1 ) {\n\t\treturn p + ( q - p ) * h * 6;\n\t}\n\tif ( h * 2 < 1 ) {\n\t\treturn q;\n\t}\n\tif ( h * 3 < 2 ) {\n\t\treturn p + ( q - p ) * ( ( 2 / 3 ) - h ) * 6;\n\t}\n\treturn p;\n}\n\nspaces.hsla.to = function( rgba ) {\n\tif ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {\n\t\treturn [ null, null, null, rgba[ 3 ] ];\n\t}\n\tvar r = rgba[ 0 ] / 255,\n\t\tg = rgba[ 1 ] / 255,\n\t\tb = rgba[ 2 ] / 255,\n\t\ta = rgba[ 3 ],\n\t\tmax = Math.max( r, g, b ),\n\t\tmin = Math.min( r, g, b ),\n\t\tdiff = max - min,\n\t\tadd = max + min,\n\t\tl = add * 0.5,\n\t\th, s;\n\n\tif ( min === max ) {\n\t\th = 0;\n\t} else if ( r === max ) {\n\t\th = ( 60 * ( g - b ) / diff ) + 360;\n\t} else if ( g === max ) {\n\t\th = ( 60 * ( b - r ) / diff ) + 120;\n\t} else {\n\t\th = ( 60 * ( r - g ) / diff ) + 240;\n\t}\n\n\t// chroma (diff) == 0 means greyscale which, by definition, saturation = 0%\n\t// otherwise, saturation is based on the ratio of chroma (diff) to lightness (add)\n\tif ( diff === 0 ) {\n\t\ts = 0;\n\t} else if ( l <= 0.5 ) {\n\t\ts = diff / add;\n\t} else {\n\t\ts = diff / ( 2 - add );\n\t}\n\treturn [ Math.round( h ) % 360, s, l, a == null ? 1 : a ];\n};\n\nspaces.hsla.from = function( hsla ) {\n\tif ( hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null ) {\n\t\treturn [ null, null, null, hsla[ 3 ] ];\n\t}\n\tvar h = hsla[ 0 ] / 360,\n\t\ts = hsla[ 1 ],\n\t\tl = hsla[ 2 ],\n\t\ta = hsla[ 3 ],\n\t\tq = l <= 0.5 ? l * ( 1 + s ) : l + s - l * s,\n\t\tp = 2 * l - q;\n\n\treturn [\n\t\tMath.round( hue2rgb( p, q, h + ( 1 / 3 ) ) * 255 ),\n\t\tMath.round( hue2rgb( p, q, h ) * 255 ),\n\t\tMath.round( hue2rgb( p, q, h - ( 1 / 3 ) ) * 255 ),\n\t\ta\n\t];\n};\n\n\neach( spaces, function( spaceName, space ) {\n\tvar props = space.props,\n\t\tcache = space.cache,\n\t\tto = space.to,\n\t\tfrom = space.from;\n\n\t// makes rgba() and hsla()\n\tcolor.fn[ spaceName ] = function( value ) {\n\n\t\t// generate a cache for this space if it doesn't exist\n\t\tif ( to && !this[ cache ] ) {\n\t\t\tthis[ cache ] = to( this._rgba );\n\t\t}\n\t\tif ( value === undefined ) {\n\t\t\treturn this[ cache ].slice();\n\t\t}\n\n\t\tvar ret,\n\t\t\ttype = getType( value ),\n\t\t\tarr = ( type === \"array\" || type === \"object\" ) ? value : arguments,\n\t\t\tlocal = this[ cache ].slice();\n\n\t\teach( props, function( key, prop ) {\n\t\t\tvar val = arr[ type === \"object\" ? key : prop.idx ];\n\t\t\tif ( val == null ) {\n\t\t\t\tval = local[ prop.idx ];\n\t\t\t}\n\t\t\tlocal[ prop.idx ] = clamp( val, prop );\n\t\t} );\n\n\t\tif ( from ) {\n\t\t\tret = color( from( local ) );\n\t\t\tret[ cache ] = local;\n\t\t\treturn ret;\n\t\t} else {\n\t\t\treturn color( local );\n\t\t}\n\t};\n\n\t// makes red() green() blue() alpha() hue() saturation() lightness()\n\teach( props, function( key, prop ) {\n\n\t\t// alpha is included in more than one space\n\t\tif ( color.fn[ key ] ) {\n\t\t\treturn;\n\t\t}\n\t\tcolor.fn[ key ] = function( value ) {\n\t\t\tvar local, cur, match, fn,\n\t\t\t\tvtype = getType( value );\n\n\t\t\tif ( key === \"alpha\" ) {\n\t\t\t\tfn = this._hsla ? \"hsla\" : \"rgba\";\n\t\t\t} else {\n\t\t\t\tfn = spaceName;\n\t\t\t}\n\t\t\tlocal = this[ fn ]();\n\t\t\tcur = local[ prop.idx ];\n\n\t\t\tif ( vtype === \"undefined\" ) {\n\t\t\t\treturn cur;\n\t\t\t}\n\n\t\t\tif ( vtype === \"function\" ) {\n\t\t\t\tvalue = value.call( this, cur );\n\t\t\t\tvtype = getType( value );\n\t\t\t}\n\t\t\tif ( value == null && prop.empty ) {\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tif ( vtype === \"string\" ) {\n\t\t\t\tmatch = rplusequals.exec( value );\n\t\t\t\tif ( match ) {\n\t\t\t\t\tvalue = cur + parseFloat( match[ 2 ] ) * ( match[ 1 ] === \"+\" ? 1 : -1 );\n\t\t\t\t}\n\t\t\t}\n\t\t\tlocal[ prop.idx ] = value;\n\t\t\treturn this[ fn ]( local );\n\t\t};\n\t} );\n} );\n\n// add cssHook and .fx.step function for each named hook.\n// accept a space separated string of properties\ncolor.hook = function( hook ) {\n\tvar hooks = hook.split( \" \" );\n\teach( hooks, function( _i, hook ) {\n\t\tjQuery.cssHooks[ hook ] = {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar parsed, curElem,\n\t\t\t\t\tbackgroundColor = \"\";\n\n\t\t\t\tif ( value !== \"transparent\" && ( getType( value ) !== \"string\" || ( parsed = stringParse( value ) ) ) ) {\n\t\t\t\t\tvalue = color( parsed || value );\n\t\t\t\t\tif ( !support.rgba && value._rgba[ 3 ] !== 1 ) {\n\t\t\t\t\t\tcurElem = hook === \"backgroundColor\" ? elem.parentNode : elem;\n\t\t\t\t\t\twhile (\n\t\t\t\t\t\t\t( backgroundColor === \"\" || backgroundColor === \"transparent\" ) &&\n\t\t\t\t\t\t\tcurElem && curElem.style\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tbackgroundColor = jQuery.css( curElem, \"backgroundColor\" );\n\t\t\t\t\t\t\t\tcurElem = curElem.parentNode;\n\t\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvalue = value.blend( backgroundColor && backgroundColor !== \"transparent\" ?\n\t\t\t\t\t\t\tbackgroundColor :\n\t\t\t\t\t\t\t\"_default\" );\n\t\t\t\t\t}\n\n\t\t\t\t\tvalue = value.toRgbaString();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\telem.style[ hook ] = value;\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// wrapped to prevent IE from throwing errors on \"invalid\" values like 'auto' or 'inherit'\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tjQuery.fx.step[ hook ] = function( fx ) {\n\t\t\tif ( !fx.colorInit ) {\n\t\t\t\tfx.start = color( fx.elem, hook );\n\t\t\t\tfx.end = color( fx.end );\n\t\t\t\tfx.colorInit = true;\n\t\t\t}\n\t\t\tjQuery.cssHooks[ hook ].set( fx.elem, fx.start.transition( fx.end, fx.pos ) );\n\t\t};\n\t} );\n\n};\n\ncolor.hook( stepHooks );\n\njQuery.cssHooks.borderColor = {\n\texpand: function( value ) {\n\t\tvar expanded = {};\n\n\t\teach( [ \"Top\", \"Right\", \"Bottom\", \"Left\" ], function( _i, part ) {\n\t\t\texpanded[ \"border\" + part + \"Color\" ] = value;\n\t\t} );\n\t\treturn expanded;\n\t}\n};\n\n// Basic color names only.\n// Usage of any of the other color names requires adding yourself or including\n// jquery.color.svg-names.js.\ncolors = jQuery.Color.names = {\n\n\t// 4.1. Basic color keywords\n\taqua: \"#00ffff\",\n\tblack: \"#000000\",\n\tblue: \"#0000ff\",\n\tfuchsia: \"#ff00ff\",\n\tgray: \"#808080\",\n\tgreen: \"#008000\",\n\tlime: \"#00ff00\",\n\tmaroon: \"#800000\",\n\tnavy: \"#000080\",\n\tolive: \"#808000\",\n\tpurple: \"#800080\",\n\tred: \"#ff0000\",\n\tsilver: \"#c0c0c0\",\n\tteal: \"#008080\",\n\twhite: \"#ffffff\",\n\tyellow: \"#ffff00\",\n\n\t// 4.2.3. \"transparent\" color keyword\n\ttransparent: [ null, null, null, 0 ],\n\n\t_default: \"#ffffff\"\n};\n\n} );\n","jquery/bootstrap/collapse.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): collapse.js and base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\ndefine([\n \"jquery\",\n \"./util/index\",\n \"./dom/data\",\n \"./dom/event-handler\",\n \"./dom/manipulator\",\n \"./dom/selector-engine\"\n], function($, Util, Data, EventHandler, Manipulator, SelectorEngine) {\n 'use strict';\n\n const defineJQueryPlugin = Util.defineJQueryPlugin;\n const executeAfterTransition = Util.executeAfterTransition;\n const getElement = Util.getElement;\n const getSelectorFromElement = Util.getSelectorFromElement;\n const getElementFromSelector = Util.getElementFromSelector;\n const reflow = Util.reflow;\n const typeCheckConfig = Util.typeCheckConfig;\n\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const VERSION = '5.1.3';\n const NAME = 'collapse';\n const DATA_KEY = 'bs.collapse';\n const EVENT_KEY = `.${DATA_KEY}`;\n const DATA_API_KEY = '.data-api';\n\n const Default = {\n toggle: true,\n parent: null\n };\n\n const DefaultType = {\n toggle: 'boolean',\n parent: '(null|element)'\n };\n\n const EVENT_SHOW = `show${EVENT_KEY}`;\n const EVENT_SHOWN = `shown${EVENT_KEY}`;\n const EVENT_HIDE = `hide${EVENT_KEY}`;\n const EVENT_HIDDEN = `hidden${EVENT_KEY}`;\n const EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\n\n const CLASS_NAME_SHOW = 'show';\n const CLASS_NAME_COLLAPSE = 'collapse';\n const CLASS_NAME_COLLAPSING = 'collapsing';\n const CLASS_NAME_COLLAPSED = 'collapsed';\n const CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`;\n const CLASS_NAME_HORIZONTAL = 'collapse-horizontal';\n\n const WIDTH = 'width';\n const HEIGHT = 'height';\n\n const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing';\n const SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"collapse\"]';\n\n /**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\n var Collapse = function(element, config) {\n element = getElement(element);\n\n if (!element) {\n return;\n }\n\n this._element = element;\n Data.set(this._element, DATA_KEY, this);\n\n this._isTransitioning = false;\n this._config = this._getConfig(config);\n this._triggerArray = [];\n\n const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE);\n\n for (let i = 0, len = toggleList.length; i < len; i++) {\n const elem = toggleList[i];\n const selector = getSelectorFromElement(elem);\n const filterElement = SelectorEngine.find(selector)\n .filter(foundElem => foundElem === this._element);\n\n if (selector !== null && filterElement.length) {\n this._selector = selector;\n this._triggerArray.push(elem);\n }\n }\n\n this._initializeChildren();\n\n if (!this._config.parent) {\n this._addAriaAndCollapsedClass(this._triggerArray, this._isShown());\n }\n\n if (this._config.toggle) {\n this.toggle();\n }\n }\n\n // Getters\n\n Collapse.VERSION = VERSION;\n\n Collapse.Default = Default;\n\n Collapse.NAME = NAME;\n\n Collapse.DATA_KEY = 'bs.' + Collapse.NAME;\n\n Collapse.EVENT_KEY = '.' + Collapse.DATA_KEY;\n\n // Public\n\n Collapse.prototype.dispose = function() {\n Data.remove(this._element, this.constructor.DATA_KEY);\n EventHandler.off(this._element, this.constructor.EVENT_KEY);\n\n Object.getOwnPropertyNames(this).forEach(propertyName => {\n this[propertyName] = null;\n })\n }\n\n Collapse.prototype._queueCallback = function(callback, element, isAnimated = true) {\n executeAfterTransition(callback, element, isAnimated);\n }\n\n Collapse.prototype.toggle = function() {\n if (this._isShown()) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n Collapse.prototype.show = function() {\n if (this._isTransitioning || this._isShown()) {\n return;\n }\n\n let actives = [];\n let activesData;\n\n if (this._config.parent) {\n const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);\n actives = SelectorEngine.find(SELECTOR_ACTIVES, this._config.parent).filter(elem => !children.includes(elem)); // remove children if greater depth\n }\n\n const container = SelectorEngine.findOne(this._selector);\n if (actives.length) {\n const tempActiveData = actives.find(elem => container !== elem);\n activesData = tempActiveData ? Collapse.getInstance(tempActiveData) : null;\n\n if (activesData && activesData._isTransitioning) {\n return;\n }\n }\n\n const startEvent = EventHandler.trigger(this._element, EVENT_SHOW);\n if (startEvent.defaultPrevented) {\n return;\n }\n\n actives.forEach(elemActive => {\n if (container !== elemActive) {\n Collapse.getOrCreateInstance(elemActive, {toggle: false}).hide();\n }\n\n if (!activesData) {\n Data.set(elemActive, DATA_KEY, null);\n }\n })\n\n const dimension = this._getDimension();\n\n this._element.classList.remove(CLASS_NAME_COLLAPSE);\n this._element.classList.add(CLASS_NAME_COLLAPSING);\n\n this._element.style[dimension] = 0;\n\n this._addAriaAndCollapsedClass(this._triggerArray, true);\n this._isTransitioning = true;\n\n const complete = () => {\n this._isTransitioning = false;\n\n this._element.classList.remove(CLASS_NAME_COLLAPSING);\n this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW);\n\n this._element.style[dimension] = '';\n\n EventHandler.trigger(this._element, EVENT_SHOWN);\n };\n\n const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);\n const scrollSize = `scroll${capitalizedDimension}`;\n\n this._queueCallback(complete, this._element, true);\n this._element.style[dimension] = `${this._element[scrollSize]}px`;\n }\n\n Collapse.prototype.hide = function() {\n if (this._isTransitioning || !this._isShown()) {\n return;\n }\n\n const startEvent = EventHandler.trigger(this._element, EVENT_HIDE);\n if (startEvent.defaultPrevented) {\n return;\n }\n\n const dimension = this._getDimension();\n\n this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`;\n\n reflow(this._element);\n\n this._element.classList.add(CLASS_NAME_COLLAPSING);\n this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW);\n\n const triggerArrayLength = this._triggerArray.length;\n for (let i = 0; i < triggerArrayLength; i++) {\n const trigger = this._triggerArray[i];\n const elem = getElementFromSelector(trigger);\n\n if (elem && !this._isShown(elem)) {\n this._addAriaAndCollapsedClass([trigger], false);\n }\n }\n\n this._isTransitioning = true;\n\n const complete = () => {\n this._isTransitioning = false;\n this._element.classList.remove(CLASS_NAME_COLLAPSING);\n this._element.classList.add(CLASS_NAME_COLLAPSE);\n EventHandler.trigger(this._element, EVENT_HIDDEN);\n };\n\n this._element.style[dimension] = '';\n\n this._queueCallback(complete, this._element, true);\n }\n\n Collapse.prototype._isShown = function(element = this._element) {\n return element.classList.contains(CLASS_NAME_SHOW);\n }\n\n // Private\n\n Collapse.prototype._getConfig = function(config) {\n config = {\n ...Default,\n ...Manipulator.getDataAttributes(this._element),\n ...config\n };\n config.toggle = Boolean(config.toggle); // Coerce string values\n config.parent = getElement(config.parent);\n typeCheckConfig(NAME, config, DefaultType);\n return config;\n }\n\n Collapse.prototype._getDimension = function() {\n return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT;\n }\n\n Collapse.prototype._initializeChildren = function() {\n if (!this._config.parent) {\n return;\n }\n\n const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);\n SelectorEngine.find(SELECTOR_DATA_TOGGLE, this._config.parent).filter(elem => !children.includes(elem))\n .forEach(element => {\n const selected = getElementFromSelector(element);\n\n if (selected) {\n this._addAriaAndCollapsedClass([element], this._isShown(selected));\n }\n })\n }\n\n Collapse.prototype._addAriaAndCollapsedClass = function(triggerArray, isOpen) {\n if (!triggerArray.length) {\n return;\n }\n\n triggerArray.forEach(elem => {\n if (isOpen) {\n elem.classList.remove(CLASS_NAME_COLLAPSED);\n } else {\n elem.classList.add(CLASS_NAME_COLLAPSED);\n }\n\n elem.setAttribute('aria-expanded', isOpen);\n })\n }\n\n // Static\n\n Collapse.getInstance = function(element) {\n return Data.get(getElement(element), this.DATA_KEY);\n }\n\n Collapse.getOrCreateInstance = function(element, config = {}) {\n return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null);\n }\n\n Collapse.jQueryInterface = function(config) {\n return this.each(function () {\n const _config = {};\n if (typeof config === 'string' && /show|hide/.test(config)) {\n _config.toggle = false;\n }\n\n const data = Collapse.getOrCreateInstance(this, _config);\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`);\n }\n\n data[config]();\n }\n })\n }\n\n /**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\n if (event.target.tagName === 'A' || (event.delegateTarget && event.delegateTarget.tagName === 'A')) {\n event.preventDefault();\n }\n\n const selector = getSelectorFromElement(this);\n const selectorElements = SelectorEngine.find(selector);\n\n selectorElements.forEach(element => {\n Collapse.getOrCreateInstance(element, {toggle: false}).toggle();\n })\n })\n\n /**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Collapse to jQuery only if jQuery is present\n */\n\n defineJQueryPlugin(Collapse);\n\n return Collapse;\n});\n","jquery/bootstrap/tab.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): tab.js and base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\ndefine([\n \"./util/index\",\n \"./dom/event-handler\",\n \"./dom/selector-engine\"\n], function(Util, EventHandler, SelectorEngine) {\n 'use strict';\n\n const defineJQueryPlugin = Util.defineJQueryPlugin;\n const executeAfterTransition = Util.executeAfterTransition;\n const getElement = Util.getElement;\n const getElementFromSelector = Util.getElementFromSelector;\n const isDisabled = Util.isDisabled;\n const reflow = Util.reflow;\n\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const VERSION = '5.1.3';\n const NAME = 'tab';\n const DATA_KEY = 'bs.tab';\n const EVENT_KEY = `.${DATA_KEY}`;\n const DATA_API_KEY = '.data-api';\n\n const EVENT_HIDE = `hide${EVENT_KEY}`;\n const EVENT_HIDDEN = `hidden${EVENT_KEY}`;\n const EVENT_SHOW = `show${EVENT_KEY}`;\n const EVENT_SHOWN = `shown${EVENT_KEY}`;\n const EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\n\n const CLASS_NAME_DROPDOWN_MENU = 'dropdown-menu';\n const CLASS_NAME_ACTIVE = 'active';\n const CLASS_NAME_FADE = 'fade';\n const CLASS_NAME_SHOW = 'show';\n\n const SELECTOR_DROPDOWN = '.dropdown';\n const SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';\n const SELECTOR_ACTIVE = '.active';\n const SELECTOR_ACTIVE_UL = ':scope > li > .active';\n const SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"tab\"], [data-bs-toggle=\"pill\"], [data-bs-toggle=\"list\"]';\n const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\n const SELECTOR_DROPDOWN_ACTIVE_CHILD = ':scope > .dropdown-menu .active';\n\n /**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\n function Tab(element) {\n element = getElement(element);\n\n if (!element) {\n return;\n }\n\n this._element = element;\n Data.set(this._element, DATA_KEY, this);\n }\n\n // Getters\n\n Tab.VERSION = VERSION;\n\n Tab.NAME = NAME;\n\n Tab.DATA_KEY = 'bs.' + Tab.NAME;\n\n Tab.EVENT_KEY = '.' + Tab.DATA_KEY;\n\n // Public\n\n Tab.prototype.dispose = function() {\n Data.remove(this._element, this.constructor.DATA_KEY);\n EventHandler.off(this._element, this.constructor.EVENT_KEY);\n\n Object.getOwnPropertyNames(this).forEach(propertyName => {\n this[propertyName] = null;\n })\n }\n\n Tab.prototype._queueCallback = function(callback, element, isAnimated = true) {\n executeAfterTransition(callback, element, isAnimated);\n }\n\n Tab.prototype.show = function() {\n if ((this._element.parentNode &&\n this._element.parentNode.nodeType === Node.ELEMENT_NODE &&\n this._element.classList.contains(CLASS_NAME_ACTIVE))) {\n return;\n }\n\n let previous;\n const target = getElementFromSelector(this._element);\n const listElement = this._element.closest(SELECTOR_NAV_LIST_GROUP);\n\n if (listElement) {\n const itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? SELECTOR_ACTIVE_UL : SELECTOR_ACTIVE;\n previous = SelectorEngine.find(itemSelector, listElement);\n previous = previous[previous.length - 1];\n }\n\n const hideEvent = previous ?\n EventHandler.trigger(previous, EVENT_HIDE, {\n relatedTarget: this._element\n }) :\n null;\n\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, {\n relatedTarget: previous\n });\n\n if (showEvent.defaultPrevented || (hideEvent !== null && hideEvent.defaultPrevented)) {\n return;\n }\n\n this._activate(this._element, listElement);\n\n const complete = () => {\n EventHandler.trigger(previous, EVENT_HIDDEN, {\n relatedTarget: this._element\n });\n EventHandler.trigger(this._element, EVENT_SHOWN, {\n relatedTarget: previous\n });\n };\n\n if (target) {\n this._activate(target, target.parentNode, complete);\n } else {\n complete();\n }\n }\n\n // Private\n\n Tab.prototype._activate = function(element, container, callback) {\n const activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ?\n SelectorEngine.find(SELECTOR_ACTIVE_UL, container) :\n SelectorEngine.children(container, SELECTOR_ACTIVE);\n\n const active = activeElements[0];\n const isTransitioning = callback && (active && active.classList.contains(CLASS_NAME_FADE));\n\n const complete = () => this._transitionComplete(element, active, callback);\n\n if (active && isTransitioning) {\n active.classList.remove(CLASS_NAME_SHOW);\n this._queueCallback(complete, element, true);\n } else {\n complete();\n }\n }\n\n Tab.prototype._transitionComplete = function(element, active, callback) {\n if (active) {\n active.classList.remove(CLASS_NAME_ACTIVE);\n\n const dropdownChild = SelectorEngine.findOne(SELECTOR_DROPDOWN_ACTIVE_CHILD, active.parentNode);\n\n if (dropdownChild) {\n dropdownChild.classList.remove(CLASS_NAME_ACTIVE);\n }\n\n if (active.getAttribute('role') === 'tab') {\n active.setAttribute('aria-selected', false);\n }\n }\n\n element.classList.add(CLASS_NAME_ACTIVE);\n if (element.getAttribute('role') === 'tab') {\n element.setAttribute('aria-selected', true);\n }\n\n reflow(element);\n\n if (element.classList.contains(CLASS_NAME_FADE)) {\n element.classList.add(CLASS_NAME_SHOW);\n }\n\n let parent = element.parentNode;\n if (parent && parent.nodeName === 'LI') {\n parent = parent.parentNode;\n }\n\n if (parent && parent.classList.contains(CLASS_NAME_DROPDOWN_MENU)) {\n const dropdownElement = element.closest(SELECTOR_DROPDOWN);\n\n if (dropdownElement) {\n SelectorEngine.find(SELECTOR_DROPDOWN_TOGGLE, dropdownElement)\n .forEach(dropdown => dropdown.classList.add(CLASS_NAME_ACTIVE));\n }\n\n element.setAttribute('aria-expanded', true);\n }\n\n if (callback) {\n callback();\n }\n }\n\n // Static\n\n Tab.getInstance = function(element) {\n return Data.get(getElement(element), this.DATA_KEY);\n }\n\n Tab.getOrCreateInstance = function(element, config = {}) {\n return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null);\n }\n\n Tab.jQueryInterface = function(config) {\n return this.each(function () {\n const data = Tab.getOrCreateInstance(this);\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`);\n }\n\n data[config]();\n }\n })\n }\n\n /**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n if (['A', 'AREA'].includes(this.tagName)) {\n event.preventDefault();\n }\n\n if (isDisabled(this)) {\n return;\n }\n\n const data = Tab.getOrCreateInstance(this);\n data.show();\n })\n\n /**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Tab to jQuery only if jQuery is present\n */\n\n defineJQueryPlugin(Tab);\n\n return Tab;\n});\n","jquery/bootstrap/dom/manipulator.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): dom/manipulator.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\ndefine([], function() {\n 'use strict';\n\n function normalizeData(val) {\n if (val === 'true') {\n return true\n }\n\n if (val === 'false') {\n return false\n }\n\n if (val === Number(val).toString()) {\n return Number(val)\n }\n\n if (val === '' || val === 'null') {\n return null\n }\n\n return val\n }\n\n function normalizeDataKey(key) {\n return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`)\n }\n\n return {\n setDataAttribute: function(element, key, value) {\n element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value)\n },\n\n removeDataAttribute: function(element, key) {\n element.removeAttribute(`data-bs-${normalizeDataKey(key)}`)\n },\n\n getDataAttributes: function(element) {\n if (!element) {\n return {}\n }\n\n const attributes = {};\n\n Object.keys(element.dataset)\n .filter(key => key.startsWith('bs'))\n .forEach(key => {\n let pureKey = key.replace(/^bs/, '');\n pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)\n attributes[pureKey] = normalizeData(element.dataset[key])\n })\n\n return attributes\n },\n\n getDataAttribute: function(element, key) {\n return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`))\n },\n\n offset: function(element) {\n const rect = element.getBoundingClientRect();\n\n return {\n top: rect.top + window.pageYOffset,\n left: rect.left + window.pageXOffset\n }\n },\n\n position: function(element) {\n return {\n top: element.offsetTop,\n left: element.offsetLeft\n }\n }\n }\n});\n","jquery/bootstrap/dom/data.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): dom/data.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\ndefine([], function() {\n 'use strict';\n\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const elementMap = new Map();\n\n return {\n set: function (element, key, instance) {\n if (!elementMap.has(element)) {\n elementMap.set(element, new Map())\n }\n\n const instanceMap = elementMap.get(element);\n\n // make it clear we only want one instance per element\n // can be removed later when multiple key/instances are fine to be used\n if (!instanceMap.has(key) && instanceMap.size !== 0) {\n // eslint-disable-next-line no-console\n console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`)\n return\n }\n\n instanceMap.set(key, instance)\n },\n\n get: function (element, key) {\n if (elementMap.has(element)) {\n return elementMap.get(element).get(key) || null\n }\n\n return null\n },\n\n remove: function (element, key) {\n if (!elementMap.has(element)) {\n return\n }\n\n const instanceMap = elementMap.get(element);\n\n instanceMap.delete(key)\n\n // free up element references if there are no instances left for an element\n if (instanceMap.size === 0) {\n elementMap.delete(element)\n }\n }\n }\n});\n","jquery/bootstrap/dom/event-handler.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): dom/event-handler.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\ndefine([\n \"../util/index\"\n], function(Util) {\n 'use strict';\n\n const getjQuery = Util.getjQuery;\n\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const namespaceRegex = /[^.]*(?=\\..*)\\.|.*/;\n const stripNameRegex = /\\..*/;\n const stripUidRegex = /::\\d+$/;\n const eventRegistry = {}; // Events storage\n let uidEvent = 1;\n const customEvents = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n };\n const customEventsRegex = /^(mouseenter|mouseleave)/i;\n const nativeEvents = new Set([\n 'click',\n 'dblclick',\n 'mouseup',\n 'mousedown',\n 'contextmenu',\n 'mousewheel',\n 'DOMMouseScroll',\n 'mouseover',\n 'mouseout',\n 'mousemove',\n 'selectstart',\n 'selectend',\n 'keydown',\n 'keypress',\n 'keyup',\n 'orientationchange',\n 'touchstart',\n 'touchmove',\n 'touchend',\n 'touchcancel',\n 'pointerdown',\n 'pointermove',\n 'pointerup',\n 'pointerleave',\n 'pointercancel',\n 'gesturestart',\n 'gesturechange',\n 'gestureend',\n 'focus',\n 'blur',\n 'change',\n 'reset',\n 'select',\n 'submit',\n 'focusin',\n 'focusout',\n 'load',\n 'unload',\n 'beforeunload',\n 'resize',\n 'move',\n 'DOMContentLoaded',\n 'readystatechange',\n 'error',\n 'abort',\n 'scroll'\n ]);\n\n /**\n * ------------------------------------------------------------------------\n * Private methods\n * ------------------------------------------------------------------------\n */\n\n function getUidEvent(element, uid) {\n return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++\n }\n\n function getEvent(element) {\n const uid = getUidEvent(element);\n\n element.uidEvent = uid\n eventRegistry[uid] = eventRegistry[uid] || {}\n\n return eventRegistry[uid]\n }\n\n function bootstrapHandler(element, fn) {\n return function handler(event) {\n event.delegateTarget = element\n\n if (handler.oneOff) {\n EventHandler.off(element, event.type, fn)\n }\n\n return fn.apply(element, [event])\n }\n }\n\n function bootstrapDelegationHandler(element, selector, fn) {\n return function handler(event) {\n const domElements = element.querySelectorAll(selector);\n\n for (let {target} = event; target && target !== this; target = target.parentNode) {\n for (let i = domElements.length; i--;) {\n if (domElements[i] === target) {\n event.delegateTarget = target\n\n if (handler.oneOff) {\n EventHandler.off(element, event.type, selector, fn)\n }\n\n return fn.apply(target, [event])\n }\n }\n }\n\n // To please ESLint\n return null\n }\n }\n\n function findHandler(events, handler, delegationSelector = null) {\n const uidEventList = Object.keys(events);\n\n for (let i = 0, len = uidEventList.length; i < len; i++) {\n const event = events[uidEventList[i]];\n\n if (event.originalHandler === handler && event.delegationSelector === delegationSelector) {\n return event\n }\n }\n\n return null\n }\n\n function normalizeParams(originalTypeEvent, handler, delegationFn) {\n const delegation = typeof handler === 'string';\n const originalHandler = delegation ? delegationFn : handler;\n\n let typeEvent = getTypeEvent(originalTypeEvent);\n const isNative = nativeEvents.has(typeEvent);\n\n if (!isNative) {\n typeEvent = originalTypeEvent\n }\n\n return [delegation, originalHandler, typeEvent]\n }\n\n function addHandler(element, originalTypeEvent, handler, delegationFn, oneOff) {\n if (typeof originalTypeEvent !== 'string' || !element) {\n return\n }\n\n if (!handler) {\n handler = delegationFn\n delegationFn = null\n }\n\n // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position\n // this prevents the handler from being dispatched the same way as mouseover or mouseout does\n if (customEventsRegex.test(originalTypeEvent)) {\n const wrapFn = fn => {\n return function (event) {\n if (!event.relatedTarget || (event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget))) {\n return fn.call(this, event)\n }\n }\n };\n\n if (delegationFn) {\n delegationFn = wrapFn(delegationFn)\n } else {\n handler = wrapFn(handler)\n }\n }\n\n const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn);\n const events = getEvent(element);\n const handlers = events[typeEvent] || (events[typeEvent] = {});\n const previousFn = findHandler(handlers, originalHandler, delegation ? handler : null);\n\n if (previousFn) {\n previousFn.oneOff = previousFn.oneOff && oneOff\n\n return\n }\n\n const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ''));\n const fn = delegation ?\n bootstrapDelegationHandler(element, handler, delegationFn) :\n bootstrapHandler(element, handler);\n\n fn.delegationSelector = delegation ? handler : null\n fn.originalHandler = originalHandler\n fn.oneOff = oneOff\n fn.uidEvent = uid\n handlers[uid] = fn\n\n element.addEventListener(typeEvent, fn, delegation)\n }\n\n function removeHandler(element, events, typeEvent, handler, delegationSelector) {\n const fn = findHandler(events[typeEvent], handler, delegationSelector);\n\n if (!fn) {\n return\n }\n\n element.removeEventListener(typeEvent, fn, Boolean(delegationSelector))\n delete events[typeEvent][fn.uidEvent]\n }\n\n function removeNamespacedHandlers(element, events, typeEvent, namespace) {\n const storeElementEvent = events[typeEvent] || {};\n\n Object.keys(storeElementEvent).forEach(handlerKey => {\n if (handlerKey.includes(namespace)) {\n const event = storeElementEvent[handlerKey];\n\n removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector)\n }\n })\n }\n\n function getTypeEvent(event) {\n // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\n event = event.replace(stripNameRegex, '')\n return customEvents[event] || event\n }\n\n return {\n on: function(element, event, handler, delegationFn) {\n addHandler(element, event, handler, delegationFn, false)\n },\n\n one: function(element, event, handler, delegationFn) {\n addHandler(element, event, handler, delegationFn, true)\n },\n\n off: function(element, originalTypeEvent, handler, delegationFn) {\n if (typeof originalTypeEvent !== 'string' || !element) {\n return\n }\n\n const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn);\n const inNamespace = typeEvent !== originalTypeEvent;\n const events = getEvent(element);\n const isNamespace = originalTypeEvent.startsWith('.');\n\n if (typeof originalHandler !== 'undefined') {\n // Simplest case: handler is passed, remove that listener ONLY.\n if (!events || !events[typeEvent]) {\n return\n }\n\n removeHandler(element, events, typeEvent, originalHandler, delegation ? handler : null)\n return\n }\n\n if (isNamespace) {\n Object.keys(events).forEach(elementEvent => {\n removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1))\n })\n }\n\n const storeElementEvent = events[typeEvent] || {};\n Object.keys(storeElementEvent).forEach(keyHandlers => {\n const handlerKey = keyHandlers.replace(stripUidRegex, '');\n\n if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\n const event = storeElementEvent[keyHandlers];\n\n removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector)\n }\n })\n },\n\n trigger: function(element, event, args) {\n if (typeof event !== 'string' || !element) {\n return null\n }\n\n const $ = getjQuery();\n const typeEvent = getTypeEvent(event);\n const inNamespace = event !== typeEvent;\n const isNative = nativeEvents.has(typeEvent);\n\n let jQueryEvent;\n let bubbles = true;\n let nativeDispatch = true;\n let defaultPrevented = false;\n let evt = null;\n\n if (inNamespace && $) {\n jQueryEvent = $.Event(event, args)\n\n $(element).trigger(jQueryEvent)\n bubbles = !jQueryEvent.isPropagationStopped()\n nativeDispatch = !jQueryEvent.isImmediatePropagationStopped()\n defaultPrevented = jQueryEvent.isDefaultPrevented()\n }\n\n if (isNative) {\n evt = document.createEvent('HTMLEvents')\n evt.initEvent(typeEvent, bubbles, true)\n } else {\n evt = new CustomEvent(event, {\n bubbles,\n cancelable: true\n })\n }\n\n // merge custom information in our event\n if (typeof args !== 'undefined') {\n Object.keys(args).forEach(key => {\n Object.defineProperty(evt, key, {\n get() {\n return args[key]\n }\n })\n })\n }\n\n if (defaultPrevented) {\n evt.preventDefault()\n }\n\n if (nativeDispatch) {\n element.dispatchEvent(evt)\n }\n\n if (evt.defaultPrevented && typeof jQueryEvent !== 'undefined') {\n jQueryEvent.preventDefault()\n }\n\n return evt\n }\n }\n});\n","jquery/bootstrap/dom/selector-engine.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): dom/selector-engine.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\ndefine([\n \"../util/index\"\n], function(Util) {\n 'use strict';\n\n const isDisabled = Util.isDisabled;\n const isVisible = Util.isVisible;\n\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const NODE_TEXT = 3;\n\n return {\n find: function(selector, element = document.documentElement) {\n return [].concat(...Element.prototype.querySelectorAll.call(element, selector))\n },\n\n findOne: function(selector, element = document.documentElement) {\n return Element.prototype.querySelector.call(element, selector)\n },\n\n children: function(element, selector) {\n return [].concat(...element.children)\n .filter(child => child.matches(selector))\n },\n\n parents: function(element, selector) {\n const parents = [];\n\n let ancestor = element.parentNode;\n\n while (ancestor && ancestor.nodeType === Node.ELEMENT_NODE && ancestor.nodeType !== NODE_TEXT) {\n if (ancestor.matches(selector)) {\n parents.push(ancestor)\n }\n\n ancestor = ancestor.parentNode\n }\n\n return parents\n },\n\n prev: function(element, selector) {\n let previous = element.previousElementSibling;\n\n while (previous) {\n if (previous.matches(selector)) {\n return [previous]\n }\n\n previous = previous.previousElementSibling\n }\n\n return []\n },\n\n next: function(element, selector) {\n let next = element.nextElementSibling;\n\n while (next) {\n if (next.matches(selector)) {\n return [next]\n }\n\n next = next.nextElementSibling\n }\n\n return []\n },\n\n focusableChildren: function(element) {\n const focusables = [\n 'a',\n 'button',\n 'input',\n 'textarea',\n 'select',\n 'details',\n '[tabindex]',\n '[contenteditable=\"true\"]'\n ].map(selector => `${selector}:not([tabindex^=\"-\"])`).join(', ');\n\n return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el))\n }\n }\n});\n","jquery/bootstrap/util/index.js":"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.1.3): util/index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\ndefine([\n \"jquery\",\n 'domReady!'\n], function() {\n 'use strict';\n\n const MAX_UID = 1000000;\n const MILLISECONDS_MULTIPLIER = 1000;\n const TRANSITION_END = 'transitionend';\n\n // Shoutout AngusCroll (https://goo.gl/pxwQGp)\n const toType = obj => {\n if (obj === null || obj === undefined) {\n return `${obj}`\n }\n\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n };\n\n /**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\n const getUID = prefix => {\n do {\n prefix += Math.floor(Math.random() * MAX_UID)\n } while (document.getElementById(prefix))\n\n return prefix\n };\n\n const getSelector = element => {\n let selector = element.getAttribute('data-bs-target');\n\n if (!selector || selector === '#') {\n let hrefAttr = element.getAttribute('href');\n\n // The only valid content that could double as a selector are IDs or classes,\n // so everything starting with `#` or `.`. If a \"real\" URL is used as the selector,\n // `document.querySelector` will rightfully complain it is invalid.\n // See https://github.com/twbs/bootstrap/issues/32273\n if (!hrefAttr || (!hrefAttr.includes('#') && !hrefAttr.startsWith('.'))) {\n return null\n }\n\n // Just in case some CMS puts out a full URL with the anchor appended\n if (hrefAttr.includes('#') && !hrefAttr.startsWith('#')) {\n hrefAttr = `#${hrefAttr.split('#')[1]}`\n }\n\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : null\n }\n\n return selector\n };\n\n const getSelectorFromElement = element => {\n const selector = getSelector(element);\n\n if (selector) {\n return document.querySelector(selector) ? selector : null\n }\n\n return null\n };\n\n const getElementFromSelector = element => {\n const selector = getSelector(element);\n\n return selector ? document.querySelector(selector) : null\n };\n\n const getTransitionDurationFromElement = element => {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let {transitionDuration, transitionDelay} = window.getComputedStyle(element);\n\n const floatTransitionDuration = Number.parseFloat(transitionDuration);\n const floatTransitionDelay = Number.parseFloat(transitionDelay);\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n };\n\n const triggerTransitionEnd = element => {\n element.dispatchEvent(new Event(TRANSITION_END))\n };\n\n const isElement = obj => {\n if (!obj || typeof obj !== 'object') {\n return false\n }\n\n if (typeof obj.jquery !== 'undefined') {\n obj = obj[0]\n }\n\n return typeof obj.nodeType !== 'undefined'\n };\n\n const getElement = obj => {\n if (isElement(obj)) { // it's a jQuery object or a node element\n return obj.jquery ? obj[0] : obj\n }\n\n if (typeof obj === 'string' && obj.length > 0) {\n return document.querySelector(obj)\n }\n\n return null\n };\n\n const typeCheckConfig = (componentName, config, configTypes) => {\n Object.keys(configTypes).forEach(property => {\n const expectedTypes = configTypes[property];\n const value = config[property];\n const valueType = value && isElement(value) ? 'element' : toType(value);\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new TypeError(\n `${componentName.toUpperCase()}: Option \"${property}\" provided type \"${valueType}\" but expected type \"${expectedTypes}\".`\n )\n }\n })\n };\n\n const isVisible = element => {\n if (!isElement(element) || element.getClientRects().length === 0) {\n return false\n }\n\n return getComputedStyle(element).getPropertyValue('visibility') === 'visible'\n };\n\n const isDisabled = element => {\n if (!element || element.nodeType !== Node.ELEMENT_NODE) {\n return true\n }\n\n if (element.classList.contains('disabled')) {\n return true\n }\n\n if (typeof element.disabled !== 'undefined') {\n return element.disabled\n }\n\n return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false'\n };\n\n const findShadowRoot = element => {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode();\n return root instanceof ShadowRoot ? root : null\n }\n\n if (element instanceof ShadowRoot) {\n return element\n }\n\n // when we don't find a shadow root\n if (!element.parentNode) {\n return null\n }\n\n return findShadowRoot(element.parentNode)\n };\n\n const noop = () => {};\n\n /**\n * Trick to restart an element's animation\n *\n * @param {HTMLElement} element\n * @return void\n *\n * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation\n */\n const reflow = element => {\n // eslint-disable-next-line no-unused-expressions\n element.offsetHeight\n };\n\n const getjQuery = () => {\n const {jQuery} = window;\n\n if (jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {\n return jQuery\n }\n\n return null\n };\n\n const DOMContentLoadedCallbacks = [];\n\n const onDOMContentLoaded = callback => {\n if (document.readyState === 'loading') {\n // add listener on the first call when the document is in loading state\n if (!DOMContentLoadedCallbacks.length) {\n document.addEventListener('DOMContentLoaded', () => {\n DOMContentLoadedCallbacks.forEach(callback => callback())\n })\n }\n\n DOMContentLoadedCallbacks.push(callback)\n } else {\n callback()\n }\n };\n\n const isRTL = () => document.documentElement.dir === 'rtl';\n\n const defineJQueryPlugin = plugin => {\n onDOMContentLoaded(() => {\n const $ = getjQuery();\n /* istanbul ignore if */\n if ($) {\n const name = plugin.NAME;\n const JQUERY_NO_CONFLICT = $.fn[name];\n $.fn[name] = plugin.jQueryInterface\n $.fn[name].Constructor = plugin\n $.fn[name].noConflict = () => {\n $.fn[name] = JQUERY_NO_CONFLICT\n return plugin.jQueryInterface\n }\n }\n })\n };\n\n const execute = callback => {\n if (typeof callback === 'function') {\n callback()\n }\n };\n\n const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {\n if (!waitForTransition) {\n execute(callback)\n return\n }\n\n const durationPadding = 5;\n const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;\n\n let called = false;\n\n const handler = ({ target }) => {\n if (target !== transitionElement) {\n return\n }\n\n called = true\n transitionElement.removeEventListener(TRANSITION_END, handler)\n execute(callback)\n };\n\n transitionElement.addEventListener(TRANSITION_END, handler)\n setTimeout(() => {\n if (!called) {\n triggerTransitionEnd(transitionElement)\n }\n }, emulatedDuration)\n };\n\n /**\n * Return the previous/next element of a list.\n *\n * @param {array} list The list of elements\n * @param activeElement The active element\n * @param shouldGetNext Choose to get next or previous element\n * @param isCycleAllowed\n * @return {Element|elem} The proper element\n */\n const getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {\n let index = list.indexOf(activeElement);\n\n // if the element does not exist in the list return an element depending on the direction and if cycle is allowed\n if (index === -1) {\n return list[!shouldGetNext && isCycleAllowed ? list.length - 1 : 0]\n }\n\n const listLength = list.length;\n\n index += shouldGetNext ? 1 : -1\n\n if (isCycleAllowed) {\n index = (index + listLength) % listLength\n }\n\n return list[Math.max(0, Math.min(index, listLength - 1))]\n };\n\n return {\n getElement,\n getUID,\n getSelectorFromElement,\n getElementFromSelector,\n getTransitionDurationFromElement,\n triggerTransitionEnd,\n isElement,\n typeCheckConfig,\n isVisible,\n isDisabled,\n findShadowRoot,\n noop,\n getNextActiveElement,\n reflow,\n getjQuery,\n onDOMContentLoaded,\n isRTL,\n defineJQueryPlugin,\n execute,\n executeAfterTransition\n };\n});\n","requirejs/domReady.js":"/**\n * @license RequireJS domReady 2.0.1 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.\n * Available via the MIT or new BSD license.\n * see: http://github.com/requirejs/domReady for details\n */\n/*jslint */\n/*global require: false, define: false, requirejs: false,\n window: false, clearInterval: false, document: false,\n self: false, setInterval: false */\n\n\ndefine(function () {\n 'use strict';\n\n var isTop, testDiv, scrollIntervalId,\n isBrowser = typeof window !== \"undefined\" && window.document,\n isPageLoaded = !isBrowser,\n doc = isBrowser ? document : null,\n readyCalls = [];\n\n function runCallbacks(callbacks) {\n var i;\n for (i = 0; i < callbacks.length; i += 1) {\n callbacks[i](doc);\n }\n }\n\n function callReady() {\n var callbacks = readyCalls;\n\n if (isPageLoaded) {\n //Call the DOM ready callbacks\n if (callbacks.length) {\n readyCalls = [];\n runCallbacks(callbacks);\n }\n }\n }\n\n /**\n * Sets the page as loaded.\n */\n function pageLoaded() {\n if (!isPageLoaded) {\n isPageLoaded = true;\n if (scrollIntervalId) {\n clearInterval(scrollIntervalId);\n }\n\n callReady();\n }\n }\n\n if (isBrowser) {\n if (document.addEventListener) {\n //Standards. Hooray! Assumption here that if standards based,\n //it knows about DOMContentLoaded.\n document.addEventListener(\"DOMContentLoaded\", pageLoaded, false);\n window.addEventListener(\"load\", pageLoaded, false);\n } else if (window.attachEvent) {\n window.attachEvent(\"onload\", pageLoaded);\n\n testDiv = document.createElement('div');\n try {\n isTop = window.frameElement === null;\n } catch (e) {}\n\n //DOMContentLoaded approximation that uses a doScroll, as found by\n //Diego Perini: http://javascript.nwbox.com/IEContentLoaded/,\n //but modified by other contributors, including jdalton\n if (testDiv.doScroll && isTop && window.external) {\n scrollIntervalId = setInterval(function () {\n try {\n testDiv.doScroll();\n pageLoaded();\n } catch (e) {}\n }, 30);\n }\n }\n\n //Check if document is no longer loading, and if so, just trigger page load\n //listeners. Latest webkit browsers also use \"interactive\", and\n //will fire the onDOMContentLoaded before \"interactive\" but not after\n //entering \"interactive\" or \"complete\". More details:\n //http://dev.w3.org/html5/spec/the-end.html#the-end\n //http://stackoverflow.com/questions/3665561/document-readystate-of-interactive-vs-ondomcontentloaded\n //Hmm, this is more complicated on further use, see \"firing too early\"\n //bug: https://github.com/requirejs/domReady/issues/1\n //so removing the || document.readyState === \"interactive\" test.\n //There is still a window.onload binding that should get fired if\n //DOMContentLoaded is missed.\n if (document.readyState !== \"loading\") {\n // Handle it asynchronously to allow scripts the opportunity to delay ready\n setTimeout(pageLoaded);\n }\n }\n\n /** START OF PUBLIC API **/\n\n /**\n * Registers a callback for DOM ready. If DOM is already ready, the\n * callback is called immediately.\n * @param {Function} callback\n */\n function domReady(callback) {\n if (isPageLoaded) {\n callback(doc);\n } else {\n readyCalls.push(callback);\n }\n return domReady;\n }\n\n domReady.version = '2.0.1';\n\n /**\n * Loader Plugin API method\n */\n domReady.load = function (name, req, onLoad, config) {\n if (config.isBuild) {\n onLoad(null);\n } else {\n domReady(onLoad);\n }\n };\n\n /** END OF PUBLIC API **/\n\n return domReady;\n});\n","js-cookie/cookie-wrapper.js":"/**\n * Copyright \u00a9 Magento, Inc. All rights reserved.\n * See COPYING.txt for license details.\n */\n\ndefine([\n 'jquery',\n 'js-cookie/js.cookie'\n], function ($, cookie) {\n 'use strict';\n\n window.Cookies = window.Cookies || cookie;\n\n var config = $.cookie = function (key, value, options) {\n if (value !== undefined) {\n options = $.extend({}, config.defaults, options);\n\n return cookie.set(key, value, options);\n }\n\n var result = key ? undefined : {},\n cookies = document.cookie ? document.cookie.split('; ') : [],\n i;\n\n for (i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('='),\n name = config.raw ? parts.shift() : decodeURIComponent(parts.shift()),\n cookieValue = parts.join('=');\n\n if (key && key === name) {\n result = decodeURIComponent(cookieValue.replace('/\\\\+/g', ' '));\n break;\n }\n\n if (!key && (cookieValue = decodeURIComponent(cookieValue.replace('/\\\\+/g', ' '))) !== undefined) {\n result[name] = cookieValue;\n }\n }\n\n return result;\n };\n\n config.defaults = {};\n\n $.removeCookie = function (key, options) {\n if ($.cookie(key) === undefined) {\n return false;\n }\n\n $.cookie(key, '', $.extend({}, options, { expires: -1 }));\n return !$.cookie(key);\n };\n});\n","js-cookie/js.cookie.js":"/*! js-cookie v3.0.1 | MIT */\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = global || self, (function () {\n var current = global.Cookies;\n var exports = global.Cookies = factory();\n exports.noConflict = function () { global.Cookies = current; return exports; };\n }()));\n}(this, (function () { 'use strict';\n\n /* eslint-disable no-var */\n function assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n }\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n var defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n };\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n\n function init (converter, defaultAttributes) {\n function set (key, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n key = encodeURIComponent(key)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n key + '=' + converter.write(value, key) + stringifiedAttributes)\n }\n\n function get (key) {\n if (typeof document === 'undefined' || (arguments.length && !key)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var foundKey = decodeURIComponent(parts[0]);\n jar[foundKey] = converter.read(value, foundKey);\n\n if (key === foundKey) {\n break\n }\n } catch (e) {}\n }\n\n return key ? jar[key] : jar\n }\n\n return Object.create(\n {\n set: set,\n get: get,\n remove: function (key, attributes) {\n set(\n key,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n }\n\n var api = init(defaultConverter, { path: '/' });\n /* eslint-enable no-var */\n\n return api;\n\n})));\n","magnifier/magnify.js":"/**\n * Copyright \u00a9 Magento, Inc. All rights reserved.\n * See COPYING.txt for license details.\n */\ndefine([\n 'jquery',\n 'underscore',\n 'magnifier/magnifier'\n], function ($, _) {\n 'use strict';\n\n return function (config, element) {\n\n var isTouchEnabled = 'ontouchstart' in document.documentElement,\n gallerySelector = '[data-gallery-role=\"gallery\"]',\n magnifierSelector = '[data-gallery-role=\"magnifier\"]',\n magnifierZoomSelector = '[data-gallery-role=\"magnifier-zoom\"]',\n zoomInButtonSelector = '[data-gallery-role=\"fotorama__zoom-in\"]',\n zoomOutButtonSelector = '[data-gallery-role=\"fotorama__zoom-out\"]',\n fullscreenImageSelector = '[data-gallery-role=\"stage-shaft\"] [data-active=\"true\"] .fotorama__img--full',\n imageDraggableClass = 'fotorama__img--draggable',\n imageZoommable = 'fotorama__img--zoommable',\n zoomInLoaded = 'zoom-in-loaded',\n zoomOutLoaded = 'zoom-out-loaded',\n zoomInDisabled = 'fotorama__zoom-in--disabled',\n zoomOutDisabled = 'fotorama__zoom-out--disabled',\n keyboardNavigation,\n videoContainerClass = 'fotorama-video-container',\n hideMagnifier,\n dragFlag,\n endX,\n transitionEnabled,\n transitionActive = false,\n tapFlag = 0,\n allowZoomOut = false,\n allowZoomIn = true;\n\n transitionEnabled = document.documentElement.style.transition !== undefined ||\n document.documentElement.style.WebkitTransition !== undefined ||\n document.documentElement.style.MozTransition !== undefined ||\n document.documentElement.style.MsTransition !== undefined ||\n document.documentElement.style.OTransition !== undefined;\n\n /**\n * Return width and height of original image\n * @param img original image node\n * @returns {{rw: number, rh: number}}\n */\n function getImageSize(img) {\n return {\n rw: img.naturalWidth,\n rh: img.naturalHeight\n };\n }\n\n /**\n * Sets min-height and min-width for image to avoid transition bug\n * @param $image - fullscreen image\n */\n function calculateMinSize($image) {\n\n var minHeight,\n minWidth,\n height = $image.height(),\n width = $image.width(),\n parentHeight = $image.parent().height(),\n parentWidth = $image.parent().width();\n\n if (width > parentWidth || height > parentHeight) {\n\n if (width / height < parentWidth / parentHeight) {\n minHeight = parentHeight;\n minWidth = width * (parentHeight / height);\n } else {\n minWidth = parentWidth;\n minHeight = height * parentWidth / width;\n }\n $image.css({\n 'min-width': minWidth,\n 'min-height': minHeight\n });\n }\n }\n\n function toggleZoomable($image, flag) {\n if (flag) {\n $image.css({\n 'min-width': $image.width(),\n 'min-height': $image.height(),\n 'width': $image.width(),\n 'height': $image.height()\n }).addClass(imageZoommable);\n } else {\n $image.css({\n width: '',\n height: '',\n top: '',\n left: '',\n right: '',\n bottom: ''\n }).removeClass(imageZoommable);\n calculateMinSize($image);\n }\n }\n\n function resetVars($image) {\n allowZoomIn = true;\n allowZoomOut = dragFlag = transitionActive = false;\n $image.hasClass(imageDraggableClass) && $image.removeClass(imageDraggableClass);\n toggleZoomable($image, false);\n }\n\n /**\n * Set state for zoom controls.\n * If state is true, zoom controls will be visible.\n * IF state is false, zoom controls will be hidden.\n * @param isHide\n */\n function hideZoomControls(isHide) {\n if (isHide) {\n $(zoomInButtonSelector).addClass(zoomInDisabled);\n $(zoomOutButtonSelector).addClass(zoomOutDisabled);\n } else {\n $(zoomInButtonSelector).removeClass(zoomInDisabled);\n $(zoomOutButtonSelector).removeClass(zoomOutDisabled);\n }\n }\n\n /**\n * Asynchronus control visibility of zoom buttons.\n * If image bigger than her wrapper. Zoom controls must visible.\n * @param path - image source path\n * @param $image\n */\n function asyncToggleZoomButtons(path, $image) {\n var img = new Image();\n\n img.onload = function () {\n this.height > $image.parent().height() || this.width > $image.parent().width() ?\n hideZoomControls(false) : hideZoomControls(true);\n };\n img.src = path;\n }\n\n /**\n * Control visibility of zoom buttons.\n * Zoom controls must be invisible for video content and touch devices.\n * On touch devices active pinchIn/pinchOut.\n * @param $image\n * @param isTouchScreen - true for touch devices\n * @param isVideoActiveFrame - true for active video frame\n */\n function toggleZoomButtons($image, isTouchScreen, isVideoActiveFrame) {\n var path = $image.attr('src');\n\n if (path && !isTouchScreen && !isVideoActiveFrame) {\n asyncToggleZoomButtons(path, $image);\n } else {\n hideZoomControls(true);\n }\n }\n\n /**\n * Handle resize event in fullscreen.\n * @param $image - Fullscreen image.\n * @param e - Event.\n */\n function resizeHandler(e, $image) {\n var imageSize,\n parentWidth,\n parentHeight,\n isImageSmall,\n isImageFit;\n\n if (!e.data.$image || !e.data.$image.length)\n return;\n\n imageSize = getImageSize($(fullscreenImageSelector)[0]);\n parentWidth = e.data.$image.parent().width();\n parentHeight = e.data.$image.parent().height();\n isImageSmall = parentWidth >= imageSize.rw && parentHeight >= imageSize.rh;\n isImageFit = parentWidth > e.data.$image.width() && parentHeight > e.data.$image.height();\n\n toggleZoomButtons(e.data.$image, isTouchEnabled, checkForVideo(e.data.fotorama.activeFrame.$stageFrame));\n calculateMinSize(e.data.$image);\n\n if (e.data.$image.hasClass(imageZoommable) && !allowZoomOut || isImageSmall || isImageFit) {\n resetVars(e.data.$image);\n }\n\n if (!isImageSmall) {\n toggleStandartNavigation();\n }\n }\n\n function getTopValue($image, topProp, step, height, containerHeight) {\n var top;\n\n if (parseInt($image.css('marginTop')) || parseInt($image.css('marginLeft'))) {\n top = dragFlag ? topProp - step / 4 : 0;\n top = top < containerHeight - height ? containerHeight - height : top;\n top = top > height - containerHeight ? height - containerHeight : top;\n } else {\n top = topProp + step / 2;\n top = top < containerHeight - height ? containerHeight - height : top;\n top = top > 0 ? 0 : top;\n\n if (!dragFlag && step < 0) {\n top = top < (containerHeight - height) / 2 ? (containerHeight - height) / 2 : top;\n }\n }\n\n return top;\n }\n\n function getLeftValue(leftProp, step, width, containerWidth) {\n var left;\n\n left = leftProp + step / 2;\n left = left < containerWidth - width ? containerWidth - width : left;\n left = left > 0 ? 0 : left;\n\n if (!dragFlag && step < 0) {\n left = left < (containerWidth - width) / 2 ? (containerWidth - width) / 2 : left;\n }\n\n return left;\n }\n\n function checkFullscreenImagePosition($image, dimentions, widthStep, heightStep) {\n var $imageContainer,\n containerWidth,\n containerHeight,\n settings,\n top,\n left,\n right,\n bottom,\n ratio;\n\n if ($(gallerySelector).data('fotorama').fullScreen) {\n transitionActive = true;\n $imageContainer = $image.parent();\n containerWidth = $imageContainer.width();\n containerHeight = $imageContainer.height();\n top = $image.position().top;\n left = $image.position().left;\n ratio = $image.width() / $image.height();\n dimentions.height = isNaN(dimentions.height) ? dimentions.width / ratio : dimentions.height;\n dimentions.width = isNaN(dimentions.width) ? dimentions.height * ratio : dimentions.width;\n\n top = dimentions.height >= containerHeight ?\n getTopValue($image, top, heightStep, dimentions.height, containerHeight) : 0;\n\n left = dimentions.width >= containerWidth ?\n getLeftValue(left, widthStep, dimentions.width, containerWidth) : 0;\n\n right = dragFlag && left < (containerWidth - dimentions.width) / 2 ? 0 : left;\n bottom = dragFlag ? 0 : top;\n\n settings = $.extend(dimentions, {\n top: top,\n left: left,\n right: right\n });\n\n $image.css(settings);\n }\n }\n\n /**\n * Toggles fotorama's keyboard and mouse/touch navigation.\n */\n function toggleStandartNavigation() {\n var $selectable =\n $('a[href], area[href], input, select, textarea, button, iframe, object, embed, *[tabindex], *[contenteditable]')\n .not('[tabindex=-1], [disabled], :hidden'),\n fotorama = $(gallerySelector).data('fotorama'),\n $focus = $(':focus'),\n index;\n\n if (fotorama.fullScreen) {\n\n $selectable.each(function (number) {\n\n if ($(this).is($focus)) {\n index = number;\n }\n });\n\n fotorama.setOptions({\n swipe: !allowZoomOut,\n keyboard: !allowZoomOut\n });\n\n if (_.isNumber(index)) {\n $selectable.eq(index).trigger('focus');\n }\n }\n }\n\n function zoomIn(e, xStep, yStep) {\n var $image,\n imgOriginalSize,\n imageWidth,\n imageHeight,\n zoomWidthStep,\n zoomHeightStep,\n widthResult,\n heightResult,\n ratio,\n dimentions = {};\n\n if (allowZoomIn && (!transitionEnabled || !transitionActive) && (isTouchEnabled ||\n !$(zoomInButtonSelector).hasClass(zoomInDisabled))) {\n $image = $(fullscreenImageSelector);\n imgOriginalSize = getImageSize($image[0]);\n imageWidth = $image.width();\n imageHeight = $image.height();\n ratio = imageWidth / imageHeight;\n allowZoomOut = true;\n toggleStandartNavigation();\n\n if (!$image.hasClass(imageZoommable)) {\n toggleZoomable($image, true);\n }\n\n e.preventDefault();\n\n if (imageWidth >= imageHeight) {\n zoomWidthStep = xStep || Math.ceil(imageWidth * parseFloat(config.magnifierOpts.fullscreenzoom) / 100);\n widthResult = imageWidth + zoomWidthStep;\n\n if (widthResult >= imgOriginalSize.rw) {\n widthResult = imgOriginalSize.rw;\n zoomWidthStep = xStep || widthResult - imageWidth;\n allowZoomIn = false;\n }\n heightResult = widthResult / ratio;\n zoomHeightStep = yStep || heightResult - imageHeight;\n } else {\n zoomHeightStep = yStep || Math.ceil(imageHeight * parseFloat(config.magnifierOpts.fullscreenzoom) / 100);\n heightResult = imageHeight + zoomHeightStep;\n\n if (heightResult >= imgOriginalSize.rh) {\n heightResult = imgOriginalSize.rh;\n zoomHeightStep = yStep || heightResult - imageHeight;\n allowZoomIn = false;\n }\n widthResult = heightResult * ratio;\n zoomWidthStep = xStep || widthResult - imageWidth;\n }\n\n if (imageWidth >= imageHeight && imageWidth !== imgOriginalSize.rw) {\n dimentions = $.extend(dimentions, {\n width: widthResult,\n height: 'auto'\n });\n checkFullscreenImagePosition($image, dimentions, -zoomWidthStep, -zoomHeightStep);\n\n } else if (imageWidth < imageHeight && imageHeight !== imgOriginalSize.rh) {\n dimentions = $.extend(dimentions, {\n width: 'auto',\n height: heightResult\n });\n checkFullscreenImagePosition($image, dimentions, -zoomWidthStep, -zoomHeightStep);\n }\n }\n\n return false;\n }\n\n function zoomOut(e, xStep, yStep) {\n var $image,\n widthResult,\n heightResult,\n dimentions,\n parentWidth,\n parentHeight,\n imageWidth,\n imageHeight,\n zoomWidthStep,\n zoomHeightStep,\n ratio,\n fitIntoParent;\n\n if (allowZoomOut && (!transitionEnabled || !transitionActive) && (isTouchEnabled ||\n !$(zoomOutButtonSelector).hasClass(zoomOutDisabled))) {\n allowZoomIn = true;\n $image = $(fullscreenImageSelector);\n parentWidth = $image.parent().width();\n parentHeight = $image.parent().height();\n imageWidth = $image.width();\n imageHeight = $image.height();\n ratio = imageWidth / imageHeight;\n\n e.preventDefault();\n\n if (imageWidth >= imageHeight) {\n zoomWidthStep = xStep || Math.ceil(imageWidth * parseFloat(config.magnifierOpts.fullscreenzoom) / 100);\n widthResult = imageWidth - zoomWidthStep;\n heightResult = widthResult / ratio;\n zoomHeightStep = yStep || imageHeight - heightResult;\n } else {\n zoomHeightStep = yStep || Math.ceil(imageHeight * parseFloat(config.magnifierOpts.fullscreenzoom) / 100);\n heightResult = imageHeight - zoomHeightStep;\n widthResult = heightResult * ratio;\n zoomWidthStep = xStep || imageWidth - widthResult;\n }\n\n fitIntoParent = function () {\n if (ratio > parentWidth / parentHeight) {\n widthResult = parentWidth;\n zoomWidthStep = imageWidth - widthResult;\n heightResult = widthResult / ratio;\n zoomHeightStep = imageHeight - heightResult;\n dimentions = {\n width: widthResult,\n height: 'auto'\n };\n } else {\n heightResult = parentHeight;\n zoomHeightStep = imageHeight - heightResult;\n widthResult = heightResult * ratio;\n zoomWidthStep = imageWidth - widthResult;\n dimentions = {\n width: 'auto',\n height: heightResult\n };\n }\n checkFullscreenImagePosition($image, dimentions, zoomWidthStep, zoomHeightStep);\n };\n\n if (imageWidth >= imageHeight) {\n if (widthResult > parentWidth) {\n dimentions = {\n width: widthResult,\n height: 'auto'\n };\n checkFullscreenImagePosition($image, dimentions, zoomWidthStep, zoomHeightStep);\n } else if (heightResult > parentHeight) {\n dimentions = {\n width: widthResult,\n height: 'auto'\n };\n checkFullscreenImagePosition($image, dimentions, zoomWidthStep, zoomHeightStep);\n } else {\n allowZoomOut = dragFlag = false;\n toggleStandartNavigation();\n fitIntoParent();\n }\n } else if (heightResult > parentHeight) {\n dimentions = {\n width: 'auto',\n height: heightResult\n };\n checkFullscreenImagePosition($image, dimentions, zoomWidthStep, zoomHeightStep);\n } else if (widthResult > parentWidth) {\n dimentions = {\n width: 'auto',\n height: heightResult\n };\n checkFullscreenImagePosition($image, dimentions, zoomWidthStep, zoomHeightStep);\n } else {\n allowZoomOut = dragFlag = false;\n toggleStandartNavigation();\n fitIntoParent();\n }\n }\n\n return false;\n }\n\n /**\n * Bind event on scroll on active item in fotorama\n * @param e\n * @param fotorama - object of fotorama\n */\n function mousewheel(e, fotorama, element) {\n var $fotoramaStage = fotorama.activeFrame.$stageFrame,\n fotoramaStage = $fotoramaStage.get(0);\n\n function onWheel(e) {\n var delta = e.deltaY || e.wheelDelta,\n ev = e || window.event;\n\n if ($(gallerySelector).data('fotorama').fullScreen) {\n\n if (e.deltaY) {\n if (delta > 0) {\n zoomOut(ev);\n } else {\n zoomIn(ev);\n }\n } else if (delta > 0) {\n zoomIn(ev);\n } else {\n zoomOut(ev);\n }\n\n e.preventDefault ? e.preventDefault() : e.returnValue = false;\n }\n }\n\n if (!$fotoramaStage.hasClass('magnify-wheel-loaded')) {\n if (fotoramaStage && fotoramaStage.addEventListener) {\n if ('onwheel' in document) {\n fotoramaStage.addEventListener('wheel', onWheel, { passive: true });\n } else if ('onmousewheel' in document) {\n fotoramaStage.addEventListener('mousewheel', onWheel);\n } else {\n fotoramaStage.addEventListener('MozMousePixelScroll', onWheel);\n }\n $fotoramaStage.addClass('magnify-wheel-loaded');\n }\n }\n }\n\n /**\n * Method which makes draggable picture. Also work on touch devices.\n */\n function magnifierFullscreen(fotorama) {\n var isDragActive = false,\n startX,\n startY,\n imagePosX,\n imagePosY,\n touch,\n swipeSlide,\n $gallery = $(gallerySelector),\n $image = $(fullscreenImageSelector, $gallery),\n $imageContainer = $('[data-gallery-role=\"stage-shaft\"] [data-active=\"true\"]'),\n gallery = $gallery.data('fotorama'),\n pinchDimention;\n\n swipeSlide = _.throttle(function (direction) {\n $(gallerySelector).data('fotorama').show(direction);\n }, 500, {\n trailing: false\n });\n\n /**\n * Returns top position value for passed jQuery object.\n *\n * @param $el\n * @return {number}\n */\n function getTop($el) {\n return parseInt($el.get(0).style.top);\n }\n\n function shiftImage(dx, dy, e) {\n var top = +imagePosY + dy,\n left = +imagePosX + dx,\n swipeCondition = $image.width() / 10 + 20;\n\n dragFlag = true;\n\n if ($image.offset().left === $imageContainer.offset().left + $imageContainer.width() - $image.width() && e.keyCode === 39 ||\n endX - 1 < $imageContainer.offset().left + $imageContainer.width() - $image.width() && dx < 0 &&\n _.isNumber(endX) &&\n (e.type === 'mousemove' || e.type === 'touchmove' || e.type === 'pointermove' || e.type === 'MSPointerMove')) {\n endX = null;\n swipeSlide('>');\n\n return;\n }\n\n if ($image.offset().left === $imageContainer.offset().left && dx !== 0 && e.keyCode === 37 ||\n endX === $imageContainer.offset().left && dx > 0 &&\n (e.type === 'mousemove' || e.type === 'touchmove' || e.type === 'pointermove' || e.type === 'MSPointerMove')) {\n endX = null;\n swipeSlide('<');\n\n return;\n }\n\n if ($image.height() > $imageContainer.height()) {\n if ($imageContainer.height() > $image.height() + top) {\n $image.css('top', $imageContainer.height() - $image.height());\n } else {\n top = $image.height() - getTop($image) - $imageContainer.height();\n dy = dy < top ? dy : top;\n $image.css('top', getTop($image) + dy);\n }\n }\n\n if ($image.width() > $imageContainer.width()) {\n\n if ($imageContainer.offset().left + $imageContainer.width() > left + $image.width()) {\n left = $imageContainer.offset().left + $imageContainer.width() - $image.width();\n } else {\n left = $imageContainer.offset().left < left ? $imageContainer.offset().left : left;\n }\n $image.offset({\n 'left': left\n });\n $image.css('right', '');\n } else if (Math.abs(dy) < 1 && allowZoomOut &&\n !(e.type === 'mousemove' || e.type === 'touchmove' || e.type === 'pointermove' || e.type === 'MSPointerMove')) {\n dx < 0 ? $(gallerySelector).data('fotorama').show('>') : $(gallerySelector).data('fotorama').show('<');\n }\n\n if ($image.width() <= $imageContainer.width() && allowZoomOut &&\n (e.type === 'mousemove' || e.type === 'touchmove' || e.type === 'pointermove' || e.type === 'MSPointerMove') &&\n Math.abs(dx) > Math.abs(dy) && Math.abs(dx) > swipeCondition) {\n dx < 0 ? swipeSlide('>') : swipeSlide('<');\n }\n }\n\n /**\n * Sets image size to original or fit in parent block\n * @param e - event object\n */\n function dblClickHandler(e) {\n var imgOriginalSize = getImageSize($image[0]),\n proportions;\n\n if (imgOriginalSize.rh < $image.parent().height() && imgOriginalSize.rw < $image.parent().width()) {\n return;\n }\n\n proportions = imgOriginalSize.rw / imgOriginalSize.rh;\n\n if (allowZoomIn) {\n zoomIn(e, imgOriginalSize.rw - $image.width(), imgOriginalSize.rh - $image.height());\n } else if (proportions > $imageContainer.width() / $imageContainer.height()) {\n zoomOut(e, imgOriginalSize.rw - $imageContainer.width(), imgOriginalSize.rw / proportions);\n } else {\n zoomOut(e, imgOriginalSize.rw * proportions, imgOriginalSize.rh - $imageContainer.height());\n }\n }\n\n function detectDoubleTap(e) {\n var now = new Date().getTime(),\n timesince = now - tapFlag;\n\n if (timesince < 400 && timesince > 0) {\n transitionActive = false;\n tapFlag = 0;\n dblClickHandler(e);\n } else {\n tapFlag = new Date().getTime();\n }\n }\n\n if (isTouchEnabled) {\n $image.off('tap');\n $image.on('tap', function (e) {\n if (e.originalEvent.originalEvent.touches.length === 0) {\n detectDoubleTap(e);\n }\n });\n } else {\n $image.off('dblclick');\n $image.on('dblclick', dblClickHandler);\n }\n\n if (gallery.fullScreen) {\n toggleZoomButtons($image, isTouchEnabled, checkForVideo(fotorama.activeFrame.$stageFrame));\n }\n\n function getDimention(event) {\n return Math.sqrt(\n (event.touches[0].clientX - event.touches[1].clientX) * (event.touches[0].clientX - event.touches[1].clientX) +\n (event.touches[0].clientY - event.touches[1].clientY) * (event.touches[0].clientY - event.touches[1].clientY));\n }\n\n $image.off(isTouchEnabled ? 'touchstart' : 'pointerdown mousedown MSPointerDown');\n $image.on(isTouchEnabled ? 'touchstart' : 'pointerdown mousedown MSPointerDown', function (e) {\n if (e && e.originalEvent.touches && e.originalEvent.touches.length >= 2) {\n e.preventDefault();\n pinchDimention = getDimention(e.originalEvent);\n isDragActive = false;\n\n if ($image.hasClass(imageDraggableClass)) {\n $image.removeClass(imageDraggableClass);\n }\n } else if (gallery.fullScreen && (!transitionEnabled || !transitionActive)) {\n imagePosY = getTop($image);\n imagePosX = $image.offset().left;\n\n if (isTouchEnabled) {\n touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];\n e.clientX = touch.pageX;\n e.clientY = touch.pageY;\n }\n startX = e.clientX || e.originalEvent.clientX;\n startY = e.clientY || e.originalEvent.clientY;\n isDragActive = true;\n }\n\n if ($image.offset() && $image.width() > $imageContainer.width()) {\n endX = $image.offset().left;\n }\n });\n\n $image.off(isTouchEnabled ? 'touchmove' : 'mousemove pointermove MSPointerMove');\n $image.on(isTouchEnabled ? 'touchmove' : 'mousemove pointermove MSPointerMove', function (e) {\n if (e && e.originalEvent.touches && e.originalEvent.touches.length >= 2) {\n e.preventDefault();\n var currentDimention = getDimention(e.originalEvent);\n\n if ($image.hasClass(imageDraggableClass)) {\n $image.removeClass(imageDraggableClass);\n }\n\n if (currentDimention < pinchDimention) {\n zoomOut(e);\n pinchDimention = currentDimention;\n } else if (currentDimention > pinchDimention) {\n zoomIn(e);\n pinchDimention = currentDimention;\n }\n } else {\n var clientX,\n clientY;\n\n if (gallery.fullScreen && isDragActive && (!transitionEnabled || !transitionActive)) {\n\n if (allowZoomOut && !$image.hasClass(imageDraggableClass)) {\n $image.addClass(imageDraggableClass);\n }\n clientX = e.clientX || e.originalEvent.clientX;\n clientY = e.clientY || e.originalEvent.clientY;\n\n e.preventDefault();\n\n if (isTouchEnabled) {\n touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];\n clientX = touch.pageX;\n clientY = touch.pageY;\n }\n\n if (allowZoomOut) {\n imagePosY = getTop($(fullscreenImageSelector, $gallery));\n shiftImage(clientX - startX, clientY - startY, e);\n }\n }\n }\n });\n\n $image.off('transitionend webkitTransitionEnd mozTransitionEnd msTransitionEnd ');\n $image.on('transitionend webkitTransitionEnd mozTransitionEnd msTransitionEnd', function () {\n transitionActive = false;\n });\n\n if (keyboardNavigation) {\n $(document).off('keydown', keyboardNavigation);\n }\n\n /**\n * Replaces original navigations with better one\n * @param e - event object\n */\n keyboardNavigation = function (e) {\n var step = 40,\n $focus = $(':focus'),\n isFullScreen = $(gallerySelector).data('fotorama').fullScreen,\n initVars = function () {\n imagePosX = $(fullscreenImageSelector, $gallery).offset().left;\n imagePosY = getTop($(fullscreenImageSelector, $gallery));\n };\n\n if (($focus.attr('data-gallery-role') || !$focus.length) && allowZoomOut) {\n if (isFullScreen) {\n imagePosX = $(fullscreenImageSelector, $(gallerySelector)).offset().left;\n imagePosY = getTop($(fullscreenImageSelector, $(gallerySelector)));\n }\n\n if (e.keyCode === 39) {\n\n if (isFullScreen) {\n initVars();\n shiftImage(-step, 0, e);\n }\n }\n\n if (e.keyCode === 38) {\n\n if (isFullScreen) {\n initVars();\n shiftImage(0, step, e);\n }\n }\n\n if (e.keyCode === 37) {\n\n if (isFullScreen) {\n initVars();\n shiftImage(step, 0, e);\n }\n }\n\n if (e.keyCode === 40) {\n\n if (isFullScreen) {\n e.preventDefault();\n initVars();\n shiftImage(0, -step, e);\n }\n }\n }\n\n if (e.keyCode === 27 && isFullScreen && allowZoomOut) {\n $(gallerySelector).data('fotorama').cancelFullScreen();\n }\n };\n\n /**\n * @todo keyboard navigation through Fotorama Api.\n */\n $(document).on('keydown', keyboardNavigation);\n\n $(document).on(isTouchEnabled ? 'touchend' : 'mouseup pointerup MSPointerUp', function (e) {\n if (gallery.fullScreen) {\n\n if ($image.offset() && $image.width() > $imageContainer.width()) {\n endX = $image.offset().left;\n }\n\n isDragActive = false;\n $image.removeClass(imageDraggableClass);\n }\n });\n\n $(window).off('resize', resizeHandler);\n $(window).on('resize', {\n $image: $image,\n fotorama: fotorama\n }, resizeHandler);\n }\n\n /**\n * Hides magnifier preview and zoom blocks.\n */\n hideMagnifier = function () {\n $(magnifierSelector).empty().hide();\n $(magnifierZoomSelector).remove();\n };\n\n /**\n * Check is active frame in gallery include video content.\n * If true activeFrame contain video.\n * @param $stageFrame - active frame in gallery\n * @returns {*|Boolean}\n */\n function checkForVideo($stageFrame) {\n return $stageFrame.hasClass(videoContainerClass);\n }\n\n /**\n * Hides magnifier on drag and while arrow click.\n */\n function behaveOnDrag(e, initPos) {\n var pos = [e.pageX, e.pageY],\n isArrow = $(e.target).data('gallery-role') === 'arrow',\n isClick = initPos[0] === pos[0] && initPos[1] === pos[1],\n isImg = $(e.target).parent().data('active');\n\n if (isArrow || isImg && !isClick) {\n hideMagnifier();\n }\n }\n\n if (config.magnifierOpts.enabled) {\n $(element).on('pointerdown mousedown MSPointerDown', function (e) {\n var pos = [e.pageX, e.pageY];\n\n $(element).on('mousemove pointermove MSPointerMove', function (ev) {\n navigator.msPointerEnabled ? hideMagnifier() : behaveOnDrag(ev, pos);\n });\n $(document).on('mouseup pointerup MSPointerUp', function () {\n $(element).off('mousemove pointermove MSPointerMove');\n });\n });\n }\n\n $.extend(config.magnifierOpts, {\n zoomable: false,\n thumb: '.fotorama__img',\n largeWrapper: '[data-gallery-role=\"magnifier\"]',\n height: config.magnifierOpts.height || function () {\n return $('[data-active=\"true\"]').height();\n },\n width: config.magnifierOpts.width || function () {\n var productMedia = $(gallerySelector).parent().parent();\n\n return productMedia.parent().width() - productMedia.width() - 20;\n },\n left: config.magnifierOpts.left || function () {\n return $(gallerySelector).offset().left + $(gallerySelector).width() + 20;\n },\n top: config.magnifierOpts.top || function () {\n return $(gallerySelector).offset().top;\n }\n });\n\n $(element).on('fotorama:load fotorama:showend fotorama:fullscreenexit fotorama:ready', function (e, fotorama) {\n var $activeStageFrame = $(gallerySelector).data('fotorama').activeFrame.$stageFrame;\n\n if (!$activeStageFrame.find(magnifierZoomSelector).length) {\n hideMagnifier();\n\n if (config.magnifierOpts) {\n config.magnifierOpts.large = $(gallerySelector).data('fotorama').activeFrame.img;\n config.magnifierOpts.full = fotorama.data[fotorama.activeIndex].original;\n !checkForVideo($activeStageFrame) && $($activeStageFrame).magnify(config.magnifierOpts);\n }\n }\n });\n\n $(element).on('gallery:loaded', function (e) {\n var $prevImage;\n\n $(element).find(gallerySelector)\n .on('fotorama:ready', function (e, fotorama) {\n var $zoomIn = $(zoomInButtonSelector),\n $zoomOut = $(zoomOutButtonSelector);\n\n if (!$zoomIn.hasClass(zoomInLoaded)) {\n $zoomIn.on('click touchstart', zoomIn);\n $zoomIn.on('mousedown', function (e) {\n e.stopPropagation();\n });\n\n $zoomIn.on('keyup', function (e) {\n\n if (e.keyCode === 13) {\n zoomIn(e);\n }\n });\n\n $(window).on('keyup', function (e) {\n\n if (e.keyCode === 107 || fotorama.fullscreen) {\n zoomIn(e);\n }\n });\n\n $zoomIn.addClass(zoomInLoaded);\n }\n\n if (!$zoomOut.hasClass(zoomOutLoaded)) {\n $zoomOut.on('click touchstart', zoomOut);\n $zoomOut.on('mousedown', function (e) {\n e.stopPropagation();\n });\n\n $zoomOut.on('keyup', function (e) {\n\n if (e.keyCode === 13) {\n zoomOut(e);\n }\n });\n\n $(window).on('keyup', function (e) {\n\n if (e.keyCode === 109 || fotorama.fullscreen) {\n zoomOut(e);\n }\n });\n\n $zoomOut.addClass(zoomOutLoaded);\n }\n })\n .on('fotorama:fullscreenenter fotorama:showend', function (e, fotorama) {\n hideMagnifier();\n\n if (!$(fullscreenImageSelector).is($prevImage)) {\n resetVars($(fullscreenImageSelector));\n }\n magnifierFullscreen(fotorama);\n mousewheel(e, fotorama, element);\n\n if ($prevImage) {\n calculateMinSize($prevImage);\n\n if (!$(fullscreenImageSelector).is($prevImage)) {\n resetVars($prevImage);\n }\n }\n\n toggleStandartNavigation();\n })\n .on('fotorama:load', function (e, fotorama) {\n if ($(gallerySelector).data('fotorama').fullScreen) {\n toggleZoomButtons($(fullscreenImageSelector), isTouchEnabled,\n checkForVideo(fotorama.activeFrame.$stageFrame));\n }\n magnifierFullscreen(fotorama);\n })\n .on('fotorama:show', function (e, fotorama) {\n $prevImage = _.clone($(fullscreenImageSelector));\n hideMagnifier();\n })\n .on('fotorama:fullscreenexit', function (e, fotorama) {\n resetVars($(fullscreenImageSelector));\n hideMagnifier();\n hideZoomControls(true);\n });\n });\n\n return config;\n };\n});\n","magnifier/magnifier.js":"/**\n * Copyright \u00a9 Magento, Inc. All rights reserved.\n * See COPYING.txt for license details.\n */\n\n(function ($) {\n $.fn.magnify = function (options) {\n 'use strict';\n\n var magnify = new Magnify($(this), options);\n\n /* events must be tracked here */\n\n /**\n * Return that from _init function\n *\n */\n return magnify;\n };\n\n function Magnify(element, options) {\n var customUserOptions = options || {},\n $box = $(element),\n $thumb,\n that = this,\n largeWrapper = options.largeWrapper || '.magnifier-preview',\n $magnifierPreview = $(largeWrapper);\n\n curThumb = null,\n magnifierOptions = {\n x: 0,\n y: 0,\n w: 0,\n h: 0,\n lensW: 0,\n lensH: 0,\n lensBgX: 0,\n lensBgY: 0,\n largeW: 0,\n largeH: 0,\n largeL: 0,\n largeT: 0,\n zoom: 2,\n zoomMin: 1.1,\n zoomMax: 5,\n mode: 'outside',\n eventType: 'click',\n status: 0,\n zoomAttached: false,\n zoomable: customUserOptions.zoomable !== undefined ?\n customUserOptions.zoomable\n : false,\n onthumbenter: customUserOptions.onthumbenter !== undefined ?\n customUserOptions.onthumbenter\n : null,\n onthumbmove: customUserOptions.onthumbmove !== undefined ?\n customUserOptions.onthumbmove\n : null,\n onthumbleave: customUserOptions.onthumbleave !== undefined ?\n customUserOptions.onthumbleave\n : null,\n onzoom: customUserOptions.onzoom !== undefined ?\n customUserOptions.onzoom\n : null\n },\n pos = {\n t: 0,\n l: 0,\n x: 0,\n y: 0\n },\n gId = 0,\n status = 0,\n curIdx = '',\n curLens = null,\n curLarge = null,\n lensbg = customUserOptions.bg !== undefined ?\n customUserOptions.lensbg\n : true,\n gZoom = customUserOptions.zoom !== undefined ?\n customUserOptions.zoom\n : magnifierOptions.zoom,\n gZoomMin = customUserOptions.zoomMin !== undefined ?\n customUserOptions.zoomMin\n : magnifierOptions.zoomMin,\n gZoomMax = customUserOptions.zoomMax !== undefined ?\n customUserOptions.zoomMax\n : magnifierOptions.zoomMax,\n gMode = customUserOptions.mode || magnifierOptions.mode,\n gEventType = customUserOptions.eventType || magnifierOptions.eventType,\n data = {},\n inBounds = false,\n isOverThumb = false,\n rate = 1,\n paddingX = 0,\n paddingY = 0,\n enabled = true,\n showWrapper = true;\n\n var MagnifyCls = {\n magnifyHidden: 'magnify-hidden',\n magnifyOpaque: 'magnify-opaque',\n magnifyFull: 'magnify-fullimage'\n };\n\n /**\n * Update Lens positon on.\n *\n */\n that.update = function () {\n updateLensOnLoad();\n };\n\n /**\n * Init new Magnifier\n *\n */\n that.init = function () {\n _init($box, options);\n };\n\n function _toBoolean(str) {\n if (typeof str === 'string') {\n if (str === 'true') {\n return true;\n } else if (str === 'false' || '') {\n return false;\n }\n console.warn('Wrong type: can\\'t be transformed to Boolean');\n\n } else if (typeof str === 'boolean') {\n return str;\n }\n }\n\n function createLens(thumb) {\n if ($(thumb).siblings('.magnify-lens').length) {\n return false;\n }\n var lens = $('<div class=\"magnify-lens magnify-hidden\" data-gallery-role=\"magnifier-zoom\"></div>');\n\n $(thumb).parent().append(lens);\n }\n\n function updateLensOnLoad(idSelectorMainImg, thumb, largeImgInMagnifyLens, largeWrapper) {\n var magnifyLensElement= $box.find('.magnify-lens'),\n textWrapper;\n\n if (data[idSelectorMainImg].status === 1) {\n textWrapper = $('<div class=\"magnifier-loader-text\"></div>');\n magnifyLensElement.className = 'magnifier-loader magnify-hidden';\n textWrapper.html('Loading...');\n magnifyLensElement.html('').append(textWrapper);\n } else if (data[idSelectorMainImg].status === 2) {\n magnifyLensElement.addClass(MagnifyCls.magnifyHidden);\n magnifyLensElement.html('');\n\n largeImgInMagnifyLens.id = idSelectorMainImg + '-large';\n largeImgInMagnifyLens.style.width = data[idSelectorMainImg].largeImgInMagnifyLensWidth + 'px';\n largeImgInMagnifyLens.style.height = data[idSelectorMainImg].largeImgInMagnifyLensHeight + 'px';\n largeImgInMagnifyLens.className = 'magnifier-large magnify-hidden';\n\n if (data[idSelectorMainImg].mode === 'inside') {\n magnifyLensElement.append(largeImgInMagnifyLens);\n } else {\n largeWrapper.html('').append(largeImgInMagnifyLens);\n }\n }\n\n data[idSelectorMainImg].lensH = data[idSelectorMainImg].lensH > $thumb.height() ? $thumb.height() : data[idSelectorMainImg].lensH;\n\n if (Math.round(data[idSelectorMainImg].lensW) === 0) {\n magnifyLensElement.css('display', 'none');\n } else {\n magnifyLensElement.css({\n width: Math.round(data[idSelectorMainImg].lensW) + 'px',\n height: Math.round(data[idSelectorMainImg].lensH) + 'px',\n display: ''\n });\n }\n }\n\n function getMousePos() {\n var xPos = pos.x - magnifierOptions.x,\n yPos = pos.y - magnifierOptions.y,\n t,\n l;\n\n inBounds = xPos < 0 || yPos < 0 || xPos > magnifierOptions.w || yPos > magnifierOptions.h ? false : true;\n\n l = xPos - magnifierOptions.lensW / 2;\n t = yPos - magnifierOptions.lensH / 2;\n\n if (xPos < magnifierOptions.lensW / 2) {\n l = 0;\n }\n\n if (yPos < magnifierOptions.lensH / 2) {\n t = 0;\n }\n\n if (xPos - magnifierOptions.w + Math.ceil(magnifierOptions.lensW / 2) > 0) {\n l = magnifierOptions.w - Math.ceil(magnifierOptions.lensW + 2);\n }\n\n if (yPos - magnifierOptions.h + Math.ceil(magnifierOptions.lensH / 2) > 0) {\n t = magnifierOptions.h - Math.ceil(magnifierOptions.lensH);\n }\n\n pos.l = l;\n pos.t = t;\n\n magnifierOptions.lensBgX = pos.l;\n magnifierOptions.lensBgY = pos.t;\n\n if (magnifierOptions.mode === 'inside') {\n magnifierOptions.largeL = Math.round(xPos * (magnifierOptions.zoom - magnifierOptions.lensW / magnifierOptions.w));\n magnifierOptions.largeT = Math.round(yPos * (magnifierOptions.zoom - magnifierOptions.lensH / magnifierOptions.h));\n } else {\n magnifierOptions.largeL = Math.round(magnifierOptions.lensBgX * magnifierOptions.zoom * (magnifierOptions.largeWrapperW / magnifierOptions.w));\n magnifierOptions.largeT = Math.round(magnifierOptions.lensBgY * magnifierOptions.zoom * (magnifierOptions.largeWrapperH / magnifierOptions.h));\n }\n }\n\n function onThumbEnter() {\n if (_toBoolean(enabled)) {\n magnifierOptions = data[curIdx];\n curLens = $box.find('.magnify-lens');\n\n if (magnifierOptions.status === 2) {\n curLens.removeClass(MagnifyCls.magnifyOpaque);\n curLarge = $('#' + curIdx + '-large');\n curLarge.removeClass(MagnifyCls.magnifyHidden);\n } else if (magnifierOptions.status === 1) {\n curLens.className = 'magnifier-loader';\n }\n }\n }\n\n function onThumbLeave() {\n if (magnifierOptions.status > 0) {\n var handler = magnifierOptions.onthumbleave;\n\n if (handler !== null) {\n handler({\n thumb: curThumb,\n lens: curLens,\n large: curLarge,\n x: pos.x,\n y: pos.y\n });\n }\n\n if (!curLens.hasClass(MagnifyCls.magnifyHidden)) {\n curLens.addClass(MagnifyCls.magnifyHidden);\n\n //$curThumb.removeClass(MagnifyCls.magnifyOpaque);\n if (curLarge !== null) {\n curLarge.addClass(MagnifyCls.magnifyHidden);\n }\n }\n }\n }\n\n function move() {\n if (_toBoolean(enabled)) {\n if (status !== magnifierOptions.status) {\n onThumbEnter();\n }\n\n if (magnifierOptions.status > 0) {\n curThumb.className = magnifierOptions.thumbCssClass + ' magnify-opaque';\n\n if (magnifierOptions.status === 1) {\n curLens.className = 'magnifier-loader';\n } else if (magnifierOptions.status === 2) {\n curLens.removeClass(MagnifyCls.magnifyHidden);\n curLarge.removeClass(MagnifyCls.magnifyHidden);\n curLarge.css({\n left: '-' + magnifierOptions.largeL + 'px',\n top: '-' + magnifierOptions.largeT + 'px'\n });\n }\n\n var borderOffset = 2; // Offset for magnify-lens border\n pos.t = pos.t <= 0 ? 0 : pos.t - borderOffset;\n\n curLens.css({\n left: pos.l + paddingX + 'px',\n top: pos.t + paddingY + 'px'\n });\n\n if (lensbg) {\n curLens.css({\n 'background-color': 'rgba(f,f,f,.5)'\n });\n } else {\n curLens.get(0).style.backgroundPosition = '-' +\n magnifierOptions.lensBgX + 'px -' +\n magnifierOptions.lensBgY + 'px';\n }\n var handler = magnifierOptions.onthumbmove;\n\n if (handler !== null) {\n handler({\n thumb: curThumb,\n lens: curLens,\n large: curLarge,\n x: pos.x,\n y: pos.y\n });\n }\n }\n\n status = magnifierOptions.status;\n }\n }\n\n function setThumbData(mainImage, mainImageData) {\n var thumbBounds = mainImage.getBoundingClientRect(),\n w = 0,\n h = 0;\n\n mainImageData.x = Math.round(thumbBounds.left);\n mainImageData.y = Math.round(thumbBounds.top);\n mainImageData.w = Math.round(thumbBounds.right - mainImageData.x);\n mainImageData.h = Math.round(thumbBounds.bottom - mainImageData.y);\n\n if (mainImageData.mode === 'inside') {\n w = mainImageData.w;\n h = mainImageData.h;\n } else {\n w = mainImageData.largeWrapperW;\n h = mainImageData.largeWrapperH;\n }\n\n mainImageData.largeImgInMagnifyLensWidth = Math.round(mainImageData.zoom * w);\n mainImageData.largeImgInMagnifyLensHeight = Math.round(mainImageData.zoom * h);\n\n mainImageData.lensW = Math.round(mainImageData.w / mainImageData.zoom);\n mainImageData.lensH = Math.round(mainImageData.h / mainImageData.zoom);\n }\n\n function _init($box, options) {\n var opts = {};\n\n if (options.thumb === undefined) {\n return false;\n }\n\n $thumb = $box.find(options.thumb);\n\n if ($thumb.length) {\n for (var key in options) {\n opts[key] = options[key];\n }\n\n opts.thumb = $thumb;\n enabled = opts.enabled;\n\n if (_toBoolean(enabled)) {\n\n $magnifierPreview.show().css('display', '');\n $magnifierPreview.addClass(MagnifyCls.magnifyHidden);\n set(opts);\n } else {\n $magnifierPreview.empty().hide();\n }\n }\n\n return that;\n }\n\n function hoverEvents(thumb) {\n $(thumb).on('mouseover', function (e) {\n\n if (showWrapper) {\n\n if (magnifierOptions.status !== 0) {\n onThumbLeave();\n }\n handleEvents(e);\n isOverThumb = inBounds;\n }\n }).trigger('mouseover');\n }\n\n function clickEvents(thumb) {\n $(thumb).on('click', function (e) {\n\n if (showWrapper) {\n if (!isOverThumb) {\n if (magnifierOptions.status !== 0) {\n onThumbLeave();\n }\n handleEvents(e);\n isOverThumb = true;\n }\n }\n });\n }\n\n function bindEvents(eType, thumb) {\n var eventFlag = 'hasBoundEvent_' + eType;\n if (thumb[eventFlag]) {\n // Events are already bound, no need to bind in duplicate\n return;\n }\n thumb[eventFlag] = true;\n\n switch (eType) {\n case 'hover':\n hoverEvents(thumb);\n break;\n\n case 'click':\n clickEvents(thumb);\n break;\n }\n }\n\n function handleEvents(e) {\n var src = e.target;\n\n curIdx = src.id;\n curThumb = src;\n\n onThumbEnter(src);\n\n setThumbData(curThumb, magnifierOptions);\n\n pos.x = e.clientX;\n pos.y = e.clientY;\n\n getMousePos();\n move();\n\n var handler = magnifierOptions.onthumbenter;\n\n if (handler !== null) {\n handler({\n thumb: curThumb,\n lens: curLens,\n large: curLarge,\n x: pos.x,\n y: pos.y\n });\n }\n }\n\n function set(options) {\n if (data[options.thumb.id] !== undefined) {\n curThumb = options.thumb;\n\n return false;\n }\n\n var thumbObj = new Image(),\n largeObj = new Image(),\n $thumb = options.thumb,\n thumb = $thumb.get(0),\n idx = thumb.id,\n largeUrl,\n largeWrapper = $(options.largeWrapper),\n zoom = options.zoom || thumb.getAttribute('data-zoom') || gZoom,\n zoomMin = options.zoomMin || gZoomMin,\n zoomMax = options.zoomMax || gZoomMax,\n mode = options.mode || thumb.getAttribute('data-mode') || gMode,\n eventType = options.eventType || thumb.getAttribute('data-eventType') || gEventType,\n onthumbenter = options.onthumbenter !== undefined ?\n options.onthumbenter\n : magnifierOptions.onthumbenter,\n onthumbleave = options.onthumbleave !== undefined ?\n options.onthumbleave\n : magnifierOptions.onthumbleave,\n onthumbmove = options.onthumbmove !== undefined ?\n options.onthumbmove\n : magnifierOptions.onthumbmove;\n\n largeUrl = $thumb.data('original') || customUserOptions.full || $thumb.attr('src');\n\n if (thumb.id === '') {\n idx = thumb.id = 'magnifier-item-' + gId;\n gId += 1;\n }\n\n createLens(thumb, idx);\n\n if (options.width) {\n largeWrapper.width(options.width);\n }\n\n if (options.height) {\n largeWrapper.height(options.height);\n }\n\n if (options.top) {\n if (typeof options.top == 'function') {\n var top = options.top() + 'px';\n } else {\n var top = options.top + 'px';\n }\n\n if (largeWrapper.length) {\n largeWrapper[0].style.top = top.replace('%px', '%');\n }\n }\n\n if (options.left) {\n if (typeof options.left == 'function') {\n var left = options.left() + 'px';\n } else {\n var left = options.left + 'px';\n }\n\n if (largeWrapper.length) {\n largeWrapper[0].style.left = left.replace('%px', '%');\n }\n }\n\n data[idx] = {\n zoom: zoom,\n zoomMin: zoomMin,\n zoomMax: zoomMax,\n mode: mode,\n eventType: eventType,\n thumbCssClass: thumb.className,\n zoomAttached: false,\n status: 0,\n largeUrl: largeUrl,\n largeWrapperId: mode === 'outside' ? largeWrapper.attr('id') : null,\n largeWrapperW: mode === 'outside' ? largeWrapper.width() : null,\n largeWrapperH: mode === 'outside' ? largeWrapper.height() : null,\n onthumbenter: onthumbenter,\n onthumbleave: onthumbleave,\n onthumbmove: onthumbmove\n };\n\n paddingX = ($thumb.parent().width() - $thumb.width()) / 2;\n paddingY = ($thumb.parent().height() - $thumb.height()) / 2;\n\n showWrapper = false;\n $(thumbObj).on('load', function () {\n if (data.length > 0) {\n data[idx].status = 1;\n\n $(largeObj).on('load', function () {\n\n if (largeObj.width > largeWrapper.width() || largeObj.height > largeWrapper.height()) {\n showWrapper = true;\n bindEvents(eventType, thumb);\n data[idx].status = 2;\n if (largeObj.width > largeObj.height) {\n data[idx].zoom = largeObj.width / largeWrapper.width();\n } else {\n data[idx].zoom = largeObj.height / largeWrapper.height();\n }\n setThumbData(thumb, data[idx]);\n updateLensOnLoad(idx, thumb, largeObj, largeWrapper);\n }\n });\n\n largeObj.src = data[idx].largeUrl;\n }\n });\n\n thumbObj.src = thumb.src;\n }\n\n /**\n * Hide magnifier when mouse exceeds image bounds.\n */\n function onMouseLeave() {\n onThumbLeave();\n isOverThumb = false;\n $magnifierPreview.addClass(MagnifyCls.magnifyHidden);\n }\n\n function onMousemove(e) {\n pos.x = e.clientX;\n pos.y = e.clientY;\n\n getMousePos();\n\n if (gEventType === 'hover') {\n isOverThumb = inBounds;\n }\n\n if (inBounds && isOverThumb) {\n if (gMode === 'outside') {\n $magnifierPreview.removeClass(MagnifyCls.magnifyHidden);\n }\n move();\n }\n }\n\n function onScroll() {\n if (curThumb !== null) {\n setThumbData(curThumb, magnifierOptions);\n }\n }\n\n $(window).on('scroll', onScroll);\n $(window).on('resize', function () {\n _init($box, customUserOptions);\n });\n\n $box.on('mousemove', onMousemove);\n $box.on('mouseleave', onMouseLeave);\n\n _init($box, customUserOptions);\n }\n}(jQuery));\n","knockoutjs/knockout-es5.js":"/*!\n * Knockout ES5 plugin - https://github.com/SteveSanderson/knockout-es5\n * Copyright (c) Steve Sanderson\n * MIT license\n */\n\n(function(global, undefined) {\n 'use strict';\n\n var ko;\n\n // Model tracking\n // --------------\n //\n // This is the central feature of Knockout-ES5. We augment model objects by converting properties\n // into ES5 getter/setter pairs that read/write an underlying Knockout observable. This means you can\n // use plain JavaScript syntax to read/write the property while still getting the full benefits of\n // Knockout's automatic dependency detection and notification triggering.\n //\n // For comparison, here's Knockout ES3-compatible syntax:\n //\n // var firstNameLength = myModel.user().firstName().length; // Read\n // myModel.user().firstName('Bert'); // Write\n //\n // ... versus Knockout-ES5 syntax:\n //\n // var firstNameLength = myModel.user.firstName.length; // Read\n // myModel.user.firstName = 'Bert'; // Write\n\n // `ko.track(model)` converts each property on the given model object into a getter/setter pair that\n // wraps a Knockout observable. Optionally specify an array of property names to wrap; otherwise we\n // wrap all properties. If any of the properties are already observables, we replace them with\n // ES5 getter/setter pairs that wrap your original observable instances. In the case of readonly\n // ko.computed properties, we simply do not define a setter (so attempted writes will be ignored,\n // which is how ES5 readonly properties normally behave).\n //\n // By design, this does *not* recursively walk child object properties, because making literally\n // everything everywhere independently observable is usually unhelpful. When you do want to track\n // child object properties independently, define your own class for those child objects and put\n // a separate ko.track call into its constructor --- this gives you far more control.\n /**\n * @param {object} obj\n * @param {object|array.<string>} propertyNamesOrSettings\n * @param {boolean} propertyNamesOrSettings.deep Use deep track.\n * @param {array.<string>} propertyNamesOrSettings.fields Array of property names to wrap.\n * todo: @param {array.<string>} propertyNamesOrSettings.exclude Array of exclude property names to wrap.\n * todo: @param {function(string, *):boolean} propertyNamesOrSettings.filter Function to filter property \n * names to wrap. A function that takes ... params\n * @return {object}\n */\n function track(obj, propertyNamesOrSettings) {\n if (!obj || typeof obj !== 'object') {\n throw new Error('When calling ko.track, you must pass an object as the first parameter.');\n }\n\n var propertyNames;\n\n if ( isPlainObject(propertyNamesOrSettings) ) {\n // defaults\n propertyNamesOrSettings.deep = propertyNamesOrSettings.deep || false;\n propertyNamesOrSettings.fields = propertyNamesOrSettings.fields || Object.getOwnPropertyNames(obj);\n propertyNamesOrSettings.lazy = propertyNamesOrSettings.lazy || false;\n\n wrap(obj, propertyNamesOrSettings.fields, propertyNamesOrSettings);\n } else {\n propertyNames = propertyNamesOrSettings || Object.getOwnPropertyNames(obj);\n wrap(obj, propertyNames, {});\n }\n\n return obj;\n }\n\n // fix for ie\n var rFunctionName = /^function\\s*([^\\s(]+)/;\n function getFunctionName( ctor ){\n if (ctor.name) {\n return ctor.name;\n }\n return (ctor.toString().trim().match( rFunctionName ) || [])[1];\n }\n\n function canTrack(obj) {\n return obj && typeof obj === 'object' && getFunctionName(obj.constructor) === 'Object';\n }\n\n function createPropertyDescriptor(originalValue, prop, map) {\n var isObservable = ko.isObservable(originalValue);\n var isArray = !isObservable && Array.isArray(originalValue);\n var observable = isObservable ? originalValue\n : isArray ? ko.observableArray(originalValue)\n : ko.observable(originalValue);\n\n map[prop] = function () { return observable; };\n\n // add check in case the object is already an observable array\n if (isArray || (isObservable && 'push' in observable)) {\n notifyWhenPresentOrFutureArrayValuesMutate(ko, observable);\n }\n\n return {\n configurable: true,\n enumerable: true,\n get: observable,\n set: ko.isWriteableObservable(observable) ? observable : undefined\n };\n }\n\n function createLazyPropertyDescriptor(originalValue, prop, map) {\n if (ko.isObservable(originalValue)) {\n // no need to be lazy if we already have an observable\n return createPropertyDescriptor(originalValue, prop, map);\n }\n\n var observable;\n\n function getOrCreateObservable(value, writing) {\n if (observable) {\n return writing ? observable(value) : observable;\n }\n\n if (Array.isArray(value)) {\n observable = ko.observableArray(value);\n notifyWhenPresentOrFutureArrayValuesMutate(ko, observable);\n return observable;\n }\n\n return (observable = ko.observable(value));\n }\n\n map[prop] = function () { return getOrCreateObservable(originalValue); };\n return {\n configurable: true,\n enumerable: true,\n get: function () { return getOrCreateObservable(originalValue)(); },\n set: function (value) { getOrCreateObservable(value, true); }\n };\n }\n\n function wrap(obj, props, options) {\n if (!props.length) {\n return;\n }\n\n var allObservablesForObject = getAllObservablesForObject(obj, true);\n var descriptors = {};\n\n props.forEach(function (prop) {\n // Skip properties that are already tracked\n if (prop in allObservablesForObject) {\n return;\n }\n\n // Skip properties where descriptor can't be redefined\n if (Object.getOwnPropertyDescriptor(obj, prop).configurable === false){\n return;\n }\n\n var originalValue = obj[prop];\n descriptors[prop] = (options.lazy ? createLazyPropertyDescriptor : createPropertyDescriptor)\n (originalValue, prop, allObservablesForObject);\n\n if (options.deep && canTrack(originalValue)) {\n wrap(originalValue, Object.keys(originalValue), options);\n }\n });\n\n Object.defineProperties(obj, descriptors);\n }\n\n function isPlainObject( obj ){\n return !!obj && typeof obj === 'object' && obj.constructor === Object;\n }\n\n // Lazily created by `getAllObservablesForObject` below. Has to be created lazily because the\n // WeakMap factory isn't available until the module has finished loading (may be async).\n var objectToObservableMap;\n\n // Gets or creates the hidden internal key-value collection of observables corresponding to\n // properties on the model object.\n function getAllObservablesForObject(obj, createIfNotDefined) {\n if (!objectToObservableMap) {\n objectToObservableMap = weakMapFactory();\n }\n\n var result = objectToObservableMap.get(obj);\n if (!result && createIfNotDefined) {\n result = {};\n objectToObservableMap.set(obj, result);\n }\n return result;\n }\n\n // Removes the internal references to observables mapped to the specified properties\n // or the entire object reference if no properties are passed in. This allows the\n // observables to be replaced and tracked again.\n function untrack(obj, propertyNames) {\n if (!objectToObservableMap) {\n return;\n }\n\n if (arguments.length === 1) {\n objectToObservableMap['delete'](obj);\n } else {\n var allObservablesForObject = getAllObservablesForObject(obj, false);\n if (allObservablesForObject) {\n propertyNames.forEach(function(propertyName) {\n delete allObservablesForObject[propertyName];\n });\n }\n }\n }\n\n // Computed properties\n // -------------------\n //\n // The preceding code is already sufficient to upgrade ko.computed model properties to ES5\n // getter/setter pairs (or in the case of readonly ko.computed properties, just a getter).\n // These then behave like a regular property with a getter function, except they are smarter:\n // your evaluator is only invoked when one of its dependencies changes. The result is cached\n // and used for all evaluations until the next time a dependency changes).\n //\n // However, instead of forcing developers to declare a ko.computed property explicitly, it's\n // nice to offer a utility function that declares a computed getter directly.\n\n // Implements `ko.defineProperty`\n function defineComputedProperty(obj, propertyName, evaluatorOrOptions) {\n var ko = this,\n computedOptions = { owner: obj, deferEvaluation: true };\n\n if (typeof evaluatorOrOptions === 'function') {\n computedOptions.read = evaluatorOrOptions;\n } else {\n if ('value' in evaluatorOrOptions) {\n throw new Error('For ko.defineProperty, you must not specify a \"value\" for the property. ' +\n 'You must provide a \"get\" function.');\n }\n\n if (typeof evaluatorOrOptions.get !== 'function') {\n throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, ' +\n 'or an options object containing a function called \"get\".');\n }\n\n computedOptions.read = evaluatorOrOptions.get;\n computedOptions.write = evaluatorOrOptions.set;\n }\n\n obj[propertyName] = ko.computed(computedOptions);\n track.call(ko, obj, [propertyName]);\n return obj;\n }\n\n // Array handling\n // --------------\n //\n // Arrays are special, because unlike other property types, they have standard mutator functions\n // (`push`/`pop`/`splice`/etc.) and it's desirable to trigger a change notification whenever one of\n // those mutator functions is invoked.\n //\n // Traditionally, Knockout handles this by putting special versions of `push`/`pop`/etc. on observable\n // arrays that mutate the underlying array and then trigger a notification. That approach doesn't\n // work for Knockout-ES5 because properties now return the underlying arrays, so the mutator runs\n // in the context of the underlying array, not any particular observable:\n //\n // // Operates on the underlying array value\n // myModel.someCollection.push('New value');\n //\n // To solve this, Knockout-ES5 detects array values, and modifies them as follows:\n // 1. Associates a hidden subscribable with each array instance that it encounters\n // 2. Intercepts standard mutators (`push`/`pop`/etc.) and makes them trigger the subscribable\n // Then, for model properties whose values are arrays, the property's underlying observable\n // subscribes to the array subscribable, so it can trigger a change notification after mutation.\n\n // Given an observable that underlies a model property, watch for any array value that might\n // be assigned as the property value, and hook into its change events\n function notifyWhenPresentOrFutureArrayValuesMutate(ko, observable) {\n var watchingArraySubscription = null;\n ko.computed(function () {\n // Unsubscribe to any earlier array instance\n if (watchingArraySubscription) {\n watchingArraySubscription.dispose();\n watchingArraySubscription = null;\n }\n\n // Subscribe to the new array instance\n var newArrayInstance = observable();\n if (newArrayInstance instanceof Array) {\n watchingArraySubscription = startWatchingArrayInstance(ko, observable, newArrayInstance);\n }\n });\n }\n\n // Listens for array mutations, and when they happen, cause the observable to fire notifications.\n // This is used to make model properties of type array fire notifications when the array changes.\n // Returns a subscribable that can later be disposed.\n function startWatchingArrayInstance(ko, observable, arrayInstance) {\n var subscribable = getSubscribableForArray(ko, arrayInstance);\n return subscribable.subscribe(observable);\n }\n\n // Lazily created by `getSubscribableForArray` below. Has to be created lazily because the\n // WeakMap factory isn't available until the module has finished loading (may be async).\n var arraySubscribablesMap;\n\n // Gets or creates a subscribable that fires after each array mutation\n function getSubscribableForArray(ko, arrayInstance) {\n if (!arraySubscribablesMap) {\n arraySubscribablesMap = weakMapFactory();\n }\n\n var subscribable = arraySubscribablesMap.get(arrayInstance);\n if (!subscribable) {\n subscribable = new ko.subscribable();\n arraySubscribablesMap.set(arrayInstance, subscribable);\n\n var notificationPauseSignal = {};\n wrapStandardArrayMutators(arrayInstance, subscribable, notificationPauseSignal);\n addKnockoutArrayMutators(ko, arrayInstance, subscribable, notificationPauseSignal);\n }\n\n return subscribable;\n }\n\n // After each array mutation, fires a notification on the given subscribable\n function wrapStandardArrayMutators(arrayInstance, subscribable, notificationPauseSignal) {\n ['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'].forEach(function(fnName) {\n var origMutator = arrayInstance[fnName];\n arrayInstance[fnName] = function() {\n var result = origMutator.apply(this, arguments);\n if (notificationPauseSignal.pause !== true) {\n subscribable.notifySubscribers(this);\n }\n return result;\n };\n });\n }\n\n // Adds Knockout's additional array mutation functions to the array\n function addKnockoutArrayMutators(ko, arrayInstance, subscribable, notificationPauseSignal) {\n ['remove', 'removeAll', 'destroy', 'destroyAll', 'replace'].forEach(function(fnName) {\n // Make it a non-enumerable property for consistency with standard Array functions\n Object.defineProperty(arrayInstance, fnName, {\n enumerable: false,\n value: function() {\n var result;\n\n // These additional array mutators are built using the underlying push/pop/etc.\n // mutators, which are wrapped to trigger notifications. But we don't want to\n // trigger multiple notifications, so pause the push/pop/etc. wrappers and\n // delivery only one notification at the end of the process.\n notificationPauseSignal.pause = true;\n try {\n // Creates a temporary observableArray that can perform the operation.\n result = ko.observableArray.fn[fnName].apply(ko.observableArray(arrayInstance), arguments);\n }\n finally {\n notificationPauseSignal.pause = false;\n }\n subscribable.notifySubscribers(arrayInstance);\n return result;\n }\n });\n });\n }\n\n // Static utility functions\n // ------------------------\n //\n // Since Knockout-ES5 sets up properties that return values, not observables, you can't\n // trivially subscribe to the underlying observables (e.g., `someProperty.subscribe(...)`),\n // or tell them that object values have mutated, etc. To handle this, we set up some\n // extra utility functions that can return or work with the underlying observables.\n\n // Returns the underlying observable associated with a model property (or `null` if the\n // model or property doesn't exist, or isn't associated with an observable). This means\n // you can subscribe to the property, e.g.:\n //\n // ko.getObservable(model, 'propertyName')\n // .subscribe(function(newValue) { ... });\n function getObservable(obj, propertyName) {\n if (!obj || typeof obj !== 'object') {\n return null;\n }\n\n var allObservablesForObject = getAllObservablesForObject(obj, false);\n if (allObservablesForObject && propertyName in allObservablesForObject) {\n return allObservablesForObject[propertyName]();\n }\n\n return null;\n }\n \n // Returns a boolean indicating whether the property on the object has an underlying\n // observables. This does the check in a way not to create an observable if the\n // object was created with lazily created observables\n function isTracked(obj, propertyName) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n \n var allObservablesForObject = getAllObservablesForObject(obj, false);\n return !!allObservablesForObject && propertyName in allObservablesForObject;\n }\n\n // Causes a property's associated observable to fire a change notification. Useful when\n // the property value is a complex object and you've modified a child property.\n function valueHasMutated(obj, propertyName) {\n var observable = getObservable(obj, propertyName);\n\n if (observable) {\n observable.valueHasMutated();\n }\n }\n\n // Module initialisation\n // ---------------------\n //\n // When this script is first evaluated, it works out what kind of module loading scenario\n // it is in (Node.js or a browser `<script>` tag), stashes a reference to its dependencies\n // (currently that's just the WeakMap shim), and then finally attaches itself to whichever\n // instance of Knockout.js it can find.\n\n // A function that returns a new ES6-compatible WeakMap instance (using ES5 shim if needed).\n // Instantiated by prepareExports, accounting for which module loader is being used.\n var weakMapFactory;\n\n // Extends a Knockout instance with Knockout-ES5 functionality\n function attachToKo(ko) {\n ko.track = track;\n ko.untrack = untrack;\n ko.getObservable = getObservable;\n ko.valueHasMutated = valueHasMutated;\n ko.defineProperty = defineComputedProperty;\n\n // todo: test it, maybe added it to ko. directly\n ko.es5 = {\n getAllObservablesForObject: getAllObservablesForObject,\n notifyWhenPresentOrFutureArrayValuesMutate: notifyWhenPresentOrFutureArrayValuesMutate,\n isTracked: isTracked\n };\n }\n\n // Determines which module loading scenario we're in, grabs dependencies, and attaches to KO\n function prepareExports() {\n if (typeof exports === 'object' && typeof module === 'object') {\n // Node.js case - load KO and WeakMap modules synchronously\n ko = require('knockout');\n var WM = require('../lib/weakmap');\n attachToKo(ko);\n weakMapFactory = function() { return new WM(); };\n module.exports = ko;\n } else if (typeof define === 'function' && define.amd) {\n define(['knockout'], function(koModule) {\n ko = koModule;\n attachToKo(koModule);\n weakMapFactory = function() { return new global.WeakMap(); };\n return koModule;\n });\n } else if ('ko' in global) {\n // Non-module case - attach to the global instance, and assume a global WeakMap constructor\n ko = global.ko;\n attachToKo(global.ko);\n weakMapFactory = function() { return new global.WeakMap(); };\n }\n }\n\n prepareExports();\n\n})(this);"} }});