Rebuild...
authorThierry Florac <tflorac@ulthar.net>
Wed, 05 Dec 2018 16:21:23 +0100
changeset 475 79ae32c82e3e
parent 473 ca7ba7882abe
child 476 f49add1e0616
Rebuild...
src/pyams_skin/resources/css/ext/bootstrap-modal.min.css
src/pyams_skin/resources/css/ext/jquery-fancybox-2.1.5.min.css
src/pyams_skin/resources/css/ext/jquery-tipsy.min.css
src/pyams_skin/resources/js/ext/bootstrap-modal.min.js
src/pyams_skin/resources/js/ext/bootstrap-modalmanager.min.js
src/pyams_skin/resources/js/ext/bootstrap-slider-2.0.0.min.js
src/pyams_skin/resources/js/ext/bootstrap-wizard-1.4.2.min.js
src/pyams_skin/resources/js/ext/flot/jquery.colorhelpers.min.js
src/pyams_skin/resources/js/ext/flot/jquery.flot.categories.min.js
src/pyams_skin/resources/js/ext/flot/jquery.flot.fillbetween.min.js
src/pyams_skin/resources/js/ext/flot/jquery.flot.navigate.min.js
src/pyams_skin/resources/js/ext/flot/jquery.flot.stack.min.js
src/pyams_skin/resources/js/ext/flot/jquery.flot.threshold.min.js
src/pyams_skin/resources/js/ext/flot/jquery.flot.tooltip.min.js
src/pyams_skin/resources/js/ext/jquery-2.2.4.min.js
src/pyams_skin/resources/js/ext/jquery-color-2.1.2.min.js
src/pyams_skin/resources/js/ext/jquery-dataTables-colReorderWithResize.min.js
src/pyams_skin/resources/js/ext/jquery-dataTables-fixedColumns.min.js
src/pyams_skin/resources/js/ext/jquery-dataTables-keyTable.min.js
src/pyams_skin/resources/js/ext/jquery-dataTables-rowGrouping.min.js
src/pyams_skin/resources/js/ext/jquery-fancybox-2.1.5.min.js
src/pyams_skin/resources/js/ext/jquery-jsonrpc.min.js
src/pyams_skin/resources/js/ext/jquery-maskedinput-1.4.1.min.js
src/pyams_skin/resources/js/ext/jquery-typeahead.min.js
src/pyams_skin/resources/js/ext/jquery-validate-1.17.0.min.js
src/pyams_skin/resources/js/ext/jquery-xmlrpc.min.js
src/pyams_skin/resources/js/ext/tinymce/dev/jquery.tinymce.min.js
src/pyams_skin/resources/js/ext/tinymce/dev/langs/fr.min.js
src/pyams_skin/resources/js/ext/tinymce/dev/tinymce.min.js
src/pyams_skin/resources/js/myams-dataTables.min.js
src/pyams_skin/resources/js/myams-graphs.min.js
src/pyams_skin/resources/js/myams-notify.min.js
--- a/src/pyams_skin/resources/css/ext/bootstrap-modal.min.css	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/css/ext/bootstrap-modal.min.css	Wed Dec 05 16:21:23 2018 +0100
@@ -13,4 +13,4 @@
  * Licensed under the Apache License v2.0
  * http://www.apache.org/licenses/LICENSE-2.0
  *
- */.modal-open{overflow:hidden}.modal-open.page-overflow .page-container,.modal-open.page-overflow .page-container .navbar-fixed-top,.modal-open.page-overflow .page-container .navbar-fixed-bottom,.modal-open.page-overflow .modal-scrollable{overflow-y:hidden}@media(max-width:979px){.modal-open.page-overflow .page-container .navbar-fixed-top,.modal-open.page-overflow .page-container .navbar-fixed-bottom{overflow-y:visible}}.modal-scrollable{position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.modal{outline:0;position:absolute;margin-top:0;top:50%;overflow:visible}.modal.fade{top:-100%;-webkit-transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out;transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out}.modal.fade.in{top:50%}.modal.in .modal-dialog{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.modal-body{max-height:none;overflow:visible}.modal.modal-absolute{position:absolute;z-index:950}.modal .loading-mask{position:absolute;top:0;bottom:0;left:0;right:0;background:#fff;border-radius:6px}.modal-backdrop.modal-absolute{position:absolute;z-index:940}.modal-backdrop,.modal-backdrop.fade.in{opacity:.7;filter:alpha(opacity=70);background:#555}.modal.container{width:940px;margin-left:-470px}.modal-overflow.modal{top:1%}.modal-overflow.modal.fade{top:-100%}.modal-overflow.modal.fade.in{top:1%}.modal-overflow .modal-body{overflow:auto;-webkit-overflow-scrolling:touch}@media(min-width:1200px){.modal.container{width:1170px;margin-left:-585px}}@media(max-width:979px){.modal,.modal.container,.modal.modal-overflow{top:1%;right:1%;left:1%;bottom:auto;width:auto!important;height:auto!important;margin:0!important;padding:0!important}.modal.fade.in,.modal.container.fade.in,.modal.modal-overflow.fade.in{top:1%;bottom:auto}.modal-body,.modal-overflow .modal-body{position:static;margin:0;height:auto!important;max-height:none!important;overflow:visible!important}.modal-footer,.modal-overflow .modal-footer{position:static}}.loading-spinner{position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px}
\ No newline at end of file
+ */.modal-open{overflow:hidden}.modal-open.page-overflow .modal-scrollable,.modal-open.page-overflow .page-container,.modal-open.page-overflow .page-container .navbar-fixed-bottom,.modal-open.page-overflow .page-container .navbar-fixed-top{overflow-y:hidden}@media (max-width:979px){.modal-open.page-overflow .page-container .navbar-fixed-bottom,.modal-open.page-overflow .page-container .navbar-fixed-top{overflow-y:visible}}.modal-scrollable{position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.modal{outline:0;position:absolute;margin-top:0;top:50%;overflow:visible}.modal.fade{top:-100%;-webkit-transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out;transition:opacity .3s linear,top .3s ease-out,bottom .3s ease-out,margin-top .3s ease-out}.modal.fade.in{top:50%}.modal.in .modal-dialog{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.modal-body{max-height:none;overflow:visible}.modal.modal-absolute{position:absolute;z-index:950}.modal .loading-mask{position:absolute;top:0;bottom:0;left:0;right:0;background:#fff;border-radius:6px}.modal-backdrop.modal-absolute{position:absolute;z-index:940}.modal-backdrop,.modal-backdrop.fade.in{opacity:.7;background:#555}.modal.container{width:940px;margin-left:-470px}.modal-overflow.modal{top:1%}.modal-overflow.modal.fade{top:-100%}.modal-overflow.modal.fade.in{top:1%}.modal-overflow .modal-body{overflow:auto;-webkit-overflow-scrolling:touch}@media (min-width:1200px){.modal.container{width:1170px;margin-left:-585px}}@media (max-width:979px){.modal,.modal.container,.modal.modal-overflow{top:1%;right:1%;left:1%;bottom:auto;width:auto!important;height:auto!important;margin:0!important;padding:0!important}.modal.container.fade.in,.modal.fade.in,.modal.modal-overflow.fade.in{top:1%;bottom:auto}.modal-body,.modal-overflow .modal-body{position:static;margin:0;height:auto!important;max-height:none!important;overflow:visible!important}.modal-footer,.modal-overflow .modal-footer{position:static}}.loading-spinner{position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px}
--- a/src/pyams_skin/resources/css/ext/jquery-fancybox-2.1.5.min.css	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/css/ext/jquery-fancybox-2.1.5.min.css	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:0;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,0.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,0.5);box-shadow:0 10px 25px rgba(0,0,0,0.5)}.fancybox-outer,.fancybox-inner{position:relative}.fancybox-inner{overflow:hidden}.fancybox-inner .hidden-mask{position:absolute;width:100%;height:100%;opacity:.5;background:silver url(../../img/hidden.png) scroll no-repeat 50% 50%}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('../../img/fancybox/fancybox_sprite.png')}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:44px;height:44px;background:url('../../img/fancybox/fancybox_loading.gif') center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url('../../img/fancybox/blank.gif');-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible!important}.fancybox-lock{overflow:hidden!important;width:auto}.fancybox-lock body{overflow:hidden!important}.fancybox-lock-test{overflow-y:hidden!important}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url('../../img/fancybox/fancybox_overlay.png')}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,0.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#FFF;font-weight:bold;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,.8)}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('../../img/fancybox/fancybox_sprite@2x.png');background-size:44px 152px}#fancybox-loading div{background-image:url('../../img/fancybox/fancybox_loading@2x.gif');background-size:24px 24px}}#fancybox-buttons{position:fixed;left:0;width:100%;z-index:8050}#fancybox-buttons.top{top:10px}#fancybox-buttons.bottom{bottom:10px}#fancybox-buttons ul{display:block;width:166px;height:30px;margin:0 auto;padding:0;list-style:none;border:1px solid #111;border-radius:3px;-webkit-box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);-moz-box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);background:#323232;background:-moz-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#444),color-stop(50%,#343434),color-stop(50%,#292929),color-stop(100%,#333));background:-webkit-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-o-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-ms-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444',endColorstr='#222222',GradientType=0)}#fancybox-buttons ul li{float:left;margin:0;padding:0}#fancybox-buttons a{display:block;width:30px;height:30px;text-indent:-9999px;background-color:transparent;background-image:url('../../img/fancybox/fancybox-buttons.png');background-repeat:no-repeat;outline:0;opacity:.8}#fancybox-buttons a:hover{opacity:1}#fancybox-buttons a.btnPrev{background-position:5px 0}#fancybox-buttons a.btnNext{background-position:-33px 0;border-right:1px solid #3e3e3e}#fancybox-buttons a.btnPlay{background-position:0 -30px}#fancybox-buttons a.btnPlayOn{background-position:-30px -30px}#fancybox-buttons a.btnToggle{background-position:3px -60px;border-left:1px solid #111;border-right:1px solid #3e3e3e;width:35px}#fancybox-buttons a.btnToggleOn{background-position:-27px -60px}#fancybox-buttons a.btnClose{position:relative;border-left:1px solid #111;width:35px;right:0;top:0;background-position:-56px 0}#fancybox-buttons a.btnDisabled{opacity:.4;cursor:default}#fancybox-thumbs{position:fixed;left:0;width:100%;overflow:hidden;z-index:8050}#fancybox-thumbs.bottom{bottom:2px}#fancybox-thumbs.top{top:2px}#fancybox-thumbs ul{position:relative;list-style:none;margin:0;padding:0}#fancybox-thumbs ul li{float:left;padding:1px;opacity:.5}#fancybox-thumbs ul li.active{opacity:.75;padding:0;border:1px solid #fff}#fancybox-thumbs ul li:hover{opacity:1}#fancybox-thumbs ul li a{display:block;position:relative;overflow:hidden;border:1px solid #222;background:#111;outline:0}#fancybox-thumbs ul li img{display:block;position:relative;border:0;padding:0;max-width:none}
\ No newline at end of file
+/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */.fancybox-image,.fancybox-inner,.fancybox-nav,.fancybox-nav span,.fancybox-outer,.fancybox-skin,.fancybox-tmp,.fancybox-wrap,.fancybox-wrap iframe,.fancybox-wrap object{padding:0;margin:0;border:0;outline:0;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,.5);box-shadow:0 10px 25px rgba(0,0,0,.5)}.fancybox-inner,.fancybox-outer{position:relative}.fancybox-inner{overflow:hidden}.fancybox-inner .hidden-mask{position:absolute;width:100%;height:100%;opacity:.5;background:silver url(data:image/png;base64,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) scroll no-repeat 50% 50%}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-iframe,.fancybox-image{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}#fancybox-loading,.fancybox-close,.fancybox-next span,.fancybox-prev span{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAACYCAMAAACoAftQAAAAvVBMVEUAAAAAAAAAAAAODg4AAAAAAAAAAADNzc0BAQHZ2dkDAwMHBwcAAADf398CAgI/Pz8BAQEAAACCgoIcHBzl5eUAAAC/v7/x8fEGBgZnZ2cAAADs7OwGBgb4+Pg/Pz/Jycmenp5nZ2f39/eDg4MAAADQ0ND4+Piurq7a2tr8/Pzs7OwAAAD5+fn9/f3e3t4AAAD///9OTk7BwcE1NTWsrKyNjY2cnJx6enpdXV1oaGgsLCy6uroiIiLOzs5BQUFt3PCNAAAAL3RSTlMAAQMIDRIZHSMnLTpESFNVXWlpbG15en+HiZCWoaGssrO2vsDFydPU3uL4+fr9/Ywv6xsAAAQVSURBVHhe7JZbc6JMGIQXAUOQEMi3uMYkrmopZgqs5ujZ//+zvpdNzMsMlli1N3uRvtCbpzo9I+nmhyqN9OO6GNQ6Ha1SG0mcrhskXe90rvKE6kbX7r9MF4vp2887nfBrqPW0xJemD4w32e7jHIj2602SbNZ7Qfgd0zJLtgKi2B0+tSsE3h8u0RX7HGGfHWrK9oiIbrK69SiQHxTliO5VWtP0rrNEemhoj6muaYqx2XuGyJrwbgUKohhb3hIFM6wCC7Zm4+M5Zs5fpKNiTYndEOUHDFRYCeADLvGiy7DtL7E5/12gJPacalPlqEc2eoFAdmCa2UOGyOhoUuQgwo7PxCwJMGXYGcQMlyCVX3DchCkGs3V6h0iFgyUSZsuS6QQLGaYDhueUHxhf3RpzOqB8dRMcz84lf5FS9A1Ngi2PQm8PF7RBZOnEyqFnSC/BKX6bHQmucpB13mRzCJtTsPUowlpl14if2JifUXcwgeqdA2OLn1C+PdsbzCKkW0a3KeKxbbAxF4FJ9EgAaXGqyFORAuLZNrkMZNoNKnNS9PE5dpltFofjB4PJXIAk5rP/HMu4Ukmm7XjEkwLfc2yT66tJk7lp2T2H1LMtk2wVVsWpcE0SlW4DbeLE/xG3eRvfQv7Fptw4KvpDNRKLt1/3rZty/xbjrPef1+5D018ITYttkiTrfAUsrmzK3RTIT/woHxH3DaZl9h2rRH2aX0ydaYb1BVK1zNdA32RvNn7DkVmmoyeVJvYBMcdl5Vg2/lW0zpSbUNIKT12KLV8wVjsmNvGW63feU3qj86veGQmAA1e5qzbStNZdmVTlRzzbSjG+4+t4u1iqjxxjR6pczaiNBCCVXoGx25X7mUNGgJBHM/QsXWp+dk4U5xJjX4EXSM7ACcCxnnnm2zI8rxVoFgMr/lUwUpyNPvYVx/eRfaUSQzkzLWxEOVhiwynCAd2GvCm/2bquBPEo+LxnDv0YXdyfFOHQP+8EV/kY0enSorxyitoLxxwiabDRqDImWF2JJVBIeVNEk2HgsDGn7vkhcPy67lMOiBGF4AGS3tX8yYqAfb5eF/kRiMPX4cDjEDLd8wezJT4lwtHrMHBtbg6V9oLhYDYLw3A2eSVbn0elSdMCecFg+Ee0Kq7dlftLXSCrRxNE8lzH7hp0Nu3qpHQty7Ztq2sabHvtpb/SLauisVTye1O+N2Ubbxhu2xSAq6x1UwoAWfum8P3Gu5ZNYaUA2jaFJYCofVPYOWnZFD4TcLpxU1ZAnN24KRnfxQ2bshEE/Vub8r0p35vi/t9eHRoBDMNQDJUvMLkOkDMM+8D7b9cR+kOKLPy4juojnQeAkWWVAyLLLINVdovj44N8LOqi/3Djxo0bN5ZvdbWJuwHhrw2ILYdqBwDT2fEEXtrZFmVcCWLiAAAAAElFTkSuQmCC)}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:44px;height:44px;background:url(data:image/gif;base64,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) center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);-webkit-tap-highlight-color:transparent;z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible!important}.fancybox-lock{overflow:hidden!important;width:auto}.fancybox-lock body{overflow:hidden!important}.fancybox-lock-test{overflow-y:hidden!important}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpCMEM4NDgzQjlDRTNFMTExODE4NUVDOTdFQ0I0RDgxRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGREU5OEVCQzAzMjYxMUUyOTg5OURDMDlDRTJDMTc0RSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGREU5OEVCQjAzMjYxMUUyOTg5OURDMDlDRTJDMTc0RSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkIxQzg0ODNCOUNFM0UxMTE4MTg1RUM5N0VDQjREODFFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkIwQzg0ODNCOUNFM0UxMTE4MTg1RUM5N0VDQjREODFFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+s3YRAQAAABtJREFUeNpiFODh2cBABGBiIBKMKqSOQoAAAwBokQDs5F/8FAAAAABJRU5ErkJggg==)}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:0 0;background:rgba(0,0,0,.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#fff;font-weight:700;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,.8)}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){#fancybox-loading,.fancybox-close,.fancybox-next span,.fancybox-prev span{background-image:url(data:image/png;base64,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);background-size:44px 152px}#fancybox-loading div{background-image:url(data:image/gif;base64,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);background-size:24px 24px}}#fancybox-buttons{position:fixed;left:0;width:100%;z-index:8050}#fancybox-buttons.top{top:10px}#fancybox-buttons.bottom{bottom:10px}#fancybox-buttons ul{display:block;width:166px;height:30px;margin:0 auto;padding:0;list-style:none;border:1px solid #111;border-radius:3px;-webkit-box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);-moz-box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);background:#323232;background:-moz-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#444),color-stop(50%,#343434),color-stop(50%,#292929),color-stop(100%,#333));background:-webkit-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-o-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-ms-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%)}#fancybox-buttons ul li{float:left;margin:0;padding:0}#fancybox-buttons a{display:block;width:30px;height:30px;text-indent:-9999px;background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAMAAAAPdrEwAAAAvVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACoqKgAAABhYWEAAACKiooAAAAAAADj4+MAAADExMQAAABlZWWAgIAAAAAzMzMAAADg4OArKysAAADk5OR0dHRXV1dgYGCtra3u7u7Hx8eoqKjDw8P4+Pjv7++wsLD4+PjZ2dm/v7/Gxsb39/f5+fn5+fno6Oj6+vrb29vh4eHq6ur7+/vw8PD4+Pj29vb7+/v8/Pz////5+fn09PTy8vLw8PARO2GBAAAANnRSTlMAAQMFBwsOERUXHB8gJiguNzg9Pz8/Q0hLT1VWYGVoeH2IkaKkpKmxsrjExc3T1djc4uPw8vVWxhKTAAAC9ElEQVR4Xu2WXXeaQBCGgQUWiGCsibExiWk+bA0xNlZnP8D8/5/VQUp7FMYc95iLtjw3czHs45zx5bDWv05LS/gc7hewb5/txoOzR7bpP86aDeFMx/ZeNX+WTe7wResJutlE65ew2azPnb3qYK5V3e2iuXAXZnS7TWalb09LbEqttLrabfIpAKAbzQAw5Q3mLNcV38PtFeuKTNTdfi8VQiitFZa059fWheb1ep3nuRCg1NbSudKAp7CHT9TdLOqn2NqcTvsR21nXs1bYRHJEgNxaeiSh8P56gHAXvZoZ8e/w8G/zO2pYnTNrxz1VRU9Na2bL694LkVdyAXC2pc4Bqn1g98dNZ1c90aVaT2pqJ+ihW+TpU8l9ZFt/CB5ef7HKBZoTz941a5FvdkW5AW4G/Q1df2td3WHJ6BUIM4j86SkXQLkhOwv4Bs/Z6vlBSTLP6mbLn2cSRDocpgJkNvetRve7b2PNjPCLBQBmA3MCsLjgVpP7NrL3qx9qZsTtXC7QzBi6F5cdt0Hg8Mjfr/Y7ncJcd/d7RepY1OujuQmbOdZeHJc1/rbLfVZU5nM0/y20tLS0sNmpTXfDGAmrciBc6y8O2Y01ElflQCKp9Qs5eCyVknFZDNSg6MFjmWXoLIqBGoTIycHjDCCLy2KixlsKlIMfXb1GysGPr357Q3e58Q9RA8Cd9yELEfli3D26Ot9cgb8OE370hQgUL8a9yD323ygBRDny0V8ZKUU58vFfdBDUyEiMyxJxWQ5Xz8mRkZMYOanKgfAuOTLiBlEUuFU5EObjyP8jLS0tLexRF7hUl9mnyyvHSO0m00wqGVA35cmnpV56ZlNH11pKGTV3I6W1Wl1zI7X9aSkBSLWUMhsnZlN7y2w1ToFUK6mn3DZS89vVuDeYUuriiw4TZjZ1t5/wKCG2GQxGo9EgcY3Ujsc9m7mM/LAjnOga5JXIOgGRV4OsE9B5pbNOY5JXOus0dF7prNOY5JXOOg2dVzrrNCZ5pbNuTkvLT1EJqK9sfkCLAAAAAElFTkSuQmCC);background-repeat:no-repeat;outline:0;opacity:.8}#fancybox-buttons a:hover{opacity:1}#fancybox-buttons a.btnPrev{background-position:5px 0}#fancybox-buttons a.btnNext{background-position:-33px 0;border-right:1px solid #3e3e3e}#fancybox-buttons a.btnPlay{background-position:0 -30px}#fancybox-buttons a.btnPlayOn{background-position:-30px -30px}#fancybox-buttons a.btnToggle{background-position:3px -60px;border-left:1px solid #111;border-right:1px solid #3e3e3e;width:35px}#fancybox-buttons a.btnToggleOn{background-position:-27px -60px}#fancybox-buttons a.btnClose{position:relative;border-left:1px solid #111;width:35px;right:0;top:0;background-position:-56px 0}#fancybox-buttons a.btnDisabled{opacity:.4;cursor:default}#fancybox-thumbs{position:fixed;left:0;width:100%;overflow:hidden;z-index:8050}#fancybox-thumbs.bottom{bottom:2px}#fancybox-thumbs.top{top:2px}#fancybox-thumbs ul{position:relative;list-style:none;margin:0;padding:0}#fancybox-thumbs ul li{float:left;padding:1px;opacity:.5}#fancybox-thumbs ul li.active{opacity:.75;padding:0;border:1px solid #fff}#fancybox-thumbs ul li:hover{opacity:1}#fancybox-thumbs ul li a{display:block;position:relative;overflow:hidden;border:1px solid #222;background:#111;outline:0}#fancybox-thumbs ul li img{display:block;position:relative;border:0;padding:0;max-width:none}
--- a/src/pyams_skin/resources/css/ext/jquery-tipsy.min.css	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/css/ext/jquery-tipsy.min.css	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-.tipsy{padding:5px;font-family:"Ubuntu-Light",Arial,Helvetica,sans-serif;font-size:10px;position:absolute;z-index:100000}.tipsy-inner{padding:5px 8px 4px 8px;background-color:#333;color:white;max-width:216px;text-align:left;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}.tipsy-arrow{position:absolute;background:url('../../img/tipsy.gif') no-repeat top left;width:9px;height:5px}.tipsy-n .tipsy-arrow{top:0;left:50%;margin-left:-4px}.tipsy-nw .tipsy-arrow{top:0;left:10px}.tipsy-ne .tipsy-arrow{top:0;right:10px}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-4px;background-position:bottom left}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;background-position:bottom left}.tipsy-se .tipsy-arrow{bottom:0;right:10px;background-position:bottom left}.tipsy-e .tipsy-arrow{top:50%;margin-top:-4px;right:0;width:5px;height:9px;background-position:top right}.tipsy-w .tipsy-arrow{top:50%;margin-top:-4px;left:0;width:5px;height:9px}
\ No newline at end of file
+.tipsy{padding:5px;font-family:Ubuntu-Light,Arial,Helvetica,sans-serif;font-size:10px;position:absolute;z-index:100000}.tipsy-inner{padding:5px 8px 4px 8px;background-color:#333;color:#fff;max-width:216px;text-align:left;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}.tipsy-arrow{position:absolute;background:url(data:image/gif;base64,R0lGODlhCQAJAIABADMzM////yH5BAEKAAEALAAAAAAJAAkAAAIRjAOnwIrcDJxvwkplPtchVQAAOw==) no-repeat top left;width:9px;height:5px}.tipsy-n .tipsy-arrow{top:0;left:50%;margin-left:-4px}.tipsy-nw .tipsy-arrow{top:0;left:10px}.tipsy-ne .tipsy-arrow{top:0;right:10px}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-4px;background-position:bottom left}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;background-position:bottom left}.tipsy-se .tipsy-arrow{bottom:0;right:10px;background-position:bottom left}.tipsy-e .tipsy-arrow{top:50%;margin-top:-4px;right:0;width:5px;height:9px;background-position:top right}.tipsy-w .tipsy-arrow{top:50%;margin-top:-4px;left:0;width:5px;height:9px}
--- a/src/pyams_skin/resources/js/ext/bootstrap-modal.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/bootstrap-modal.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-!function(b){var a=function(d,c){this.init(d,c)};a.prototype={constructor:a,init:function(e,c){var f=this;this.options=c;this.$element=b(e).delegate('[data-dismiss="modal"]',"click.dismiss.modal",b.proxy(this.hide,this));this.options.remote&&this.$element.find(".modal-body").load(this.options.remote,function(){var g=b.Event("loaded");f.$element.trigger(g)});var d=typeof this.options.manager==="function"?this.options.manager.call(this):this.options.manager;d=d.appendModal?d:b(d).modalmanager().data("modalmanager");d.appendModal(this)},toggle:function(){return this[!this.isShown?"show":"hide"]()},show:function(){var c=b.Event("show");if(this.isShown){return}this.$element.trigger(c);if(c.isDefaultPrevented()){return}this.escape();this.tab();this.options.loading&&this.loading()},hide:function(c){c&&c.preventDefault();c=b.Event("hide");this.$element.trigger(c);if(!this.isShown||c.isDefaultPrevented()){return(this.isShown=false)}this.isShown=false;this.escape();this.tab();this.isLoading&&this.loading();b(document).off("focusin.modal");this.$element.removeClass("in").removeClass("animated").removeClass(this.options.attentionAnimation).removeClass("modal-overflow").attr("aria-hidden",true);b.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},layout:function(){var g=this.options.height?"height":"max-height",e=this.options.height||this.options.maxHeight;if(this.options.width){this.$element.css("width",this.options.width);var d=this;this.$element.css("margin-left",function(){if(/%/ig.test(d.options.width)){return -(parseInt(d.options.width)/2)+"%"}else{return -(b(this).width()/2)+"px"}})}else{this.$element.css("width","");this.$element.css("margin-left","")}this.$element.find(this.options.overflow).css("overflow","").css(g,"");if(e){var c=this.$element.find(this.options.overflow);if(c.css("overflow")===undefined){c.style("overflow","auto","important")}c.style(g,(typeof(e)==="function"?e():e)+"px","important")}var f=b(window).height()-10<this.$element.height();this.$element.css("margin-top",0).addClass("modal-overflow")},tab:function(){var c=this;if(this.isShown&&this.options.consumeTab){this.$element.on("keydown.tabindex.modal","[data-tabindex]",function(h){if(h.keyCode&&h.keyCode==9){var g=[],f=Number(b(this).data("tabindex"));c.$element.find("[data-tabindex]:enabled:visible:not([readonly])").each(function(e){g.push(Number(b(this).data("tabindex")))});g.sort(function(i,e){return i-e});var d=b.inArray(f,g);if(!h.shiftKey){d<g.length-1?c.$element.find("[data-tabindex="+g[d+1]+"]").focus():c.$element.find("[data-tabindex="+g[0]+"]").focus()}else{d==0?c.$element.find("[data-tabindex="+g[g.length-1]+"]").focus():c.$element.find("[data-tabindex="+g[d-1]+"]").focus()}h.preventDefault()}})}else{if(!this.isShown){this.$element.off("keydown.tabindex.modal")}}},escape:function(){var c=this;if(this.isShown&&this.options.keyboard){if(!this.$element.attr("tabindex")){this.$element.attr("tabindex",-1)}this.$element.on("keyup.dismiss.modal",function(d){d.which==27&&c.hide()})}else{if(!this.isShown){this.$element.off("keyup.dismiss.modal")}}},hideWithTransition:function(){var c=this,d=setTimeout(function(){c.$element.off(b.support.transition.end);c.hideModal()},500);this.$element.one(b.support.transition.end,function(){clearTimeout(d);c.hideModal()})},hideModal:function(){var d=this.options.height?"height":"max-height";var c=this.options.height||this.options.maxHeight;if(c){this.$element.find(this.options.overflow).css("overflow","").css(d,"")}this.$element.hide().trigger("hidden")},removeLoading:function(){this.$loading.remove();this.$loading=null;this.isLoading=false},loading:function(f){f=f||function(){};var d=this.$element.hasClass("fade")?"fade":"";if(!this.isLoading){var c=b.support.transition&&d;this.$loading=b('<div class="loading-mask '+d+'">').append(this.options.spinner).appendTo(this.$element);if(c){this.$loading[0].offsetWidth}this.$loading.addClass("in");this.isLoading=true;c?this.$loading.one(b.support.transition.end,f):f()}else{if(this.isLoading&&this.$loading){this.$loading.removeClass("in");var e=this;b.support.transition&&this.$element.hasClass("fade")?this.$loading.one(b.support.transition.end,function(){e.removeLoading()}):e.removeLoading()}else{if(f){f(this.isLoading)}}}},focus:function(){var c=this.$element.find(this.options.focusOn);c=c.length?c:this.$element;c.focus()},attention:function(){if(this.options.attentionAnimation){this.$element.removeClass("animated").removeClass(this.options.attentionAnimation);var c=this;setTimeout(function(){c.$element.addClass("animated").addClass(c.options.attentionAnimation)},0)}this.focus()},destroy:function(){var c=b.Event("destroy");this.$element.trigger(c);if(c.isDefaultPrevented()){return}this.$element.off(".modal").removeData("modal").removeClass("in").attr("aria-hidden",true);if(this.$parent!==this.$element.parent()){this.$element.appendTo(this.$parent)}else{if(!this.$parent.length){this.$element.remove();this.$element=null}}this.$element.trigger("destroyed")}};b.fn.modal=function(d,c){return this.each(function(){var g=b(this),f=g.data("modal"),e=b.extend({},b.fn.modal.defaults,g.data(),typeof d=="object"&&d);if(!f){g.data("modal",(f=new a(this,e)))}if(typeof d=="string"){f[d].apply(f,[].concat(c))}else{if(e.show){f.show()}}})};b.fn.modal.defaults={keyboard:true,backdrop:true,loading:false,show:true,width:null,height:null,maxHeight:null,modalOverflow:false,consumeTab:true,focusOn:null,replace:false,resize:false,overflow:".modal-body",attentionAnimation:"shake",manager:"body",spinner:'<div class="loading-spinner" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',backdropTemplate:'<div class="modal-backdrop" />'};b.fn.modal.Constructor=a;b(function(){b(document).off("click.modal").on("click.modal.data-api",'[data-toggle="modal"]',function(h){var g=b(this),d=g.attr("href"),c=b(g.attr("data-target")||(d&&d.replace(/.*(?=#[^\s]+$)/,""))),f=c.data("modal")?"toggle":b.extend({remote:!/#/.test(d)&&d},c.data(),g.data());h.preventDefault();c.modal(f).one("hide",function(){g.focus()})})})}(window.jQuery);
\ No newline at end of file
+!function(t){"use strict";var i=function(t,i){this.init(t,i)};i.prototype={constructor:i,init:function(i,e){var n=this;this.options=e,this.$element=t(i).delegate('[data-dismiss="modal"]',"click.dismiss.modal",t.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote,function(){var i=t.Event("loaded");n.$element.trigger(i)});var s="function"==typeof this.options.manager?this.options.manager.call(this):this.options.manager;(s=s.appendModal?s:t(s).modalmanager().data("modalmanager")).appendModal(this)},toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var i=t.Event("show");this.isShown||(this.$element.trigger(i),i.isDefaultPrevented()||(this.escape(),this.tab(),this.options.loading&&this.loading()))},hide:function(i){if(i&&i.preventDefault(),i=t.Event("hide"),this.$element.trigger(i),!this.isShown||i.isDefaultPrevented())return this.isShown=!1;this.isShown=!1,this.escape(),this.tab(),this.isLoading&&this.loading(),t(document).off("focusin.modal"),this.$element.removeClass("in").removeClass("animated").removeClass(this.options.attentionAnimation).removeClass("modal-overflow").attr("aria-hidden",!0),t.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},layout:function(){var i=this.options.height?"height":"max-height",e=this.options.height||this.options.maxHeight;if(this.options.width){this.$element.css("width",this.options.width);var n=this;this.$element.css("margin-left",function(){return/%/gi.test(n.options.width)?-parseInt(n.options.width)/2+"%":-t(this).width()/2+"px"})}else this.$element.css("width",""),this.$element.css("margin-left","");if(this.$element.find(this.options.overflow).css("overflow","").css(i,""),e){var s=this.$element.find(this.options.overflow);void 0===s.css("overflow")&&s.style("overflow","auto","important"),s.style(i,("function"==typeof e?e():e)+"px","important")}t(window).height(),this.$element.height();this.$element.css("margin-top",0).addClass("modal-overflow")},tab:function(){var i=this;this.isShown&&this.options.consumeTab?this.$element.on("keydown.tabindex.modal","[data-tabindex]",function(e){if(e.keyCode&&9==e.keyCode){var n=[],s=Number(t(this).data("tabindex"));i.$element.find("[data-tabindex]:enabled:visible:not([readonly])").each(function(i){n.push(Number(t(this).data("tabindex")))}),n.sort(function(t,i){return t-i});var o=t.inArray(s,n);e.shiftKey?0==o?i.$element.find("[data-tabindex="+n[n.length-1]+"]").focus():i.$element.find("[data-tabindex="+n[o-1]+"]").focus():o<n.length-1?i.$element.find("[data-tabindex="+n[o+1]+"]").focus():i.$element.find("[data-tabindex="+n[0]+"]").focus(),e.preventDefault()}}):this.isShown||this.$element.off("keydown.tabindex.modal")},escape:function(){var t=this;this.isShown&&this.options.keyboard?(this.$element.attr("tabindex")||this.$element.attr("tabindex",-1),this.$element.on("keyup.dismiss.modal",function(i){27==i.which&&t.hide()})):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var i=this,e=setTimeout(function(){i.$element.off(t.support.transition.end),i.hideModal()},500);this.$element.one(t.support.transition.end,function(){clearTimeout(e),i.hideModal()})},hideModal:function(){var t=this.options.height?"height":"max-height";(this.options.height||this.options.maxHeight)&&this.$element.find(this.options.overflow).css("overflow","").css(t,""),this.$element.hide().trigger("hidden")},removeLoading:function(){this.$loading.remove(),this.$loading=null,this.isLoading=!1},loading:function(i){i=i||function(){};var e=this.$element.hasClass("fade")?"fade":"";if(this.isLoading)if(this.isLoading&&this.$loading){this.$loading.removeClass("in");var n=this;t.support.transition&&this.$element.hasClass("fade")?this.$loading.one(t.support.transition.end,function(){n.removeLoading()}):n.removeLoading()}else i&&i(this.isLoading);else{var s=t.support.transition&&e;this.$loading=t('<div class="loading-mask '+e+'">').append(this.options.spinner).appendTo(this.$element),s&&this.$loading[0].offsetWidth,this.$loading.addClass("in"),this.isLoading=!0,s?this.$loading.one(t.support.transition.end,i):i()}},focus:function(){var t=this.$element.find(this.options.focusOn);(t=t.length?t:this.$element).focus()},attention:function(){if(this.options.attentionAnimation){this.$element.removeClass("animated").removeClass(this.options.attentionAnimation);var t=this;setTimeout(function(){t.$element.addClass("animated").addClass(t.options.attentionAnimation)},0)}this.focus()},destroy:function(){var i=t.Event("destroy");this.$element.trigger(i),i.isDefaultPrevented()||(this.$element.off(".modal").removeData("modal").removeClass("in").attr("aria-hidden",!0),this.$parent!==this.$element.parent()?this.$element.appendTo(this.$parent):this.$parent.length||(this.$element.remove(),this.$element=null),this.$element.trigger("destroyed"))}},t.fn.modal=function(e,n){return this.each(function(){var s=t(this),o=s.data("modal"),a=t.extend({},t.fn.modal.defaults,s.data(),"object"==typeof e&&e);o||s.data("modal",o=new i(this,a)),"string"==typeof e?o[e].apply(o,[].concat(n)):a.show&&o.show()})},t.fn.modal.defaults={keyboard:!0,backdrop:!0,loading:!1,show:!0,width:null,height:null,maxHeight:null,modalOverflow:!1,consumeTab:!0,focusOn:null,replace:!1,resize:!1,overflow:".modal-body",attentionAnimation:"shake",manager:"body",spinner:'<div class="loading-spinner" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',backdropTemplate:'<div class="modal-backdrop" />'},t.fn.modal.Constructor=i,t(function(){t(document).off("click.modal").on("click.modal.data-api",'[data-toggle="modal"]',function(i){var e=t(this),n=e.attr("href"),s=t(e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),o=s.data("modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},s.data(),e.data());i.preventDefault(),s.modal(o).one("hide",function(){e.focus()})})})}(window.jQuery);
--- a/src/pyams_skin/resources/js/ext/bootstrap-modalmanager.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/bootstrap-modalmanager.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-!function(c){var a=function(f,e){this.init(f,e)};a.prototype={constructor:a,init:function(f,e){this.$element=c(f);this.options=c.extend({},c.fn.modalmanager.defaults,this.$element.data(),typeof e==="object"&&e);this.stack=[];this.backdropCount=0;if(this.options.resize){var h,g=this;c(window).on("resize.modal",function(){if(h){clearTimeout(h)}h=setTimeout(function(){for(var j=0;j<g.stack.length;j++){if(g.stack[j].isShown){g.stack[j].layout()}}},10)})}},createModal:function(f,e){c(f).modal(c.extend({manager:this},e))},appendModal:function(f){this.stack.push(f);var e=this;f.$element.on("show.modalmanager",b(function(h){var g=function(){f.isShown=true;var i=c.support.transition&&f.$element.hasClass("fade");e.$element.toggleClass("modal-open",e.hasOpenModal()).toggleClass("page-overflow",c(window).height()<e.$element.height());f.$parent=f.$element.parent();f.$container=e.createContainer(f);f.$element.appendTo(f.$container);e.backdrop(f,function(){f.$element.show();if(i){f.$element[0].offsetWidth}f.layout();f.$element.addClass("in").attr("aria-hidden",false);var j=function(){e.setFocus();f.$element.trigger("shown")};if(i){f.$element.one(c.support.transition.end,j)}else{j()}})};if(f.options.replace){e.replace(g)}else{g()}}));f.$element.on("hidden.modalmanager",b(function(g){e.backdrop(f);if(!f.$element.parent().length){e.destroyModal(f)}else{if(f.$backdrop){var h=c.support.transition&&f.$element.hasClass("fade");if(h){f.$element[0].offsetWidth}if(c.support.transition&&f.$element.hasClass("fade")){f.$backdrop.one(c.support.transition.end,function(){f.destroy()})}else{f.destroy()}}else{f.destroy()}}}));f.$element.on("destroyed.modalmanager",b(function(g){e.destroyModal(f)}))},getOpenModals:function(){var f=[];for(var e=0;e<this.stack.length;e++){if(this.stack[e].isShown){f.push(this.stack[e])}}return f},hasOpenModal:function(){return this.getOpenModals().length>0},setFocus:function(){var f;for(var e=0;e<this.stack.length;e++){if(this.stack[e].isShown){f=this.stack[e]}}if(!f){return}f.focus()},destroyModal:function(f){f.$element.off(".modalmanager");if(f.$backdrop){this.removeBackdrop(f)}this.stack.splice(this.getIndexOfModal(f),1);var e=this.hasOpenModal();this.$element.toggleClass("modal-open",e);if(!e){this.$element.removeClass("page-overflow")}this.removeContainer(f);this.setFocus()},getModalAt:function(e){return this.stack[e]},getIndexOfModal:function(f){for(var e=0;e<this.stack.length;e++){if(f===this.stack[e]){return e}}},replace:function(g){var f;for(var e=0;e<this.stack.length;e++){if(this.stack[e].isShown){f=this.stack[e]}}if(f){this.$backdropHandle=f.$backdrop;f.$backdrop=null;if(g){f.$element.one("hidden",b(c.proxy(g,this)))}f.hide()}else{if(g){g()}}},removeBackdrop:function(e){e.$backdrop.remove();e.$backdrop=null},createBackdrop:function(g,f){var e;if(!this.$backdropHandle){e=c(f).addClass(g).appendTo(this.$element)}else{e=this.$backdropHandle;e.off(".modalmanager");this.$backdropHandle=null;if(this.isLoading){this.removeSpinner()}}return e},removeContainer:function(e){e.$container.remove();e.$container=null},createContainer:function(e){var f;f=c('<div class="modal-scrollable">').css("z-index",d("modal",this.getOpenModals().length)).appendTo(this.$element);if(e&&e.options.backdrop==="hide"){f.on("click.modal",b(function(g){e.hide()}))}else{if(e&&e.options.backdrop==="attention"){f.on("click.modal",b(function(g){e.attention()}))}}return f},backdrop:function(h,j){var f=h.$element.hasClass("fade")?"fade":"",i=h.options.backdrop&&this.backdropCount<this.options.backdropLimit;if(h.isShown&&i){var e=c.support.transition&&f&&!this.$backdropHandle;h.$backdrop=this.createBackdrop(f,h.options.backdropTemplate);h.$backdrop.css("z-index",d("backdrop",this.getOpenModals().length));if(e){h.$backdrop[0].offsetWidth}h.$backdrop.addClass("in");this.backdropCount+=1;if(e){h.$backdrop.one(c.support.transition.end,j)}else{j()}}else{if(!h.isShown&&h.$backdrop){h.$backdrop.removeClass("in");this.backdropCount-=1;var g=this;if(c.support.transition&&h.$element.hasClass("fade")){h.$backdrop.one(c.support.transition.end,function(){g.removeBackdrop(h)})}else{g.removeBackdrop(h)}}else{if(j){j()}}}},removeSpinner:function(){if(this.$spinner){this.$spinner.remove()}this.$spinner=null;this.isLoading=false},removeLoading:function(){if(this.$backdropHandle){this.$backdropHandle.remove()}this.$backdropHandle=null;this.removeSpinner()},loading:function(h){h=h||function(){};this.$element.toggleClass("modal-open",!this.isLoading||this.hasOpenModal()).toggleClass("page-overflow",c(window).height()<this.$element.height());if(!this.isLoading){this.$backdropHandle=this.createBackdrop("fade",this.options.backdropTemplate);this.$backdropHandle[0].offsetWidth;var e=this.getOpenModals();this.$backdropHandle.css("z-index",d("backdrop",e.length+1)).addClass("in");var g=c(this.options.spinner).css("z-index",d("modal",e.length+1)).appendTo(this.$element).addClass("in");this.$spinner=c(this.createContainer()).append(g).on("click.modalmanager",c.proxy(this.loading,this));this.isLoading=true;if(c.support.transition){this.$backdropHandle.one(c.support.transition.end,h)}else{h()}}else{if(this.isLoading&&this.$backdropHandle){this.$backdropHandle.removeClass("in");var f=this;if(c.support.transition){this.$backdropHandle.one(c.support.transition.end,function(){f.removeLoading()})}else{f.removeLoading()}}else{if(h){h(this.isLoading)}}}}};var d=(function(){var f,e={};return function(g,j){if(typeof f==="undefined"){var i=c('<div class="modal hide" />').appendTo("body"),h=c('<div class="modal-backdrop hide" />').appendTo("body");e.modal=+i.css("z-index");e.backdrop=+h.css("z-index");f=e.modal-e.backdrop;i.remove();h.remove();h=i=null}return e[g]+(f*j)}}());function b(e){return function(f){if(f&&this===f.target){return e.apply(this,arguments)}}}c.fn.modalmanager=function(f,e){return this.each(function(){var h=c(this),g=h.data("modalmanager");if(!g){h.data("modalmanager",(g=new a(this,f)))}if(typeof f==="string"){g[f].apply(g,[].concat(e))}})};c.fn.modalmanager.defaults={backdropLimit:999,resize:true,spinner:'<div class="loading-spinner fade" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',backdropTemplate:'<div class="modal-backdrop" />'};c.fn.modalmanager.Constructor=a;c(function(){c(document).off("show.bs.modal").off("hidden.bs.modal")})}(jQuery);
\ No newline at end of file
+!function(e){"use strict";function t(e){return function(t){if(t&&this===t.target)return e.apply(this,arguments)}}var n=function(e,t){this.init(e,t)};n.prototype={constructor:n,init:function(t,n){if(this.$element=e(t),this.options=e.extend({},e.fn.modalmanager.defaults,this.$element.data(),"object"==typeof n&&n),this.stack=[],this.backdropCount=0,this.options.resize){var o,a=this;e(window).on("resize.modal",function(){o&&clearTimeout(o),o=setTimeout(function(){for(var e=0;e<a.stack.length;e++)a.stack[e].isShown&&a.stack[e].layout()},10)})}},createModal:function(t,n){e(t).modal(e.extend({manager:this},n))},appendModal:function(n){this.stack.push(n);var o=this;n.$element.on("show.modalmanager",t(function(t){var a=function(){n.isShown=!0;var t=e.support.transition&&n.$element.hasClass("fade");o.$element.toggleClass("modal-open",o.hasOpenModal()).toggleClass("page-overflow",e(window).height()<o.$element.height()),n.$parent=n.$element.parent(),n.$container=o.createContainer(n),n.$element.appendTo(n.$container),o.backdrop(n,function(){n.$element.show(),t&&n.$element[0].offsetWidth,n.layout(),n.$element.addClass("in").attr("aria-hidden",!1);var a=function(){o.setFocus(),n.$element.trigger("shown")};t?n.$element.one(e.support.transition.end,a):a()})};n.options.replace?o.replace(a):a()})),n.$element.on("hidden.modalmanager",t(function(t){o.backdrop(n),n.$element.parent().length?n.$backdrop?(e.support.transition&&n.$element.hasClass("fade")&&n.$element[0].offsetWidth,e.support.transition&&n.$element.hasClass("fade")?n.$backdrop.one(e.support.transition.end,function(){n.destroy()}):n.destroy()):n.destroy():o.destroyModal(n)})),n.$element.on("destroyed.modalmanager",t(function(e){o.destroyModal(n)}))},getOpenModals:function(){for(var e=[],t=0;t<this.stack.length;t++)this.stack[t].isShown&&e.push(this.stack[t]);return e},hasOpenModal:function(){return this.getOpenModals().length>0},setFocus:function(){for(var e,t=0;t<this.stack.length;t++)this.stack[t].isShown&&(e=this.stack[t]);e&&e.focus()},destroyModal:function(e){e.$element.off(".modalmanager"),e.$backdrop&&this.removeBackdrop(e),this.stack.splice(this.getIndexOfModal(e),1);var t=this.hasOpenModal();this.$element.toggleClass("modal-open",t),t||this.$element.removeClass("page-overflow"),this.removeContainer(e),this.setFocus()},getModalAt:function(e){return this.stack[e]},getIndexOfModal:function(e){for(var t=0;t<this.stack.length;t++)if(e===this.stack[t])return t},replace:function(n){for(var o,a=0;a<this.stack.length;a++)this.stack[a].isShown&&(o=this.stack[a]);o?(this.$backdropHandle=o.$backdrop,o.$backdrop=null,n&&o.$element.one("hidden",t(e.proxy(n,this))),o.hide()):n&&n()},removeBackdrop:function(e){e.$backdrop.remove(),e.$backdrop=null},createBackdrop:function(t,n){var o;return this.$backdropHandle?((o=this.$backdropHandle).off(".modalmanager"),this.$backdropHandle=null,this.isLoading&&this.removeSpinner()):o=e(n).addClass(t).appendTo(this.$element),o},removeContainer:function(e){e.$container.remove(),e.$container=null},createContainer:function(n){var a;return a=e('<div class="modal-scrollable">').css("z-index",o("modal",this.getOpenModals().length)).appendTo(this.$element),n&&"hide"===n.options.backdrop?a.on("click.modal",t(function(e){n.hide()})):n&&"attention"===n.options.backdrop&&a.on("click.modal",t(function(e){n.attention()})),a},backdrop:function(t,n){var a=t.$element.hasClass("fade")?"fade":"",i=t.options.backdrop&&this.backdropCount<this.options.backdropLimit;if(t.isShown&&i){var s=e.support.transition&&a&&!this.$backdropHandle;t.$backdrop=this.createBackdrop(a,t.options.backdropTemplate),t.$backdrop.css("z-index",o("backdrop",this.getOpenModals().length)),s&&t.$backdrop[0].offsetWidth,t.$backdrop.addClass("in"),this.backdropCount+=1,s?t.$backdrop.one(e.support.transition.end,n):n()}else if(!t.isShown&&t.$backdrop){t.$backdrop.removeClass("in"),this.backdropCount-=1;var r=this;e.support.transition&&t.$element.hasClass("fade")?t.$backdrop.one(e.support.transition.end,function(){r.removeBackdrop(t)}):r.removeBackdrop(t)}else n&&n()},removeSpinner:function(){this.$spinner&&this.$spinner.remove(),this.$spinner=null,this.isLoading=!1},removeLoading:function(){this.$backdropHandle&&this.$backdropHandle.remove(),this.$backdropHandle=null,this.removeSpinner()},loading:function(t){if(t=t||function(){},this.$element.toggleClass("modal-open",!this.isLoading||this.hasOpenModal()).toggleClass("page-overflow",e(window).height()<this.$element.height()),this.isLoading)if(this.isLoading&&this.$backdropHandle){this.$backdropHandle.removeClass("in");var n=this;e.support.transition?this.$backdropHandle.one(e.support.transition.end,function(){n.removeLoading()}):n.removeLoading()}else t&&t(this.isLoading);else{this.$backdropHandle=this.createBackdrop("fade",this.options.backdropTemplate),this.$backdropHandle[0].offsetWidth;var a=this.getOpenModals();this.$backdropHandle.css("z-index",o("backdrop",a.length+1)).addClass("in");var i=e(this.options.spinner).css("z-index",o("modal",a.length+1)).appendTo(this.$element).addClass("in");this.$spinner=e(this.createContainer()).append(i).on("click.modalmanager",e.proxy(this.loading,this)),this.isLoading=!0,e.support.transition?this.$backdropHandle.one(e.support.transition.end,t):t()}}};var o=function(){var t,n={};return function(o,a){if(void 0===t){var i=e('<div class="modal hide" />').appendTo("body"),s=e('<div class="modal-backdrop hide" />').appendTo("body");n.modal=+i.css("z-index"),n.backdrop=+s.css("z-index"),t=n.modal-n.backdrop,i.remove(),s.remove(),s=i=null}return n[o]+t*a}}();e.fn.modalmanager=function(t,o){return this.each(function(){var a=e(this),i=a.data("modalmanager");i||a.data("modalmanager",i=new n(this,t)),"string"==typeof t&&i[t].apply(i,[].concat(o))})},e.fn.modalmanager.defaults={backdropLimit:999,resize:!0,spinner:'<div class="loading-spinner fade" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',backdropTemplate:'<div class="modal-backdrop" />'},e.fn.modalmanager.Constructor=n,e(function(){e(document).off("show.bs.modal").off("hidden.bs.modal")})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/bootstrap-slider-2.0.0.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/bootstrap-slider-2.0.0.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(b){var a=function(d,c){this.element=b(d);this.picker=b('<div class="slider"><div class="slider-track"><div class="slider-selection"></div><div class="slider-handle"></div><div class="slider-handle"></div></div><div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div></div>').insertBefore(this.element).prepend(this.element);this.id=this.element.data("slider-id")||c.id;if(this.id){this.picker[0].id=this.id}if(typeof Modernizr!=="undefined"&&Modernizr.touch){this.touchCapable=true}var f=this.element.data("slider-tooltip")||c.tooltip;this.tooltip=this.picker.find(".tooltip");this.tooltipInner=this.tooltip.find("div.tooltip-inner");this.orientation=this.element.data("slider-orientation")||c.orientation;switch(this.orientation){case"vertical":this.picker.addClass("slider-vertical");this.stylePos="top";this.mousePos="pageY";this.sizePos="offsetHeight";this.tooltip.addClass("right")[0].style.left="100%";break;default:this.picker.addClass("slider-horizontal").css("width",this.element.outerWidth());this.orientation="horizontal";this.stylePos="left";this.mousePos="pageX";this.sizePos="offsetWidth";this.tooltip.addClass("top")[0].style.top=-this.tooltip.outerHeight()-14+"px";break}this.min=this.element.data("slider-min")||c.min;this.max=this.element.data("slider-max")||c.max;this.step=this.element.data("slider-step")||c.step;this.value=this.element.data("slider-value")||c.value;if(this.value[1]){this.range=true}this.selection=this.element.data("slider-selection")||c.selection;this.selectionEl=this.picker.find(".slider-selection");if(this.selection==="none"){this.selectionEl.addClass("hide")}this.selectionElStyle=this.selectionEl[0].style;this.handle1=this.picker.find(".slider-handle:first");this.handle1Stype=this.handle1[0].style;this.handle2=this.picker.find(".slider-handle:last");this.handle2Stype=this.handle2[0].style;var e=this.element.data("slider-handle")||c.handle;switch(e){case"round":this.handle1.addClass("round");this.handle2.addClass("round");break;case"triangle":this.handle1.addClass("triangle");this.handle2.addClass("triangle");break}if(this.range){this.value[0]=Math.max(this.min,Math.min(this.max,this.value[0]));this.value[1]=Math.max(this.min,Math.min(this.max,this.value[1]))}else{this.value=[Math.max(this.min,Math.min(this.max,this.value))];this.handle2.addClass("hide");if(this.selection==="after"){this.value[1]=this.max}else{this.value[1]=this.min}}this.diff=this.max-this.min;this.percentage=[(this.value[0]-this.min)*100/this.diff,(this.value[1]-this.min)*100/this.diff,this.step*100/this.diff];this.offset=this.picker.offset();this.size=this.picker[0][this.sizePos];this.formater=c.formater;this.layout();if(this.touchCapable){this.picker.on({touchstart:b.proxy(this.mousedown,this)})}else{this.picker.on({mousedown:b.proxy(this.mousedown,this)})}if(f==="show"){this.picker.on({mouseenter:b.proxy(this.showTooltip,this),mouseleave:b.proxy(this.hideTooltip,this)})}else{this.tooltip.addClass("hide")}};a.prototype={constructor:a,over:false,inDrag:false,showTooltip:function(){this.tooltip.addClass("in");this.over=true},hideTooltip:function(){if(this.inDrag===false){this.tooltip.removeClass("in")}this.over=false},layout:function(){this.handle1Stype[this.stylePos]=this.percentage[0]+"%";this.handle2Stype[this.stylePos]=this.percentage[1]+"%";if(this.orientation==="vertical"){this.selectionElStyle.top=Math.min(this.percentage[0],this.percentage[1])+"%";this.selectionElStyle.height=Math.abs(this.percentage[0]-this.percentage[1])+"%"}else{this.selectionElStyle.left=Math.min(this.percentage[0],this.percentage[1])+"%";this.selectionElStyle.width=Math.abs(this.percentage[0]-this.percentage[1])+"%"}if(this.range){this.tooltipInner.text(this.formater(this.value[0])+" : "+this.formater(this.value[1]));this.tooltip[0].style[this.stylePos]=this.size*(this.percentage[0]+(this.percentage[1]-this.percentage[0])/2)/100-(this.orientation==="vertical"?this.tooltip.outerHeight()/2:this.tooltip.outerWidth()/2)+"px"}else{this.tooltipInner.text(this.formater(this.value[0]));this.tooltip[0].style[this.stylePos]=this.size*this.percentage[0]/100-(this.orientation==="vertical"?this.tooltip.outerHeight()/2:this.tooltip.outerWidth()/2)+"px"}},mousedown:function(d){if(this.touchCapable&&d.type==="touchstart"){d=d.originalEvent}this.offset=this.picker.offset();this.size=this.picker[0][this.sizePos];var c=this.getPercentage(d);if(this.range){var g=Math.abs(this.percentage[0]-c);var e=Math.abs(this.percentage[1]-c);this.dragged=(g<e)?0:1}else{this.dragged=0}this.percentage[this.dragged]=c;this.layout();if(this.touchCapable){b(document).on({touchmove:b.proxy(this.mousemove,this),touchend:b.proxy(this.mouseup,this)})}else{b(document).on({mousemove:b.proxy(this.mousemove,this),mouseup:b.proxy(this.mouseup,this)})}this.inDrag=true;var f=this.calculateValue();this.element.trigger({type:"slideStart",value:f}).trigger({type:"slide",value:f});return false},mousemove:function(d){if(this.touchCapable&&d.type==="touchmove"){d=d.originalEvent}var c=this.getPercentage(d);if(this.range){if(this.dragged===0&&this.percentage[1]<c){this.percentage[0]=this.percentage[1];this.dragged=1}else{if(this.dragged===1&&this.percentage[0]>c){this.percentage[1]=this.percentage[0];this.dragged=0}}}this.percentage[this.dragged]=c;this.layout();var e=this.calculateValue();this.element.trigger({type:"slide",value:e}).data("value",e).prop("value",e);return false},mouseup:function(c){if(this.touchCapable){b(document).off({touchmove:this.mousemove,touchend:this.mouseup})}else{b(document).off({mousemove:this.mousemove,mouseup:this.mouseup})}this.inDrag=false;if(this.over==false){this.hideTooltip()}this.element;var d=this.calculateValue();this.element.trigger({type:"slideStop",value:d}).data("value",d).prop("value",d);return false},calculateValue:function(){var c;if(this.range){c=[(this.min+Math.round((this.diff*this.percentage[0]/100)/this.step)*this.step),(this.min+Math.round((this.diff*this.percentage[1]/100)/this.step)*this.step)];this.value=c}else{c=(this.min+Math.round((this.diff*this.percentage[0]/100)/this.step)*this.step);this.value=[c,this.value[1]]}return c},getPercentage:function(d){if(this.touchCapable){d=d.touches[0]}var c=(d[this.mousePos]-this.offset[this.stylePos])*100/this.size;c=Math.round(c/this.percentage[2])*this.percentage[2];return Math.max(0,Math.min(100,c))},getValue:function(){if(this.range){return this.value}return this.value[0]},setValue:function(c){this.value=c;if(this.range){this.value[0]=Math.max(this.min,Math.min(this.max,this.value[0]));this.value[1]=Math.max(this.min,Math.min(this.max,this.value[1]))}else{this.value=[Math.max(this.min,Math.min(this.max,this.value))];this.handle2.addClass("hide");if(this.selection==="after"){this.value[1]=this.max}else{this.value[1]=this.min}}this.diff=this.max-this.min;this.percentage=[(this.value[0]-this.min)*100/this.diff,(this.value[1]-this.min)*100/this.diff,this.step*100/this.diff];this.layout()}};b.fn.slider=function(c,d){return this.each(function(){var g=b(this),f=g.data("slider"),e=typeof c==="object"&&c;if(!f){g.data("slider",(f=new a(this,b.extend({},b.fn.slider.defaults,e))))}if(typeof c==="string"){f[c](d)}})};b.fn.slider.defaults={min:0,max:10,step:1,orientation:"horizontal",value:5,selection:"before",tooltip:"show",handle:"round",formater:function(c){return c}};b.fn.slider.Constructor=a;b.fn.BS_slider=b.fn.slider})(window.jQuery);
\ No newline at end of file
+!function(t){var i=function(i,e){this.element=t(i),this.picker=t('<div class="slider"><div class="slider-track"><div class="slider-selection"></div><div class="slider-handle"></div><div class="slider-handle"></div></div><div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div></div>').insertBefore(this.element).prepend(this.element),this.id=this.element.data("slider-id")||e.id,this.id&&(this.picker[0].id=this.id),"undefined"!=typeof Modernizr&&Modernizr.touch&&(this.touchCapable=!0);var s=this.element.data("slider-tooltip")||e.tooltip;switch(this.tooltip=this.picker.find(".tooltip"),this.tooltipInner=this.tooltip.find("div.tooltip-inner"),this.orientation=this.element.data("slider-orientation")||e.orientation,this.orientation){case"vertical":this.picker.addClass("slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight",this.tooltip.addClass("right")[0].style.left="100%";break;default:this.picker.addClass("slider-horizontal").css("width",this.element.outerWidth()),this.orientation="horizontal",this.stylePos="left",this.mousePos="pageX",this.sizePos="offsetWidth",this.tooltip.addClass("top")[0].style.top=-this.tooltip.outerHeight()-14+"px"}switch(this.min=this.element.data("slider-min")||e.min,this.max=this.element.data("slider-max")||e.max,this.step=this.element.data("slider-step")||e.step,this.value=this.element.data("slider-value")||e.value,this.value[1]&&(this.range=!0),this.selection=this.element.data("slider-selection")||e.selection,this.selectionEl=this.picker.find(".slider-selection"),"none"===this.selection&&this.selectionEl.addClass("hide"),this.selectionElStyle=this.selectionEl[0].style,this.handle1=this.picker.find(".slider-handle:first"),this.handle1Stype=this.handle1[0].style,this.handle2=this.picker.find(".slider-handle:last"),this.handle2Stype=this.handle2[0].style,this.element.data("slider-handle")||e.handle){case"round":this.handle1.addClass("round"),this.handle2.addClass("round");break;case"triangle":this.handle1.addClass("triangle"),this.handle2.addClass("triangle")}this.range?(this.value[0]=Math.max(this.min,Math.min(this.max,this.value[0])),this.value[1]=Math.max(this.min,Math.min(this.max,this.value[1]))):(this.value=[Math.max(this.min,Math.min(this.max,this.value))],this.handle2.addClass("hide"),"after"===this.selection?this.value[1]=this.max:this.value[1]=this.min),this.diff=this.max-this.min,this.percentage=[100*(this.value[0]-this.min)/this.diff,100*(this.value[1]-this.min)/this.diff,100*this.step/this.diff],this.offset=this.picker.offset(),this.size=this.picker[0][this.sizePos],this.formater=e.formater,this.layout(),this.touchCapable?this.picker.on({touchstart:t.proxy(this.mousedown,this)}):this.picker.on({mousedown:t.proxy(this.mousedown,this)}),"show"===s?this.picker.on({mouseenter:t.proxy(this.showTooltip,this),mouseleave:t.proxy(this.hideTooltip,this)}):this.tooltip.addClass("hide")};i.prototype={constructor:i,over:!1,inDrag:!1,showTooltip:function(){this.tooltip.addClass("in"),this.over=!0},hideTooltip:function(){!1===this.inDrag&&this.tooltip.removeClass("in"),this.over=!1},layout:function(){this.handle1Stype[this.stylePos]=this.percentage[0]+"%",this.handle2Stype[this.stylePos]=this.percentage[1]+"%","vertical"===this.orientation?(this.selectionElStyle.top=Math.min(this.percentage[0],this.percentage[1])+"%",this.selectionElStyle.height=Math.abs(this.percentage[0]-this.percentage[1])+"%"):(this.selectionElStyle.left=Math.min(this.percentage[0],this.percentage[1])+"%",this.selectionElStyle.width=Math.abs(this.percentage[0]-this.percentage[1])+"%"),this.range?(this.tooltipInner.text(this.formater(this.value[0])+" : "+this.formater(this.value[1])),this.tooltip[0].style[this.stylePos]=this.size*(this.percentage[0]+(this.percentage[1]-this.percentage[0])/2)/100-("vertical"===this.orientation?this.tooltip.outerHeight()/2:this.tooltip.outerWidth()/2)+"px"):(this.tooltipInner.text(this.formater(this.value[0])),this.tooltip[0].style[this.stylePos]=this.size*this.percentage[0]/100-("vertical"===this.orientation?this.tooltip.outerHeight()/2:this.tooltip.outerWidth()/2)+"px")},mousedown:function(i){this.touchCapable&&"touchstart"===i.type&&(i=i.originalEvent),this.offset=this.picker.offset(),this.size=this.picker[0][this.sizePos];var e=this.getPercentage(i);if(this.range){var s=Math.abs(this.percentage[0]-e),h=Math.abs(this.percentage[1]-e);this.dragged=s<h?0:1}else this.dragged=0;this.percentage[this.dragged]=e,this.layout(),this.touchCapable?t(document).on({touchmove:t.proxy(this.mousemove,this),touchend:t.proxy(this.mouseup,this)}):t(document).on({mousemove:t.proxy(this.mousemove,this),mouseup:t.proxy(this.mouseup,this)}),this.inDrag=!0;var a=this.calculateValue();return this.element.trigger({type:"slideStart",value:a}).trigger({type:"slide",value:a}),!1},mousemove:function(t){this.touchCapable&&"touchmove"===t.type&&(t=t.originalEvent);var i=this.getPercentage(t);this.range&&(0===this.dragged&&this.percentage[1]<i?(this.percentage[0]=this.percentage[1],this.dragged=1):1===this.dragged&&this.percentage[0]>i&&(this.percentage[1]=this.percentage[0],this.dragged=0)),this.percentage[this.dragged]=i,this.layout();var e=this.calculateValue();return this.element.trigger({type:"slide",value:e}).data("value",e).prop("value",e),!1},mouseup:function(i){this.touchCapable?t(document).off({touchmove:this.mousemove,touchend:this.mouseup}):t(document).off({mousemove:this.mousemove,mouseup:this.mouseup}),this.inDrag=!1,0==this.over&&this.hideTooltip(),this.element;var e=this.calculateValue();return this.element.trigger({type:"slideStop",value:e}).data("value",e).prop("value",e),!1},calculateValue:function(){var t;return this.range?(t=[this.min+Math.round(this.diff*this.percentage[0]/100/this.step)*this.step,this.min+Math.round(this.diff*this.percentage[1]/100/this.step)*this.step],this.value=t):(t=this.min+Math.round(this.diff*this.percentage[0]/100/this.step)*this.step,this.value=[t,this.value[1]]),t},getPercentage:function(t){this.touchCapable&&(t=t.touches[0]);var i=100*(t[this.mousePos]-this.offset[this.stylePos])/this.size;return i=Math.round(i/this.percentage[2])*this.percentage[2],Math.max(0,Math.min(100,i))},getValue:function(){return this.range?this.value:this.value[0]},setValue:function(t){this.value=t,this.range?(this.value[0]=Math.max(this.min,Math.min(this.max,this.value[0])),this.value[1]=Math.max(this.min,Math.min(this.max,this.value[1]))):(this.value=[Math.max(this.min,Math.min(this.max,this.value))],this.handle2.addClass("hide"),"after"===this.selection?this.value[1]=this.max:this.value[1]=this.min),this.diff=this.max-this.min,this.percentage=[100*(this.value[0]-this.min)/this.diff,100*(this.value[1]-this.min)/this.diff,100*this.step/this.diff],this.layout()}},t.fn.slider=function(e,s){return this.each(function(){var h=t(this),a=h.data("slider"),o="object"==typeof e&&e;a||h.data("slider",a=new i(this,t.extend({},t.fn.slider.defaults,o))),"string"==typeof e&&a[e](s)})},t.fn.slider.defaults={min:0,max:10,step:1,orientation:"horizontal",value:5,selection:"before",tooltip:"show",handle:"round",formater:function(t){return t}},t.fn.slider.Constructor=i,t.fn.BS_slider=t.fn.slider}(window.jQuery);
--- a/src/pyams_skin/resources/js/ext/bootstrap-wizard-1.4.2.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/bootstrap-wizard-1.4.2.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,12 +1,1 @@
-/*
- * jQuery twitter bootstrap wizard plugin
- * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard
- * version 1.4.2
- * Requires jQuery v1.3.2 or later
- * Supports Bootstrap 2.2.x, 2.3.x, 3.0
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- * Authors: Vadim Vincent Gabriel (http://vadimg.com), Jason Gill (www.gilluminate.com)
- */
-(function(b){var a=function(f,l){var f=b(f);var e=this;var j='li:has([data-toggle="tab"])';var h=[];var k=b.extend({},b.fn.bootstrapWizard.defaults,l);var g=null;var i=null;this.rebindClick=function(m,n){m.unbind("click",n).bind("click",n)};this.fixNavigationButtons=function(){if(!g.length){i.find("a:first").tab("show");g=i.find(j+":first")}b(k.previousSelector,f).toggleClass("disabled",(e.firstIndex()>=e.currentIndex()));b(k.nextSelector,f).toggleClass("disabled",(e.currentIndex()>=e.navigationLength()));b(k.nextSelector,f).toggleClass("hidden",(e.currentIndex()>=e.navigationLength()&&b(k.finishSelector,f).length>0));b(k.lastSelector,f).toggleClass("hidden",(e.currentIndex()>=e.navigationLength()&&b(k.finishSelector,f).length>0));b(k.finishSelector,f).toggleClass("hidden",(e.currentIndex()<e.navigationLength()));b(k.backSelector,f).toggleClass("disabled",h.length===0);b(k.backSelector,f).toggleClass("hidden",(e.currentIndex()>=e.navigationLength()&&b(k.finishSelector,f).length>0));e.rebindClick(b(k.nextSelector,f),e.next);e.rebindClick(b(k.previousSelector,f),e.previous);e.rebindClick(b(k.lastSelector,f),e.last);e.rebindClick(b(k.firstSelector,f),e.first);e.rebindClick(b(k.finishSelector,f),e.finish);e.rebindClick(b(k.backSelector,f),e.back);if(k.onTabShow&&typeof k.onTabShow==="function"&&k.onTabShow(g,i,e.currentIndex())===false){return false}};this.next=function(n){if(f.hasClass("last")){return false}if(k.onNext&&typeof k.onNext==="function"&&k.onNext(g,i,e.nextIndex())===false){return false}var o=e.currentIndex();var m=e.nextIndex();if(m>e.navigationLength()){}else{h.push(o);i.find(j+(k.withVisible?":visible":"")+":eq("+m+") a").tab("show")}};this.previous=function(n){if(f.hasClass("first")){return false}if(k.onPrevious&&typeof k.onPrevious==="function"&&k.onPrevious(g,i,e.previousIndex())===false){return false}var o=e.currentIndex();var m=e.previousIndex();if(m<0){}else{h.push(o);i.find(j+(k.withVisible?":visible":"")+":eq("+m+") a").tab("show")}};this.first=function(m){if(k.onFirst&&typeof k.onFirst==="function"&&k.onFirst(g,i,e.firstIndex())===false){return false}if(f.hasClass("disabled")){return false}h.push(e.currentIndex());i.find(j+":eq(0) a").tab("show")};this.last=function(m){if(k.onLast&&typeof k.onLast==="function"&&k.onLast(g,i,e.lastIndex())===false){return false}if(f.hasClass("disabled")){return false}h.push(e.currentIndex());i.find(j+":eq("+e.navigationLength()+") a").tab("show")};this.finish=function(m){if(k.onFinish&&typeof k.onFinish==="function"){k.onFinish(g,i,e.lastIndex())}};this.back=function(){if(h.length==0){return null}var m=h.pop();if(k.onBack&&typeof k.onBack==="function"&&k.onBack(g,i,m)===false){h.push(m);return false}f.find(j+":eq("+m+") a").tab("show")};this.currentIndex=function(){return i.find(j+(k.withVisible?":visible":"")).index(g)};this.firstIndex=function(){return 0};this.lastIndex=function(){return e.navigationLength()};this.getIndex=function(m){return i.find(j+(k.withVisible?":visible":"")).index(m)};this.nextIndex=function(){var m=this.currentIndex();var n=null;do{m++;n=i.find(j+(k.withVisible?":visible":"")+":eq("+m+")")}while((n)&&(n.hasClass("disabled")));return m};this.previousIndex=function(){var n=this.currentIndex();var m=null;do{n--;m=i.find(j+(k.withVisible?":visible":"")+":eq("+n+")")}while((m)&&(m.hasClass("disabled")));return n};this.navigationLength=function(){return i.find(j+(k.withVisible?":visible":"")).length-1};this.activeTab=function(){return g};this.nextTab=function(){return i.find(j+":eq("+(e.currentIndex()+1)+")").length?i.find(j+":eq("+(e.currentIndex()+1)+")"):null};this.previousTab=function(){if(e.currentIndex()<=0){return null}return i.find(j+":eq("+parseInt(e.currentIndex()-1)+")")};this.show=function(m){var n=isNaN(m)?f.find(j+' a[href="#'+m+'"]'):f.find(j+":eq("+m+") a");if(n.length>0){h.push(e.currentIndex());n.tab("show")}};this.disable=function(m){i.find(j+":eq("+m+")").addClass("disabled")};this.enable=function(m){i.find(j+":eq("+m+")").removeClass("disabled")};this.hide=function(m){i.find(j+":eq("+m+")").hide()};this.display=function(m){i.find(j+":eq("+m+")").show()};this.remove=function(o){var m=o[0];var p=typeof o[1]!="undefined"?o[1]:false;var n=i.find(j+":eq("+m+")");if(p){var q=n.find("a").attr("href");b(q).remove()}n.remove()};var d=function(p){var m=i.find(j);var n=m.index(b(p.currentTarget).parent(j));var o=b(m[n]);if(k.onTabClick&&typeof k.onTabClick==="function"&&k.onTabClick(g,i,e.currentIndex(),n,o)===false){return false}};var c=function(o){var n=b(o.target).parent();var m=i.find(j).index(n);if(n.hasClass("disabled")){return false}if(k.onTabChange&&typeof k.onTabChange==="function"&&k.onTabChange(g,i,e.currentIndex(),m)===false){return false}g=n;e.fixNavigationButtons()};this.resetWizard=function(){b('a[data-toggle="tab"]',i).off("click",d);b('a[data-toggle="tab"]',i).off("show show.bs.tab",c);i=f.find("ul:first",f);g=i.find(j+".active",f);b('a[data-toggle="tab"]',i).on("click",d);b('a[data-toggle="tab"]',i).on("show show.bs.tab",c);e.fixNavigationButtons()};i=f.find("ul:first",f);g=i.find(j+".active",f);if(!i.hasClass(k.tabClass)){i.addClass(k.tabClass)}if(k.onInit&&typeof k.onInit==="function"){k.onInit(g,i,0)}if(k.onShow&&typeof k.onShow==="function"){k.onShow(g,i,e.nextIndex())}b('a[data-toggle="tab"]',i).on("click",d);b('a[data-toggle="tab"]',i).on("show show.bs.tab",c)};b.fn.bootstrapWizard=function(d){if(typeof d=="string"){var c=Array.prototype.slice.call(arguments,1);if(c.length===1){c.toString()}return this.data("bootstrapWizard")[d](c)}return this.each(function(e){var f=b(this);if(f.data("bootstrapWizard")){return}var g=new a(f,d);f.data("bootstrapWizard",g);g.fixNavigationButtons()})};b.fn.bootstrapWizard.defaults={withVisible:true,tabClass:"nav nav-pills",nextSelector:".wizard li.next",previousSelector:".wizard li.previous",firstSelector:".wizard li.first",lastSelector:".wizard li.last",finishSelector:".wizard li.finish",backSelector:".wizard li.back",onShow:null,onInit:null,onNext:null,onPrevious:null,onLast:null,onFirst:null,onFinish:null,onBack:null,onTabChange:null,onTabClick:null,onTabShow:null}})(jQuery);
\ No newline at end of file
+!function(n){var t=function(t,i){var t=n(t),e=this,a='li:has([data-toggle="tab"])',o=[],s=n.extend({},n.fn.bootstrapWizard.defaults,i),r=null,l=null;this.rebindClick=function(n,t){n.unbind("click",t).bind("click",t)},this.fixNavigationButtons=function(){if(r.length||(l.find("a:first").tab("show"),r=l.find(a+":first")),n(s.previousSelector,t).toggleClass("disabled",e.firstIndex()>=e.currentIndex()),n(s.nextSelector,t).toggleClass("disabled",e.currentIndex()>=e.navigationLength()),n(s.nextSelector,t).toggleClass("hidden",e.currentIndex()>=e.navigationLength()&&n(s.finishSelector,t).length>0),n(s.lastSelector,t).toggleClass("hidden",e.currentIndex()>=e.navigationLength()&&n(s.finishSelector,t).length>0),n(s.finishSelector,t).toggleClass("hidden",e.currentIndex()<e.navigationLength()),n(s.backSelector,t).toggleClass("disabled",0===o.length),n(s.backSelector,t).toggleClass("hidden",e.currentIndex()>=e.navigationLength()&&n(s.finishSelector,t).length>0),e.rebindClick(n(s.nextSelector,t),e.next),e.rebindClick(n(s.previousSelector,t),e.previous),e.rebindClick(n(s.lastSelector,t),e.last),e.rebindClick(n(s.firstSelector,t),e.first),e.rebindClick(n(s.finishSelector,t),e.finish),e.rebindClick(n(s.backSelector,t),e.back),s.onTabShow&&"function"==typeof s.onTabShow&&!1===s.onTabShow(r,l,e.currentIndex()))return!1},this.next=function(n){if(t.hasClass("last"))return!1;if(s.onNext&&"function"==typeof s.onNext&&!1===s.onNext(r,l,e.nextIndex()))return!1;var i=e.currentIndex(),d=e.nextIndex();d>e.navigationLength()||(o.push(i),l.find(a+(s.withVisible?":visible":"")+":eq("+d+") a").tab("show"))},this.previous=function(n){if(t.hasClass("first"))return!1;if(s.onPrevious&&"function"==typeof s.onPrevious&&!1===s.onPrevious(r,l,e.previousIndex()))return!1;var i=e.currentIndex(),d=e.previousIndex();d<0||(o.push(i),l.find(a+(s.withVisible?":visible":"")+":eq("+d+") a").tab("show"))},this.first=function(n){return(!s.onFirst||"function"!=typeof s.onFirst||!1!==s.onFirst(r,l,e.firstIndex()))&&(!t.hasClass("disabled")&&(o.push(e.currentIndex()),void l.find(a+":eq(0) a").tab("show")))},this.last=function(n){return(!s.onLast||"function"!=typeof s.onLast||!1!==s.onLast(r,l,e.lastIndex()))&&(!t.hasClass("disabled")&&(o.push(e.currentIndex()),void l.find(a+":eq("+e.navigationLength()+") a").tab("show")))},this.finish=function(n){s.onFinish&&"function"==typeof s.onFinish&&s.onFinish(r,l,e.lastIndex())},this.back=function(){if(0==o.length)return null;var n=o.pop();if(s.onBack&&"function"==typeof s.onBack&&!1===s.onBack(r,l,n))return o.push(n),!1;t.find(a+":eq("+n+") a").tab("show")},this.currentIndex=function(){return l.find(a+(s.withVisible?":visible":"")).index(r)},this.firstIndex=function(){return 0},this.lastIndex=function(){return e.navigationLength()},this.getIndex=function(n){return l.find(a+(s.withVisible?":visible":"")).index(n)},this.nextIndex=function(){var n=this.currentIndex(),t=null;do{n++,t=l.find(a+(s.withVisible?":visible":"")+":eq("+n+")")}while(t&&t.hasClass("disabled"));return n},this.previousIndex=function(){var n=this.currentIndex(),t=null;do{n--,t=l.find(a+(s.withVisible?":visible":"")+":eq("+n+")")}while(t&&t.hasClass("disabled"));return n},this.navigationLength=function(){return l.find(a+(s.withVisible?":visible":"")).length-1},this.activeTab=function(){return r},this.nextTab=function(){return l.find(a+":eq("+(e.currentIndex()+1)+")").length?l.find(a+":eq("+(e.currentIndex()+1)+")"):null},this.previousTab=function(){return e.currentIndex()<=0?null:l.find(a+":eq("+parseInt(e.currentIndex()-1)+")")},this.show=function(n){var i=isNaN(n)?t.find(a+' a[href="#'+n+'"]'):t.find(a+":eq("+n+") a");i.length>0&&(o.push(e.currentIndex()),i.tab("show"))},this.disable=function(n){l.find(a+":eq("+n+")").addClass("disabled")},this.enable=function(n){l.find(a+":eq("+n+")").removeClass("disabled")},this.hide=function(n){l.find(a+":eq("+n+")").hide()},this.display=function(n){l.find(a+":eq("+n+")").show()},this.remove=function(t){var i=t[0],e=void 0!==t[1]&&t[1],o=l.find(a+":eq("+i+")");if(e){var s=o.find("a").attr("href");n(s).remove()}o.remove()};var d=function(t){var i=l.find(a),o=i.index(n(t.currentTarget).parent(a)),d=n(i[o]);if(s.onTabClick&&"function"==typeof s.onTabClick&&!1===s.onTabClick(r,l,e.currentIndex(),o,d))return!1},u=function(t){var i=n(t.target).parent(),o=l.find(a).index(i);return!i.hasClass("disabled")&&((!s.onTabChange||"function"!=typeof s.onTabChange||!1!==s.onTabChange(r,l,e.currentIndex(),o))&&(r=i,void e.fixNavigationButtons()))};this.resetWizard=function(){n('a[data-toggle="tab"]',l).off("click",d),n('a[data-toggle="tab"]',l).off("show show.bs.tab",u),l=t.find("ul:first",t),r=l.find(a+".active",t),n('a[data-toggle="tab"]',l).on("click",d),n('a[data-toggle="tab"]',l).on("show show.bs.tab",u),e.fixNavigationButtons()},l=t.find("ul:first",t),r=l.find(a+".active",t),l.hasClass(s.tabClass)||l.addClass(s.tabClass),s.onInit&&"function"==typeof s.onInit&&s.onInit(r,l,0),s.onShow&&"function"==typeof s.onShow&&s.onShow(r,l,e.nextIndex()),n('a[data-toggle="tab"]',l).on("click",d),n('a[data-toggle="tab"]',l).on("show show.bs.tab",u)};n.fn.bootstrapWizard=function(i){if("string"==typeof i){var e=Array.prototype.slice.call(arguments,1);return 1===e.length&&e.toString(),this.data("bootstrapWizard")[i](e)}return this.each(function(e){var a=n(this);if(!a.data("bootstrapWizard")){var o=new t(a,i);a.data("bootstrapWizard",o),o.fixNavigationButtons()}})},n.fn.bootstrapWizard.defaults={withVisible:!0,tabClass:"nav nav-pills",nextSelector:".wizard li.next",previousSelector:".wizard li.previous",firstSelector:".wizard li.first",lastSelector:".wizard li.last",finishSelector:".wizard li.finish",backSelector:".wizard li.back",onShow:null,onInit:null,onNext:null,onPrevious:null,onLast:null,onFirst:null,onFinish:null,onBack:null,onTabChange:null,onTabClick:null,onTabShow:null}}(jQuery);
--- a/src/pyams_skin/resources/js/ext/flot/jquery.colorhelpers.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.colorhelpers.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function($){$.color={};$.color.make=function(r,g,b,a){var o={};o.r=r||0;o.g=g||0;o.b=b||0;o.a=a!=null?a:1;o.add=function(c,d){for(var i=0;i<c.length;++i)o[c.charAt(i)]+=d;return o.normalize()};o.scale=function(c,f){for(var i=0;i<c.length;++i)o[c.charAt(i)]*=f;return o.normalize()};o.toString=function(){if(o.a>=1){return"rgb("+[o.r,o.g,o.b].join(",")+")"}else{return"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"}};o.normalize=function(){function clamp(min,value,max){return value<min?min:value>max?max:value}o.r=clamp(0,parseInt(o.r),255);o.g=clamp(0,parseInt(o.g),255);o.b=clamp(0,parseInt(o.b),255);o.a=clamp(0,o.a,1);return o};o.clone=function(){return $.color.make(o.r,o.b,o.g,o.a)};return o.normalize()};$.color.extract=function(elem,css){var c;do{c=elem.css(css).toLowerCase();if(c!=""&&c!="transparent")break;elem=elem.parent()}while(elem.length&&!$.nodeName(elem.get(0),"body"));if(c=="rgba(0, 0, 0, 0)")c="transparent";return $.color.parse(c)};$.color.parse=function(str){var res,m=$.color.make;if(res=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10));if(res=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10),parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55);if(res=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55,parseFloat(res[4]));if(res=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))return m(parseInt(res[1],16),parseInt(res[2],16),parseInt(res[3],16));if(res=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))return m(parseInt(res[1]+res[1],16),parseInt(res[2]+res[2],16),parseInt(res[3]+res[3],16));var name=$.trim(str).toLowerCase();if(name=="transparent")return m(255,255,255,0);else{res=lookupColors[name]||[0,0,0];return m(res[0],res[1],res[2])}};var lookupColors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);
\ No newline at end of file
+!function(r){r.color={},r.color.make=function(e,a,n,t){var o={};return o.r=e||0,o.g=a||0,o.b=n||0,o.a=null!=t?t:1,o.add=function(r,e){for(var a=0;a<r.length;++a)o[r.charAt(a)]+=e;return o.normalize()},o.scale=function(r,e){for(var a=0;a<r.length;++a)o[r.charAt(a)]*=e;return o.normalize()},o.toString=function(){return o.a>=1?"rgb("+[o.r,o.g,o.b].join(",")+")":"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"},o.normalize=function(){function r(r,e,a){return e<r?r:e>a?a:e}return o.r=r(0,parseInt(o.r),255),o.g=r(0,parseInt(o.g),255),o.b=r(0,parseInt(o.b),255),o.a=r(0,o.a,1),o},o.clone=function(){return r.color.make(o.r,o.b,o.g,o.a)},o.normalize()},r.color.extract=function(e,a){var n;do{if(""!=(n=e.css(a).toLowerCase())&&"transparent"!=n)break;e=e.parent()}while(e.length&&!r.nodeName(e.get(0),"body"));return"rgba(0, 0, 0, 0)"==n&&(n="transparent"),r.color.parse(n)},r.color.parse=function(a){var n,t=r.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))return t(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(a))return t(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a))return t(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]));if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(a))return t(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]),parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))return t(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a))return t(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));var o=r.trim(a).toLowerCase();return"transparent"==o?t(255,255,255,0):(n=e[o]||[0,0,0],t(n[0],n[1],n[2]))};var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery);
--- a/src/pyams_skin/resources/js/ext/flot/jquery.flot.categories.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.flot.categories.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,7 +1,1 @@
-/* Javascript plotting library for jQuery, version 0.8.3.
-
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
-Licensed under the MIT license.
-
-*/
-(function($){var options={xaxis:{categories:null},yaxis:{categories:null}};function processRawData(plot,series,data,datapoints){var xCategories=series.xaxis.options.mode=="categories",yCategories=series.yaxis.options.mode=="categories";if(!(xCategories||yCategories))return;var format=datapoints.format;if(!format){var s=series;format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}datapoints.format=format}for(var m=0;m<format.length;++m){if(format[m].x&&xCategories)format[m].number=false;if(format[m].y&&yCategories)format[m].number=false}}function getNextIndex(categories){var index=-1;for(var v in categories)if(categories[v]>index)index=categories[v];return index+1}function categoriesTickGenerator(axis){var res=[];for(var label in axis.categories){var v=axis.categories[label];if(v>=axis.min&&v<=axis.max)res.push([v,label])}res.sort(function(a,b){return a[0]-b[0]});return res}function setupCategoriesForAxis(series,axis,datapoints){if(series[axis].options.mode!="categories")return;if(!series[axis].categories){var c={},o=series[axis].options.categories||{};if($.isArray(o)){for(var i=0;i<o.length;++i)c[o[i]]=i}else{for(var v in o)c[v]=o[v]}series[axis].categories=c}if(!series[axis].options.ticks)series[axis].options.ticks=categoriesTickGenerator;transformPointsOnAxis(datapoints,axis,series[axis].categories)}function transformPointsOnAxis(datapoints,axis,categories){var points=datapoints.points,ps=datapoints.pointsize,format=datapoints.format,formatColumn=axis.charAt(0),index=getNextIndex(categories);for(var i=0;i<points.length;i+=ps){if(points[i]==null)continue;for(var m=0;m<ps;++m){var val=points[i+m];if(val==null||!format[m][formatColumn])continue;if(!(val in categories)){categories[val]=index;++index}points[i+m]=categories[val]}}}function processDatapoints(plot,series,datapoints){setupCategoriesForAxis(series,"xaxis",datapoints);setupCategoriesForAxis(series,"yaxis",datapoints)}function init(plot){plot.hooks.processRawData.push(processRawData);plot.hooks.processDatapoints.push(processDatapoints)}$.plot.plugins.push({init:init,options:options,name:"categories",version:"1.0"})})(jQuery);
\ No newline at end of file
+!function(r){function o(r,o,e,i){var s="categories"==o.xaxis.options.mode,n="categories"==o.yaxis.options.mode;if(s||n){var a=i.format;if(!a){var t=o;if((a=[]).push({x:!0,number:!0,required:!0}),a.push({y:!0,number:!0,required:!0}),t.bars.show||t.lines.show&&t.lines.fill){var u=!!(t.bars.show&&t.bars.zero||t.lines.show&&t.lines.zero);a.push({y:!0,number:!0,required:!1,defaultValue:0,autoscale:u}),t.bars.horizontal&&(delete a[a.length-1].y,a[a.length-1].x=!0)}i.format=a}for(var f=0;f<a.length;++f)a[f].x&&s&&(a[f].number=!1),a[f].y&&n&&(a[f].number=!1)}}function e(r){var o=-1;for(var e in r)r[e]>o&&(o=r[e]);return o+1}function i(r){var o=[];for(var e in r.categories){var i=r.categories[e];i>=r.min&&i<=r.max&&o.push([i,e])}return o.sort(function(r,o){return r[0]-o[0]}),o}function s(o,e,s){if("categories"==o[e].options.mode){if(!o[e].categories){var a={},t=o[e].options.categories||{};if(r.isArray(t))for(var u=0;u<t.length;++u)a[t[u]]=u;else for(var f in t)a[f]=t[f];o[e].categories=a}o[e].options.ticks||(o[e].options.ticks=i),n(s,e,o[e].categories)}}function n(r,o,i){for(var s=r.points,n=r.pointsize,a=r.format,t=o.charAt(0),u=e(i),f=0;f<s.length;f+=n)if(null!=s[f])for(var c=0;c<n;++c){var l=s[f+c];null!=l&&a[c][t]&&(l in i||(i[l]=u,++u),s[f+c]=i[l])}}function a(r,o,e){s(o,"xaxis",e),s(o,"yaxis",e)}r.plot.plugins.push({init:function(r){r.hooks.processRawData.push(o),r.hooks.processDatapoints.push(a)},options:{xaxis:{categories:null},yaxis:{categories:null}},name:"categories",version:"1.0"})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/flot/jquery.flot.fillbetween.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.flot.fillbetween.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,7 +1,1 @@
-/* Javascript plotting library for jQuery, version 0.8.3.
-
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
-Licensed under the MIT license.
-
-*/
-(function($){var options={series:{fillBetween:null}};function init(plot){function findBottomSeries(s,allseries){var i;for(i=0;i<allseries.length;++i){if(allseries[i].id===s.fillBetween){return allseries[i]}}if(typeof s.fillBetween==="number"){if(s.fillBetween<0||s.fillBetween>=allseries.length){return null}return allseries[s.fillBetween]}return null}function computeFillBottoms(plot,s,datapoints){if(s.fillBetween==null){return}var other=findBottomSeries(s,plot.getData());if(!other){return}var ps=datapoints.pointsize,points=datapoints.points,otherps=other.datapoints.pointsize,otherpoints=other.datapoints.points,newpoints=[],px,py,intery,qx,qy,bottom,withlines=s.lines.show,withbottom=ps>2&&datapoints.format[2].y,withsteps=withlines&&s.lines.steps,fromgap=true,i=0,j=0,l,m;while(true){if(i>=points.length){break}l=newpoints.length;if(points[i]==null){for(m=0;m<ps;++m){newpoints.push(points[i+m])}i+=ps}else if(j>=otherpoints.length){if(!withlines){for(m=0;m<ps;++m){newpoints.push(points[i+m])}}i+=ps}else if(otherpoints[j]==null){for(m=0;m<ps;++m){newpoints.push(null)}fromgap=true;j+=otherps}else{px=points[i];py=points[i+1];qx=otherpoints[j];qy=otherpoints[j+1];bottom=0;if(px===qx){for(m=0;m<ps;++m){newpoints.push(points[i+m])}bottom=qy;i+=ps;j+=otherps}else if(px>qx){if(withlines&&i>0&&points[i-ps]!=null){intery=py+(points[i-ps+1]-py)*(qx-px)/(points[i-ps]-px);newpoints.push(qx);newpoints.push(intery);for(m=2;m<ps;++m){newpoints.push(points[i+m])}bottom=qy}j+=otherps}else{if(fromgap&&withlines){i+=ps;continue}for(m=0;m<ps;++m){newpoints.push(points[i+m])}if(withlines&&j>0&&otherpoints[j-otherps]!=null){bottom=qy+(otherpoints[j-otherps+1]-qy)*(px-qx)/(otherpoints[j-otherps]-qx)}i+=ps}fromgap=false;if(l!==newpoints.length&&withbottom){newpoints[l+2]=bottom}}if(withsteps&&l!==newpoints.length&&l>0&&newpoints[l]!==null&&newpoints[l]!==newpoints[l-ps]&&newpoints[l+1]!==newpoints[l-ps+1]){for(m=0;m<ps;++m){newpoints[l+ps+m]=newpoints[l+m]}newpoints[l+1]=newpoints[l-ps+1]}}datapoints.points=newpoints}plot.hooks.processDatapoints.push(computeFillBottoms)}$.plot.plugins.push({init:init,options:options,name:"fillbetween",version:"1.0"})})(jQuery);
\ No newline at end of file
+!function(e){jQuery.plot.plugins.push({init:function(e){function n(e,n){var l;for(l=0;l<n.length;++l)if(n[l].id===e.fillBetween)return n[l];return"number"==typeof e.fillBetween?e.fillBetween<0||e.fillBetween>=n.length?null:n[e.fillBetween]:null}e.hooks.processDatapoints.push(function(e,l,i){if(null!=l.fillBetween){var t=n(l,e.getData());if(t){for(var s,f,o,u,p,r,h,a,g=i.pointsize,w=i.points,B=t.datapoints.pointsize,c=t.datapoints.points,v=[],d=l.lines.show,m=g>2&&i.format[2].y,y=d&&l.lines.steps,b=!0,z=0,D=0;!(z>=w.length);){if(h=v.length,null==w[z]){for(a=0;a<g;++a)v.push(w[z+a]);z+=g}else if(D>=c.length){if(!d)for(a=0;a<g;++a)v.push(w[z+a]);z+=g}else if(null==c[D]){for(a=0;a<g;++a)v.push(null);b=!0,D+=B}else{if(s=w[z],f=w[z+1],u=c[D],p=c[D+1],r=0,s===u){for(a=0;a<g;++a)v.push(w[z+a]);r=p,z+=g,D+=B}else if(s>u){if(d&&z>0&&null!=w[z-g]){for(o=f+(w[z-g+1]-f)*(u-s)/(w[z-g]-s),v.push(u),v.push(o),a=2;a<g;++a)v.push(w[z+a]);r=p}D+=B}else{if(b&&d){z+=g;continue}for(a=0;a<g;++a)v.push(w[z+a]);d&&D>0&&null!=c[D-B]&&(r=p+(c[D-B+1]-p)*(s-u)/(c[D-B]-u)),z+=g}b=!1,h!==v.length&&m&&(v[h+2]=r)}if(y&&h!==v.length&&h>0&&null!==v[h]&&v[h]!==v[h-g]&&v[h+1]!==v[h-g+1]){for(a=0;a<g;++a)v[h+g+a]=v[h+a];v[h+1]=v[h-g+1]}}i.points=v}}})},options:{series:{fillBetween:null}},name:"fillbetween",version:"1.0"})}();
--- a/src/pyams_skin/resources/js/ext/flot/jquery.flot.navigate.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.flot.navigate.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,7 +1,1 @@
-/* Javascript plotting library for jQuery, version 0.8.3.
-
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
-Licensed under the MIT license.
-
-*/
-(function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switch(h.type){case"mousedown":return a.extend(l,a(j).offset(),{elem:j,target:h.target,pageX:h.pageX,pageY:h.pageY}),b.add(document,"mousemove mouseup",e,l),i(j,!1),d.dragging=null,!1;case!d.dragging&&"mousemove":if(g(h.pageX-l.pageX)+g(h.pageY-l.pageY)<l.distance)break;h.target=l.target,k=f(h,"dragstart",j),k!==!1&&(d.dragging=j,d.proxy=h.dragProxy=a(k||j)[0]);case"mousemove":if(d.dragging){if(k=f(h,"drag",j),c.drop&&(c.drop.allowed=k!==!1,c.drop.handler(h)),k!==!1)break;h.type="mouseup"}case"mouseup":b.remove(document,"mousemove mouseup",e),d.dragging&&(c.drop&&c.drop.handler(h),f(h,"dragend",j)),i(j,!0),d.dragging=d.proxy=l.elem=!1}return!0}function f(b,c,d){b.type=c;var e=a.event.dispatch.call(d,b);return e===!1?!1:e||b.result}function g(a){return Math.pow(a,2)}function h(){return d.dragging===!1}function i(a,b){a&&(a.unselectable=b?"off":"on",a.onselectstart=function(){return b},a.style&&(a.style.MozUserSelect=b?"":"none"))}a.fn.drag=function(a,b,c){return b&&this.bind("dragstart",a),c&&this.bind("dragend",c),a?this.bind("drag",b?b:a):this.trigger("drag")};var b=a.event,c=b.special,d=c.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(c){c=a.extend({distance:d.distance,which:d.which,not:d.not},c||{}),c.distance=g(c.distance),b.add(this,"mousedown",e,c),this.attachEvent&&this.attachEvent("ondragstart",h)},teardown:function(){b.remove(this,"mousedown",e),this===d.dragging&&(d.dragging=d.proxy=!1),i(this,!0),this.detachEvent&&this.detachEvent("ondragstart",h)}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}}})(jQuery);(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;void 0!==b.axis&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);void 0!==b.wheelDeltaY&&(g=b.wheelDeltaY/120);void 0!==b.wheelDeltaX&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);(function($){var options={xaxis:{zoomRange:null,panRange:null},zoom:{interactive:false,trigger:"dblclick",amount:1.5},pan:{interactive:false,cursor:"move",frameRate:20}};function init(plot){function onZoomClick(e,zoomOut){var c=plot.offset();c.left=e.pageX-c.left;c.top=e.pageY-c.top;if(zoomOut)plot.zoomOut({center:c});else plot.zoom({center:c})}function onMouseWheel(e,delta){e.preventDefault();onZoomClick(e,delta<0);return false}var prevCursor="default",prevPageX=0,prevPageY=0,panTimeout=null;function onDragStart(e){if(e.which!=1)return false;var c=plot.getPlaceholder().css("cursor");if(c)prevCursor=c;plot.getPlaceholder().css("cursor",plot.getOptions().pan.cursor);prevPageX=e.pageX;prevPageY=e.pageY}function onDrag(e){var frameRate=plot.getOptions().pan.frameRate;if(panTimeout||!frameRate)return;panTimeout=setTimeout(function(){plot.pan({left:prevPageX-e.pageX,top:prevPageY-e.pageY});prevPageX=e.pageX;prevPageY=e.pageY;panTimeout=null},1/frameRate*1e3)}function onDragEnd(e){if(panTimeout){clearTimeout(panTimeout);panTimeout=null}plot.getPlaceholder().css("cursor",prevCursor);plot.pan({left:prevPageX-e.pageX,top:prevPageY-e.pageY})}function bindEvents(plot,eventHolder){var o=plot.getOptions();if(o.zoom.interactive){eventHolder[o.zoom.trigger](onZoomClick);eventHolder.mousewheel(onMouseWheel)}if(o.pan.interactive){eventHolder.bind("dragstart",{distance:10},onDragStart);eventHolder.bind("drag",onDrag);eventHolder.bind("dragend",onDragEnd)}}plot.zoomOut=function(args){if(!args)args={};if(!args.amount)args.amount=plot.getOptions().zoom.amount;args.amount=1/args.amount;plot.zoom(args)};plot.zoom=function(args){if(!args)args={};var c=args.center,amount=args.amount||plot.getOptions().zoom.amount,w=plot.width(),h=plot.height();if(!c)c={left:w/2,top:h/2};var xf=c.left/w,yf=c.top/h,minmax={x:{min:c.left-xf*w/amount,max:c.left+(1-xf)*w/amount},y:{min:c.top-yf*h/amount,max:c.top+(1-yf)*h/amount}};$.each(plot.getAxes(),function(_,axis){var opts=axis.options,min=minmax[axis.direction].min,max=minmax[axis.direction].max,zr=opts.zoomRange,pr=opts.panRange;if(zr===false)return;min=axis.c2p(min);max=axis.c2p(max);if(min>max){var tmp=min;min=max;max=tmp}if(pr){if(pr[0]!=null&&min<pr[0]){min=pr[0]}if(pr[1]!=null&&max>pr[1]){max=pr[1]}}var range=max-min;if(zr&&(zr[0]!=null&&range<zr[0]&&amount>1||zr[1]!=null&&range>zr[1]&&amount<1))return;opts.min=min;opts.max=max});plot.setupGrid();plot.draw();if(!args.preventEvent)plot.getPlaceholder().trigger("plotzoom",[plot,args])};plot.pan=function(args){var delta={x:+args.left,y:+args.top};if(isNaN(delta.x))delta.x=0;if(isNaN(delta.y))delta.y=0;$.each(plot.getAxes(),function(_,axis){var opts=axis.options,min,max,d=delta[axis.direction];min=axis.c2p(axis.p2c(axis.min)+d),max=axis.c2p(axis.p2c(axis.max)+d);var pr=opts.panRange;if(pr===false)return;if(pr){if(pr[0]!=null&&pr[0]>min){d=pr[0]-min;min+=d;max+=d}if(pr[1]!=null&&pr[1]<max){d=pr[1]-max;min+=d;max+=d}}opts.min=min;opts.max=max});plot.setupGrid();plot.draw();if(!args.preventEvent)plot.getPlaceholder().trigger("plotpan",[plot,args])};function shutdown(plot,eventHolder){eventHolder.unbind(plot.getOptions().zoom.trigger,onZoomClick);eventHolder.unbind("mousewheel",onMouseWheel);eventHolder.unbind("dragstart",onDragStart);eventHolder.unbind("drag",onDrag);eventHolder.unbind("dragend",onDragEnd);if(panTimeout)clearTimeout(panTimeout)}plot.hooks.bindEvents.push(bindEvents);plot.hooks.shutdown.push(shutdown)}$.plot.plugins.push({init:init,options:options,name:"navigate",version:"1.3"})})(jQuery);
\ No newline at end of file
+!function(e){function t(a){var g,d=this,l=a.data||{};if(l.elem)d=a.dragTarget=l.elem,a.dragProxy=u.proxy||d,a.cursorOffsetX=l.pageX-l.left,a.cursorOffsetY=l.pageY-l.top,a.offsetX=a.pageX-a.cursorOffsetX,a.offsetY=a.pageY-a.cursorOffsetY;else if(u.dragging||l.which>0&&a.which!=l.which||e(a.target).is(l.not))return;switch(a.type){case"mousedown":return e.extend(l,e(d).offset(),{elem:d,target:a.target,pageX:a.pageX,pageY:a.pageY}),i.add(document,"mousemove mouseup",t,l),r(d,!1),u.dragging=null,!1;case!u.dragging&&"mousemove":if(o(a.pageX-l.pageX)+o(a.pageY-l.pageY)<l.distance)break;a.target=l.target,!1!==(g=n(a,"dragstart",d))&&(u.dragging=d,u.proxy=a.dragProxy=e(g||d)[0]);case"mousemove":if(u.dragging){if(g=n(a,"drag",d),s.drop&&(s.drop.allowed=!1!==g,s.drop.handler(a)),!1!==g)break;a.type="mouseup"}case"mouseup":i.remove(document,"mousemove mouseup",t),u.dragging&&(s.drop&&s.drop.handler(a),n(a,"dragend",d)),r(d,!0),u.dragging=u.proxy=l.elem=!1}return!0}function n(t,n,o){t.type=n;var a=e.event.dispatch.call(o,t);return!1!==a&&(a||t.result)}function o(e){return Math.pow(e,2)}function a(){return!1===u.dragging}function r(e,t){e&&(e.unselectable=t?"off":"on",e.onselectstart=function(){return t},e.style&&(e.style.MozUserSelect=t?"":"none"))}e.fn.drag=function(e,t,n){return t&&this.bind("dragstart",e),n&&this.bind("dragend",n),e?this.bind("drag",t||e):this.trigger("drag")};var i=e.event,s=i.special,u=s.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(n){(n=e.extend({distance:u.distance,which:u.which,not:u.not},n||{})).distance=o(n.distance),i.add(this,"mousedown",t,n),this.attachEvent&&this.attachEvent("ondragstart",a)},teardown:function(){i.remove(this,"mousedown",t),this===u.dragging&&(u.dragging=u.proxy=!1),r(this,!0),this.detachEvent&&this.detachEvent("ondragstart",a)}};s.dragstart=s.dragend={setup:function(){},teardown:function(){}}}(jQuery),function(e){function t(t){var n=t||window.event,o=[].slice.call(arguments,1),a=0,r=0,i=0;return(t=e.event.fix(n)).type="mousewheel",n.wheelDelta&&(a=n.wheelDelta/120),n.detail&&(a=-n.detail/3),i=a,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(i=0,r=-1*a),void 0!==n.wheelDeltaY&&(i=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(r=-1*n.wheelDeltaX/120),o.unshift(t,a,r,i),(e.event.dispatch||e.event.handle).apply(this,o)}var n=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var o=n.length;o;)e.event.fixHooks[n[--o]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery),function(e){e.plot.plugins.push({init:function(t){function n(e,n){var o=t.offset();o.left=e.pageX-o.left,o.top=e.pageY-o.top,n?t.zoomOut({center:o}):t.zoom({center:o})}function o(e,t){return e.preventDefault(),n(e,t<0),!1}function a(e){if(1!=e.which)return!1;var n=t.getPlaceholder().css("cursor");n&&(s=n),t.getPlaceholder().css("cursor",t.getOptions().pan.cursor),u=e.pageX,g=e.pageY}function r(e){var n=t.getOptions().pan.frameRate;!d&&n&&(d=setTimeout(function(){t.pan({left:u-e.pageX,top:g-e.pageY}),u=e.pageX,g=e.pageY,d=null},1/n*1e3))}function i(e){d&&(clearTimeout(d),d=null),t.getPlaceholder().css("cursor",s),t.pan({left:u-e.pageX,top:g-e.pageY})}var s="default",u=0,g=0,d=null;t.zoomOut=function(e){e||(e={}),e.amount||(e.amount=t.getOptions().zoom.amount),e.amount=1/e.amount,t.zoom(e)},t.zoom=function(n){n||(n={});var o=n.center,a=n.amount||t.getOptions().zoom.amount,r=t.width(),i=t.height();o||(o={left:r/2,top:i/2});var s=o.left/r,u=o.top/i,g={x:{min:o.left-s*r/a,max:o.left+(1-s)*r/a},y:{min:o.top-u*i/a,max:o.top+(1-u)*i/a}};e.each(t.getAxes(),function(e,t){var n=t.options,o=g[t.direction].min,r=g[t.direction].max,i=n.zoomRange,s=n.panRange;if(!1!==i){if(o=t.c2p(o),r=t.c2p(r),o>r){var u=o;o=r,r=u}s&&(null!=s[0]&&o<s[0]&&(o=s[0]),null!=s[1]&&r>s[1]&&(r=s[1]));var d=r-o;i&&(null!=i[0]&&d<i[0]&&a>1||null!=i[1]&&d>i[1]&&a<1)||(n.min=o,n.max=r)}}),t.setupGrid(),t.draw(),n.preventEvent||t.getPlaceholder().trigger("plotzoom",[t,n])},t.pan=function(n){var o={x:+n.left,y:+n.top};isNaN(o.x)&&(o.x=0),isNaN(o.y)&&(o.y=0),e.each(t.getAxes(),function(e,t){var n,a,r=t.options,i=o[t.direction];n=t.c2p(t.p2c(t.min)+i),a=t.c2p(t.p2c(t.max)+i);var s=r.panRange;!1!==s&&(s&&(null!=s[0]&&s[0]>n&&(n+=i=s[0]-n,a+=i),null!=s[1]&&s[1]<a&&(n+=i=s[1]-a,a+=i)),r.min=n,r.max=a)}),t.setupGrid(),t.draw(),n.preventEvent||t.getPlaceholder().trigger("plotpan",[t,n])},t.hooks.bindEvents.push(function(e,t){var s=e.getOptions();s.zoom.interactive&&(t[s.zoom.trigger](n),t.mousewheel(o)),s.pan.interactive&&(t.bind("dragstart",{distance:10},a),t.bind("drag",r),t.bind("dragend",i))}),t.hooks.shutdown.push(function(e,t){t.unbind(e.getOptions().zoom.trigger,n),t.unbind("mousewheel",o),t.unbind("dragstart",a),t.unbind("drag",r),t.unbind("dragend",i),d&&clearTimeout(d)})},options:{xaxis:{zoomRange:null,panRange:null},zoom:{interactive:!1,trigger:"dblclick",amount:1.5},pan:{interactive:!1,cursor:"move",frameRate:20}},name:"navigate",version:"1.3"})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/flot/jquery.flot.stack.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.flot.stack.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,7 +1,1 @@
-/* Javascript plotting library for jQuery, version 0.8.3.
-
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
-Licensed under the MIT license.
-
-*/
-(function($){var options={series:{stack:null}};function init(plot){function findMatchingSeries(s,allseries){var res=null;for(var i=0;i<allseries.length;++i){if(s==allseries[i])break;if(allseries[i].stack==s.stack)res=allseries[i]}return res}function stackData(plot,s,datapoints){if(s.stack==null||s.stack===false)return;var other=findMatchingSeries(s,plot.getData());if(!other)return;var ps=datapoints.pointsize,points=datapoints.points,otherps=other.datapoints.pointsize,otherpoints=other.datapoints.points,newpoints=[],px,py,intery,qx,qy,bottom,withlines=s.lines.show,horizontal=s.bars.horizontal,withbottom=ps>2&&(horizontal?datapoints.format[2].x:datapoints.format[2].y),withsteps=withlines&&s.lines.steps,fromgap=true,keyOffset=horizontal?1:0,accumulateOffset=horizontal?0:1,i=0,j=0,l,m;while(true){if(i>=points.length)break;l=newpoints.length;if(points[i]==null){for(m=0;m<ps;++m)newpoints.push(points[i+m]);i+=ps}else if(j>=otherpoints.length){if(!withlines){for(m=0;m<ps;++m)newpoints.push(points[i+m])}i+=ps}else if(otherpoints[j]==null){for(m=0;m<ps;++m)newpoints.push(null);fromgap=true;j+=otherps}else{px=points[i+keyOffset];py=points[i+accumulateOffset];qx=otherpoints[j+keyOffset];qy=otherpoints[j+accumulateOffset];bottom=0;if(px==qx){for(m=0;m<ps;++m)newpoints.push(points[i+m]);newpoints[l+accumulateOffset]+=qy;bottom=qy;i+=ps;j+=otherps}else if(px>qx){if(withlines&&i>0&&points[i-ps]!=null){intery=py+(points[i-ps+accumulateOffset]-py)*(qx-px)/(points[i-ps+keyOffset]-px);newpoints.push(qx);newpoints.push(intery+qy);for(m=2;m<ps;++m)newpoints.push(points[i+m]);bottom=qy}j+=otherps}else{if(fromgap&&withlines){i+=ps;continue}for(m=0;m<ps;++m)newpoints.push(points[i+m]);if(withlines&&j>0&&otherpoints[j-otherps]!=null)bottom=qy+(otherpoints[j-otherps+accumulateOffset]-qy)*(px-qx)/(otherpoints[j-otherps+keyOffset]-qx);newpoints[l+accumulateOffset]+=bottom;i+=ps}fromgap=false;if(l!=newpoints.length&&withbottom)newpoints[l+2]+=bottom}if(withsteps&&l!=newpoints.length&&l>0&&newpoints[l]!=null&&newpoints[l]!=newpoints[l-ps]&&newpoints[l+1]!=newpoints[l-ps+1]){for(m=0;m<ps;++m)newpoints[l+ps+m]=newpoints[l+m];newpoints[l+1]=newpoints[l-ps+1]}}datapoints.points=newpoints}plot.hooks.processDatapoints.push(stackData)}$.plot.plugins.push({init:init,options:options,name:"stack",version:"1.2"})})(jQuery);
\ No newline at end of file
+!function(s){jQuery.plot.plugins.push({init:function(s){function n(s,n){for(var t=null,i=0;i<n.length&&s!=n[i];++i)n[i].stack==s.stack&&(t=n[i]);return t}s.hooks.processDatapoints.push(function(s,t,i){if(null!=t.stack&&!1!==t.stack){var l=n(t,s.getData());if(l){for(var o,e,u,f,p,a,r,h,c=i.pointsize,g=i.points,k=l.datapoints.pointsize,v=l.datapoints.points,m=[],z=t.lines.show,d=t.bars.horizontal,y=c>2&&(d?i.format[2].x:i.format[2].y),D=z&&t.lines.steps,b=!0,j=d?1:0,w=d?0:1,x=0,Q=0;!(x>=g.length);){if(r=m.length,null==g[x]){for(h=0;h<c;++h)m.push(g[x+h]);x+=c}else if(Q>=v.length){if(!z)for(h=0;h<c;++h)m.push(g[x+h]);x+=c}else if(null==v[Q]){for(h=0;h<c;++h)m.push(null);b=!0,Q+=k}else{if(o=g[x+j],e=g[x+w],f=v[Q+j],p=v[Q+w],a=0,o==f){for(h=0;h<c;++h)m.push(g[x+h]);m[r+w]+=p,a=p,x+=c,Q+=k}else if(o>f){if(z&&x>0&&null!=g[x-c]){for(u=e+(g[x-c+w]-e)*(f-o)/(g[x-c+j]-o),m.push(f),m.push(u+p),h=2;h<c;++h)m.push(g[x+h]);a=p}Q+=k}else{if(b&&z){x+=c;continue}for(h=0;h<c;++h)m.push(g[x+h]);z&&Q>0&&null!=v[Q-k]&&(a=p+(v[Q-k+w]-p)*(o-f)/(v[Q-k+j]-f)),m[r+w]+=a,x+=c}b=!1,r!=m.length&&y&&(m[r+2]+=a)}if(D&&r!=m.length&&r>0&&null!=m[r]&&m[r]!=m[r-c]&&m[r+1]!=m[r-c+1]){for(h=0;h<c;++h)m[r+c+h]=m[r+h];m[r+1]=m[r-c+1]}}i.points=m}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})}();
--- a/src/pyams_skin/resources/js/ext/flot/jquery.flot.threshold.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.flot.threshold.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,7 +1,1 @@
-/* Javascript plotting library for jQuery, version 0.8.3.
-
-Copyright (c) 2007-2014 IOLA and Ole Laursen.
-Licensed under the MIT license.
-
-*/
-(function($){var options={series:{threshold:null}};function init(plot){function thresholdData(plot,s,datapoints,below,color){var ps=datapoints.pointsize,i,x,y,p,prevp,thresholded=$.extend({},s);thresholded.datapoints={points:[],pointsize:ps,format:datapoints.format};thresholded.label=null;thresholded.color=color;thresholded.threshold=null;thresholded.originSeries=s;thresholded.data=[];var origpoints=datapoints.points,addCrossingPoints=s.lines.show;var threspoints=[];var newpoints=[];var m;for(i=0;i<origpoints.length;i+=ps){x=origpoints[i];y=origpoints[i+1];prevp=p;if(y<below)p=threspoints;else p=newpoints;if(addCrossingPoints&&prevp!=p&&x!=null&&i>0&&origpoints[i-ps]!=null){var interx=x+(below-y)*(x-origpoints[i-ps])/(y-origpoints[i-ps+1]);prevp.push(interx);prevp.push(below);for(m=2;m<ps;++m)prevp.push(origpoints[i+m]);p.push(null);p.push(null);for(m=2;m<ps;++m)p.push(origpoints[i+m]);p.push(interx);p.push(below);for(m=2;m<ps;++m)p.push(origpoints[i+m])}p.push(x);p.push(y);for(m=2;m<ps;++m)p.push(origpoints[i+m])}datapoints.points=newpoints;thresholded.datapoints.points=threspoints;if(thresholded.datapoints.points.length>0){var origIndex=$.inArray(s,plot.getData());plot.getData().splice(origIndex+1,0,thresholded)}}function processThresholds(plot,s,datapoints){if(!s.threshold)return;if(s.threshold instanceof Array){s.threshold.sort(function(a,b){return a.below-b.below});$(s.threshold).each(function(i,th){thresholdData(plot,s,datapoints,th.below,th.color)})}else{thresholdData(plot,s,datapoints,s.threshold.below,s.threshold.color)}}plot.hooks.processDatapoints.push(processThresholds)}$.plot.plugins.push({init:init,options:options,name:"threshold",version:"1.2"})})(jQuery);
\ No newline at end of file
+!function(o){o.plot.plugins.push({init:function(s){function t(s,t,n,l,h){var r,e,i,p,u,a=n.pointsize,f=o.extend({},t);f.datapoints={points:[],pointsize:a,format:n.format},f.label=null,f.color=h,f.threshold=null,f.originSeries=t,f.data=[];var d,c=n.points,g=t.lines.show,b=[],v=[];for(r=0;r<c.length;r+=a){if(e=c[r],i=c[r+1],u=p,p=i<l?b:v,g&&u!=p&&null!=e&&r>0&&null!=c[r-a]){var w=e+(l-i)*(e-c[r-a])/(i-c[r-a+1]);for(u.push(w),u.push(l),d=2;d<a;++d)u.push(c[r+d]);for(p.push(null),p.push(null),d=2;d<a;++d)p.push(c[r+d]);for(p.push(w),p.push(l),d=2;d<a;++d)p.push(c[r+d])}for(p.push(e),p.push(i),d=2;d<a;++d)p.push(c[r+d])}if(n.points=v,f.datapoints.points=b,f.datapoints.points.length>0){var m=o.inArray(t,s.getData());s.getData().splice(m+1,0,f)}}s.hooks.processDatapoints.push(function(s,n,l){n.threshold&&(n.threshold instanceof Array?(n.threshold.sort(function(o,s){return o.below-s.below}),o(n.threshold).each(function(o,h){t(s,n,l,h.below,h.color)})):t(s,n,l,n.threshold.below,n.threshold.color))})},options:{series:{threshold:null}},name:"threshold",version:"1.2"})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/flot/jquery.flot.tooltip.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/flot/jquery.flot.tooltip.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(b){var a={tooltip:false,tooltipOpts:{content:"%s | X: %x | Y: %y.2",dateFormat:"%y-%0m-%0d",shifts:{x:10,y:20},defaultTheme:true}};var c=function(i){var d={x:0,y:0};var h=i.getOptions();var g=function(l){d.x=l.x;d.y=l.y};var k=function(l){var m={x:0,y:0};m.x=l.pageX;m.y=l.pageY;g(m)};var f=function(l){var m=new Date(l);return b.plot.formatDate(m,h.tooltipOpts.dateFormat)};i.hooks.bindEvents.push(function(m,l){var p=h.tooltipOpts;var o=m.getPlaceholder();var n;if(h.tooltip===false){return}if(b("#flotTip").length>0){n=b("#flotTip")}else{n=b("<div />").attr("id","flotTip");n.appendTo("body").hide().css({position:"absolute"});if(p.defaultTheme){n.css({background:"#fff","z-index":"100",padding:"0.4em 0.6em","border-radius":"0.5em","font-size":"0.8em",border:"1px solid #111"})}}b(o).bind("plothover",function(s,t,r){if(r){var q;if(h.xaxis.mode==="time"||h.xaxes[0].mode==="time"){q=e(p.content,r,f)}else{q=e(p.content,r)}n.html(q).css({left:d.x+p.shifts.x,top:d.y+p.shifts.y}).show()}else{n.hide().html("")}});l.mousemove(k)});var e=function(p,o,n){var r=/%p\.{0,1}(\d{0,})/;var q=/%s/;var m=/%x\.{0,1}(\d{0,})/;var l=/%y\.{0,1}(\d{0,})/;if(typeof(o.series.percent)!=="undefined"){p=j(r,p,o.series.percent)}if(typeof(o.series.label)!=="undefined"){p=p.replace(q,o.series.label)}if(typeof(n)==="function"){p=p.replace(m,n(o.series.data[o.dataIndex][0]))}else{if(typeof o.series.data[o.dataIndex][0]==="number"){p=j(m,p,o.series.data[o.dataIndex][0])}}if(typeof o.series.data[o.dataIndex][1]==="number"){p=j(l,p,o.series.data[o.dataIndex][1])}return p};var j=function(o,m,n){var l;if(m.match(o)!=="null"){if(RegExp.$1!==""){l=RegExp.$1;n=n.toFixed(l)}m=m.replace(o,n)}return m}};b.plot.plugins.push({init:c,options:a,name:"tooltip",version:"0.4.4"})})(jQuery);
\ No newline at end of file
+!function(e){e.plot.plugins.push({init:function(t){var o={x:0,y:0},i=t.getOptions(),n=function(e){o.x=e.x,o.y=e.y},a=function(e){var t={x:0,y:0};t.x=e.pageX,t.y=e.pageY,n(t)},s=function(t){var o=new Date(t);return e.plot.formatDate(o,i.tooltipOpts.dateFormat)};t.hooks.bindEvents.push(function(t,n){var r,p=i.tooltipOpts,l=t.getPlaceholder();!1!==i.tooltip&&(e("#flotTip").length>0?r=e("#flotTip"):((r=e("<div />").attr("id","flotTip")).appendTo("body").hide().css({position:"absolute"}),p.defaultTheme&&r.css({background:"#fff","z-index":"100",padding:"0.4em 0.6em","border-radius":"0.5em","font-size":"0.8em",border:"1px solid #111"})),e(l).bind("plothover",function(e,t,n){if(n){var a;a="time"===i.xaxis.mode||"time"===i.xaxes[0].mode?d(p.content,n,s):d(p.content,n),r.html(a).css({left:o.x+p.shifts.x,top:o.y+p.shifts.y}).show()}else r.hide().html("")}),n.mousemove(a))});var d=function(e,t,o){var i=/%x\.{0,1}(\d{0,})/;return void 0!==t.series.percent&&(e=r(/%p\.{0,1}(\d{0,})/,e,t.series.percent)),void 0!==t.series.label&&(e=e.replace(/%s/,t.series.label)),"function"==typeof o?e=e.replace(i,o(t.series.data[t.dataIndex][0])):"number"==typeof t.series.data[t.dataIndex][0]&&(e=r(i,e,t.series.data[t.dataIndex][0])),"number"==typeof t.series.data[t.dataIndex][1]&&(e=r(/%y\.{0,1}(\d{0,})/,e,t.series.data[t.dataIndex][1])),e},r=function(e,t,o){var i;return"null"!==t.match(e)&&(""!==RegExp.$1&&(i=RegExp.$1,o=o.toFixed(i)),t=t.replace(e,o)),t}},options:{tooltip:!1,tooltipOpts:{content:"%s | X: %x | Y: %y.2",dateFormat:"%y-%0m-%0d",shifts:{x:10,y:20},defaultTheme:!0}},name:"tooltip",version:"0.4.4"})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/jquery-2.2.4.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-2.2.4.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){var t=[],k=C.document,c=t.slice,g=t.concat,a=t.push,i=t.indexOf,n={},r=n.toString,h=n.hasOwnProperty,v={},o="2.2.4",E=function(e,t){return new E.fn.init(e,t)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,u=/^-ms-/,l=/-([\da-z])/gi,f=function(e,t){return t.toUpperCase()};function p(e){var t=!!e&&"length"in e&&e.length,n=E.type(e);return"function"!==n&&!E.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:o,constructor:E,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||E.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],s!==(r=e[t])&&(l&&r&&(E.isPlainObject(r)||(i=E.isArray(r)))?(i?(i=!1,o=n&&E.isArray(n)?n:[]):o=n&&E.isPlainObject(n)?n:{},s[t]=E.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},E.extend({expando:"jQuery"+(o+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===E.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!E.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==E.type(e)||e.nodeType||E.isWindow(e))return!1;if(e.constructor&&!h.call(e,"constructor")&&!h.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||h.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[r.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=E.trim(e))&&(1===e.indexOf("use strict")?((t=k.createElement("script")).text=e,k.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(u,"ms-").replace(l,f)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(s,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?E.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return g.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),E.isFunction(e))return r=c.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(c.call(arguments)))}).guid=e.guid=e.guid||E.guid++,i},now:Date.now,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,h,b,o,i,g,f,v,w,u,l,T,C,s,k,m,a,c,y,E="sizzle"+1*new Date,x=n.document,N=0,r=0,p=oe(),d=oe(),S=oe(),j=function(e,t){return e===t&&(l=!0),0},D=1<<31,A={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,F=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",I="\\["+R+"*("+M+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+R+"*\\]",W=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(R+"+","g"),B=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),_=new RegExp("^"+R+"*,"+R+"*"),X=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),z=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),U=new RegExp(W),V=new RegExp("^"+M+"$"),Y={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=function(){T()};try{H.apply(t=O.call(x.childNodes),x.childNodes),t[x.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,n,r){var i,o,s,a,u,l,c,f,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:x)!==C&&T(t),t=t||C,k)){if(11!==d&&(l=K.exec(e)))if(i=l[1]){if(9===d){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(p&&(s=p.getElementById(i))&&y(t,s)&&s.id===i)return n.push(s),n}else{if(l[2])return H.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(i)),n}if(h.qsa&&!S[e+" "]&&(!m||!m.test(e))){if(1!==d)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(ee,"\\$&"):t.setAttribute("id",a=E),o=(c=g(e)).length,u=V.test(a)?"#"+a:"[id='"+a+"']";o--;)c[o]=u+" "+ge(c[o]);f=c.join(","),p=Z.test(e)&&de(t.parentNode)||t}if(f)try{return H.apply(n,p.querySelectorAll(f)),n}catch(e){}finally{a===E&&t.removeAttribute("id")}}}return v(e.replace(B,"$1"),t,n,r)}function oe(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function se(e){return e[E]=!0,e}function ae(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function pe(s){return se(function(o){return o=+o,se(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=ie.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:x;return r!==C&&9===r.nodeType&&r.documentElement&&(s=(C=r).documentElement,k=!i(C),(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",re,!1):n.attachEvent&&n.attachEvent("onunload",re)),h.attributes=ae(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ae(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=J.test(C.getElementsByClassName),h.getById=ae(function(e){return s.appendChild(e).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),h.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&k){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),b.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&k)return t.getElementsByClassName(e)},a=[],m=[],(h.qsa=J.test(C.querySelectorAll))&&(ae(function(e){s.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]")}),ae(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=J.test(c=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ae(function(e){h.disconnectedMatch=c.call(e,"div"),c.call(e,"[s!='']:x"),a.push("!=",W)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),t=J.test(s.compareDocumentPosition),y=t||J.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===x&&y(x,e)?-1:t===C||t.ownerDocument===x&&y(x,t)?1:u?F(u,e)-F(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?F(u,e)-F(u,t):0;if(i===o)return le(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?le(s[r],a[r]):s[r]===x?-1:a[r]===x?1:0}),C},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(z,"='$1']"),h.matchesSelector&&k&&!S[t+" "]&&(!a||!a.test(t))&&(!m||!m.test(t)))try{var n=c.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<ie(t,C,null,[e]).length},ie.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&A.call(b.attrHandle,t.toLowerCase())?n(e,t,!k):void 0;return void 0!==r?r:h.attributes||!k?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!h.detectDuplicates,u=!h.sortStable&&e.slice(0),e.sort(j),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=ie.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=ie.selectors={cacheLength:50,createPseudo:se,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=ie.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace($," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var m="nth"!==h.slice(0,3),y="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,u,l=m!==y?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(m){for(;l;){for(s=e;s=s[l];)if(x?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?c.firstChild:c.lastChild],y&&p){for(d=(a=(r=(i=(o=(s=c)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1])&&r[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(d=a=0)||u.pop();)if(1===s.nodeType&&++d&&s===e){i[h]=[N,a,d];break}}else if(p&&(d=a=(r=(i=(o=(s=e)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1]),!1===d)for(;(s=++a&&s&&s[l]||(d=a=0)||u.pop())&&((x?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++d||(p&&((i=(o=s[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]=[N,d]),s!==e)););return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return s[E]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=F(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:se(function(e){var r=[],i=[],a=f(e.replace(B,"$1"));return a[E]?se(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),r[0]=null,!i.pop()}}),has:se(function(t){return function(e){return 0<ie(t,e).length}}),contains:se(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:se(function(n){return V.test(n||"")||ie.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:pe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=ce(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=fe(e);function he(){}function ge(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(a,e,t){var u=e.dir,l=t&&"parentNode"===u,c=r++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||l)return a(e,t,n)}:function(e,t,n){var r,i,o,s=[N,c];if(n){for(;e=e[u];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||l){if((r=(i=(o=e[E]||(e[E]={}))[e.uniqueID]||(o[e.uniqueID]={}))[u])&&r[0]===N&&r[1]===c)return s[2]=r[2];if((i[u]=s)[2]=a(e,t,n))return!0}}}function me(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function ye(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function xe(d,h,g,v,m,e){return v&&!v[E]&&(v=xe(v)),m&&!m[E]&&(m=xe(m,e)),se(function(e,t,n,r){var i,o,s,a=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ie(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:ye(c,a,d,n,r),p=g?m||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v)for(i=ye(p,u),v(i,[],n,r),o=i.length;o--;)(s=i[o])&&(p[u[o]]=!(f[u[o]]=s));if(e){if(m||d){if(m){for(i=[],o=p.length;o--;)(s=p[o])&&i.push(f[o]=s);m(null,p=[],i,r)}for(o=p.length;o--;)(s=p[o])&&-1<(i=m?F(e,s):a[o])&&(e[i]=!(t[i]=s))}}else p=ye(p===t?p.splice(l,p.length):p),m?m(null,t,p,r):H.apply(t,p)})}function be(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],s=o||b.relative[" "],a=o?1:0,u=ve(function(e){return e===i},s,!0),l=ve(function(e){return-1<F(i,e)},s,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];a<r;a++)if(t=b.relative[e[a].type])c=[ve(me(c),t)];else{if((t=b.filter[e[a].type].apply(null,e[a].matches))[E]){for(n=++a;n<r&&!b.relative[e[n].type];n++);return xe(1<a&&me(c),1<a&&ge(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(B,"$1"),t,a<n&&be(e.slice(a,n)),n<r&&be(e=e.slice(n)),n<r&&ge(e))}c.push(t)}return me(c)}return he.prototype=b.filters=b.pseudos,b.setFilters=new he,g=ie.tokenize=function(e,t){var n,r,i,o,s,a,u,l=d[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=b.preFilter;s;){for(o in n&&!(r=_.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=X.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),s=s.slice(n.length)),b.filter)!(r=Y[o].exec(s))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):d(e,a).slice(0)},f=ie.compile=function(e,t){var n,v,m,y,x,r,i=[],o=[],s=S[e+" "];if(!s){for(t||(t=g(e)),n=t.length;n--;)(s=be(t[n]))[E]?i.push(s):o.push(s);(s=S(e,(v=o,y=0<(m=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,s,a,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=N+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(s=0,t||o.ownerDocument===C||(T(o),n=!k);a=v[s++];)if(a(o,t||C,n)){r.push(o);break}i&&(N=h)}y&&((o=!a&&o)&&u--,e&&c.push(o))}if(u+=l,y&&l!==u){for(s=0;a=m[s++];)a(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=q.call(r));f=ye(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+m.length&&ie.uniqueSort(r)}return i&&(N=h,w=p),c},y?se(r):r))).selector=e}return s},v=ie.select=function(e,t,n,r){var i,o,s,a,u,l="function"==typeof e&&e,c=!r&&g(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&h.getById&&9===t.nodeType&&k&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=Y.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((u=b.find[a])&&(r=u(s.matches[0].replace(te,ne),Z.test(o[0].type)&&de(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&ge(o)))return H.apply(n,r),n;break}}return(l||f(e,c))(r,t,!k,n,!t||Z.test(e)&&de(t.parentNode)||t),n},h.sortStable=E.split("").sort(j).join("")===E,h.detectDuplicates=!!l,T(),h.sortDetached=ae(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),ae(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&ae(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ae(function(e){return null==e.getAttribute("disabled")})||ue(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(C);E.find=d,E.expr=d.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=d.uniqueSort,E.text=d.getText,E.isXMLDoc=d.isXML,E.contains=d.contains;var m=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r},y=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=E.expr.match.needsContext,b=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function T(e,n,r){if(E.isFunction(n))return E.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return E.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(w.test(n))return E.filter(n,e,r);n=E.filter(n,e)}return E.grep(e,function(e){return-1<i.call(n,e)!==r})}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t<n;t++)if(E.contains(i[t],this))return!0}));for(t=0;t<n;t++)E.find(e,i[t],r);return(r=this.pushStack(1<n?E.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&x.test(e)?E(e):e||[],!1).length}});var N,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),b.test(r[1])&&E.isPlainObject(t))for(r in t)E.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=k.getElementById(r[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=k,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):E.isFunction(e)?void 0!==n.ready?n.ready(e):e(E):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),E.makeArray(e,this))}).prototype=E.fn,N=E(k);var j=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=x.test(e)||"string"!=typeof e?E(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(E(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return m(e,"parentNode")},parentsUntil:function(e,t,n){return m(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return m(e,"nextSibling")},prevAll:function(e){return m(e,"previousSibling")},nextUntil:function(e,t,n){return m(e,"nextSibling",n)},prevUntil:function(e,t,n){return m(e,"previousSibling",n)},siblings:function(e){return y((e.parentNode||{}).firstChild,e)},children:function(e){return y(e.firstChild)},contents:function(e){return e.contentDocument||E.merge([],e.childNodes)}},function(r,i){E.fn[r]=function(e,t){var n=E.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=E.filter(t,n)),1<this.length&&(D[r]||E.uniqueSort(n),j.test(r)&&n.reverse()),this.pushStack(n)}});var q,L=/\S+/g;function H(){k.removeEventListener("DOMContentLoaded",H),C.removeEventListener("load",H),E.ready()}E.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},E.each(e.match(L)||[],function(e,t){n[t]=!0}),n):E.extend({},r);var i,t,o,s,a=[],u=[],l=-1,c=function(){for(s=r.once,o=i=!0;u.length;l=-1)for(t=u.shift();++l<a.length;)!1===a[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=a.length,t=!1);r.memory||(t=!1),i=!1,s&&(a=t?[]:"")},f={add:function(){return a&&(t&&!i&&(l=a.length-1,u.push(t)),function n(e){E.each(e,function(e,t){E.isFunction(t)?r.unique&&f.has(t)||a.push(t):t&&t.length&&"string"!==E.type(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return E.each(arguments,function(e,t){for(var n;-1<(n=E.inArray(t,a,n));)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<E.inArray(e,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return s=u=[],a=t="",this},disabled:function(){return!a},lock:function(){return s=u=[],t||(a=t=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},E.extend({Deferred:function(e){var o=[["resolve","done",E.Callbacks("once memory"),"resolved"],["reject","fail",E.Callbacks("once memory"),"rejected"],["notify","progress",E.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var i=arguments;return E.Deferred(function(r){E.each(o,function(e,t){var n=E.isFunction(i[e])&&i[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&E.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===s?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?E.extend(e,s):s}},a={};return s.pipe=s.then,E.each(o,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){var i,t,n,r=0,o=c.call(arguments),s=o.length,a=1!==s||e&&E.isFunction(e.promise)?s:0,u=1===a?e:E.Deferred(),l=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(1<s)for(i=new Array(s),t=new Array(s),n=new Array(s);r<s;r++)o[r]&&E.isFunction(o[r].promise)?o[r].promise().progress(l(r,t,i)).done(l(r,n,o)).fail(u.reject):--a;return a||u.resolveWith(n,o),u.promise()}}),E.fn.ready=function(e){return E.ready.promise().done(e),this},E.extend({isReady:!1,readyWait:1,holdReady:function(e){e?E.readyWait++:E.ready(!0)},ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0)!==e&&0<--E.readyWait||(q.resolveWith(k,[E]),E.fn.triggerHandler&&(E(k).triggerHandler("ready"),E(k).off("ready")))}}),E.ready.promise=function(e){return q||(q=E.Deferred(),"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?C.setTimeout(E.ready):(k.addEventListener("DOMContentLoaded",H),C.addEventListener("load",H))),q.promise(e)},E.ready.promise();var O=function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===E.type(n))for(a in i=!0,n)O(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,E.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(E(e),n)})),t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},F=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function P(){this.expando=E.expando+P.uid++}P.uid=1,P.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!F(e))return{};var t=e[this.expando];return t||(t={},F(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,E.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{E.isArray(t)?r=t.concat(t.map(E.camelCase)):(i=E.camelCase(t),r=t in o?[t,i]:(r=i)in o?[r]:r.match(L)||[]),n=r.length;for(;n--;)delete o[r[n]]}(void 0===t||E.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var R=new P,M=new P,I=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,W=/[A-Z]/g;function $(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(W,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:I.test(n)?E.parseJSON(n):n)}catch(e){}M.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return M.hasData(e)||R.hasData(e)},data:function(e,t,n){return M.access(e,t,n)},removeData:function(e,t){M.remove(e,t)},_data:function(e,t,n){return R.access(e,t,n)},_removeData:function(e,t){R.remove(e,t)}}),E.fn.extend({data:function(r,e){var t,n,i,o=this[0],s=o&&o.attributes;if(void 0===r){if(this.length&&(i=M.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(n=s[t].name).indexOf("data-")&&(n=E.camelCase(n.slice(5)),$(o,n,i[n]));R.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof r?this.each(function(){M.set(this,r)}):O(this,function(t){var e,n;if(o&&void 0===t)return void 0!==(e=M.get(o,r)||M.get(o,r.replace(W,"-$&").toLowerCase()))?e:(n=E.camelCase(r),void 0!==(e=M.get(o,n))?e:void 0!==(e=$(o,n,void 0))?e:void 0);n=E.camelCase(r),this.each(function(){var e=M.get(this,n);M.set(this,n,t),-1<r.indexOf("-")&&void 0!==e&&M.set(this,r,t)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){M.remove(this,e)})}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=R.get(e,t),n&&(!r||E.isArray(n)?r=R.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,i=n.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){E.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return R.get(e,n)||R.access(e,n,{empty:E.Callbacks("once memory").add(function(){R.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?E.queue(this[0],t):void 0===n?this:this.each(function(){var e=E.queue(this,t,n);E._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&E.dequeue(this,t)})},dequeue:function(e){return this.each(function(){E.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=E.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=R.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var B=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+B+")([a-z%]*)$","i"),X=["Top","Right","Bottom","Left"],z=function(e,t){return e=t||e,"none"===E.css(e,"display")||!E.contains(e.ownerDocument,e)};function U(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return E.css(e,t,"")},u=a(),l=n&&n[3]||(E.cssNumber[t]?"":"px"),c=(E.cssNumber[t]||"px"!==l&&+u)&&_.exec(E.css(e,t));if(c&&c[3]!==l)for(l=l||c[3],n=n||[],c=+u||1;c/=o=o||".5",E.style(e,t,c+l),o!==(o=a()/u)&&1!==o&&--s;);return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var V=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,G=/^$|\/(?:java|ecma)script/i,Q={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function J(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&E.nodeName(e,t)?E.merge([e],n):n}function K(e,t){for(var n=0,r=e.length;n<r;n++)R.set(e[n],"globalEval",!t||R.get(t[n],"globalEval"))}Q.optgroup=Q.option,Q.tbody=Q.tfoot=Q.colgroup=Q.caption=Q.thead,Q.th=Q.td;var Z,ee,te=/<|&#?\w+;/;function ne(e,t,n,r,i){for(var o,s,a,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===E.type(o))E.merge(p,o.nodeType?[o]:o);else if(te.test(o)){for(s=s||f.appendChild(t.createElement("div")),a=(Y.exec(o)||["",""])[1].toLowerCase(),u=Q[a]||Q._default,s.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];c--;)s=s.lastChild;E.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&-1<E.inArray(o,r))i&&i.push(o);else if(l=E.contains(o.ownerDocument,o),s=J(f.appendChild(o),"script"),l&&K(s),n)for(c=0;o=s[c++];)G.test(o.type||"")&&n.push(o);return f}Z=k.createDocumentFragment().appendChild(k.createElement("div")),(ee=k.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),Z.appendChild(ee),v.checkClone=Z.cloneNode(!0).cloneNode(!0).lastChild.checked,Z.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Z.cloneNode(!0).lastChild.defaultValue;var re=/^key/,ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=/^([^.]*)(?:\.(.+)|)/;function se(){return!0}function ae(){return!1}function ue(){try{return k.activeElement}catch(e){}}function le(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)le(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ae;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return E().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=E.guid++)),e.each(function(){E.event.add(this,t,i,r,n)})}E.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=E.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(L)||[""]).length;l--;)d=g=(a=oe.exec(e[l])||[])[1],h=(a[2]||"").split(".").sort(),d&&(f=E.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=E.event.special[d]||{},c=E.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(d,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),E.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=R.hasData(e)&&R.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(L)||[""]).length;l--;)if(d=g=(a=oe.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=E.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||E.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)E.event.remove(e,d+t[l],n,r,!0);E.isEmptyObject(u)&&R.remove(e,"handle events")}},dispatch:function(e){e=E.event.fix(e);var t,n,r,i,o,s,a=c.call(arguments),u=(R.get(this,"events")||{})[e.type]||[],l=E.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(s=E.event.handlers.call(this,e,u),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((E.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<a;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?-1<E(i,this).index(u):E.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||k).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[E.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=ie.test(i)?this.mouseHooks:re.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new E.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=k),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ue()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ue()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&E.nodeName(this,"input"))return this.click(),!1},_default:function(e){return E.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?se:ae):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||E.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:ae,isPropagationStopped:ae,isImmediatePropagationStopped:ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){E.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||E.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),E.fn.extend({on:function(e,t,n,r){return le(this,e,t,n,r)},one:function(e,t,n,r){return le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ae),this.each(function(){E.event.remove(this,e,n,t)})}});var ce=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,fe=/<script|<style|<link/i,pe=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^true\/(.*)/,he=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ge(e,t){return E.nodeName(e,"table")&&E.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ve(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function me(e){var t=de.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ye(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(R.hasData(e)&&(o=R.access(e),s=R.set(t,o),l=o.events))for(i in delete s.handle,s.events={},l)for(n=0,r=l[i].length;n<r;n++)E.event.add(t,i,l[i][n]);M.hasData(e)&&(a=M.access(e),u=E.extend({},a),M.set(t,u))}}function xe(n,r,i,o){r=g.apply([],r);var e,t,s,a,u,l,c=0,f=n.length,p=f-1,d=r[0],h=E.isFunction(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),xe(t,r,i,o)});if(f&&(t=(e=ne(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=E.map(J(e,"script"),ve)).length;c<f;c++)u=e,c!==p&&(u=E.clone(u,!0,!0),a&&E.merge(s,J(u,"script"))),i.call(n[c],u,c);if(a)for(l=s[s.length-1].ownerDocument,E.map(s,me),c=0;c<a;c++)u=s[c],G.test(u.type||"")&&!R.access(u,"globalEval")&&E.contains(l,u)&&(u.src?E._evalUrl&&E._evalUrl(u.src):E.globalEval(u.textContent.replace(he,"")))}return n}function be(e,t,n){for(var r,i=t?E.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||E.cleanData(J(r)),r.parentNode&&(n&&E.contains(r.ownerDocument,r)&&K(J(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e.replace(ce,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=E.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=J(c),r=0,i=(o=J(e)).length;r<i;r++)a=o[r],u=s[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&V.test(a.type)?u.checked=a.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=a.defaultValue);if(t)if(n)for(o=o||J(e),s=s||J(c),r=0,i=o.length;r<i;r++)ye(o[r],s[r]);else ye(e,c);return 0<(s=J(c,"script")).length&&K(s,!f&&J(e,"script")),c},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if(F(n)){if(t=n[R.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[R.expando]=void 0}n[M.expando]&&(n[M.expando]=void 0)}}}),E.fn.extend({domManip:xe,detach:function(e){return be(this,e,!0)},remove:function(e){return be(this,e)},text:function(e){return O(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return xe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ge(this,e).appendChild(e)})},prepend:function(){return xe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ge(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return xe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return xe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(J(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return O(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!fe.test(e)&&!Q[(Y.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(J(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return xe(this,arguments,function(e){var t=this.parentNode;E.inArray(this,n)<0&&(E.cleanData(J(this)),t&&t.replaceChild(e,this))},n)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){E.fn[e]=function(e){for(var t,n=[],r=E(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),E(r[o])[s](t),a.apply(n,t.get());return this.pushStack(n)}});var we,Te={HTML:"block",BODY:"block"};function Ce(e,t){var n=E(t.createElement(e)).appendTo(t.body),r=E.css(n[0],"display");return n.detach(),r}function ke(e){var t=k,n=Te[e];return n||("none"!==(n=Ce(e,t))&&n||((t=(we=(we||E("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Ce(e,t),we.detach()),Te[e]=n),n}var Ee=/^margin/,Ne=new RegExp("^("+B+")(?!px)[a-z%]+$","i"),Se=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},je=function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=s[o];return i},De=k.documentElement;function Ae(e,t,n){var r,i,o,s,a=e.style;return""!==(s=(n=n||Se(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==s||E.contains(e.ownerDocument,e)||(s=E.style(e,t)),n&&!v.pixelMarginRight()&&Ne.test(s)&&Ee.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var t,n,r,i,o=k.createElement("div"),s=k.createElement("div");function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",De.appendChild(o);var e=C.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,De.removeChild(o)}s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),E.extend(v,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==n&&e(),n},pixelMarginRight:function(){return null==n&&e(),r},reliableMarginLeft:function(){return null==n&&e(),i},reliableMarginRight:function(){var e,t=s.appendChild(k.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",De.appendChild(o),e=!parseFloat(C.getComputedStyle(t).marginRight),De.removeChild(o),s.removeChild(t),e}}))}();var Le=/^(none|table(?!-c[ea]).+)/,He={position:"absolute",visibility:"hidden",display:"block"},Oe={letterSpacing:"0",fontWeight:"400"},Fe=["Webkit","O","Moz","ms"],Pe=k.createElement("div").style;function Re(e){if(e in Pe)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Fe.length;n--;)if((e=Fe[n]+t)in Pe)return e}function Me(e,t,n){var r=_.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ie(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=E.css(e,n+X[o],!0,i)),r?("content"===n&&(s-=E.css(e,"padding"+X[o],!0,i)),"margin"!==n&&(s-=E.css(e,"border"+X[o]+"Width",!0,i))):(s+=E.css(e,"padding"+X[o],!0,i),"padding"!==n&&(s+=E.css(e,"border"+X[o]+"Width",!0,i)));return s}function We(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Se(e),s="border-box"===E.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Ae(e,t,o))<0||null==i)&&(i=e.style[t]),Ne.test(i))return i;r=s&&(v.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ie(e,t,n||(s?"border":"content"),r,o)+"px"}function $e(e,t){for(var n,r,i,o=[],s=0,a=e.length;s<a;s++)(r=e[s]).style&&(o[s]=R.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&z(r)&&(o[s]=R.access(r,"olddisplay",ke(r.nodeName)))):(i=z(r),"none"===n&&i||R.set(r,"olddisplay",i?n:E.css(r,"display"))));for(s=0;s<a;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function Be(e,t,n,r,i){return new Be.prototype.init(e,t,n,r,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ae(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=E.camelCase(t),u=e.style;if(t=E.cssProps[a]||(E.cssProps[a]=Re(a)||a),s=E.cssHooks[t]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t];"string"===(o=typeof n)&&(i=_.exec(n))&&i[1]&&(n=U(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(E.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))}},css:function(e,t,n,r){var i,o,s,a=E.camelCase(t);return t=E.cssProps[a]||(E.cssProps[a]=Re(a)||a),(s=E.cssHooks[t]||E.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Ae(e,t,r)),"normal"===i&&t in Oe&&(i=Oe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),E.each(["height","width"],function(e,s){E.cssHooks[s]={get:function(e,t,n){if(t)return Le.test(E.css(e,"display"))&&0===e.offsetWidth?je(e,He,function(){return We(e,s,n)}):We(e,s,n)},set:function(e,t,n){var r,i=n&&Se(e),o=n&&Ie(e,s,n,"border-box"===E.css(e,"boxSizing",!1,i),i);return o&&(r=_.exec(t))&&"px"!==(r[3]||"px")&&(e.style[s]=t,t=E.css(e,s)),Me(0,t,o)}}}),E.cssHooks.marginLeft=qe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ae(e,"marginLeft"))||e.getBoundingClientRect().left-je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),E.cssHooks.marginRight=qe(v.reliableMarginRight,function(e,t){if(t)return je(e,{display:"inline-block"},Ae,[e,"marginRight"])}),E.each({margin:"",padding:"",border:"Width"},function(i,o){E.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+X[t]+o]=r[t]||r[t-2]||r[0];return n}},Ee.test(i)||(E.cssHooks[i+o].set=Me)}),E.fn.extend({css:function(e,t){return O(this,function(e,t,n){var r,i,o={},s=0;if(E.isArray(t)){for(r=Se(e),i=t.length;s<i;s++)o[t[s]]=E.css(e,t[s],!1,r);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)},e,t,1<arguments.length)},show:function(){return $e(this,!0)},hide:function(){return $e(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){z(this)?E(this).show():E(this).hide()})}}),((E.Tween=Be).prototype={constructor:Be,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=Be.propHooks[this.prop];return e&&e.get?e.get(this):Be.propHooks._default.get(this)},run:function(e){var t,n=Be.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Be.propHooks._default.set(this),this}}).init.prototype=Be.prototype,(Be.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[E.cssProps[e.prop]]&&!E.cssHooks[e.prop]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Be.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=Be.prototype.init,E.fx.step={};var _e,Xe,ze,Ue,Ve,Ye=/^(?:toggle|show|hide)$/,Ge=/queueHooks$/;function Qe(){return C.setTimeout(function(){_e=void 0}),_e=E.now()}function Je(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=X[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Ke(e,t,n){for(var r,i=(Ze.tweeners[t]||[]).concat(Ze.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function Ze(o,e,t){var n,s,r=0,i=Ze.prefilters.length,a=E.Deferred().always(function(){delete u.elem}),u=function(){if(s)return!1;for(var e=_e||Qe(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return a.notifyWith(o,[l,n,t]),n<1&&i?t:(a.resolveWith(o,[l]),!1)},l=a.promise({elem:o,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},t),originalProperties:e,originalOptions:t,startTime:_e||Qe(),duration:t.duration,tweens:[],createTween:function(e,t){var n=E.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(s)return this;for(s=!0;t<n;t++)l.tweens[t].run(1);return e?(a.notifyWith(o,[l,1,0]),a.resolveWith(o,[l,e])):a.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=E.camelCase(n)],o=e[n],E.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=E.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=Ze.prefilters[r].call(l,o,c,l.opts))return E.isFunction(n.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=E.proxy(n.stop,n)),n;return E.map(c,Ke,l),E.isFunction(l.opts.start)&&l.opts.start.call(o,l),E.fx.timer(E.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}E.Animation=E.extend(Ze,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return U(n.elem,e,_.exec(t),n),n}]},tweener:function(e,t){E.isFunction(e)?(t=e,e=["*"]):e=e.match(L);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Ze.tweeners[n]=Ze.tweeners[n]||[],Ze.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var r,i,o,s,a,u,l,c=this,f={},p=t.style,d=t.nodeType&&z(t),h=R.get(t,"fxshow");for(r in n.queue||(null==(a=E._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,E.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(l=E.css(t,"display"))?R.get(t,"olddisplay")||ke(t.nodeName):l)&&"none"===E.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(i=e[r],Ye.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||E.style(t,r)}else l=void 0;if(E.isEmptyObject(f))"inline"===("none"===l?ke(t.nodeName):l)&&(p.display=l);else for(r in h?"hidden"in h&&(d=h.hidden):h=R.access(t,"fxshow",{}),o&&(h.hidden=!d),d?E(t).show():c.done(function(){E(t).hide()}),c.done(function(){var e;for(e in R.remove(t,"fxshow"),f)E.style(t,e,f[e])}),f)s=Ke(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?Ze.prefilters.unshift(e):Ze.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||E.isFunction(e)&&e,duration:e,easing:n&&t||t&&!E.isFunction(t)&&t};return r.duration=E.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in E.fx.speeds?E.fx.speeds[r.duration]:E.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){E.isFunction(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(z).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=E.isEmptyObject(t),o=E.speed(e,n,r),s=function(){var e=Ze(this,E.extend({},t),o);(i||R.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(i,e,o){var s=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=E.timers,r=R.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&Ge.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||E.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=R.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=E.timers,o=n?n.length:0;for(t.finish=!0,E.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),E.each(["toggle","show","hide"],function(e,r){var i=E.fn[r];E.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Je(r,!0),e,t,n)}}),E.each({slideDown:Je("show"),slideUp:Je("hide"),slideToggle:Je("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){E.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(_e=E.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),_e=void 0},E.fx.timer=function(e){E.timers.push(e),e()?E.fx.start():E.timers.pop()},E.fx.interval=13,E.fx.start=function(){Xe||(Xe=C.setInterval(E.fx.tick,E.fx.interval))},E.fx.stop=function(){C.clearInterval(Xe),Xe=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(r,e){return r=E.fx&&E.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},ze=k.createElement("input"),Ue=k.createElement("select"),Ve=Ue.appendChild(k.createElement("option")),ze.type="checkbox",v.checkOn=""!==ze.value,v.optSelected=Ve.selected,Ue.disabled=!0,v.optDisabled=!Ve.disabled,(ze=k.createElement("input")).value="t",ze.type="radio",v.radioValue="t"===ze.value;var et,tt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return O(this,E.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(t=t.toLowerCase(),i=E.attrHooks[t]||(E.expr.match.bool.test(t)?et:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&E.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[i++];)r=E.propFix[n]||n,E.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),et={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var o=tt[t]||E.find.attr;tt[t]=function(e,t,n){var r,i;return n||(i=tt[t],tt[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,tt[t]=i),r}});var nt=/^(?:input|select|textarea|button)$/i,rt=/^(?:a|area)$/i;E.fn.extend({prop:function(e,t){return O(this,E.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):nt.test(e.nodeName)||rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this});var it=/[\t\r\n\f]/g;function ot(e){return e.getAttribute&&e.getAttribute("class")||""}E.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(E.isFunction(t))return this.each(function(e){E(this).addClass(t.call(this,e,ot(this)))});if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[u++];)if(i=ot(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=E.trim(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(E.isFunction(t))return this.each(function(e){E(this).removeClass(t.call(this,e,ot(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[u++];)if(i=ot(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(s=0;o=e[s++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(a=E.trim(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"===o?t?this.addClass(i):this.removeClass(i):E.isFunction(i)?this.each(function(e){E(this).toggleClass(i.call(this,e,ot(this),t),t)}):this.each(function(){var e,t,n,r;if("string"===o)for(t=0,n=E(this),r=i.match(L)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!==o||((e=ot(this))&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":R.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+ot(n)+" ").replace(it," ").indexOf(t))return!0;return!1}});var st=/\r/g,at=/[\x20\t\r\n\f]+/g;E.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=E.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,E(this).val()):n)?t="":"number"==typeof t?t+="":E.isArray(t)&&(t=E.map(t,function(e){return null==e?"":e+""})),(r=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=E.valHooks[t.type]||E.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(st,""):null==e?"":e:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:E.trim(E.text(e)).replace(at," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(((n=r[u]).selected||u===i)&&(v.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!E.nodeName(n.parentNode,"optgroup"))){if(t=E(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=E.makeArray(t),s=i.length;s--;)((r=i[s]).selected=-1<E.inArray(E.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(E.isArray(t))return e.checked=-1<E.inArray(E(e).val(),t)}},v.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ut=/^(?:focusinfocus|focusoutblur)$/;E.extend(E.event,{trigger:function(e,t,n,r){var i,o,s,a,u,l,c,f=[n||k],p=h.call(e,"type")?e.type:e,d=h.call(e,"namespace")?e.namespace.split("."):[];if(o=s=n=n||k,3!==n.nodeType&&8!==n.nodeType&&!ut.test(p+E.event.triggered)&&(-1<p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),u=p.indexOf(":")<0&&"on"+p,(e=e[E.expando]?e:new E.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),c=E.event.special[p]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!E.isWindow(n)){for(a=c.delegateType||p,ut.test(a+p)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(n.ownerDocument||k)&&f.push(s.defaultView||s.parentWindow||C)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)e.type=1<i?a:c.bindType||p,(l=(R.get(o,"events")||{})[e.type]&&R.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&F(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!F(n)||u&&E.isFunction(n[p])&&!E.isWindow(n)&&((s=n[u])&&(n[u]=null),n[E.event.triggered=p](),E.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),E.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),E.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.focusin="onfocusin"in C,v.focusin||E.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){E.event.simulate(r,e.target,E.event.fix(e))};E.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=R.access(e,r);t||e.addEventListener(n,i,!0),R.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=R.access(e,r)-1;t?R.access(e,r,t):(e.removeEventListener(n,i,!0),R.remove(e,r))}}});var lt=C.location,ct=E.now(),ft=/\?/;E.parseJSON=function(e){return JSON.parse(e+"")},E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var pt=/#.*$/,dt=/([?&])_=[^&]*/,ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,gt=/^(?:GET|HEAD)$/,vt=/^\/\//,mt={},yt={},xt="*/".concat("*"),bt=k.createElement("a");function wt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(L)||[];if(E.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Tt(t,i,o,s){var a={},u=t===yt;function l(e){var r;return a[e]=!0,E.each(t[e]||[],function(e,t){var n=t(i,o,s);return"string"!=typeof n||u||a[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!a["*"]&&l("*")}function Ct(e,t){var n,r,i=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}bt.href=lt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":E.parseJSON,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ct(Ct(e,E.ajaxSettings),t):Ct(E.ajaxSettings,e)},ajaxPrefilter:wt(mt),ajaxTransport:wt(yt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,i,g=E.ajaxSetup({},t),v=g.context||g,m=g.context&&(v.nodeType||v.jquery)?E(v):E.event,y=E.Deferred(),x=E.Callbacks("once memory"),b=g.statusCode||{},o={},s={},w=0,a="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!n)for(n={};t=ht.exec(p);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?p:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,o[e]=t),this},overrideMimeType:function(e){return w||(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)b[t]=[b[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||a;return c&&c.abort(t),u(0,t),this}};if(y.promise(T).complete=x.add,T.success=T.done,T.error=T.fail,g.url=((e||g.url||lt.href)+"").replace(pt,"").replace(vt,lt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=E.trim(g.dataType||"*").toLowerCase().match(L)||[""],null==g.crossDomain){r=k.createElement("a");try{r.href=g.url,r.href=r.href,g.crossDomain=bt.protocol+"//"+bt.host!=r.protocol+"//"+r.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=E.param(g.data,g.traditional)),Tt(mt,g,t,T),2===w)return T;for(i in(h=E.event&&g.global)&&0==E.active++&&E.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!gt.test(g.type),f=g.url,g.hasContent||(g.data&&(f=g.url+=(ft.test(f)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=dt.test(f)?f.replace(dt,"$1_="+ct++):f+(ft.test(f)?"&":"?")+"_="+ct++)),g.ifModified&&(E.lastModified[f]&&T.setRequestHeader("If-Modified-Since",E.lastModified[f]),E.etag[f]&&T.setRequestHeader("If-None-Match",E.etag[f])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&T.setRequestHeader("Content-Type",g.contentType),T.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+xt+"; q=0.01":""):g.accepts["*"]),g.headers)T.setRequestHeader(i,g.headers[i]);if(g.beforeSend&&(!1===g.beforeSend.call(v,T,g)||2===w))return T.abort();for(i in a="abort",{success:1,error:1,complete:1})T[i](g[i]);if(c=Tt(yt,g,t,T)){if(T.readyState=1,h&&m.trigger("ajaxSend",[T,g]),2===w)return T;g.async&&0<g.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},g.timeout));try{w=1,c.send(o,u)}catch(e){if(!(w<2))throw e;u(-1,e)}}else u(-1,"No Transport");function u(e,t,n,r){var i,o,s,a,u,l=t;2!==w&&(w=2,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}(g,T,n)),a=function(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(g,a,T,i),i?(g.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(E.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(E.etag[f]=u)),204===e||"HEAD"===g.type?l="nocontent":304===e?l="notmodified":(l=a.state,o=a.data,i=!(s=a.error))):(s=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?y.resolveWith(v,[o,l,T]):y.rejectWith(v,[T,l,s]),T.statusCode(b),b=void 0,h&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,g,i?o:s]),x.fireWith(v,[T,l]),h&&(m.trigger("ajaxComplete",[T,g]),--E.active||E.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,i){E[i]=function(e,t,n,r){return E.isFunction(t)&&(r=r||n,n=t,t=void 0),E.ajax(E.extend({url:e,type:i,dataType:r,data:t,success:n},E.isPlainObject(e)&&e))}}),E._evalUrl=function(e){return E.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},E.fn.extend({wrapAll:function(t){var e;return E.isFunction(t)?this.each(function(e){E(this).wrapAll(t.call(this,e))}):(this[0]&&(e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return E.isFunction(n)?this.each(function(e){E(this).wrapInner(n.call(this,e))}):this.each(function(){var e=E(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=E.isFunction(t);return this.each(function(e){E(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){E.nodeName(this,"body")||E(this).replaceWith(this.childNodes)}).end()}}),E.expr.filters.hidden=function(e){return!E.expr.filters.visible(e)},E.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var kt=/%20/g,Et=/\[\]$/,Nt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function Dt(n,e,r,i){var t;if(E.isArray(e))E.each(e,function(e,t){r||Et.test(n)?i(n,t):Dt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==E.type(e))i(n,e);else for(t in e)Dt(n+"["+t+"]",e[t],r,i)}E.param=function(e,t){var n,r=[],i=function(e,t){t=E.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=E.ajaxSettings&&E.ajaxSettings.traditional),E.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){i(this.name,this.value)});else for(n in e)Dt(n,e[n],t,i);return r.join("&").replace(kt,"+")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&jt.test(this.nodeName)&&!St.test(e)&&(this.checked||!V.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:E.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}}),E.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var At={0:200,1223:204},qt=E.ajaxSettings.xhr();v.cors=!!qt&&"withCredentials"in qt,v.ajax=qt=!!qt,E.ajaxTransport(function(i){var o,s;if(v.cors||qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(At[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=o("error"),void 0!==r.onabort?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),E.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=E("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(r[0])},abort:function(){i&&i()}}});var Lt=[],Ht=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||E.expando+"_"+ct++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(Ht.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=E.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ht,"$1"+r):!1!==e.jsonp&&(e.url+=(ft.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||E.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?E(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Lt.push(r)),o&&E.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),E.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||k;var r=b.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ne([e],t,i),i&&i.length&&E(i).remove(),E.merge([],r.childNodes))};var Ot=E.fn.load;function Ft(e){return E.isWindow(e)?e:9===e.nodeType&&e.defaultView}E.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return-1<a&&(r=E.trim(e.slice(a)),e=e.slice(0,a)),E.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&E.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.expr.filters.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l=E.css(e,"position"),c=E(e),f={};"static"===l&&(e.style.position="relative"),a=c.offset(),o=E.css(e,"top"),u=E.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),E.isFunction(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+i),"using"in t?t.using.call(e,f):c.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;return o?(e=o.documentElement,E.contains(e,r)?(i=r.getBoundingClientRect(),n=Ft(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===E.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),E.nodeName(e[0],"html")||(r=e.offset()),r.top+=E.css(e[0],"borderTopWidth",!0),r.left+=E.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-E.css(n,"marginTop",!0),left:t.left-r.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||De})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return O(this,function(e,t,n){var r=Ft(e);if(void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=qe(v.pixelPosition,function(e,t){if(t)return t=Ae(e,n),Ne.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(o,s){E.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){E.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return O(this,function(e,t,n){var r;return E.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),E.fn.andSelf=E.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var Pt=C.jQuery,Rt=C.$;return E.noConflict=function(e){return C.$===E&&(C.$=Rt),e&&C.jQuery===E&&(C.jQuery=Pt),E},e||(C.jQuery=C.$=E),E});
+!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=re.type(e);return"function"!==n&&!re.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(re.isFunction(t))return re.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return re.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(de.test(t))return re.filter(t,e,n);t=re.filter(t,e)}return re.grep(e,function(e){return K.call(t,e)>-1!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function o(e){var t={};return re.each(e.match(ye)||[],function(e,n){t[n]=!0}),t}function s(){Y.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s),re.ready()}function a(){this.expando=re.expando+a.uid++}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:ke.test(n)?re.parseJSON(n):n)}catch(e){}Ce.set(e,t,n)}else n=void 0;return n}function l(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return re.css(e,t,"")},u=a(),l=n&&n[3]||(re.cssNumber[t]?"":"px"),c=(re.cssNumber[t]||"px"!==l&&+u)&&Se.exec(re.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{c/=o=o||".5",re.style(e,t,c+l)}while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function c(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&re.nodeName(e,t)?re.merge([e],n):n}function f(e,t){for(var n=0,r=e.length;n<r;n++)Te.set(e[n],"globalEval",!t||Te.get(t[n],"globalEval"))}function p(e,t,n,r,i){for(var o,s,a,u,l,p,d=t.createDocumentFragment(),h=[],g=0,v=e.length;g<v;g++)if((o=e[g])||0===o)if("object"===re.type(o))re.merge(h,o.nodeType?[o]:o);else if(Oe.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(qe.exec(o)||["",""])[1].toLowerCase(),u=He[a]||He._default,s.innerHTML=u[1]+re.htmlPrefilter(o)+u[2],p=u[0];p--;)s=s.lastChild;re.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(t.createTextNode(o));for(d.textContent="",g=0;o=h[g++];)if(r&&re.inArray(o,r)>-1)i&&i.push(o);else if(l=re.contains(o.ownerDocument,o),s=c(d.appendChild(o),"script"),l&&f(s),n)for(p=0;o=s[p++];)Le.test(o.type||"")&&n.push(o);return d}function d(){return!0}function h(){return!1}function g(){try{return Y.activeElement}catch(e){}}function v(e,t,n,r,i,o){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)v(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=h;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return re().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=re.guid++)),e.each(function(){re.event.add(this,t,i,r,n)})}function m(e,t){return re.nodeName(e,"table")&&re.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function x(e){var t=$e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(Te.hasData(e)&&(o=Te.access(e),s=Te.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)re.event.add(t,i,l[i][n])}Ce.hasData(e)&&(a=Ce.access(e),u=re.extend({},a),Ce.set(t,u))}}function w(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function T(e,t,n,r){t=Q.apply([],t);var i,o,s,a,u,l,f=0,d=e.length,h=d-1,g=t[0],v=re.isFunction(g);if(v||d>1&&"string"==typeof g&&!ne.checkClone&&We.test(g))return e.each(function(i){var o=e.eq(i);v&&(t[0]=g.call(this,i,o.html())),T(o,t,n,r)});if(d&&(i=p(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=re.map(c(i,"script"),y)).length;f<d;f++)u=i,f!==h&&(u=re.clone(u,!0,!0),a&&re.merge(s,c(u,"script"))),n.call(e[f],u,f);if(a)for(l=s[s.length-1].ownerDocument,re.map(s,x),f=0;f<a;f++)u=s[f],Le.test(u.type||"")&&!Te.access(u,"globalEval")&&re.contains(l,u)&&(u.src?re._evalUrl&&re._evalUrl(u.src):re.globalEval(u.textContent.replace(Be,"")))}return e}function C(e,t,n){for(var r,i=t?re.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||re.cleanData(c(r)),r.parentNode&&(n&&re.contains(r.ownerDocument,r)&&f(c(r,"script")),r.parentNode.removeChild(r));return e}function k(e,t){var n=re(t.createElement(e)).appendTo(t.body),r=re.css(n[0],"display");return n.detach(),r}function E(e){var t=Y,n=Xe[e];return n||("none"!==(n=k(e,t))&&n||((t=(_e=(_e||re("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=k(e,t),_e.detach()),Xe[e]=n),n}function N(e,t,n){var r,i,o,s,a=e.style;return n=n||Ve(e),""!==(s=n?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==s||re.contains(e.ownerDocument,e)||(s=re.style(e,t)),n&&!ne.pixelMarginRight()&&Ue.test(s)&&ze.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function S(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function j(e){if(e in et)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in et)return e}function D(e,t,n){var r=Se.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function A(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=re.css(e,n+je[o],!0,i)),r?("content"===n&&(s-=re.css(e,"padding"+je[o],!0,i)),"margin"!==n&&(s-=re.css(e,"border"+je[o]+"Width",!0,i))):(s+=re.css(e,"padding"+je[o],!0,i),"padding"!==n&&(s+=re.css(e,"border"+je[o]+"Width",!0,i)));return s}function q(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Ve(e),s="border-box"===re.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=N(e,t,o))<0||null==i)&&(i=e.style[t]),Ue.test(i))return i;r=s&&(ne.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+A(e,t,n||(s?"border":"content"),r,o)+"px"}function L(e,t){for(var n,r,i,o=[],s=0,a=e.length;s<a;s++)(r=e[s]).style&&(o[s]=Te.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&De(r)&&(o[s]=Te.access(r,"olddisplay",E(r.nodeName)))):(i=De(r),"none"===n&&i||Te.set(r,"olddisplay",i?n:re.css(r,"display"))));for(s=0;s<a;s++)(r=e[s]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function H(e,t,n,r,i){return new H.prototype.init(e,t,n,r,i)}function O(){return e.setTimeout(function(){tt=void 0}),tt=re.now()}function F(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=je[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function P(e,t,n){for(var r,i=(M.tweeners[t]||[]).concat(M.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function R(e,t){var n,r,i,o,s;for(n in e)if(r=re.camelCase(n),i=t[r],o=e[n],re.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=re.cssHooks[r])&&"expand"in s){o=s.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function M(e,t,n){var r,i,o=0,s=M.prefilters.length,a=re.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=tt||O(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(r);return a.notifyWith(e,[l,r,n]),r<1&&s?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:re.extend({},t),opts:re.extend(!0,{specialEasing:{},easing:re.easing._default},n),originalProperties:t,originalOptions:n,startTime:tt||O(),duration:n.duration,tweens:[],createTween:function(t,n){var r=re.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),c=l.props;for(R(c,l.opts.specialEasing);o<s;o++)if(r=M.prefilters[o].call(l,e,c,l.opts))return re.isFunction(r.stop)&&(re._queueHooks(l.elem,l.opts.queue).stop=re.proxy(r.stop,r)),r;return re.map(c,P,l),re.isFunction(l.opts.start)&&l.opts.start.call(e,l),re.fx.timer(re.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function I(e){return e.getAttribute&&e.getAttribute("class")||""}function W(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(ye)||[];if(re.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $(e,t,n,r){function i(a){var u;return o[a]=!0,re.each(e[a]||[],function(e,a){var l=a(t,n,r);return"string"!=typeof l||s||o[l]?s?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},s=e===Tt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function B(e,t){var n,r,i=re.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&re.extend(!0,e,r),e}function _(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function X(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function z(e,t,n,r){var i;if(re.isArray(t))re.each(t,function(t,i){n||Nt.test(e)?r(e,i):z(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==re.type(t))r(e,t);else for(i in t)z(e+"["+i+"]",t[i],n,r)}function U(e){return re.isWindow(e)?e:9===e.nodeType&&e.defaultView}var V=[],Y=e.document,G=V.slice,Q=V.concat,J=V.push,K=V.indexOf,Z={},ee=Z.toString,te=Z.hasOwnProperty,ne={},re=function(e,t){return new re.fn.init(e,t)},ie=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,oe=/^-ms-/,se=/-([\da-z])/gi,ae=function(e,t){return t.toUpperCase()};re.fn=re.prototype={jquery:"2.2.4",constructor:re,selector:"",length:0,toArray:function(){return G.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:G.call(this)},pushStack:function(e){var t=re.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return re.each(this,e)},map:function(e){return this.pushStack(re.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:J,sort:V.sort,splice:V.splice},re.extend=re.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||re.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],s!==(r=e[t])&&(l&&r&&(re.isPlainObject(r)||(i=re.isArray(r)))?(i?(i=!1,o=n&&re.isArray(n)?n:[]):o=n&&re.isPlainObject(n)?n:{},s[t]=re.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},re.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===re.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!re.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==re.type(e)||e.nodeType||re.isWindow(e))return!1;if(e.constructor&&!te.call(e,"constructor")&&!te.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||te.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Z[ee.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=re.trim(e))&&(1===e.indexOf("use strict")?((t=Y.createElement("script")).text=e,Y.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(oe,"ms-").replace(se,ae)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;i<r&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ie,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?re.merge(r,"string"==typeof e?[e]:e):J.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:K.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,r){var i,o,s=0,a=[];if(n(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,r))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,r))&&a.push(o);return Q.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),re.isFunction(e))return r=G.call(arguments,2),i=function(){return e.apply(t||this,r.concat(G.call(arguments)))},i.guid=e.guid=e.guid||re.guid++,i},now:Date.now,support:ne}),"function"==typeof Symbol&&(re.fn[Symbol.iterator]=V[Symbol.iterator]),re.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Z["[object "+t+"]"]=t.toLowerCase()});var ue=function(e){function t(e,t,n,r){var i,o,s,a,l,f,p,d,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!r&&((t?t.ownerDocument||t:M)!==A&&D(t),t=t||A,L)){if(11!==g&&(f=ge.exec(e)))if(i=f[1]){if(9===g){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&P(t,s)&&s.id===i)return n.push(s),n}else{if(f[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=f[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(x.qsa&&!_[e+" "]&&(!H||!H.test(e))){if(1!==g)h=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(me,"\\$&"):t.setAttribute("id",a=R),o=(p=C(e)).length,l=ce.test(a)?"#"+a:"[id='"+a+"']";o--;)p[o]=l+" "+c(p[o]);d=p.join(","),h=ve.test(e)&&u(t.parentNode)||t}if(d)try{return Q.apply(n,h.querySelectorAll(d)),n}catch(e){}finally{a===R&&t.removeAttribute("id")}}}return E(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>b.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[R]=!0,e}function i(e){var t=A.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||z)-(~e.sourceIndex||z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function l(){}function c(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=W++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,s){var a,u,l,c=[I,o];if(s){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[R]||(t[R]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(a=u[r])&&a[0]===I&&a[1]===o)return c[2]=a[2];if(u[r]=c,c[2]=e(t,n,s))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function d(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function h(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function g(e,t,n,i,o,s){return i&&!i[R]&&(i=g(i)),o&&!o[R]&&(o=g(o,s)),r(function(r,s,a,u){var l,c,f,p=[],g=[],v=s.length,m=r||d(t||"*",a.nodeType?[a]:a,[]),y=!e||!r&&t?m:h(m,p,e,a,u),x=n?o||(r?e:v||i)?[]:s:y;if(n&&n(y,x,a,u),i)for(l=h(x,g),i(l,[],a,u),c=l.length;c--;)(f=l[c])&&(x[g[c]]=!(y[g[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(y[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?K(r,f):p[c])>-1&&(r[l]=!(s[l]=f))}}else x=h(x===s?x.splice(v,x.length):x),o?o(null,s,x,u):Q.apply(s,x)})}function v(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],s=o||b.relative[" "],a=o?1:0,u=f(function(e){return e===t},s,!0),l=f(function(e){return K(t,e)>-1},s,!0),d=[function(e,n,r){var i=!o&&(r||n!==N)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];a<i;a++)if(n=b.relative[e[a].type])d=[f(p(d),n)];else{if((n=b.filter[e[a].type].apply(null,e[a].matches))[R]){for(r=++a;r<i&&!b.relative[e[r].type];r++);return g(a>1&&p(d),a>1&&c(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(oe,"$1"),n,a<r&&v(e.slice(a,r)),r<i&&v(e=e.slice(r)),r<i&&c(e))}d.push(n)}return p(d)}function m(e,n){var i=n.length>0,o=e.length>0,s=function(r,s,a,u,l){var c,f,p,d=0,g="0",v=r&&[],m=[],y=N,x=r||o&&b.find.TAG("*",l),w=I+=null==y?1:Math.random()||.1,T=x.length;for(l&&(N=s===A||s||l);g!==T&&null!=(c=x[g]);g++){if(o&&c){for(f=0,s||c.ownerDocument===A||(D(c),a=!L);p=e[f++];)if(p(c,s||A,a)){u.push(c);break}l&&(I=w)}i&&((c=!p&&c)&&d--,r&&v.push(c))}if(d+=g,i&&g!==d){for(f=0;p=n[f++];)p(v,m,s,a);if(r){if(d>0)for(;g--;)v[g]||m[g]||(m[g]=Y.call(u));m=h(m)}Q.apply(u,m),l&&!r&&m.length>0&&d+n.length>1&&t.uniqueSort(u)}return l&&(I=w,N=y),v};return i?r(s):s}var y,x,b,w,T,C,k,E,N,S,j,D,A,q,L,H,O,F,P,R="sizzle"+1*new Date,M=e.document,I=0,W=0,$=n(),B=n(),_=n(),X=function(e,t){return e===t&&(j=!0),0},z=1<<31,U={}.hasOwnProperty,V=[],Y=V.pop,G=V.push,Q=V.push,J=V.slice,K=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),se=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,me=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),xe=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=function(){D()};try{Q.apply(V=J.call(M.childNodes),M.childNodes),V[M.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){G.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},D=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:M;return r!==A&&9===r.nodeType&&r.documentElement?(A=r,q=A.documentElement,L=!T(A),(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",be,!1):n.attachEvent&&n.attachEvent("onunload",be)),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=he.test(A.getElementsByClassName),x.getById=i(function(e){return q.appendChild(e).id=R,!A.getElementsByName||!A.getElementsByName(R).length}),x.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ye,xe);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ye,xe);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),b.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},O=[],H=[],(x.qsa=he.test(A.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||H.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+R+"-]").length||H.push("~="),e.querySelectorAll(":checked").length||H.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||H.push(".#.+[+~]")}),i(function(e){var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&H.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||H.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),H.push(",.*:")})),(x.matchesSelector=he.test(F=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){x.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),O.push("!=",re)}),H=H.length&&new RegExp(H.join("|")),O=O.length&&new RegExp(O.join("|")),t=he.test(q.compareDocumentPosition),P=t||he.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===M&&P(M,e)?-1:t===A||t.ownerDocument===M&&P(M,t)?1:S?K(S,e)-K(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],u=[t];if(!i||!o)return e===A?-1:t===A?1:i?-1:o?1:S?K(S,e)-K(S,t):0;if(i===o)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===M?-1:u[r]===M?1:0},A):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&D(e),n=n.replace(ue,"='$1']"),x.matchesSelector&&L&&!_[n+" "]&&(!O||!O.test(n))&&(!H||!H.test(n)))try{var r=F.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&D(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&D(e);var n=b.attrHandle[t.toLowerCase()],r=n&&U.call(b.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:x.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!x.detectDuplicates,S=!x.sortStable&&e.slice(0),e.sort(X),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return S=null,e},w=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},(b=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,xe),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,xe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,xe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==s?"nextSibling":"previousSibling",v=t.parentNode,m=a&&t.nodeName.toLowerCase(),y=!u&&!a,x=!1;if(v){if(o){for(;g;){for(p=t;p=p[g];)if(a?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?v.firstChild:v.lastChild],s&&y){for(x=(d=(l=(c=(f=(p=v)[R]||(p[R]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===I&&l[1])&&l[2],p=d&&v.childNodes[d];p=++d&&p&&p[g]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){c[e]=[I,d,x];break}}else if(y&&(x=d=(l=(c=(f=(p=t)[R]||(p[R]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===I&&l[1]),!1===x)for(;(p=++d&&p&&p[g]||(x=d=0)||h.pop())&&((a?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++x||(y&&((c=(f=p[R]||(p[R]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[I,x]),p!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(i=[e,e,"",n],b.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),s=i.length;s--;)e[r=K(e,i[s])]=!(t[r]=i[s])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(oe,"$1"));return i[R]?r(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,xe),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,xe).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:a(function(){return[0]}),last:a(function(e,t){return[t-1]}),eq:a(function(e,t,n){return[n<0?n+t:n]}),even:a(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:a(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:a(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:a(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})b.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return l.prototype=b.filters=b.pseudos,b.setFilters=new l,C=t.tokenize=function(e,n){var r,i,o,s,a,u,l,c=B[e+" "];if(c)return n?0:c.slice(0);for(a=e,u=[],l=b.preFilter;a;){r&&!(i=se.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=ae.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),a=a.slice(r.length));for(s in b.filter)!(i=fe[s].exec(a))||l[s]&&!(i=l[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?t.error(e):B(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=_[e+" "];if(!o){for(t||(t=C(e)),n=t.length;n--;)(o=v(t[n]))[R]?r.push(o):i.push(o);(o=_(e,m(i,r))).selector=e}return o},E=t.select=function(e,t,n,r){var i,o,s,a,l,f="function"==typeof e&&e,p=!r&&C(e=f.selector||e);if(n=n||[],1===p.length){if((o=p[0]=p[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&x.getById&&9===t.nodeType&&L&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(ye,xe),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((l=b.find[a])&&(r=l(s.matches[0].replace(ye,xe),ve.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&c(o)))return Q.apply(n,r),n;break}}return(f||k(e,p))(r,t,!L,n,!t||ve.test(e)&&u(t.parentNode)||t),n},x.sortStable=R.split("").sort(X).join("")===R,x.detectDuplicates=!!j,D(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);re.find=ue,re.expr=ue.selectors,re.expr[":"]=re.expr.pseudos,re.uniqueSort=re.unique=ue.uniqueSort,re.text=ue.getText,re.isXMLDoc=ue.isXML,re.contains=ue.contains;var le=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&re(e).is(n))break;r.push(e)}return r},ce=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},fe=re.expr.match.needsContext,pe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,de=/^.[^:#\[\.,]*$/;re.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?re.find.matchesSelector(r,e)?[r]:[]:re.find.matches(e,re.grep(t,function(e){return 1===e.nodeType}))},re.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(re(e).filter(function(){for(t=0;t<n;t++)if(re.contains(i[t],this))return!0}));for(t=0;t<n;t++)re.find(e,i[t],r);return r=this.pushStack(n>1?re.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&fe.test(e)?re(e):e||[],!1).length}});var he,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(re.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||he,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ge.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof re?t[0]:t,re.merge(this,re.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Y,!0)),pe.test(r[1])&&re.isPlainObject(t))for(r in t)re.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=Y.getElementById(r[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=Y,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):re.isFunction(e)?void 0!==n.ready?n.ready(e):e(re):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),re.makeArray(e,this))}).prototype=re.fn,he=re(Y);var ve=/^(?:parents|prev(?:Until|All))/,me={children:!0,contents:!0,next:!0,prev:!0};re.fn.extend({has:function(e){var t=re(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(re.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=fe.test(e)||"string"!=typeof e?re(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&re.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?re.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?K.call(re(e),this[0]):K.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(re.uniqueSort(re.merge(this.get(),re(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),re.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return le(e,"parentNode")},parentsUntil:function(e,t,n){return le(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return le(e,"nextSibling")},prevAll:function(e){return le(e,"previousSibling")},nextUntil:function(e,t,n){return le(e,"nextSibling",n)},prevUntil:function(e,t,n){return le(e,"previousSibling",n)},siblings:function(e){return ce((e.parentNode||{}).firstChild,e)},children:function(e){return ce(e.firstChild)},contents:function(e){return e.contentDocument||re.merge([],e.childNodes)}},function(e,t){re.fn[e]=function(n,r){var i=re.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=re.filter(r,i)),this.length>1&&(me[e]||re.uniqueSort(i),ve.test(e)&&i.reverse()),this.pushStack(i)}});var ye=/\S+/g;re.Callbacks=function(e){e="string"==typeof e?o(e):re.extend({},e);var t,n,r,i,s=[],a=[],u=-1,l=function(){for(i=e.once,r=t=!0;a.length;u=-1)for(n=a.shift();++u<s.length;)!1===s[u].apply(n[0],n[1])&&e.stopOnFalse&&(u=s.length,n=!1);e.memory||(n=!1),t=!1,i&&(s=n?[]:"")},c={add:function(){return s&&(n&&!t&&(u=s.length-1,a.push(n)),function t(n){re.each(n,function(n,r){re.isFunction(r)?e.unique&&c.has(r)||s.push(r):r&&r.length&&"string"!==re.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return re.each(arguments,function(e,t){for(var n;(n=re.inArray(t,s,n))>-1;)s.splice(n,1),n<=u&&u--}),this},has:function(e){return e?re.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return i=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return i=a=[],n||(s=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},re.extend({Deferred:function(e){var t=[["resolve","done",re.Callbacks("once memory"),"resolved"],["reject","fail",re.Callbacks("once memory"),"rejected"],["notify","progress",re.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return re.Deferred(function(n){re.each(t,function(t,o){var s=re.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&re.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?re.extend(e,r):r}},i={};return r.pipe=r.then,re.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=G.call(arguments),s=o.length,a=1!==s||e&&re.isFunction(e.promise)?s:0,u=1===a?e:re.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?G.call(arguments):i,r===t?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(t=new Array(s),n=new Array(s),r=new Array(s);i<s;i++)o[i]&&re.isFunction(o[i].promise)?o[i].promise().progress(l(i,n,t)).done(l(i,r,o)).fail(u.reject):--a;return a||u.resolveWith(r,o),u.promise()}});var xe;re.fn.ready=function(e){return re.ready.promise().done(e),this},re.extend({isReady:!1,readyWait:1,holdReady:function(e){e?re.readyWait++:re.ready(!0)},ready:function(e){(!0===e?--re.readyWait:re.isReady)||(re.isReady=!0,!0!==e&&--re.readyWait>0||(xe.resolveWith(Y,[re]),re.fn.triggerHandler&&(re(Y).triggerHandler("ready"),re(Y).off("ready"))))}}),re.ready.promise=function(t){return xe||(xe=re.Deferred(),"complete"===Y.readyState||"loading"!==Y.readyState&&!Y.documentElement.doScroll?e.setTimeout(re.ready):(Y.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s))),xe.promise(t)},re.ready.promise();var be=function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===re.type(n)){i=!0;for(a in n)be(e,t,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,re.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(re(e),n)})),t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},we=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};a.uid=1,a.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!we(e))return{};var t=e[this.expando];return t||(t={},we(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,re.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{re.isArray(t)?r=t.concat(t.map(re.camelCase)):(i=re.camelCase(t),r=t in o?[t,i]:(r=i)in o?[r]:r.match(ye)||[]),n=r.length;for(;n--;)delete o[r[n]]}(void 0===t||re.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!re.isEmptyObject(t)}};var Te=new a,Ce=new a,ke=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ee=/[A-Z]/g;re.extend({hasData:function(e){return Ce.hasData(e)||Te.hasData(e)},data:function(e,t,n){return Ce.access(e,t,n)},removeData:function(e,t){Ce.remove(e,t)},_data:function(e,t,n){return Te.access(e,t,n)},_removeData:function(e,t){Te.remove(e,t)}}),re.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=Ce.get(o),1===o.nodeType&&!Te.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=re.camelCase(r.slice(5)),u(o,r,i[r]));Te.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ce.set(this,e)}):be(this,function(t){var n,r;if(o&&void 0===t){if(void 0!==(n=Ce.get(o,e)||Ce.get(o,e.replace(Ee,"-$&").toLowerCase())))return n;if(r=re.camelCase(e),void 0!==(n=Ce.get(o,r)))return n;if(void 0!==(n=u(o,r,void 0)))return n}else r=re.camelCase(e),this.each(function(){var n=Ce.get(this,r);Ce.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Ce.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ce.remove(this,e)})}}),re.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Te.get(e,t),n&&(!r||re.isArray(n)?r=Te.access(e,t,re.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=re.queue(e,t),r=n.length,i=n.shift(),o=re._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){re.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Te.get(e,n)||Te.access(e,n,{empty:re.Callbacks("once memory").add(function(){Te.remove(e,[t+"queue",n])})})}}),re.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?re.queue(this[0],e):void 0===t?this:this.each(function(){var n=re.queue(this,e,t);re._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&re.dequeue(this,e)})},dequeue:function(e){return this.each(function(){re.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=re.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=Te.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var Ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Se=new RegExp("^(?:([+-])=|)("+Ne+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],De=function(e,t){return e=t||e,"none"===re.css(e,"display")||!re.contains(e.ownerDocument,e)},Ae=/^(?:checkbox|radio)$/i,qe=/<([\w:-]+)/,Le=/^$|\/(?:java|ecma)script/i,He={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};He.optgroup=He.option,He.tbody=He.tfoot=He.colgroup=He.caption=He.thead,He.th=He.td;var Oe=/<|&#?\w+;/;!function(){var e=Y.createDocumentFragment().appendChild(Y.createElement("div")),t=Y.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),ne.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",ne.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Fe=/^key/,Pe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Re=/^([^.]*)(?:\.(.+)|)/;re.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=Te.get(e);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=re.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(t){return void 0!==re&&re.event.triggered!==t.type?re.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(ye)||[""]).length;l--;)d=g=(a=Re.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d&&(f=re.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=re.event.special[d]||{},c=re.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&re.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(d,s)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),re.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,v=Te.hasData(e)&&Te.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(ye)||[""]).length;l--;)if(a=Re.exec(t[l])||[],d=g=a[1],h=(a[2]||"").split(".").sort(),d){for(f=re.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||re.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)re.event.remove(e,d+t[l],n,r,!0);re.isEmptyObject(u)&&Te.remove(e,"handle events")}},dispatch:function(e){e=re.event.fix(e);var t,n,r,i,o,s=[],a=G.call(arguments),u=(Te.get(this,"events")||{})[e.type]||[],l=re.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(s=re.event.handlers.call(this,e,u),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((re.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<a;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?re(i,this).index(u)>-1:re.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||Y).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[re.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=Pe.test(i)?this.mouseHooks:Fe.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new re.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=Y),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==g()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===g()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&re.nodeName(this,"input"))return this.click(),!1},_default:function(e){return re.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},re.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},re.Event=function(e,t){if(!(this instanceof re.Event))return new re.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?d:h):this.type=e,t&&re.extend(this,t),this.timeStamp=e&&e.timeStamp||re.now(),this[re.expando]=!0},re.Event.prototype={constructor:re.Event,isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=d,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=d,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=d,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},re.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){re.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||re.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),re.fn.extend({on:function(e,t,n,r){return v(this,e,t,n,r)},one:function(e,t,n,r){return v(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,re(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=h),this.each(function(){re.event.remove(this,e,n,t)})}});var Me=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ie=/<script|<style|<link/i,We=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^true\/(.*)/,Be=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;re.extend({htmlPrefilter:function(e){return e.replace(Me,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=re.contains(e.ownerDocument,e);if(!(ne.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||re.isXMLDoc(e)))for(s=c(a),r=0,i=(o=c(e)).length;r<i;r++)w(o[r],s[r]);if(t)if(n)for(o=o||c(e),s=s||c(a),r=0,i=o.length;r<i;r++)b(o[r],s[r]);else b(e,a);return(s=c(a,"script")).length>0&&f(s,!u&&c(e,"script")),a},cleanData:function(e){for(var t,n,r,i=re.event.special,o=0;void 0!==(n=e[o]);o++)if(we(n)){if(t=n[Te.expando]){if(t.events)for(r in t.events)i[r]?re.event.remove(n,r):re.removeEvent(n,r,t.handle);n[Te.expando]=void 0}n[Ce.expando]&&(n[Ce.expando]=void 0)}}}),re.fn.extend({domManip:T,detach:function(e){return C(this,e,!0)},remove:function(e){return C(this,e)},text:function(e){return be(this,function(e){return void 0===e?re.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return T(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||m(this,e).appendChild(e)})},prepend:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=m(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(re.cleanData(c(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return re.clone(this,e,t)})},html:function(e){return be(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!He[(qe.exec(e)||["",""])[1].toLowerCase()]){e=re.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(re.cleanData(c(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return T(this,arguments,function(t){var n=this.parentNode;re.inArray(this,e)<0&&(re.cleanData(c(this)),n&&n.replaceChild(t,this))},e)}}),re.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){re.fn[e]=function(e){for(var n,r=[],i=re(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),re(i[s])[t](n),J.apply(r,n.get());return this.pushStack(r)}});var _e,Xe={HTML:"block",BODY:"block"},ze=/^margin/,Ue=new RegExp("^("+Ne+")(?!px)[a-z%]+$","i"),Ve=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ye=function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i},Ge=Y.documentElement;!function(){function t(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Ge.appendChild(s);var t=e.getComputedStyle(a);n="1%"!==t.top,o="2px"===t.marginLeft,r="4px"===t.width,a.style.marginRight="50%",i="4px"===t.marginRight,Ge.removeChild(s)}var n,r,i,o,s=Y.createElement("div"),a=Y.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",ne.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),re.extend(ne,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==r&&t(),r},pixelMarginRight:function(){return null==r&&t(),i},reliableMarginLeft:function(){return null==r&&t(),o},reliableMarginRight:function(){var t,n=a.appendChild(Y.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Ge.appendChild(s),t=!parseFloat(e.getComputedStyle(n).marginRight),Ge.removeChild(s),a.removeChild(n),t}}))}();var Qe=/^(none|table(?!-c[ea]).+)/,Je={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"},Ze=["Webkit","O","Moz","ms"],et=Y.createElement("div").style;re.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=N(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=re.camelCase(t),u=e.style;if(t=re.cssProps[a]||(re.cssProps[a]=j(a)||a),s=re.cssHooks[t]||re.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t];"string"==(o=typeof n)&&(i=Se.exec(n))&&i[1]&&(n=l(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(re.cssNumber[a]?"":"px")),ne.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))}},css:function(e,t,n,r){var i,o,s,a=re.camelCase(t);return t=re.cssProps[a]||(re.cssProps[a]=j(a)||a),(s=re.cssHooks[t]||re.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=N(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),re.each(["height","width"],function(e,t){re.cssHooks[t]={get:function(e,n,r){if(n)return Qe.test(re.css(e,"display"))&&0===e.offsetWidth?Ye(e,Je,function(){return q(e,t,r)}):q(e,t,r)},set:function(e,n,r){var i,o=r&&Ve(e),s=r&&A(e,t,r,"border-box"===re.css(e,"boxSizing",!1,o),o);return s&&(i=Se.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=re.css(e,t)),D(0,n,s)}}}),re.cssHooks.marginLeft=S(ne.reliableMarginLeft,function(e,t){if(t)return(parseFloat(N(e,"marginLeft"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),re.cssHooks.marginRight=S(ne.reliableMarginRight,function(e,t){if(t)return Ye(e,{display:"inline-block"},N,[e,"marginRight"])}),re.each({margin:"",padding:"",border:"Width"},function(e,t){re.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+je[r]+t]=o[r]||o[r-2]||o[0];return i}},ze.test(e)||(re.cssHooks[e+t].set=D)}),re.fn.extend({css:function(e,t){return be(this,function(e,t,n){var r,i,o={},s=0;if(re.isArray(t)){for(r=Ve(e),i=t.length;s<i;s++)o[t[s]]=re.css(e,t[s],!1,r);return o}return void 0!==n?re.style(e,t,n):re.css(e,t)},e,t,arguments.length>1)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){De(this)?re(this).show():re(this).hide()})}}),re.Tween=H,H.prototype={constructor:H,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||re.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(re.cssNumber[n]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,n=H.propHooks[this.prop];return this.options.duration?this.pos=t=re.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=re.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){re.fx.step[e.prop]?re.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[re.cssProps[e.prop]]&&!re.cssHooks[e.prop]?e.elem[e.prop]=e.now:re.style(e.elem,e.prop,e.now+e.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},re.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},re.fx=H.prototype.init,re.fx.step={};var tt,nt,rt=/^(?:toggle|show|hide)$/,it=/queueHooks$/;re.Animation=re.extend(M,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return l(n.elem,e,Se.exec(t),n),n}]},tweener:function(e,t){re.isFunction(e)?(t=e,e=["*"]):e=e.match(ye);for(var n,r=0,i=e.length;r<i;r++)n=e[r],M.tweeners[n]=M.tweeners[n]||[],M.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,u,l,c=this,f={},p=e.style,d=e.nodeType&&De(e),h=Te.get(e,"fxshow");n.queue||(null==(a=re._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,re.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(l=re.css(e,"display"))?Te.get(e,"olddisplay")||E(e.nodeName):l)&&"none"===re.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],rt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||re.style(e,r)}else l=void 0;if(re.isEmptyObject(f))"inline"===("none"===l?E(e.nodeName):l)&&(p.display=l);else{h?"hidden"in h&&(d=h.hidden):h=Te.access(e,"fxshow",{}),o&&(h.hidden=!d),d?re(e).show():c.done(function(){re(e).hide()}),c.done(function(){var t;Te.remove(e,"fxshow");for(t in f)re.style(e,t,f[t])});for(r in f)s=P(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}],prefilter:function(e,t){t?M.prefilters.unshift(e):M.prefilters.push(e)}}),re.speed=function(e,t,n){var r=e&&"object"==typeof e?re.extend({},e):{complete:n||!n&&t||re.isFunction(e)&&e,duration:e,easing:n&&t||t&&!re.isFunction(t)&&t};return r.duration=re.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in re.fx.speeds?re.fx.speeds[r.duration]:re.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){re.isFunction(r.old)&&r.old.call(this),r.queue&&re.dequeue(this,r.queue)},r},re.fn.extend({fadeTo:function(e,t,n,r){return this.filter(De).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=re.isEmptyObject(e),o=re.speed(t,n,r),s=function(){var t=M(this,re.extend({},e),o);(i||Te.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=re.timers,s=Te.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&it.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||re.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Te.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=re.timers,s=r?r.length:0;for(n.finish=!0,re.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),re.each(["toggle","show","hide"],function(e,t){var n=re.fn[t];re.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,r,i)}}),re.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){re.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),re.timers=[],re.fx.tick=function(){var e,t=0,n=re.timers;for(tt=re.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||re.fx.stop(),tt=void 0},re.fx.timer=function(e){re.timers.push(e),e()?re.fx.start():re.timers.pop()},re.fx.interval=13,re.fx.start=function(){nt||(nt=e.setInterval(re.fx.tick,re.fx.interval))},re.fx.stop=function(){e.clearInterval(nt),nt=null},re.fx.speeds={slow:600,fast:200,_default:400},re.fn.delay=function(t,n){return t=re.fx?re.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=Y.createElement("input"),t=Y.createElement("select"),n=t.appendChild(Y.createElement("option"));e.type="checkbox",ne.checkOn=""!==e.value,ne.optSelected=n.selected,t.disabled=!0,ne.optDisabled=!n.disabled,(e=Y.createElement("input")).value="t",e.type="radio",ne.radioValue="t"===e.value}();var ot,st=re.expr.attrHandle;re.fn.extend({attr:function(e,t){return be(this,re.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){re.removeAttr(this,e)})}}),re.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?re.prop(e,t,n):(1===o&&re.isXMLDoc(e)||(t=t.toLowerCase(),i=re.attrHooks[t]||(re.expr.match.bool.test(t)?ot:void 0)),void 0!==n?null===n?void re.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=re.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!ne.radioValue&&"radio"===t&&re.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(ye);if(o&&1===e.nodeType)for(;n=o[i++];)r=re.propFix[n]||n,re.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),ot={set:function(e,t,n){return!1===t?re.removeAttr(e,n):e.setAttribute(n,n),n}},re.each(re.expr.match.bool.source.match(/\w+/g),function(e,t){var n=st[t]||re.find.attr;st[t]=function(e,t,r){var i,o;return r||(o=st[t],st[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,st[t]=o),i}});var at=/^(?:input|select|textarea|button)$/i,ut=/^(?:a|area)$/i;re.fn.extend({prop:function(e,t){return be(this,re.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[re.propFix[e]||e]})}}),re.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&re.isXMLDoc(e)||(t=re.propFix[t]||t,i=re.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=re.find.attr(e,"tabindex");return t?parseInt(t,10):at.test(e.nodeName)||ut.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ne.optSelected||(re.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),re.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){re.propFix[this.toLowerCase()]=this});var lt=/[\t\r\n\f]/g;re.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,u=0;if(re.isFunction(e))return this.each(function(t){re(this).addClass(e.call(this,t,I(this)))});if("string"==typeof e&&e)for(t=e.match(ye)||[];n=this[u++];)if(i=I(n),r=1===n.nodeType&&(" "+i+" ").replace(lt," ")){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=re.trim(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,u=0;if(re.isFunction(e))return this.each(function(t){re(this).removeClass(e.call(this,t,I(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(ye)||[];n=this[u++];)if(i=I(n),r=1===n.nodeType&&(" "+i+" ").replace(lt," ")){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=re.trim(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):re.isFunction(e)?this.each(function(n){re(this).toggleClass(e.call(this,n,I(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=re(this),o=e.match(ye)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=I(this))&&Te.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Te.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+I(n)+" ").replace(lt," ").indexOf(t)>-1)return!0;return!1}});var ct=/\r/g,ft=/[\x20\t\r\n\f]+/g;re.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=re.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,re(this).val()):e)?i="":"number"==typeof i?i+="":re.isArray(i)&&(i=re.map(i,function(e){return null==e?"":e+""})),(t=re.valHooks[this.type]||re.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=re.valHooks[i.type]||re.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ct,""):null==n?"":n}}}),re.extend({valHooks:{option:{get:function(e){var t=re.find.attr(e,"value");return null!=t?t:re.trim(re.text(e)).replace(ft," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(((n=r[u]).selected||u===i)&&(ne.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!re.nodeName(n.parentNode,"optgroup"))){if(t=re(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=re.makeArray(t),s=i.length;s--;)((r=i[s]).selected=re.inArray(re.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),re.each(["radio","checkbox"],function(){re.valHooks[this]={set:function(e,t){if(re.isArray(t))return e.checked=re.inArray(re(e).val(),t)>-1}},ne.checkOn||(re.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var pt=/^(?:focusinfocus|focusoutblur)$/;re.extend(re.event,{trigger:function(t,n,r,i){var o,s,a,u,l,c,f,p=[r||Y],d=te.call(t,"type")?t.type:t,h=te.call(t,"namespace")?t.namespace.split("."):[];if(s=a=r=r||Y,3!==r.nodeType&&8!==r.nodeType&&!pt.test(d+re.event.triggered)&&(d.indexOf(".")>-1&&(d=(h=d.split(".")).shift(),h.sort()),l=d.indexOf(":")<0&&"on"+d,t=t[re.expando]?t:new re.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:re.makeArray(n,[t]),f=re.event.special[d]||{},i||!f.trigger||!1!==f.trigger.apply(r,n))){if(!i&&!f.noBubble&&!re.isWindow(r)){for(u=f.delegateType||d,pt.test(u+d)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(r.ownerDocument||Y)&&p.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=p[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||d,(c=(Te.get(s,"events")||{})[t.type]&&Te.get(s,"handle"))&&c.apply(s,n),(c=l&&s[l])&&c.apply&&we(s)&&(t.result=c.apply(s,n),!1===t.result&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),n)||!we(r)||l&&re.isFunction(r[d])&&!re.isWindow(r)&&((a=r[l])&&(r[l]=null),re.event.triggered=d,r[d](),re.event.triggered=void 0,a&&(r[l]=a)),t.result}},simulate:function(e,t,n){var r=re.extend(new re.Event,n,{type:e,isSimulated:!0});re.event.trigger(r,null,t)}}),re.fn.extend({trigger:function(e,t){return this.each(function(){re.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return re.event.trigger(e,t,n,!0)}}),re.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){re.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),re.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ne.focusin="onfocusin"in e,ne.focusin||re.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){re.event.simulate(t,e.target,re.event.fix(e))};re.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Te.access(r,t);i||r.addEventListener(e,n,!0),Te.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Te.access(r,t)-1;i?Te.access(r,t,i):(r.removeEventListener(e,n,!0),Te.remove(r,t))}}});var dt=e.location,ht=re.now(),gt=/\?/;re.parseJSON=function(e){return JSON.parse(e+"")},re.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||re.error("Invalid XML: "+t),n};var vt=/#.*$/,mt=/([?&])_=[^&]*/,yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,xt=/^(?:GET|HEAD)$/,bt=/^\/\//,wt={},Tt={},Ct="*/".concat("*"),kt=Y.createElement("a");kt.href=dt.href,re.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:dt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(dt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ct,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":re.parseJSON,"text xml":re.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?B(B(e,re.ajaxSettings),t):B(re.ajaxSettings,e)},ajaxPrefilter:W(wt),ajaxTransport:W(Tt),ajax:function(t,n){function r(t,n,r,a){var l,f,y,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),i=void 0,s=a||"",T.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(x=_(p,T,r)),x=X(p,x,T,l),l?(p.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(re.lastModified[o]=w),(w=T.getResponseHeader("etag"))&&(re.etag[o]=w)),204===t||"HEAD"===p.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,l=!(y=x.error))):(y=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",l?g.resolveWith(d,[f,C,T]):g.rejectWith(d,[T,C,y]),T.statusCode(m),m=void 0,c&&h.trigger(l?"ajaxSuccess":"ajaxError",[T,p,l?f:y]),v.fireWith(d,[T,C]),c&&(h.trigger("ajaxComplete",[T,p]),--re.active||re.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,s,a,u,l,c,f,p=re.ajaxSetup({},n),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?re(d):re.event,g=re.Deferred(),v=re.Callbacks("once memory"),m=p.statusCode||{},y={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!a)for(a={};t=yt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return i&&i.abort(t),r(0,t),this}};if(g.promise(T).complete=v.add,T.success=T.done,T.error=T.fail,p.url=((t||p.url||dt.href)+"").replace(vt,"").replace(bt,dt.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=re.trim(p.dataType||"*").toLowerCase().match(ye)||[""],null==p.crossDomain){l=Y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=kt.protocol+"//"+kt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=re.param(p.data,p.traditional)),$(wt,p,n,T),2===b)return T;(c=re.event&&p.global)&&0==re.active++&&re.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!xt.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(gt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=mt.test(o)?o.replace(mt,"$1_="+ht++):o+(gt.test(o)?"&":"?")+"_="+ht++)),p.ifModified&&(re.lastModified[o]&&T.setRequestHeader("If-Modified-Since",re.lastModified[o]),re.etag[o]&&T.setRequestHeader("If-None-Match",re.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ct+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)T.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(d,T,p)||2===b))return T.abort();w="abort";for(f in{success:1,error:1,complete:1})T[f](p[f]);if(i=$(Tt,p,n,T)){if(T.readyState=1,c&&h.trigger("ajaxSend",[T,p]),2===b)return T;p.async&&p.timeout>0&&(u=e.setTimeout(function(){T.abort("timeout")},p.timeout));try{b=1,i.send(y,r)}catch(e){if(!(b<2))throw e;r(-1,e)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return re.get(e,t,n,"json")},getScript:function(e,t){return re.get(e,void 0,t,"script")}}),re.each(["get","post"],function(e,t){re[t]=function(e,n,r,i){return re.isFunction(n)&&(i=i||r,r=n,n=void 0),re.ajax(re.extend({url:e,type:t,dataType:i,data:n,success:r},re.isPlainObject(e)&&e))}}),re._evalUrl=function(e){return re.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},re.fn.extend({wrapAll:function(e){var t;return re.isFunction(e)?this.each(function(t){re(this).wrapAll(e.call(this,t))}):(this[0]&&(t=re(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return re.isFunction(e)?this.each(function(t){re(this).wrapInner(e.call(this,t))}):this.each(function(){var t=re(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=re.isFunction(e);return this.each(function(n){re(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){re.nodeName(this,"body")||re(this).replaceWith(this.childNodes)}).end()}}),re.expr.filters.hidden=function(e){return!re.expr.filters.visible(e)},re.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Et=/%20/g,Nt=/\[\]$/,St=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;re.param=function(e,t){var n,r=[],i=function(e,t){t=re.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=re.ajaxSettings&&re.ajaxSettings.traditional),re.isArray(e)||e.jquery&&!re.isPlainObject(e))re.each(e,function(){i(this.name,this.value)});else for(n in e)z(n,e[n],t,i);return r.join("&").replace(Et,"+")},re.fn.extend({serialize:function(){return re.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=re.prop(this,"elements");return e?re.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!re(this).is(":disabled")&&Dt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Ae.test(e))}).map(function(e,t){var n=re(this).val();return null==n?null:re.isArray(n)?re.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),re.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var At={0:200,1223:204},qt=re.ajaxSettings.xhr();ne.cors=!!qt&&"withCredentials"in qt,ne.ajax=qt=!!qt,re.ajaxTransport(function(t){var n,r;if(ne.cors||qt&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(At[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),re.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return re.globalEval(e),e}}}),re.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),re.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=re("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),Y.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Lt=[],Ht=/(=)\?(?=&|$)|\?\?/;re.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||re.expando+"_"+ht++;return this[e]=!0,e}}),re.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,s,a=!1!==t.jsonp&&(Ht.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=re.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ht,"$1"+i):!1!==t.jsonp&&(t.url+=(gt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||re.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){s=arguments},r.always(function(){void 0===o?re(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Lt.push(i)),s&&re.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),re.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Y;var r=pe.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=p([e],t,i),i&&i.length&&re(i).remove(),re.merge([],r.childNodes))};var Ot=re.fn.load;re.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=re.trim(e.slice(a)),e=e.slice(0,a)),re.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&re.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?re("<div>").append(re.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},re.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){re.fn[t]=function(e){return this.on(t,e)}}),re.expr.filters.animated=function(e){return re.grep(re.timers,function(t){return e===t.elem}).length},re.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l=re.css(e,"position"),c=re(e),f={};"static"===l&&(e.style.position="relative"),a=c.offset(),o=re.css(e,"top"),u=re.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),re.isFunction(t)&&(t=t.call(e,n,re.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+i),"using"in t?t.using.call(e,f):c.css(f)}},re.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){re.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return t=o.documentElement,re.contains(t,r)?(i=r.getBoundingClientRect(),n=U(o),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===re.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),re.nodeName(e[0],"html")||(r=e.offset()),r.top+=re.css(e[0],"borderTopWidth",!0),r.left+=re.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-re.css(n,"marginTop",!0),left:t.left-r.left-re.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===re.css(e,"position");)e=e.offsetParent;return e||Ge})}}),re.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;re.fn[e]=function(r){return be(this,function(e,r,i){var o=U(e);if(void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),re.each(["top","left"],function(e,t){re.cssHooks[t]=S(ne.pixelPosition,function(e,n){if(n)return n=N(e,t),Ue.test(n)?re(e).position()[t]+"px":n})}),re.each({Height:"height",Width:"width"},function(e,t){re.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){re.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===i?"margin":"border");return be(this,function(t,n,r){var i;return re.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?re.css(t,n,s):re.style(t,n,r,s)},t,o?r:void 0,o,null)}})}),re.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),re.fn.andSelf=re.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return re});var Ft=e.jQuery,Pt=e.$;return re.noConflict=function(t){return e.$===re&&(e.$=Pt),t&&e.jQuery===re&&(e.jQuery=Ft),re},t||(e.jQuery=e.$=re),re});
--- a/src/pyams_skin/resources/js/ext/jquery-color-2.1.2.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-color-2.1.2.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,11 +1,1 @@
-/*
- * jQuery Color Animations v2.1.2
- * https://github.com/jquery/jquery-color
- *
- * Copyright 2013 jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * Date: Wed Jan 16 08:47:09 2013 -0600
- */
-(function(o,d){var k="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",h=/^([\-+])=\s*(\d+\.?\d*)/,g=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(p){return[p[1],p[2],p[3],p[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(p){return[p[1]*2.55,p[2]*2.55,p[3]*2.55,p[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(p){return[parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(p){return[parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(p){return[p[1],p[2]/100,p[3]/100,p[4]]}}],e=o.Color=function(q,r,p,s){return new o.Color.fn.parse(q,r,p,s)},j={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},n={"byte":{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},m=e.support={},b=o("<p>")[0],a,l=o.each;b.style.cssText="background-color:rgba(1,1,1,.5)";m.rgba=b.style.backgroundColor.indexOf("rgba")>-1;l(j,function(p,q){q.cache="_"+p;q.props.alpha={idx:3,type:"percent",def:1}});function i(q,s,r){var p=n[s.type]||{};if(q==null){return(r||!s.def)?null:s.def}q=p.floor?~~q:parseFloat(q);if(isNaN(q)){return s.def}if(p.mod){return(q+p.mod)%p.mod}return 0>q?0:p.max<q?p.max:q}function f(p){var r=e(),q=r._rgba=[];p=p.toLowerCase();l(g,function(w,x){var u,v=x.re.exec(p),t=v&&x.parse(v),s=x.space||"rgba";if(t){u=r[s](t);r[j[s].cache]=u[j[s].cache];q=r._rgba=u._rgba;return false}});if(q.length){if(q.join()==="0,0,0,0"){o.extend(q,a.transparent)}return r}return a[p]}e.fn=o.extend(e.prototype,{parse:function(v,t,p,u){if(v===d){this._rgba=[null,null,null,null];return this}if(v.jquery||v.nodeType){v=o(v).css(t);t=d}var s=this,r=o.type(v),q=this._rgba=[];if(t!==d){v=[v,t,p,u];r="array"}if(r==="string"){return this.parse(f(v)||a._default)}if(r==="array"){l(j.rgba.props,function(w,x){q[x.idx]=i(v[x.idx],x)});return this}if(r==="object"){if(v instanceof e){l(j,function(w,x){if(v[x.cache]){s[x.cache]=v[x.cache].slice()}})}else{l(j,function(x,y){var w=y.cache;l(y.props,function(z,A){if(!s[w]&&y.to){if(z==="alpha"||v[z]==null){return}s[w]=y.to(s._rgba)}s[w][A.idx]=i(v[z],A,true)});if(s[w]&&o.inArray(null,s[w].slice(0,3))<0){s[w][3]=1;if(y.from){s._rgba=y.from(s[w])}}})}return this}},is:function(r){var p=e(r),s=true,q=this;l(j,function(t,v){var w,u=p[v.cache];if(u){w=q[v.cache]||v.to&&v.to(q._rgba)||[];l(v.props,function(x,y){if(u[y.idx]!=null){s=(u[y.idx]===w[y.idx]);return s}})}return s});return s},_space:function(){var p=[],q=this;l(j,function(r,s){if(q[s.cache]){p.push(r)}});return p.pop()},transition:function(q,w){var r=e(q),s=r._space(),t=j[s],u=this.alpha()===0?e("transparent"):this,v=u[t.cache]||t.to(u._rgba),p=v.slice();r=r[t.cache];l(t.props,function(A,C){var z=C.idx,y=v[z],x=r[z],B=n[C.type]||{};if(x===null){return}if(y===null){p[z]=x}else{if(B.mod){if(x-y>B.mod/2){y+=B.mod}else{if(y-x>B.mod/2){y-=B.mod}}}p[z]=i((x-y)*w+y,C)}});return this[s](p)},blend:function(s){if(this._rgba[3]===1){return this}var r=this._rgba.slice(),q=r.pop(),p=e(s)._rgba;return e(o.map(r,function(t,u){return(1-q)*p[u]+q*t}))},toRgbaString:function(){var q="rgba(",p=o.map(this._rgba,function(r,s){return r==null?(s>2?1:0):r});if(p[3]===1){p.pop();q="rgb("}return q+p.join()+")"},toHslaString:function(){var q="hsla(",p=o.map(this.hsla(),function(r,s){if(r==null){r=s>2?1:0}if(s&&s<3){r=Math.round(r*100)+"%"}return r});if(p[3]===1){p.pop();q="hsl("}return q+p.join()+")"},toHexString:function(p){var q=this._rgba.slice(),r=q.pop();if(p){q.push(~~(r*255))}return"#"+o.map(q,function(s){s=(s||0).toString(16);return s.length===1?"0"+s:s}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});e.fn.parse.prototype=e.fn;function c(t,s,r){r=(r+1)%1;if(r*6<1){return t+(s-t)*r*6}if(r*2<1){return s}if(r*3<2){return t+(s-t)*((2/3)-r)*6}return t}j.hsla.to=function(t){if(t[0]==null||t[1]==null||t[2]==null){return[null,null,null,t[3]]}var p=t[0]/255,w=t[1]/255,x=t[2]/255,z=t[3],y=Math.max(p,w,x),u=Math.min(p,w,x),A=y-u,B=y+u,q=B*0.5,v,C;if(u===y){v=0}else{if(p===y){v=(60*(w-x)/A)+360}else{if(w===y){v=(60*(x-p)/A)+120}else{v=(60*(p-w)/A)+240}}}if(A===0){C=0}else{if(q<=0.5){C=A/B}else{C=A/(2-B)}}return[Math.round(v)%360,C,q,z==null?1:z]};j.hsla.from=function(w){if(w[0]==null||w[1]==null||w[2]==null){return[null,null,null,w[3]]}var v=w[0]/360,u=w[1],t=w[2],r=w[3],x=t<=0.5?t*(1+u):t+u-t*u,y=2*t-x;return[Math.round(c(y,x,v+(1/3))*255),Math.round(c(y,x,v)*255),Math.round(c(y,x,v-(1/3))*255),r]};l(j,function(q,s){var r=s.props,p=s.cache,u=s.to,t=s.from;e.fn[q]=function(z){if(u&&!this[p]){this[p]=u(this._rgba)}if(z===d){return this[p].slice()}var w,y=o.type(z),v=(y==="array"||y==="object")?z:arguments,x=this[p].slice();l(r,function(A,C){var B=v[y==="object"?A:C.idx];if(B==null){B=x[C.idx]}x[C.idx]=i(B,C)});if(t){w=e(t(x));w[p]=x;return w}else{return e(x)}};l(r,function(v,w){if(e.fn[v]){return}e.fn[v]=function(A){var C=o.type(A),z=(v==="alpha"?(this._hsla?"hsla":"rgba"):q),y=this[z](),B=y[w.idx],x;if(C==="undefined"){return B}if(C==="function"){A=A.call(this,B);C=o.type(A)}if(A==null&&w.empty){return this}if(C==="string"){x=h.exec(A);if(x){A=B+parseFloat(x[2])*(x[1]==="+"?1:-1)}}y[w.idx]=A;return this[z](y)}})});e.hook=function(q){var p=q.split(" ");l(p,function(r,s){o.cssHooks[s]={set:function(w,x){var u,v,t="";if(x!=="transparent"&&(o.type(x)!=="string"||(u=f(x)))){x=e(u||x);if(!m.rgba&&x._rgba[3]!==1){v=s==="backgroundColor"?w.parentNode:w;while((t===""||t==="transparent")&&v&&v.style){try{t=o.css(v,"backgroundColor");v=v.parentNode}catch(y){}}x=x.blend(t&&t!=="transparent"?t:"_default")}x=x.toRgbaString()}try{w.style[s]=x}catch(y){}}};o.fx.step[s]=function(t){if(!t.colorInit){t.start=e(t.elem,s);t.end=e(t.end);t.colorInit=true}o.cssHooks[s].set(t.elem,t.start.transition(t.end,t.pos))}})};e.hook(k);o.cssHooks.borderColor={expand:function(q){var p={};l(["Top","Right","Bottom","Left"],function(s,r){p["border"+r+"Color"]=q});return p}};a=o.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery);
\ No newline at end of file
+!function(r,n){function t(r,n,t){var e=f[n.type]||{};return null==r?t||!n.def?null:n.def:(r=e.floor?~~r:parseFloat(r),isNaN(r)?n.def:e.mod?(r+e.mod)%e.mod:0>r?0:e.max<r?e.max:r)}function e(n){var t=u(),e=t._rgba=[];return n=n.toLowerCase(),d(s,function(r,o){var a,i=o.re.exec(n),s=i&&o.parse(i),u=o.space||"rgba";if(s)return a=t[u](s),t[l[u].cache]=a[l[u].cache],e=t._rgba=a._rgba,!1}),e.length?("0,0,0,0"===e.join()&&r.extend(e,a.transparent),t):a[n]}function o(r,n,t){return 6*(t=(t+1)%1)<1?r+(n-r)*t*6:2*t<1?n:3*t<2?r+(n-r)*(2/3-t)*6:r}var a,i=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(r){return[r[1],r[2],r[3],r[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(r){return[2.55*r[1],2.55*r[2],2.55*r[3],r[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(r){return[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(r){return[parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16),parseInt(r[3]+r[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(r){return[r[1],r[2]/100,r[3]/100,r[4]]}}],u=r.Color=function(n,t,e,o){return new r.Color.fn.parse(n,t,e,o)},l={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},f={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=u.support={},p=r("<p>")[0],d=r.each;p.style.cssText="background-color:rgba(1,1,1,.5)",c.rgba=p.style.backgroundColor.indexOf("rgba")>-1,d(l,function(r,n){n.cache="_"+r,n.props.alpha={idx:3,type:"percent",def:1}}),u.fn=r.extend(u.prototype,{parse:function(n,o,i,s){if(void 0===n)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=r(n).css(o),o=void 0);var f=this,c=r.type(n),p=this._rgba=[];return void 0!==o&&(n=[n,o,i,s],c="array"),"string"===c?this.parse(e(n)||a._default):"array"===c?(d(l.rgba.props,function(r,e){p[e.idx]=t(n[e.idx],e)}),this):"object"===c?(n instanceof u?d(l,function(r,t){n[t.cache]&&(f[t.cache]=n[t.cache].slice())}):d(l,function(e,o){var a=o.cache;d(o.props,function(r,e){if(!f[a]&&o.to){if("alpha"===r||null==n[r])return;f[a]=o.to(f._rgba)}f[a][e.idx]=t(n[r],e,!0)}),f[a]&&r.inArray(null,f[a].slice(0,3))<0&&(f[a][3]=1,o.from&&(f._rgba=o.from(f[a])))}),this):void 0},is:function(r){var n=u(r),t=!0,e=this;return d(l,function(r,o){var a,i=n[o.cache];return i&&(a=e[o.cache]||o.to&&o.to(e._rgba)||[],d(o.props,function(r,n){if(null!=i[n.idx])return t=i[n.idx]===a[n.idx]})),t}),t},_space:function(){var r=[],n=this;return d(l,function(t,e){n[e.cache]&&r.push(t)}),r.pop()},transition:function(r,n){var e=u(r),o=e._space(),a=l[o],i=0===this.alpha()?u("transparent"):this,s=i[a.cache]||a.to(i._rgba),c=s.slice();return e=e[a.cache],d(a.props,function(r,o){var a=o.idx,i=s[a],u=e[a],l=f[o.type]||{};null!==u&&(null===i?c[a]=u:(l.mod&&(u-i>l.mod/2?i+=l.mod:i-u>l.mod/2&&(i-=l.mod)),c[a]=t((u-i)*n+i,o)))}),this[o](c)},blend:function(n){if(1===this._rgba[3])return this;var t=this._rgba.slice(),e=t.pop(),o=u(n)._rgba;return u(r.map(t,function(r,n){return(1-e)*o[n]+e*r}))},toRgbaString:function(){var n="rgba(",t=r.map(this._rgba,function(r,n){return null==r?n>2?1:0:r});return 1===t[3]&&(t.pop(),n="rgb("),n+t.join()+")"},toHslaString:function(){var n="hsla(",t=r.map(this.hsla(),function(r,n){return null==r&&(r=n>2?1:0),n&&n<3&&(r=Math.round(100*r)+"%"),r});return 1===t[3]&&(t.pop(),n="hsl("),n+t.join()+")"},toHexString:function(n){var t=this._rgba.slice(),e=t.pop();return n&&t.push(~~(255*e)),"#"+r.map(t,function(r){return 1===(r=(r||0).toString(16)).length?"0"+r:r}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),u.fn.parse.prototype=u.fn,l.hsla.to=function(r){if(null==r[0]||null==r[1]||null==r[2])return[null,null,null,r[3]];var n,t,e=r[0]/255,o=r[1]/255,a=r[2]/255,i=r[3],s=Math.max(e,o,a),u=Math.min(e,o,a),l=s-u,f=s+u,c=.5*f;return n=u===s?0:e===s?60*(o-a)/l+360:o===s?60*(a-e)/l+120:60*(e-o)/l+240,t=0===l?0:c<=.5?l/f:l/(2-f),[Math.round(n)%360,t,c,null==i?1:i]},l.hsla.from=function(r){if(null==r[0]||null==r[1]||null==r[2])return[null,null,null,r[3]];var n=r[0]/360,t=r[1],e=r[2],a=r[3],i=e<=.5?e*(1+t):e+t-e*t,s=2*e-i;return[Math.round(255*o(s,i,n+1/3)),Math.round(255*o(s,i,n)),Math.round(255*o(s,i,n-1/3)),a]},d(l,function(n,e){var o=e.props,a=e.cache,s=e.to,l=e.from;u.fn[n]=function(n){if(s&&!this[a]&&(this[a]=s(this._rgba)),void 0===n)return this[a].slice();var e,i=r.type(n),f="array"===i||"object"===i?n:arguments,c=this[a].slice();return d(o,function(r,n){var e=f["object"===i?r:n.idx];null==e&&(e=c[n.idx]),c[n.idx]=t(e,n)}),l?(e=u(l(c)),e[a]=c,e):u(c)},d(o,function(t,e){u.fn[t]||(u.fn[t]=function(o){var a,s=r.type(o),u="alpha"===t?this._hsla?"hsla":"rgba":n,l=this[u](),f=l[e.idx];return"undefined"===s?f:("function"===s&&(o=o.call(this,f),s=r.type(o)),null==o&&e.empty?this:("string"===s&&(a=i.exec(o))&&(o=f+parseFloat(a[2])*("+"===a[1]?1:-1)),l[e.idx]=o,this[u](l)))})})}),u.hook=function(n){var t=n.split(" ");d(t,function(n,t){r.cssHooks[t]={set:function(n,o){var a,i,s="";if("transparent"!==o&&("string"!==r.type(o)||(a=e(o)))){if(o=u(a||o),!c.rgba&&1!==o._rgba[3]){for(i="backgroundColor"===t?n.parentNode:n;(""===s||"transparent"===s)&&i&&i.style;)try{s=r.css(i,"backgroundColor"),i=i.parentNode}catch(r){}o=o.blend(s&&"transparent"!==s?s:"_default")}o=o.toRgbaString()}try{n.style[t]=o}catch(r){}}},r.fx.step[t]=function(n){n.colorInit||(n.start=u(n.elem,t),n.end=u(n.end),n.colorInit=!0),r.cssHooks[t].set(n.elem,n.start.transition(n.end,n.pos))}})},u.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),r.cssHooks.borderColor={expand:function(r){var n={};return d(["Top","Right","Bottom","Left"],function(t,e){n["border"+e+"Color"]=r}),n}},a=r.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery);
--- a/src/pyams_skin/resources/js/ext/jquery-dataTables-colReorderWithResize.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-dataTables-colReorderWithResize.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(f,d,a){function e(k){var j=[];for(var h=0,g=k.length;h<g;h++){j[k[h]]=h}return j}function c(h,j,i){var g=h.splice(j,1)[0];h.splice(i,0,g)}function b(k,n,m){var j=[];for(var h=0,g=k.childNodes.length;h<g;h++){if(k.childNodes[h].nodeType==1){j.push(k.childNodes[h])}}var l=j[n];if(m!==null){k.insertBefore(l,j[m])}else{k.appendChild(l)}}f.fn.dataTableExt.oApi.fnColReorder=function(k,g,r){var o,l,n,u,v=k.aoColumns.length,t,m;if(g==r){return}if(g<0||g>=v){this.oApi._fnLog(k,1,"ColReorder 'from' index is out of bounds: "+g);return}if(r<0||r>=v){this.oApi._fnLog(k,1,"ColReorder 'to' index is out of bounds: "+r);return}var q=[];for(o=0,l=v;o<l;o++){q[o]=o}c(q,g,r);var s=e(q);for(o=0,l=k.aaSorting.length;o<l;o++){k.aaSorting[o][0]=s[k.aaSorting[o][0]]}if(k.aaSortingFixed!==null){for(o=0,l=k.aaSortingFixed.length;o<l;o++){k.aaSortingFixed[o][0]=s[k.aaSortingFixed[o][0]]}}for(o=0,l=v;o<l;o++){m=k.aoColumns[o];for(n=0,u=m.aDataSort.length;n<u;n++){m.aDataSort[n]=s[m.aDataSort[n]]}}for(o=0,l=v;o<l;o++){m=k.aoColumns[o];if(typeof m.mData=="number"){m.mData=s[m.mData];m.fnGetData=k.oApi._fnGetObjectDataFn(m.mData);m.fnSetData=k.oApi._fnSetObjectDataFn(m.mData)}}if(k.aoColumns[g].bVisible){var h=this.oApi._fnColumnIndexToVisible(k,g);var p=null;o=r<g?r:r+1;while(p===null&&o<v){p=this.oApi._fnColumnIndexToVisible(k,o);o++}t=k.nTHead.getElementsByTagName("tr");for(o=0,l=t.length;o<l;o++){b(t[o],h,p)}if(k.nTFoot!==null){t=k.nTFoot.getElementsByTagName("tr");for(o=0,l=t.length;o<l;o++){b(t[o],h,p)}}for(o=0,l=k.aoData.length;o<l;o++){if(k.aoData[o].nTr!==null){b(k.aoData[o].nTr,h,p)}}}c(k.aoColumns,g,r);c(k.aoPreSearchCols,g,r);for(o=0,l=k.aoData.length;o<l;o++){if(f.isArray(k.aoData[o]._aData)){c(k.aoData[o]._aData,g,r)}c(k.aoData[o]._anHidden,g,r)}for(o=0,l=k.aoHeader.length;o<l;o++){c(k.aoHeader[o],g,r)}if(k.aoFooter!==null){for(o=0,l=k.aoFooter.length;o<l;o++){c(k.aoFooter[o],g,r)}}for(o=0,l=v;o<l;o++){k.aoColumns[o].aDataSort=[o];k.aoColumns[o]._ColReorder_iOrigCol=o;f(k.aoColumns[o].nTh).unbind("click");this.oApi._fnSortAttachListener(k,k.aoColumns[o].nTh,o)}if(typeof ColVis!="undefined"){ColVis.fnRebuild(k.oInstance)}f(k.oInstance).trigger("column-reorder",[k,{iFrom:g,iTo:r,aiInvertMapping:s}]);if(typeof k.oInstance._oPluginFixedHeader!="undefined"){k.oInstance._oPluginFixedHeader.fnUpdate()}};ColReorder=function(h,g){if(!this.CLASS||this.CLASS!="ColReorder"){alert("Warning: ColReorder must be initialised with the keyword 'new'")}if(typeof g=="undefined"){g={}}this.s={dt:null,init:g,allowReorder:true,allowResize:true,fixed:0,dropCallback:null,mouse:{startX:-1,startY:-1,offsetX:-1,offsetY:-1,target:-1,targetIndex:-1,fromIndex:-1},aoTargets:[]};this.dom={drag:null,resize:null,pointer:null};this.table_size=-1;this.s.dt=h.oInstance.fnSettings();this._fnConstruct();h.oApi._fnCallbackReg(h,"aoDestroyCallback",jQuery.proxy(this._fnDestroy,this),"ColReorder");ColReorder.aoInstances.push(this);return this};ColReorder.prototype={fnReset:function(){var h=[];for(var j=0,g=this.s.dt.aoColumns.length;j<g;j++){h.push(this.s.dt.aoColumns[j]._ColReorder_iOrigCol)}this._fnOrderColumns(h)},_fnConstruct:function(){var m=this;var l,g;if(typeof this.s.init.allowReorder!="undefined"){this.s.allowReorder=this.s.init.allowReorder}if(typeof this.s.init.allowResize!="undefined"){this.s.allowResize=this.s.init.allowResize}if(typeof this.s.init.iFixedColumns!="undefined"){this.s.fixed=this.s.init.iFixedColumns}if(typeof this.s.init.fnReorderCallback!="undefined"){this.s.dropCallback=this.s.init.fnReorderCallback}for(l=0,g=this.s.dt.aoColumns.length;l<g;l++){if(l>this.s.fixed-1){this._fnMouseListener(l,this.s.dt.aoColumns[l].nTh)}this.s.dt.aoColumns[l]._ColReorder_iOrigCol=l}this.s.dt.oApi._fnCallbackReg(this.s.dt,"aoStateSaveParams",function(i,n){m._fnStateSave.call(m,n)},"ColReorder_State");var h=null;if(typeof this.s.init.aiOrder!="undefined"){h=this.s.init.aiOrder.slice()}if(this.s.dt.oLoadedState&&typeof this.s.dt.oLoadedState.ColReorder!="undefined"&&this.s.dt.oLoadedState.ColReorder.length==this.s.dt.aoColumns.length){h=this.s.dt.oLoadedState.ColReorder}if(h){if(!m.s.dt._bInitComplete){var k=false;this.s.dt.aoDrawCallback.push({fn:function(){if(!m.s.dt._bInitComplete&&!k){k=true;var i=e(h);m._fnOrderColumns.call(m,i)}},sName:"ColReorder_Pre"})}else{var j=e(h);m._fnOrderColumns.call(m,j)}}},_fnOrderColumns:function(h){if(h.length!=this.s.dt.aoColumns.length){this.s.dt.oInstance.oApi._fnLog(oDTSettings,1,"ColReorder - array reorder does not match known number of columns. Skipping.");return}for(var j=0,g=h.length;j<g;j++){var k=f.inArray(j,h);if(j!=k){c(h,k,j);this.s.dt.oInstance.fnColReorder(k,j)}}if(this.s.dt.oScroll.sX!==""||this.s.dt.oScroll.sY!==""){this.s.dt.oInstance.fnAdjustColumnSizing()}this.s.dt.oInstance.oApi._fnSaveState(this.s.dt)},_fnStateSave:function(h){var j,g,k,l;var m=this.s.dt;for(j=0;j<h.aaSorting.length;j++){h.aaSorting[j][0]=m.aoColumns[h.aaSorting[j][0]]._ColReorder_iOrigCol}aSearchCopy=f.extend(true,[],h.aoSearchCols);h.ColReorder=[];for(j=0,g=m.aoColumns.length;j<g;j++){l=m.aoColumns[j]._ColReorder_iOrigCol;h.aoSearchCols[l]=aSearchCopy[j];h.abVisCols[l]=m.aoColumns[j].bVisible;h.ColReorder.push(l)}},_fnMouseListener:function(g,j){var h=this;f(j).unbind("mousemove.ColReorder");f(j).unbind("mousedown.ColReorder");if(this.s.allowResize){f(j).bind("mousemove.ColReorder",function(l){if(h.dom.drag===null&&h.dom.resize===null){var i=l.target.nodeName=="TH"?l.target:f(l.target).parents("TH")[0];var m=f(i).offset();var k=f(i).innerWidth();if(Math.abs(l.pageX-Math.round(m.left+k))<=5){f(i).css({cursor:"col-resize"})}else{f(i).css({cursor:"pointer"})}}})}f(j).bind("mousedown.ColReorder",function(i){h._fnMouseDown.call(h,i,j,g);return false})},_fnMouseDown:function(o,g,m){var n=this,q=this.s.dt.aoColumns;if(f(g).css("cursor")=="col-resize"){this.s.mouse.startX=o.pageX;this.s.mouse.startWidth=f(g).width();this.s.mouse.resizeElem=f(g);var h=f(g).next();this.s.mouse.nextStartWidth=f(h).width();n.dom.resize=true;this.s.dt.aoColumns[m].bSortable=false;this.s.dt.oFeatures.bAutoWidth=false}else{if(this.s.allowReorder){n.dom.resize=null;var p=o.target.nodeName=="TH"?o.target:f(o.target).parents("TH")[0];var l=f(p).offset();this.s.mouse.startX=o.pageX;this.s.mouse.startY=o.pageY;this.s.mouse.offsetX=o.pageX-l.left;this.s.mouse.offsetY=o.pageY-l.top;this.s.mouse.target=g;this.s.mouse.targetIndex=f("th",g.parentNode).index(g);this.s.mouse.fromIndex=this.s.dt.oInstance.oApi._fnVisibleToColumnIndex(this.s.dt,this.s.mouse.targetIndex);this.s.aoTargets.splice(0,this.s.aoTargets.length);this.s.aoTargets.push({x:f(this.s.dt.nTable).offset().left,to:0});var k=0;for(var m=0,j=q.length;m<j;m++){if(m!=this.s.mouse.fromIndex){k++}if(q[m].bVisible){this.s.aoTargets.push({x:f(q[m].nTh).offset().left+f(q[m].nTh).outerWidth(),to:k})}}if(this.s.fixed!==0){this.s.aoTargets.splice(0,this.s.fixed)}}}f(a).bind("mousemove.ColReorder",function(i){n._fnMouseMove.call(n,i,m)});f(a).bind("mouseup.ColReorder",function(i){setTimeout(function(){n._fnMouseUp.call(n,i,m)},10)})},_fnMouseMove:function(r,p){var q=this;var l;l=this.s.dt.oInit.sScrollX===""?false:true;if(this.table_size<0&&l&&f("div.dataTables_scrollHead",this.s.dt.nTableWrapper)!=undefined){if(f("div.dataTables_scrollHead",this.s.dt.nTableWrapper).length>0){this.table_size=f(f("div.dataTables_scrollHead",this.s.dt.nTableWrapper)[0].childNodes[0].childNodes[0]).width()}}if(this.dom.resize){var h=this.s.mouse.resizeElem;var j=f(h).next();var s=r.pageX-this.s.mouse.startX;if(s!=0&&!l){f(j).width(this.s.mouse.nextStartWidth-s)}f(h).width(this.s.mouse.startWidth+s);if(l&&f("div.dataTables_scrollHead",this.s.dt.nTableWrapper)!=undefined){if(f("div.dataTables_scrollHead",this.s.dt.nTableWrapper).length>0){f(f("div.dataTables_scrollHead",this.s.dt.nTableWrapper)[0].childNodes[0].childNodes[0]).width(this.table_size+s)}}var n;if(f("div.dataTables_scrollBody")!=null){if(f("div.dataTables_scrollBody").length>0){var g;n=-1;for(g=-1;g<this.s.dt.aoColumns.length-1&&g!=p;g++){if(this.s.dt.aoColumns[g+1].bVisible){n++}}tableScroller=f("div.dataTables_scrollBody",this.s.dt.nTableWrapper)[0];scrollingTableHead=f(tableScroller)[0].childNodes[0].childNodes[0].childNodes[0];if(s!=0&&!l){f(f(scrollingTableHead)[0].childNodes[n+1]).width(this.s.mouse.nextStartWidth-s)}f(f(scrollingTableHead)[0].childNodes[n]).width(this.s.mouse.startWidth+s);if(l){f(f(tableScroller)[0].childNodes[0]).width(this.table_size+s)}}}return}else{if(this.s.allowReorder){if(this.dom.drag===null){if(Math.pow(Math.pow(r.pageX-this.s.mouse.startX,2)+Math.pow(r.pageY-this.s.mouse.startY,2),0.5)<5){return}this._fnCreateDragNode()}this.dom.drag.style.left=(r.pageX-this.s.mouse.offsetX)+"px";this.dom.drag.style.top=(r.pageY-this.s.mouse.offsetY)+"px";var m=false;for(var o=1,k=this.s.aoTargets.length;o<k;o++){if(r.pageX<this.s.aoTargets[o-1].x+((this.s.aoTargets[o].x-this.s.aoTargets[o-1].x)/2)){this.dom.pointer.style.left=this.s.aoTargets[o-1].x+"px";this.s.mouse.toIndex=this.s.aoTargets[o-1].to;m=true;break}}if(!m){this.dom.pointer.style.left=this.s.aoTargets[this.s.aoTargets.length-1].x+"px";this.s.mouse.toIndex=this.s.aoTargets[this.s.aoTargets.length-1].to}}}},_fnMouseUp:function(o,k){var n=this;f(a).unbind("mousemove.ColReorder");f(a).unbind("mouseup.ColReorder");if(this.dom.drag!==null){a.body.removeChild(this.dom.drag);a.body.removeChild(this.dom.pointer);this.dom.drag=null;this.dom.pointer=null;this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex);if(this.s.dt.oScroll.sX!==""||this.s.dt.oScroll.sY!==""){this.s.dt.oInstance.fnAdjustColumnSizing()}if(this.s.dropCallback!==null){this.s.dropCallback.call(this)}this._fnConstruct();this.s.dt.oInstance.oApi._fnSaveState(this.s.dt)}else{if(this.dom.resize!==null){var l;var h;var p;var m;var q;var g;this.s.dt.aoColumns[k].bSortable=true;this.s.dt.aoColumns[k].sWidth=f(this.s.mouse.resizeElem).innerWidth()+"px";g=this.s.dt.oInit.sScrollX===""?false:true;if(!g){for(m=k+1;m<this.s.dt.aoColumns.length;m++){if(this.s.dt.aoColumns[m].bVisible){break}}for(q=k-1;q>=0;q--){if(this.s.dt.aoColumns[q].bVisible){break}}if(this.s.dt.aoColumns.length>m){this.s.dt.aoColumns[m].sWidth=f(this.s.mouse.resizeElem).next().innerWidth()+"px"}else{p=this.s.mouse.resizeElem;for(l=q;l>0;l--){if(this.s.dt.aoColumns[l].bVisible){p=f(p).prev();this.s.dt.aoColumns[l].sWidth=f(p).innerWidth()+"px"}}}}if(g&&f("div.dataTables_scrollHead",this.s.dt.nTableWrapper)!=undefined){if(f("div.dataTables_scrollHead",this.s.dt.nTableWrapper).length>0){this.table_size=f(f("div.dataTables_scrollHead",this.s.dt.nTableWrapper)[0].childNodes[0].childNodes[0]).width()}}this.s.dt.oInstance.oApi._fnSaveState(this.s.dt)}}this.dom.resize=null},_fnCreateDragNode:function(){var g=this;this.dom.drag=f(this.s.dt.nTHead.parentNode).clone(true)[0];this.dom.drag.className+=" DTCR_clonedTable";while(this.dom.drag.getElementsByTagName("caption").length>0){this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("caption")[0])}while(this.dom.drag.getElementsByTagName("tbody").length>0){this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("tbody")[0])}while(this.dom.drag.getElementsByTagName("tfoot").length>0){this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("tfoot")[0])}f("thead tr:eq(0)",this.dom.drag).each(function(){f("th:not(:eq("+g.s.mouse.targetIndex+"))",this).remove()});f("tr",this.dom.drag).height(f("tr:eq(0)",g.s.dt.nTHead).height());f("thead tr:gt(0)",this.dom.drag).remove();f("thead th:eq(0)",this.dom.drag).each(function(h){this.style.width=f("th:eq("+g.s.mouse.targetIndex+")",g.s.dt.nTHead).width()+"px"});this.dom.drag.style.position="absolute";this.dom.drag.style.zIndex=1200;this.dom.drag.style.top="0px";this.dom.drag.style.left="0px";this.dom.drag.style.width=f("th:eq("+g.s.mouse.targetIndex+")",g.s.dt.nTHead).outerWidth()+"px";this.dom.pointer=a.createElement("div");this.dom.pointer.className="DTCR_pointer";this.dom.pointer.style.position="absolute";if(this.s.dt.oScroll.sX===""&&this.s.dt.oScroll.sY===""){this.dom.pointer.style.top=f(this.s.dt.nTable).offset().top+"px";this.dom.pointer.style.height=f(this.s.dt.nTable).height()+"px"}else{this.dom.pointer.style.top=f("div.dataTables_scroll",this.s.dt.nTableWrapper).offset().top+"px";this.dom.pointer.style.height=f("div.dataTables_scroll",this.s.dt.nTableWrapper).height()+"px"}a.body.appendChild(this.dom.pointer);a.body.appendChild(this.dom.drag)},_fnDestroy:function(){for(var h=0,g=ColReorder.aoInstances.length;h<g;h++){if(ColReorder.aoInstances[h]===this){ColReorder.aoInstances.splice(h,1);break}}f(this.s.dt.nTHead).find("*").unbind(".ColReorder");this.s.dt.oInstance._oPluginColReorder=null;this.s=null}};ColReorder.aoInstances=[];ColReorder.fnReset=function(h){for(var j=0,g=ColReorder.aoInstances.length;j<g;j++){if(ColReorder.aoInstances[j].s.dt.oInstance==h){ColReorder.aoInstances[j].fnReset()}}};ColReorder.prototype.CLASS="ColReorder";ColReorder.VERSION="1.0.7";ColReorder.prototype.VERSION=ColReorder.VERSION;if(typeof f.fn.dataTable=="function"&&typeof f.fn.dataTableExt.fnVersionCheck=="function"&&f.fn.dataTableExt.fnVersionCheck("1.9.3")){f.fn.dataTableExt.aoFeatures.push({fnInit:function(i){var g=i.oInstance;if(typeof g._oPluginColReorder=="undefined"){var h=typeof i.oInit.oColReorder!="undefined"?i.oInit.oColReorder:{};g._oPluginColReorder=new ColReorder(i,h)}else{g.oApi._fnLog(i,1,"ColReorder attempted to initialise twice. Ignoring second")}return null},cFeature:"R",sFeature:"ColReorder"})}else{alert("Warning: ColReorder requires DataTables 1.9.3 or greater - www.datatables.net/download")}})(jQuery,window,document);
\ No newline at end of file
+!function(t,e,o){function s(t){for(var e=[],o=0,s=t.length;o<s;o++)e[t[o]]=o;return e}function i(t,e,o){var s=t.splice(e,1)[0];t.splice(o,0,s)}function a(t,e,o){for(var s=[],i=0,a=t.childNodes.length;i<a;i++)1==t.childNodes[i].nodeType&&s.push(t.childNodes[i]);var r=s[e];null!==o?t.insertBefore(r,s[o]):t.appendChild(r)}t.fn.dataTableExt.oApi.fnColReorder=function(e,o,r){var n,l,d,h,u,f,m=e.aoColumns.length;if(o!=r)if(o<0||o>=m)this.oApi._fnLog(e,1,"ColReorder 'from' index is out of bounds: "+o);else if(r<0||r>=m)this.oApi._fnLog(e,1,"ColReorder 'to' index is out of bounds: "+r);else{var g=[];for(n=0,l=m;n<l;n++)g[n]=n;i(g,o,r);var c=s(g);for(n=0,l=e.aaSorting.length;n<l;n++)e.aaSorting[n][0]=c[e.aaSorting[n][0]];if(null!==e.aaSortingFixed)for(n=0,l=e.aaSortingFixed.length;n<l;n++)e.aaSortingFixed[n][0]=c[e.aaSortingFixed[n][0]];for(n=0,l=m;n<l;n++)for(d=0,h=(f=e.aoColumns[n]).aDataSort.length;d<h;d++)f.aDataSort[d]=c[f.aDataSort[d]];for(n=0,l=m;n<l;n++)"number"==typeof(f=e.aoColumns[n]).mData&&(f.mData=c[f.mData],f.fnGetData=e.oApi._fnGetObjectDataFn(f.mData),f.fnSetData=e.oApi._fnSetObjectDataFn(f.mData));if(e.aoColumns[o].bVisible){var p=this.oApi._fnColumnIndexToVisible(e,o),C=null;for(n=r<o?r:r+1;null===C&&n<m;)C=this.oApi._fnColumnIndexToVisible(e,n),n++;for(n=0,l=(u=e.nTHead.getElementsByTagName("tr")).length;n<l;n++)a(u[n],p,C);if(null!==e.nTFoot)for(n=0,l=(u=e.nTFoot.getElementsByTagName("tr")).length;n<l;n++)a(u[n],p,C);for(n=0,l=e.aoData.length;n<l;n++)null!==e.aoData[n].nTr&&a(e.aoData[n].nTr,p,C)}for(i(e.aoColumns,o,r),i(e.aoPreSearchCols,o,r),n=0,l=e.aoData.length;n<l;n++)t.isArray(e.aoData[n]._aData)&&i(e.aoData[n]._aData,o,r),i(e.aoData[n]._anHidden,o,r);for(n=0,l=e.aoHeader.length;n<l;n++)i(e.aoHeader[n],o,r);if(null!==e.aoFooter)for(n=0,l=e.aoFooter.length;n<l;n++)i(e.aoFooter[n],o,r);for(n=0,l=m;n<l;n++)e.aoColumns[n].aDataSort=[n],e.aoColumns[n]._ColReorder_iOrigCol=n,t(e.aoColumns[n].nTh).unbind("click"),this.oApi._fnSortAttachListener(e,e.aoColumns[n].nTh,n);"undefined"!=typeof ColVis&&ColVis.fnRebuild(e.oInstance),t(e.oInstance).trigger("column-reorder",[e,{iFrom:o,iTo:r,aiInvertMapping:c}]),void 0!==e.oInstance._oPluginFixedHeader&&e.oInstance._oPluginFixedHeader.fnUpdate()}},ColReorder=function(t,e){return this.CLASS&&"ColReorder"==this.CLASS||alert("Warning: ColReorder must be initialised with the keyword 'new'"),void 0===e&&(e={}),this.s={dt:null,init:e,allowReorder:!0,allowResize:!0,fixed:0,dropCallback:null,mouse:{startX:-1,startY:-1,offsetX:-1,offsetY:-1,target:-1,targetIndex:-1,fromIndex:-1},aoTargets:[]},this.dom={drag:null,resize:null,pointer:null},this.table_size=-1,this.s.dt=t.oInstance.fnSettings(),this._fnConstruct(),t.oApi._fnCallbackReg(t,"aoDestroyCallback",jQuery.proxy(this._fnDestroy,this),"ColReorder"),ColReorder.aoInstances.push(this),this},ColReorder.prototype={fnReset:function(){for(var t=[],e=0,o=this.s.dt.aoColumns.length;e<o;e++)t.push(this.s.dt.aoColumns[e]._ColReorder_iOrigCol);this._fnOrderColumns(t)},_fnConstruct:function(){var t,e,o=this;for(void 0!==this.s.init.allowReorder&&(this.s.allowReorder=this.s.init.allowReorder),void 0!==this.s.init.allowResize&&(this.s.allowResize=this.s.init.allowResize),void 0!==this.s.init.iFixedColumns&&(this.s.fixed=this.s.init.iFixedColumns),void 0!==this.s.init.fnReorderCallback&&(this.s.dropCallback=this.s.init.fnReorderCallback),t=0,e=this.s.dt.aoColumns.length;t<e;t++)t>this.s.fixed-1&&this._fnMouseListener(t,this.s.dt.aoColumns[t].nTh),this.s.dt.aoColumns[t]._ColReorder_iOrigCol=t;this.s.dt.oApi._fnCallbackReg(this.s.dt,"aoStateSaveParams",function(t,e){o._fnStateSave.call(o,e)},"ColReorder_State");var i=null;if(void 0!==this.s.init.aiOrder&&(i=this.s.init.aiOrder.slice()),this.s.dt.oLoadedState&&void 0!==this.s.dt.oLoadedState.ColReorder&&this.s.dt.oLoadedState.ColReorder.length==this.s.dt.aoColumns.length&&(i=this.s.dt.oLoadedState.ColReorder),i)if(o.s.dt._bInitComplete){var a=s(i);o._fnOrderColumns.call(o,a)}else{var r=!1;this.s.dt.aoDrawCallback.push({fn:function(){if(!o.s.dt._bInitComplete&&!r){r=!0;var t=s(i);o._fnOrderColumns.call(o,t)}},sName:"ColReorder_Pre"})}},_fnOrderColumns:function(e){if(e.length==this.s.dt.aoColumns.length){for(var o=0,s=e.length;o<s;o++){var a=t.inArray(o,e);o!=a&&(i(e,a,o),this.s.dt.oInstance.fnColReorder(a,o))}""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt)}else this.s.dt.oInstance.oApi._fnLog(oDTSettings,1,"ColReorder - array reorder does not match known number of columns. Skipping.")},_fnStateSave:function(e){var o,s,i,a=this.s.dt;for(o=0;o<e.aaSorting.length;o++)e.aaSorting[o][0]=a.aoColumns[e.aaSorting[o][0]]._ColReorder_iOrigCol;for(aSearchCopy=t.extend(!0,[],e.aoSearchCols),e.ColReorder=[],o=0,s=a.aoColumns.length;o<s;o++)i=a.aoColumns[o]._ColReorder_iOrigCol,e.aoSearchCols[i]=aSearchCopy[o],e.abVisCols[i]=a.aoColumns[o].bVisible,e.ColReorder.push(i)},_fnMouseListener:function(e,o){var s=this;t(o).unbind("mousemove.ColReorder"),t(o).unbind("mousedown.ColReorder"),this.s.allowResize&&t(o).bind("mousemove.ColReorder",function(e){if(null===s.dom.drag&&null===s.dom.resize){var o="TH"==e.target.nodeName?e.target:t(e.target).parents("TH")[0],i=t(o).offset(),a=t(o).innerWidth();Math.abs(e.pageX-Math.round(i.left+a))<=5?t(o).css({cursor:"col-resize"}):t(o).css({cursor:"pointer"})}}),t(o).bind("mousedown.ColReorder",function(t){return s._fnMouseDown.call(s,t,o,e),!1})},_fnMouseDown:function(e,s,i){var a=this,r=this.s.dt.aoColumns;if("col-resize"==t(s).css("cursor")){this.s.mouse.startX=e.pageX,this.s.mouse.startWidth=t(s).width(),this.s.mouse.resizeElem=t(s);var n=t(s).next();this.s.mouse.nextStartWidth=t(n).width(),a.dom.resize=!0,this.s.dt.aoColumns[i].bSortable=!1,this.s.dt.oFeatures.bAutoWidth=!1}else if(this.s.allowReorder){a.dom.resize=null;var l="TH"==e.target.nodeName?e.target:t(e.target).parents("TH")[0],d=t(l).offset();this.s.mouse.startX=e.pageX,this.s.mouse.startY=e.pageY,this.s.mouse.offsetX=e.pageX-d.left,this.s.mouse.offsetY=e.pageY-d.top,this.s.mouse.target=s,this.s.mouse.targetIndex=t("th",s.parentNode).index(s),this.s.mouse.fromIndex=this.s.dt.oInstance.oApi._fnVisibleToColumnIndex(this.s.dt,this.s.mouse.targetIndex),this.s.aoTargets.splice(0,this.s.aoTargets.length),this.s.aoTargets.push({x:t(this.s.dt.nTable).offset().left,to:0});for(var h=0,i=0,u=r.length;i<u;i++)i!=this.s.mouse.fromIndex&&h++,r[i].bVisible&&this.s.aoTargets.push({x:t(r[i].nTh).offset().left+t(r[i].nTh).outerWidth(),to:h});0!==this.s.fixed&&this.s.aoTargets.splice(0,this.s.fixed)}t(o).bind("mousemove.ColReorder",function(t){a._fnMouseMove.call(a,t,i)}),t(o).bind("mouseup.ColReorder",function(t){setTimeout(function(){a._fnMouseUp.call(a,t,i)},10)})},_fnMouseMove:function(e,o){var s;if(s=""!==this.s.dt.oInit.sScrollX,this.table_size<0&&s&&void 0!=t("div.dataTables_scrollHead",this.s.dt.nTableWrapper)&&t("div.dataTables_scrollHead",this.s.dt.nTableWrapper).length>0&&(this.table_size=t(t("div.dataTables_scrollHead",this.s.dt.nTableWrapper)[0].childNodes[0].childNodes[0]).width()),this.dom.resize){var i=this.s.mouse.resizeElem,a=t(i).next(),r=e.pageX-this.s.mouse.startX;0==r||s||t(a).width(this.s.mouse.nextStartWidth-r),t(i).width(this.s.mouse.startWidth+r),s&&void 0!=t("div.dataTables_scrollHead",this.s.dt.nTableWrapper)&&t("div.dataTables_scrollHead",this.s.dt.nTableWrapper).length>0&&t(t("div.dataTables_scrollHead",this.s.dt.nTableWrapper)[0].childNodes[0].childNodes[0]).width(this.table_size+r);var n;if(null!=t("div.dataTables_scrollBody")&&t("div.dataTables_scrollBody").length>0){var l;for(n=-1,l=-1;l<this.s.dt.aoColumns.length-1&&l!=o;l++)this.s.dt.aoColumns[l+1].bVisible&&n++;tableScroller=t("div.dataTables_scrollBody",this.s.dt.nTableWrapper)[0],scrollingTableHead=t(tableScroller)[0].childNodes[0].childNodes[0].childNodes[0],0==r||s||t(t(scrollingTableHead)[0].childNodes[n+1]).width(this.s.mouse.nextStartWidth-r),t(t(scrollingTableHead)[0].childNodes[n]).width(this.s.mouse.startWidth+r),s&&t(t(tableScroller)[0].childNodes[0]).width(this.table_size+r)}}else if(this.s.allowReorder){if(null===this.dom.drag){if(Math.pow(Math.pow(e.pageX-this.s.mouse.startX,2)+Math.pow(e.pageY-this.s.mouse.startY,2),.5)<5)return;this._fnCreateDragNode()}this.dom.drag.style.left=e.pageX-this.s.mouse.offsetX+"px",this.dom.drag.style.top=e.pageY-this.s.mouse.offsetY+"px";for(var d=!1,h=1,u=this.s.aoTargets.length;h<u;h++)if(e.pageX<this.s.aoTargets[h-1].x+(this.s.aoTargets[h].x-this.s.aoTargets[h-1].x)/2){this.dom.pointer.style.left=this.s.aoTargets[h-1].x+"px",this.s.mouse.toIndex=this.s.aoTargets[h-1].to,d=!0;break}d||(this.dom.pointer.style.left=this.s.aoTargets[this.s.aoTargets.length-1].x+"px",this.s.mouse.toIndex=this.s.aoTargets[this.s.aoTargets.length-1].to)}},_fnMouseUp:function(e,s){if(t(o).unbind("mousemove.ColReorder"),t(o).unbind("mouseup.ColReorder"),null!==this.dom.drag)o.body.removeChild(this.dom.drag),o.body.removeChild(this.dom.pointer),this.dom.drag=null,this.dom.pointer=null,this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex),""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(),null!==this.s.dropCallback&&this.s.dropCallback.call(this),this._fnConstruct(),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt);else if(null!==this.dom.resize){var i,a,r,n,l;if(this.s.dt.aoColumns[s].bSortable=!0,this.s.dt.aoColumns[s].sWidth=t(this.s.mouse.resizeElem).innerWidth()+"px",!(l=""!==this.s.dt.oInit.sScrollX)){for(r=s+1;r<this.s.dt.aoColumns.length&&!this.s.dt.aoColumns[r].bVisible;r++);for(n=s-1;n>=0&&!this.s.dt.aoColumns[n].bVisible;n--);if(this.s.dt.aoColumns.length>r)this.s.dt.aoColumns[r].sWidth=t(this.s.mouse.resizeElem).next().innerWidth()+"px";else for(a=this.s.mouse.resizeElem,i=n;i>0;i--)this.s.dt.aoColumns[i].bVisible&&(a=t(a).prev(),this.s.dt.aoColumns[i].sWidth=t(a).innerWidth()+"px")}l&&void 0!=t("div.dataTables_scrollHead",this.s.dt.nTableWrapper)&&t("div.dataTables_scrollHead",this.s.dt.nTableWrapper).length>0&&(this.table_size=t(t("div.dataTables_scrollHead",this.s.dt.nTableWrapper)[0].childNodes[0].childNodes[0]).width()),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt)}this.dom.resize=null},_fnCreateDragNode:function(){var e=this;for(this.dom.drag=t(this.s.dt.nTHead.parentNode).clone(!0)[0],this.dom.drag.className+=" DTCR_clonedTable";this.dom.drag.getElementsByTagName("caption").length>0;)this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("caption")[0]);for(;this.dom.drag.getElementsByTagName("tbody").length>0;)this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("tbody")[0]);for(;this.dom.drag.getElementsByTagName("tfoot").length>0;)this.dom.drag.removeChild(this.dom.drag.getElementsByTagName("tfoot")[0]);t("thead tr:eq(0)",this.dom.drag).each(function(){t("th:not(:eq("+e.s.mouse.targetIndex+"))",this).remove()}),t("tr",this.dom.drag).height(t("tr:eq(0)",e.s.dt.nTHead).height()),t("thead tr:gt(0)",this.dom.drag).remove(),t("thead th:eq(0)",this.dom.drag).each(function(o){this.style.width=t("th:eq("+e.s.mouse.targetIndex+")",e.s.dt.nTHead).width()+"px"}),this.dom.drag.style.position="absolute",this.dom.drag.style.zIndex=1200,this.dom.drag.style.top="0px",this.dom.drag.style.left="0px",this.dom.drag.style.width=t("th:eq("+e.s.mouse.targetIndex+")",e.s.dt.nTHead).outerWidth()+"px",this.dom.pointer=o.createElement("div"),this.dom.pointer.className="DTCR_pointer",this.dom.pointer.style.position="absolute",""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY?(this.dom.pointer.style.top=t(this.s.dt.nTable).offset().top+"px",this.dom.pointer.style.height=t(this.s.dt.nTable).height()+"px"):(this.dom.pointer.style.top=t("div.dataTables_scroll",this.s.dt.nTableWrapper).offset().top+"px",this.dom.pointer.style.height=t("div.dataTables_scroll",this.s.dt.nTableWrapper).height()+"px"),o.body.appendChild(this.dom.pointer),o.body.appendChild(this.dom.drag)},_fnDestroy:function(){for(var e=0,o=ColReorder.aoInstances.length;e<o;e++)if(ColReorder.aoInstances[e]===this){ColReorder.aoInstances.splice(e,1);break}t(this.s.dt.nTHead).find("*").unbind(".ColReorder"),this.s.dt.oInstance._oPluginColReorder=null,this.s=null}},ColReorder.aoInstances=[],ColReorder.fnReset=function(t){for(var e=0,o=ColReorder.aoInstances.length;e<o;e++)ColReorder.aoInstances[e].s.dt.oInstance==t&&ColReorder.aoInstances[e].fnReset()},ColReorder.prototype.CLASS="ColReorder",ColReorder.VERSION="1.0.7",ColReorder.prototype.VERSION=ColReorder.VERSION,"function"==typeof t.fn.dataTable&&"function"==typeof t.fn.dataTableExt.fnVersionCheck&&t.fn.dataTableExt.fnVersionCheck("1.9.3")?t.fn.dataTableExt.aoFeatures.push({fnInit:function(t){var e=t.oInstance;if(void 0===e._oPluginColReorder){var o=void 0!==t.oInit.oColReorder?t.oInit.oColReorder:{};e._oPluginColReorder=new ColReorder(t,o)}else e.oApi._fnLog(t,1,"ColReorder attempted to initialise twice. Ignoring second");return null},cFeature:"R",sFeature:"ColReorder"}):alert("Warning: ColReorder requires DataTables 1.9.3 or greater - www.datatables.net/download")}(jQuery,window,document);
--- a/src/pyams_skin/resources/js/ext/jquery-dataTables-fixedColumns.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-dataTables-fixedColumns.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,4 +1,1 @@
-/* FixedColumns 3.0.0
- * ©2010-2014 SpryMedia Ltd - datatables.net/license
- */
-(function(c,a,d){var b=function(g,f){var e=function(i,k){var h=this;if(!this instanceof e){alert("FixedColumns warning: FixedColumns must be initialised with the 'new' keyword.");return}if(typeof k=="undefined"){k={}}if(g.fn.dataTable.camelToHungarian){g.fn.dataTable.camelToHungarian(e.defaults,k)}var j=g.fn.dataTable.Api?new g.fn.dataTable.Api(i).settings()[0]:i.fnSettings();this.s={dt:j,iTableColumns:j.aoColumns.length,aiOuterWidths:[],aiInnerWidths:[]};this.dom={scroller:null,header:null,body:null,footer:null,grid:{wrapper:null,dt:null,left:{wrapper:null,head:null,body:null,foot:null},right:{wrapper:null,head:null,body:null,foot:null}},clone:{left:{header:null,body:null,footer:null},right:{header:null,body:null,footer:null}}};j._oFixedColumns=this;if(!j._bInitComplete){j.oApi._fnCallbackReg(j,"aoInitComplete",function(){h._fnConstruct(k)},"FixedColumns")}else{this._fnConstruct(k)}};e.prototype={fnUpdate:function(){this._fnDraw(true)},fnRedrawLayout:function(){this._fnColCalc();this._fnGridLayout();this.fnUpdate()},fnRecalculateHeight:function(h){delete h._DTTC_iHeight;h.style.height="auto"},fnSetRowHeight:function(i,h){i.style.height=h+"px"},fnGetPosition:function(i){var h;var j=this.s.dt.oInstance;if(!g(i).parents(".DTFC_Cloned").length){return j.fnGetPosition(i)}else{if(i.nodeName.toLowerCase()==="tr"){h=g(i).index();return j.fnGetPosition(g("tr",this.s.dt.nTBody)[h])}else{var l=g(i).index();h=g(i.parentNode).index();var k=j.fnGetPosition(g("tr",this.s.dt.nTBody)[h]);return[k,l,j.oApi._fnVisibleToColumnIndex(this.s.dt,l)]}}},_fnConstruct:function(o){var l,j,h,n=this;if(typeof this.s.dt.oInstance.fnVersionCheck!="function"||this.s.dt.oInstance.fnVersionCheck("1.8.0")!==true){alert("FixedColumns "+e.VERSION+" required DataTables 1.8.0 or later. Please upgrade your DataTables installation");return}if(this.s.dt.oScroll.sX===""){this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"FixedColumns is not needed (no x-scrolling in DataTables enabled), so no action will be taken. Use 'FixedHeader' for column fixing when scrolling is not enabled");return}this.s=g.extend(true,this.s,e.defaults,o);var k=this.s.dt.oClasses;this.dom.grid.dt=g(this.s.dt.nTable).parents("div."+k.sScrollWrapper)[0];this.dom.scroller=g("div."+k.sScrollBody,this.dom.grid.dt)[0];this._fnColCalc();this._fnGridSetup();var m;g(this.dom.scroller).on("mouseover.DTFC",function(){m="main"}).on("scroll.DTFC",function(){if(m==="main"){if(n.s.iLeftColumns>0){n.dom.grid.left.liner.scrollTop=n.dom.scroller.scrollTop}if(n.s.iRightColumns>0){n.dom.grid.right.liner.scrollTop=n.dom.scroller.scrollTop}}});if(n.s.iLeftColumns>0){g(n.dom.grid.left.liner).on("mouseover.DTFC",function(){m="left"}).on("scroll.DTFC",function(){if(m==="left"){n.dom.scroller.scrollTop=n.dom.grid.left.liner.scrollTop;if(n.s.iRightColumns>0){n.dom.grid.right.liner.scrollTop=n.dom.grid.left.liner.scrollTop}}}).on("wheel.DTFC",function(r){var i=-r.originalEvent.deltaX;n.dom.scroller.scrollLeft-=i})}if(n.s.iRightColumns>0){g(n.dom.grid.right.liner).on("mouseover.DTFC",function(){m="right"}).on("scroll.DTFC",function(){if(m==="right"){n.dom.scroller.scrollTop=n.dom.grid.right.liner.scrollTop;if(n.s.iLeftColumns>0){n.dom.grid.left.liner.scrollTop=n.dom.grid.right.liner.scrollTop}}}).on("wheel.DTFC",function(r){var i=-r.originalEvent.deltaX;n.dom.scroller.scrollLeft-=i})}g(c).on("resize.DTFC",function(){n._fnGridLayout.call(n)});var q=true;var p=g(this.s.dt.nTable);p.on("draw.dt.DTFC",function(){n._fnDraw.call(n,q);q=false}).on("column-sizing.dt.DTFC",function(){n._fnColCalc();n._fnGridLayout(n)}).on("column-visibility.dt.DTFC",function(){n._fnColCalc();n._fnGridLayout(n);n._fnDraw(true)}).on("destroy.dt.DTFC",function(){p.off("column-sizing.dt.DTFC destroy.dt.DTFC draw.dt.DTFC");g(n.dom.scroller).fn("scroll.DTFC mouseover.DTFC");g(c).off("resize.DTFC");g(n.dom.grid.left.liner).on("scroll.DTFC wheel.DTFC mouseover.DTFC");g(n.dom.grid.left.wrapper).remove();g(n.dom.grid.right.liner).on("scroll.DTFC wheel.DTFC mouseover.DTFC");g(n.dom.grid.right.wrapper).remove()});this._fnGridLayout();this.s.dt.oInstance.fnDraw(false)},_fnColCalc:function(){var j=this;var i=0;var h=0;this.s.aiInnerWidths=[];this.s.aiOuterWidths=[];g.each(this.s.dt.aoColumns,function(l,k){var m=g(k.nTh);if(!m.filter(":visible").length){j.s.aiInnerWidths.push(0);j.s.aiOuterWidths.push(0)}else{var n=m.outerWidth();if(j.s.aiOuterWidths.length===0){n+=parseInt(g(j.s.dt.nTable).css("border-left-width"),10)}j.s.aiOuterWidths.push(n);j.s.aiInnerWidths.push(m.width());if(l<j.s.iLeftColumns){i+=n}if(j.s.iTableColumns-j.s.iRightColumns<=l){h+=n}}});this.s.iLeftWidth=i;this.s.iRightWidth=h},_fnGridSetup:function(){var l=this;var h=this._fnDTOverflow();var m;this.dom.body=this.s.dt.nTable;this.dom.header=this.s.dt.nTHead.parentNode;this.dom.header.parentNode.parentNode.style.position="relative";var j=g('<div class="DTFC_ScrollWrapper" style="position:relative; clear:both;"><div class="DTFC_LeftWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_LeftHeadWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div><div class="DTFC_LeftBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_LeftBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_LeftFootWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div></div><div class="DTFC_RightWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_RightHeadWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightHeadBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div><div class="DTFC_RightBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_RightBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_RightFootWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightFootBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div></div></div>')[0];var k=j.childNodes[0];var i=j.childNodes[1];this.dom.grid.dt.parentNode.insertBefore(j,this.dom.grid.dt);j.appendChild(this.dom.grid.dt);this.dom.grid.wrapper=j;if(this.s.iLeftColumns>0){this.dom.grid.left.wrapper=k;this.dom.grid.left.head=k.childNodes[0];this.dom.grid.left.body=k.childNodes[1];this.dom.grid.left.liner=g("div.DTFC_LeftBodyLiner",j)[0];j.appendChild(k)}if(this.s.iRightColumns>0){this.dom.grid.right.wrapper=i;this.dom.grid.right.head=i.childNodes[0];this.dom.grid.right.body=i.childNodes[1];this.dom.grid.right.liner=g("div.DTFC_RightBodyLiner",j)[0];m=g("div.DTFC_RightHeadBlocker",j)[0];m.style.width=h.bar+"px";m.style.right=-h.bar+"px";this.dom.grid.right.headBlock=m;m=g("div.DTFC_RightFootBlocker",j)[0];m.style.width=h.bar+"px";m.style.right=-h.bar+"px";this.dom.grid.right.footBlock=m;j.appendChild(i)}if(this.s.dt.nTFoot){this.dom.footer=this.s.dt.nTFoot.parentNode;if(this.s.iLeftColumns>0){this.dom.grid.left.foot=k.childNodes[2]}if(this.s.iRightColumns>0){this.dom.grid.right.foot=i.childNodes[2]}}},_fnGridLayout:function(){var o=this.dom.grid;var n=g(o.wrapper).width();var j=g(this.s.dt.nTable.parentNode).height();var m=g(this.s.dt.nTable.parentNode.parentNode).height();var h=this._fnDTOverflow();var l=this.s.iLeftWidth,i=this.s.iRightWidth,k;if(h.x){j-=h.bar}o.wrapper.style.height=m+"px";if(this.s.iLeftColumns>0){o.left.wrapper.style.width=l+"px";o.left.wrapper.style.height="1px";o.left.body.style.height=j+"px";if(o.left.foot){o.left.foot.style.top=(h.x?h.bar:0)+"px"}o.left.liner.style.width=(l+h.bar)+"px";o.left.liner.style.height=j+"px"}if(this.s.iRightColumns>0){k=n-i;if(h.y){k-=h.bar}o.right.wrapper.style.width=i+"px";o.right.wrapper.style.left=k+"px";o.right.wrapper.style.height="1px";o.right.body.style.height=j+"px";if(o.right.foot){o.right.foot.style.top=(h.x?h.bar:0)+"px"}o.right.liner.style.width=(i+h.bar)+"px";o.right.liner.style.height=j+"px";o.right.headBlock.style.display=h.y?"block":"none";o.right.footBlock.style.display=h.y?"block":"none"}},_fnDTOverflow:function(){var j=this.s.dt.nTable;var h=j.parentNode;var i={x:false,y:false,bar:this.s.dt.oScroll.iBarWidth};if(j.offsetWidth>h.clientWidth){i.x=true}if(j.offsetHeight>h.clientHeight){i.y=true}return i},_fnDraw:function(h){this._fnGridLayout();this._fnCloneLeft(h);this._fnCloneRight(h);if(this.s.fnDrawCallback!==null){this.s.fnDrawCallback.call(this,this.dom.clone.left,this.dom.clone.right)}g(this).trigger("draw.dtfc",{leftClone:this.dom.clone.left,rightClone:this.dom.clone.right})},_fnCloneRight:function(j){if(this.s.iRightColumns<=0){return}var l=this,h,m,k=[];for(h=this.s.iTableColumns-this.s.iRightColumns;h<this.s.iTableColumns;h++){if(this.s.dt.aoColumns[h].bVisible){k.push(h)}}this._fnClone(this.dom.clone.right,this.dom.grid.right,k,j)},_fnCloneLeft:function(j){if(this.s.iLeftColumns<=0){return}var l=this,h,m,k=[];for(h=0;h<this.s.iLeftColumns;h++){if(this.s.dt.aoColumns[h].bVisible){k.push(h)}}this._fnClone(this.dom.clone.left,this.dom.grid.left,k,j)},_fnCopyLayout:function(s,u){var r=[];var p=[];var l=[];for(var n=0,k=s.length;n<k;n++){var q=[];q.nTr=g(s[n].nTr).clone(true,true)[0];for(var m=0,t=this.s.iTableColumns;m<t;m++){if(g.inArray(m,u)===-1){continue}var o=g.inArray(s[n][m].cell,l);if(o===-1){var h=g(s[n][m].cell).clone(true,true)[0];p.push(h);l.push(s[n][m].cell);q.push({cell:h,unique:s[n][m].unique})}else{q.push({cell:p[o],unique:s[n][m].unique})}}r.push(q)}return r},_fnClone:function(y,x,l,h){var p=this,A,w,z,E,v,n,B,t,q,m,r,F;if(h){if(y.header!==null){y.header.parentNode.removeChild(y.header)}y.header=g(this.dom.header).clone(true,true)[0];y.header.className+=" DTFC_Cloned";y.header.style.width="100%";x.head.appendChild(y.header);m=this._fnCopyLayout(this.s.dt.aoHeader,l);r=g(">thead",y.header);r.empty();for(A=0,w=m.length;A<w;A++){r[0].appendChild(m[A].nTr)}this.s.dt.oApi._fnDrawHead(this.s.dt,m,true)}else{m=this._fnCopyLayout(this.s.dt.aoHeader,l);F=[];this.s.dt.oApi._fnDetectHeader(F,g(">thead",y.header)[0]);for(A=0,w=m.length;A<w;A++){for(z=0,E=m[A].length;z<E;z++){F[A][z].cell.className=m[A][z].cell.className;g("span.DataTables_sort_icon",F[A][z].cell).each(function(){this.className=g("span.DataTables_sort_icon",m[A][z].cell)[0].className})}}}this._fnEqualiseHeights("thead",this.dom.header,y.header);if(this.s.sHeightMatch=="auto"){g(">tbody>tr",p.dom.body).css("height","auto")}if(y.body!==null){y.body.parentNode.removeChild(y.body);y.body=null}y.body=g(this.dom.body).clone(true)[0];y.body.className+=" DTFC_Cloned";y.body.style.paddingBottom=this.s.dt.oScroll.iBarWidth+"px";y.body.style.marginBottom=(this.s.dt.oScroll.iBarWidth*2)+"px";if(y.body.getAttribute("id")!==null){y.body.removeAttribute("id")}g(">thead>tr",y.body).empty();g(">tfoot",y.body).remove();var s=g("tbody",y.body)[0];g(s).empty();if(this.s.dt.aiDisplay.length>0){var o=g(">thead>tr",y.body)[0];for(q=0;q<l.length;q++){B=l[q];t=g(this.s.dt.aoColumns[B].nTh).clone(true)[0];t.innerHTML="";var u=t.style;u.paddingTop="0";u.paddingBottom="0";u.borderTopWidth="0";u.borderBottomWidth="0";u.height=0;u.width=p.s.aiInnerWidths[B]+"px";o.appendChild(t)}g(">tbody>tr",p.dom.body).each(function(H){var I=this.cloneNode(false);I.removeAttribute("id");var j=p.s.dt.oFeatures.bServerSide===false?p.s.dt.aiDisplay[p.s.dt._iDisplayStart+H]:H;for(q=0;q<l.length;q++){var G=p.s.dt.aoData[j].anCells||p.s.dt.oApi._fnGetTdNodes(p.s.dt,j);B=l[q];if(G.length>0){t=g(G[B]).clone(true,true)[0];I.appendChild(t)}}s.appendChild(I)})}else{g(">tbody>tr",p.dom.body).each(function(i){t=this.cloneNode(true);t.className+=" DTFC_NoData";g("td",t).html("");s.appendChild(t)})}y.body.style.width="100%";y.body.style.margin="0";y.body.style.padding="0";if(h){if(typeof this.s.dt.oScroller!="undefined"){x.liner.appendChild(this.s.dt.oScroller.dom.force.cloneNode(true))}}x.liner.appendChild(y.body);this._fnEqualiseHeights("tbody",p.dom.body,y.body);if(this.s.dt.nTFoot!==null){if(h){if(y.footer!==null){y.footer.parentNode.removeChild(y.footer)}y.footer=g(this.dom.footer).clone(true,true)[0];y.footer.className+=" DTFC_Cloned";y.footer.style.width="100%";x.foot.appendChild(y.footer);m=this._fnCopyLayout(this.s.dt.aoFooter,l);var k=g(">tfoot",y.footer);k.empty();for(A=0,w=m.length;A<w;A++){k[0].appendChild(m[A].nTr)}this.s.dt.oApi._fnDrawHead(this.s.dt,m,true)}else{m=this._fnCopyLayout(this.s.dt.aoFooter,l);var C=[];this.s.dt.oApi._fnDetectHeader(C,g(">tfoot",y.footer)[0]);for(A=0,w=m.length;A<w;A++){for(z=0,E=m[A].length;z<E;z++){C[A][z].cell.className=m[A][z].cell.className}}}this._fnEqualiseHeights("tfoot",this.dom.footer,y.footer)}var D=this.s.dt.oApi._fnGetUniqueThs(this.s.dt,g(">thead",y.header)[0]);g(D).each(function(j){B=l[j];this.style.width=p.s.aiInnerWidths[B]+"px"});if(p.s.dt.nTFoot!==null){D=this.s.dt.oApi._fnGetUniqueThs(this.s.dt,g(">tfoot",y.footer)[0]);g(D).each(function(j){B=l[j];this.style.width=p.s.aiInnerWidths[B]+"px"})}},_fnGetTrNodes:function(j){var l=[];for(var k=0,h=j.childNodes.length;k<h;k++){if(j.childNodes[k].nodeName.toUpperCase()=="TR"){l.push(j.childNodes[k])}}return l},_fnEqualiseHeights:function(u,j,t){if(this.s.sHeightMatch=="none"&&u!=="thead"&&u!=="tfoot"){return}var q=this,n,k,h,m,y,x,p=j.getElementsByTagName(u)[0],r=t.getElementsByTagName(u)[0],l=g(">"+u+">tr:eq(0)",j).children(":first"),w=l.outerHeight()-l.height(),o=this._fnGetTrNodes(p),v=this._fnGetTrNodes(r),s=[];for(n=0,k=v.length;n<k;n++){y=o[n].offsetHeight;x=v[n].offsetHeight;h=x>y?x:y;if(this.s.sHeightMatch=="semiauto"){o[n]._DTTC_iHeight=h}s.push(h)}for(n=0,k=v.length;n<k;n++){v[n].style.height=s[n]+"px";o[n].style.height=s[n]+"px"}}};e.defaults={iLeftColumns:1,iRightColumns:0,fnDrawCallback:null,sHeightMatch:"semiauto"};e.version="3.0.0";g.fn.dataTable.FixedColumns=e;g.fn.DataTable.FixedColumns=e;return e};b(jQuery,jQuery.fn.dataTable)})(window,document);
\ No newline at end of file
+!function(t,e,i){!function(e,i){"use strict";var o=function(t,i){var s=this;if(!this instanceof o)alert("FixedColumns warning: FixedColumns must be initialised with the 'new' keyword.");else{void 0===i&&(i={}),e.fn.dataTable.camelToHungarian&&e.fn.dataTable.camelToHungarian(o.defaults,i);var l=e.fn.dataTable.Api?new e.fn.dataTable.Api(t).settings()[0]:t.fnSettings();this.s={dt:l,iTableColumns:l.aoColumns.length,aiOuterWidths:[],aiInnerWidths:[]},this.dom={scroller:null,header:null,body:null,footer:null,grid:{wrapper:null,dt:null,left:{wrapper:null,head:null,body:null,foot:null},right:{wrapper:null,head:null,body:null,foot:null}},clone:{left:{header:null,body:null,footer:null},right:{header:null,body:null,footer:null}}},l._oFixedColumns=this,l._bInitComplete?this._fnConstruct(i):l.oApi._fnCallbackReg(l,"aoInitComplete",function(){s._fnConstruct(i)},"FixedColumns")}};o.prototype={fnUpdate:function(){this._fnDraw(!0)},fnRedrawLayout:function(){this._fnColCalc(),this._fnGridLayout(),this.fnUpdate()},fnRecalculateHeight:function(t){delete t._DTTC_iHeight,t.style.height="auto"},fnSetRowHeight:function(t,e){t.style.height=e+"px"},fnGetPosition:function(t){var i,o=this.s.dt.oInstance;if(e(t).parents(".DTFC_Cloned").length){if("tr"===t.nodeName.toLowerCase())return i=e(t).index(),o.fnGetPosition(e("tr",this.s.dt.nTBody)[i]);var s=e(t).index();return i=e(t.parentNode).index(),[o.fnGetPosition(e("tr",this.s.dt.nTBody)[i]),s,o.oApi._fnVisibleToColumnIndex(this.s.dt,s)]}return o.fnGetPosition(t)},_fnConstruct:function(i){var s=this;if("function"==typeof this.s.dt.oInstance.fnVersionCheck&&!0===this.s.dt.oInstance.fnVersionCheck("1.8.0"))if(""!==this.s.dt.oScroll.sX){this.s=e.extend(!0,this.s,o.defaults,i);var l=this.s.dt.oClasses;this.dom.grid.dt=e(this.s.dt.nTable).parents("div."+l.sScrollWrapper)[0],this.dom.scroller=e("div."+l.sScrollBody,this.dom.grid.dt)[0],this._fnColCalc(),this._fnGridSetup();var n;e(this.dom.scroller).on("mouseover.DTFC",function(){n="main"}).on("scroll.DTFC",function(){"main"===n&&(s.s.iLeftColumns>0&&(s.dom.grid.left.liner.scrollTop=s.dom.scroller.scrollTop),s.s.iRightColumns>0&&(s.dom.grid.right.liner.scrollTop=s.dom.scroller.scrollTop))}),s.s.iLeftColumns>0&&e(s.dom.grid.left.liner).on("mouseover.DTFC",function(){n="left"}).on("scroll.DTFC",function(){"left"===n&&(s.dom.scroller.scrollTop=s.dom.grid.left.liner.scrollTop,s.s.iRightColumns>0&&(s.dom.grid.right.liner.scrollTop=s.dom.grid.left.liner.scrollTop))}).on("wheel.DTFC",function(t){var e=-t.originalEvent.deltaX;s.dom.scroller.scrollLeft-=e}),s.s.iRightColumns>0&&e(s.dom.grid.right.liner).on("mouseover.DTFC",function(){n="right"}).on("scroll.DTFC",function(){"right"===n&&(s.dom.scroller.scrollTop=s.dom.grid.right.liner.scrollTop,s.s.iLeftColumns>0&&(s.dom.grid.left.liner.scrollTop=s.dom.grid.right.liner.scrollTop))}).on("wheel.DTFC",function(t){var e=-t.originalEvent.deltaX;s.dom.scroller.scrollLeft-=e}),e(t).on("resize.DTFC",function(){s._fnGridLayout.call(s)});var d=!0,r=e(this.s.dt.nTable);r.on("draw.dt.DTFC",function(){s._fnDraw.call(s,d),d=!1}).on("column-sizing.dt.DTFC",function(){s._fnColCalc(),s._fnGridLayout(s)}).on("column-visibility.dt.DTFC",function(){s._fnColCalc(),s._fnGridLayout(s),s._fnDraw(!0)}).on("destroy.dt.DTFC",function(){r.off("column-sizing.dt.DTFC destroy.dt.DTFC draw.dt.DTFC"),e(s.dom.scroller).fn("scroll.DTFC mouseover.DTFC"),e(t).off("resize.DTFC"),e(s.dom.grid.left.liner).on("scroll.DTFC wheel.DTFC mouseover.DTFC"),e(s.dom.grid.left.wrapper).remove(),e(s.dom.grid.right.liner).on("scroll.DTFC wheel.DTFC mouseover.DTFC"),e(s.dom.grid.right.wrapper).remove()}),this._fnGridLayout(),this.s.dt.oInstance.fnDraw(!1)}else this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"FixedColumns is not needed (no x-scrolling in DataTables enabled), so no action will be taken. Use 'FixedHeader' for column fixing when scrolling is not enabled");else alert("FixedColumns "+o.VERSION+" required DataTables 1.8.0 or later. Please upgrade your DataTables installation")},_fnColCalc:function(){var t=this,i=0,o=0;this.s.aiInnerWidths=[],this.s.aiOuterWidths=[],e.each(this.s.dt.aoColumns,function(s,l){var n=e(l.nTh);if(n.filter(":visible").length){var d=n.outerWidth();0===t.s.aiOuterWidths.length&&(d+=parseInt(e(t.s.dt.nTable).css("border-left-width"),10)),t.s.aiOuterWidths.push(d),t.s.aiInnerWidths.push(n.width()),s<t.s.iLeftColumns&&(i+=d),t.s.iTableColumns-t.s.iRightColumns<=s&&(o+=d)}else t.s.aiInnerWidths.push(0),t.s.aiOuterWidths.push(0)}),this.s.iLeftWidth=i,this.s.iRightWidth=o},_fnGridSetup:function(){var t,i=this._fnDTOverflow();this.dom.body=this.s.dt.nTable,this.dom.header=this.s.dt.nTHead.parentNode,this.dom.header.parentNode.parentNode.style.position="relative";var o=e('<div class="DTFC_ScrollWrapper" style="position:relative; clear:both;"><div class="DTFC_LeftWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_LeftHeadWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div><div class="DTFC_LeftBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_LeftBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_LeftFootWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div></div><div class="DTFC_RightWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_RightHeadWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightHeadBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div><div class="DTFC_RightBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_RightBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_RightFootWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightFootBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div></div></div>')[0],s=o.childNodes[0],l=o.childNodes[1];this.dom.grid.dt.parentNode.insertBefore(o,this.dom.grid.dt),o.appendChild(this.dom.grid.dt),this.dom.grid.wrapper=o,this.s.iLeftColumns>0&&(this.dom.grid.left.wrapper=s,this.dom.grid.left.head=s.childNodes[0],this.dom.grid.left.body=s.childNodes[1],this.dom.grid.left.liner=e("div.DTFC_LeftBodyLiner",o)[0],o.appendChild(s)),this.s.iRightColumns>0&&(this.dom.grid.right.wrapper=l,this.dom.grid.right.head=l.childNodes[0],this.dom.grid.right.body=l.childNodes[1],this.dom.grid.right.liner=e("div.DTFC_RightBodyLiner",o)[0],(t=e("div.DTFC_RightHeadBlocker",o)[0]).style.width=i.bar+"px",t.style.right=-i.bar+"px",this.dom.grid.right.headBlock=t,(t=e("div.DTFC_RightFootBlocker",o)[0]).style.width=i.bar+"px",t.style.right=-i.bar+"px",this.dom.grid.right.footBlock=t,o.appendChild(l)),this.s.dt.nTFoot&&(this.dom.footer=this.s.dt.nTFoot.parentNode,this.s.iLeftColumns>0&&(this.dom.grid.left.foot=s.childNodes[2]),this.s.iRightColumns>0&&(this.dom.grid.right.foot=l.childNodes[2]))},_fnGridLayout:function(){var t,i=this.dom.grid,o=e(i.wrapper).width(),s=e(this.s.dt.nTable.parentNode).height(),l=e(this.s.dt.nTable.parentNode.parentNode).height(),n=this._fnDTOverflow(),d=this.s.iLeftWidth,r=this.s.iRightWidth;n.x&&(s-=n.bar),i.wrapper.style.height=l+"px",this.s.iLeftColumns>0&&(i.left.wrapper.style.width=d+"px",i.left.wrapper.style.height="1px",i.left.body.style.height=s+"px",i.left.foot&&(i.left.foot.style.top=(n.x?n.bar:0)+"px"),i.left.liner.style.width=d+n.bar+"px",i.left.liner.style.height=s+"px"),this.s.iRightColumns>0&&(t=o-r,n.y&&(t-=n.bar),i.right.wrapper.style.width=r+"px",i.right.wrapper.style.left=t+"px",i.right.wrapper.style.height="1px",i.right.body.style.height=s+"px",i.right.foot&&(i.right.foot.style.top=(n.x?n.bar:0)+"px"),i.right.liner.style.width=r+n.bar+"px",i.right.liner.style.height=s+"px",i.right.headBlock.style.display=n.y?"block":"none",i.right.footBlock.style.display=n.y?"block":"none")},_fnDTOverflow:function(){var t=this.s.dt.nTable,e=t.parentNode,i={x:!1,y:!1,bar:this.s.dt.oScroll.iBarWidth};return t.offsetWidth>e.clientWidth&&(i.x=!0),t.offsetHeight>e.clientHeight&&(i.y=!0),i},_fnDraw:function(t){this._fnGridLayout(),this._fnCloneLeft(t),this._fnCloneRight(t),null!==this.s.fnDrawCallback&&this.s.fnDrawCallback.call(this,this.dom.clone.left,this.dom.clone.right),e(this).trigger("draw.dtfc",{leftClone:this.dom.clone.left,rightClone:this.dom.clone.right})},_fnCloneRight:function(t){if(!(this.s.iRightColumns<=0)){var e,i=[];for(e=this.s.iTableColumns-this.s.iRightColumns;e<this.s.iTableColumns;e++)this.s.dt.aoColumns[e].bVisible&&i.push(e);this._fnClone(this.dom.clone.right,this.dom.grid.right,i,t)}},_fnCloneLeft:function(t){if(!(this.s.iLeftColumns<=0)){var e,i=[];for(e=0;e<this.s.iLeftColumns;e++)this.s.dt.aoColumns[e].bVisible&&i.push(e);this._fnClone(this.dom.clone.left,this.dom.grid.left,i,t)}},_fnCopyLayout:function(t,i){for(var o=[],s=[],l=[],n=0,d=t.length;n<d;n++){var r=[];r.nTr=e(t[n].nTr).clone(!0,!0)[0];for(var h=0,a=this.s.iTableColumns;h<a;h++)if(-1!==e.inArray(h,i)){var f=e.inArray(t[n][h].cell,l);if(-1===f){var p=e(t[n][h].cell).clone(!0,!0)[0];s.push(p),l.push(t[n][h].cell),r.push({cell:p,unique:t[n][h].unique})}else r.push({cell:s[f],unique:t[n][h].unique})}o.push(r)}return o},_fnClone:function(t,i,o,s){var l,n,d,r,h,a,f,p,c,u,g=this;if(s){for(null!==t.header&&t.header.parentNode.removeChild(t.header),t.header=e(this.dom.header).clone(!0,!0)[0],t.header.className+=" DTFC_Cloned",t.header.style.width="100%",i.head.appendChild(t.header),p=this._fnCopyLayout(this.s.dt.aoHeader,o),(c=e(">thead",t.header)).empty(),l=0,n=p.length;l<n;l++)c[0].appendChild(p[l].nTr);this.s.dt.oApi._fnDrawHead(this.s.dt,p,!0)}else for(p=this._fnCopyLayout(this.s.dt.aoHeader,o),u=[],this.s.dt.oApi._fnDetectHeader(u,e(">thead",t.header)[0]),l=0,n=p.length;l<n;l++)for(d=0,r=p[l].length;d<r;d++)u[l][d].cell.className=p[l][d].cell.className,e("span.DataTables_sort_icon",u[l][d].cell).each(function(){this.className=e("span.DataTables_sort_icon",p[l][d].cell)[0].className});this._fnEqualiseHeights("thead",this.dom.header,t.header),"auto"==this.s.sHeightMatch&&e(">tbody>tr",g.dom.body).css("height","auto"),null!==t.body&&(t.body.parentNode.removeChild(t.body),t.body=null),t.body=e(this.dom.body).clone(!0)[0],t.body.className+=" DTFC_Cloned",t.body.style.paddingBottom=this.s.dt.oScroll.iBarWidth+"px",t.body.style.marginBottom=2*this.s.dt.oScroll.iBarWidth+"px",null!==t.body.getAttribute("id")&&t.body.removeAttribute("id"),e(">thead>tr",t.body).empty(),e(">tfoot",t.body).remove();var m=e("tbody",t.body)[0];if(e(m).empty(),this.s.dt.aiDisplay.length>0){var C=e(">thead>tr",t.body)[0];for(f=0;f<o.length;f++){h=o[f],(a=e(this.s.dt.aoColumns[h].nTh).clone(!0)[0]).innerHTML="";var y=a.style;y.paddingTop="0",y.paddingBottom="0",y.borderTopWidth="0",y.borderBottomWidth="0",y.height=0,y.width=g.s.aiInnerWidths[h]+"px",C.appendChild(a)}e(">tbody>tr",g.dom.body).each(function(t){var i=this.cloneNode(!1);i.removeAttribute("id");var s=!1===g.s.dt.oFeatures.bServerSide?g.s.dt.aiDisplay[g.s.dt._iDisplayStart+t]:t;for(f=0;f<o.length;f++){var l=g.s.dt.aoData[s].anCells||g.s.dt.oApi._fnGetTdNodes(g.s.dt,s);h=o[f],l.length>0&&(a=e(l[h]).clone(!0,!0)[0],i.appendChild(a))}m.appendChild(i)})}else e(">tbody>tr",g.dom.body).each(function(t){(a=this.cloneNode(!0)).className+=" DTFC_NoData",e("td",a).html(""),m.appendChild(a)});if(t.body.style.width="100%",t.body.style.margin="0",t.body.style.padding="0",s&&void 0!==this.s.dt.oScroller&&i.liner.appendChild(this.s.dt.oScroller.dom.force.cloneNode(!0)),i.liner.appendChild(t.body),this._fnEqualiseHeights("tbody",g.dom.body,t.body),null!==this.s.dt.nTFoot){if(s){null!==t.footer&&t.footer.parentNode.removeChild(t.footer),t.footer=e(this.dom.footer).clone(!0,!0)[0],t.footer.className+=" DTFC_Cloned",t.footer.style.width="100%",i.foot.appendChild(t.footer),p=this._fnCopyLayout(this.s.dt.aoFooter,o);var T=e(">tfoot",t.footer);for(T.empty(),l=0,n=p.length;l<n;l++)T[0].appendChild(p[l].nTr);this.s.dt.oApi._fnDrawHead(this.s.dt,p,!0)}else{p=this._fnCopyLayout(this.s.dt.aoFooter,o);var v=[];for(this.s.dt.oApi._fnDetectHeader(v,e(">tfoot",t.footer)[0]),l=0,n=p.length;l<n;l++)for(d=0,r=p[l].length;d<r;d++)v[l][d].cell.className=p[l][d].cell.className}this._fnEqualiseHeights("tfoot",this.dom.footer,t.footer)}var b=this.s.dt.oApi._fnGetUniqueThs(this.s.dt,e(">thead",t.header)[0]);e(b).each(function(t){h=o[t],this.style.width=g.s.aiInnerWidths[h]+"px"}),null!==g.s.dt.nTFoot&&(b=this.s.dt.oApi._fnGetUniqueThs(this.s.dt,e(">tfoot",t.footer)[0]),e(b).each(function(t){h=o[t],this.style.width=g.s.aiInnerWidths[h]+"px"}))},_fnGetTrNodes:function(t){for(var e=[],i=0,o=t.childNodes.length;i<o;i++)"TR"==t.childNodes[i].nodeName.toUpperCase()&&e.push(t.childNodes[i]);return e},_fnEqualiseHeights:function(t,i,o){if("none"!=this.s.sHeightMatch||"thead"===t||"tfoot"===t){var s,l,n,d,r,h=i.getElementsByTagName(t)[0],a=o.getElementsByTagName(t)[0],f=e(">"+t+">tr:eq(0)",i).children(":first"),p=(f.outerHeight(),f.height(),this._fnGetTrNodes(h)),c=this._fnGetTrNodes(a),u=[];for(s=0,l=c.length;s<l;s++)d=p[s].offsetHeight,n=(r=c[s].offsetHeight)>d?r:d,"semiauto"==this.s.sHeightMatch&&(p[s]._DTTC_iHeight=n),u.push(n);for(s=0,l=c.length;s<l;s++)c[s].style.height=u[s]+"px",p[s].style.height=u[s]+"px"}}},o.defaults={iLeftColumns:1,iRightColumns:0,fnDrawCallback:null,sHeightMatch:"semiauto"},o.version="3.0.0",e.fn.dataTable.FixedColumns=o,e.fn.DataTable.FixedColumns=o}(jQuery,jQuery.fn.dataTable)}(window,document);
--- a/src/pyams_skin/resources/js/ext/jquery-dataTables-keyTable.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-dataTables-keyTable.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,4 +1,1 @@
-/* KeyTable 1.2.0
- * ©2010-2014 SpryMedia Ltd - datatables.net/license
- */
-var KeyTable;(function(c,a,d){var b=function(f,e){KeyTable=function(x){this.block=false;this.event={remove:{}};this.fnGetCurrentPosition=function(){return[i,g]};this.fnGetCurrentData=function(){return t.innerHTML};this.fnGetCurrentTD=function(){return t};this.fnSetPosition=function(P,Q){if(typeof P=="object"&&P.nodeName){h(P)}else{h(M(P,Q))}};this.fnBlur=function(){B()};var l=null;var t=null;var i=null;var g=null;var O=null;var o="focus";var D=false;var y={action:[],esc:[],focus:[],blur:[]};var k=null;var u;var z;var K=false;function J(P){return function(Q,T,S){if((Q===null||typeof Q=="number")&&(T===null||typeof T=="number")&&typeof S=="function"){E(P,Q,T,S)}else{if(typeof Q=="object"&&typeof T=="function"){var R=q(Q);E(P,R[0],R[1],T)}else{alert("Unhandable event type was added: x"+Q+"  y:"+T+"  z:"+S)}}}}function j(P){return function(Q,T,S){if((Q===null||typeof arguments[0]=="number")&&(T===null||typeof arguments[1]=="number")){if(typeof arguments[2]=="function"){N(P,Q,T,S)}else{N(P,Q,T)}}else{if(typeof arguments[0]=="object"){var R=q(Q);if(typeof arguments[1]=="function"){N(P,R[0],R[1],T)}else{N(P,R[0],R[1])}}else{alert("Unhandable event type was removed: x"+Q+"  y:"+T+"  z:"+S)}}}}for(var v in y){if(v){this.event[v]=J(v);this.event.remove[v]=j(v)}}function E(S,P,R,Q){y[S].push({x:P,y:R,fn:Q})}function N(V,Q,U,S){var T=0;for(var R=0,P=y[V].length;R<P-T;R++){if(typeof S!="undefined"){if(y[V][R-T].x==Q&&y[V][R-T].y==U&&y[V][R-T].fn==S){y[V].splice(R-T,1);T++}}else{if(y[V][R-T].x==Q&&y[V][R-T].y==U){y[V].splice(R,1);return 1}}}return T}function H(U,P,T){var S=0;var Q=y[U];for(var R=0;R<Q.length;R++){if((Q[R].x==P&&Q[R].y==T)||(Q[R].x===null&&Q[R].y==T)||(Q[R].x==P&&Q[R].y===null)||(Q[R].x===null&&Q[R].y===null)){Q[R].fn(M(P,T),P,T);S++}}return S}function h(U,ac){if(t==U){return}if(typeof ac=="undefined"){ac=true}if(t!==null){w(t)}f(U).addClass(o);f(U).parent().addClass(o);var R;if(k){R=k;var X=m(U)[1];var Y=D;while(X>=R.fnDisplayEnd()){if(R._iDisplayLength>=0){if(R._iDisplayStart+R._iDisplayLength<R.fnRecordsDisplay()){R._iDisplayStart+=R._iDisplayLength}}else{R._iDisplayStart=0}k.oApi._fnCalculateEnd(R)}while(X<R._iDisplayStart){R._iDisplayStart=R._iDisplayLength>=0?R._iDisplayStart-R._iDisplayLength:0;if(R._iDisplayStart<0){R._iDisplayStart=0}k.oApi._fnCalculateEnd(R)}k.oApi._fnDraw(R);D=Y}var V=q(U);t=U;i=V[0];g=V[1];var Z,ab,T,W,P,Q,aa;if(ac){Z=f(c).height();ab=f(c).width();T=f(a).scrollTop();W=f(a).scrollLeft();P=U.offsetHeight;Q=U.offsetWidth;aa=F(U);if(k&&typeof R.oScroll!="undefined"&&(R.oScroll.sX!==""||R.oScroll.sY!=="")){aa[1]-=f(R.nTable.parentNode).scrollTop();aa[0]-=f(R.nTable.parentNode).scrollLeft()}if(aa[1]+P>T+Z){G(aa[1]+P-Z)}else{if(aa[1]<T){G(aa[1])}}if(aa[0]+Q>W+ab){A(aa[0]+Q-ab)}else{if(aa[0]<W){A(aa[0])}}}if(k&&typeof R.oScroll!="undefined"&&(R.oScroll.sX!==""||R.oScroll.sY!=="")){var S=R.nTable.parentNode;Z=S.clientHeight;ab=S.clientWidth;T=S.scrollTop;W=S.scrollLeft;P=U.offsetHeight;Q=U.offsetWidth;if(U.offsetTop+P>Z+T){S.scrollTop=(U.offsetTop+P)-Z}else{if(U.offsetTop<T){S.scrollTop=U.offsetTop}}if(U.offsetLeft+Q>ab+W){S.scrollLeft=(U.offsetLeft+Q)-ab}else{if(U.offsetLeft<W){S.scrollLeft=U.offsetLeft}}}L();H("focus",i,g)}function B(){w(t);i=null;g=null;t=null;r()}function w(P){f(P).removeClass(o);f(P).parent().removeClass(o);H("blur",i,g)}function s(P){var Q=this;while(Q.nodeName!="TD"){Q=Q.parentNode}h(Q);L()}function n(U){if(O.block||!D){return true}if(U.metaKey||U.altKey||U.ctrlKey){return true}var Q,V,T=l.getElementsByTagName("tr")[0].getElementsByTagName("td").length,P;if(k){P=k.aiDisplay.length;var S=m(t);if(S===null){return}i=S[0];g=S[1]}else{P=l.getElementsByTagName("tr").length}var R=(U.keyCode==9&&U.shiftKey)?-1:U.keyCode;switch(R){case 13:U.preventDefault();U.stopPropagation();H("action",i,g);return true;case 27:if(!H("esc",i,g)){B();return}Q=i;V=g;break;case -1:case 37:if(i>0){Q=i-1;V=g}else{if(g>0){Q=T-1;V=g-1}else{if(R==-1&&u){K=true;z.focus();setTimeout(function(){K=false},0);D=false;B();return true}else{return false}}}break;case 38:if(g>0){Q=i;V=g-1}else{return false}break;case 36:Q=i;V=0;break;case 33:Q=i;V=g-10;if(V<0){V=0}break;case 9:case 39:if(i<T-1){Q=i+1;V=g}else{if(g<P-1){Q=0;V=g+1}else{if(R==9&&u){K=true;z.focus();setTimeout(function(){K=false},0);D=false;B();return true}else{return false}}}break;case 40:if(g<P-1){Q=i;V=g+1}else{return false}break;case 35:Q=i;V=P-1;break;case 34:Q=i;V=g+10;if(V>P-1){V=P-1}break;default:return true}h(M(Q,V));return false}function L(){if(!D){D=true}}function r(){D=false}function M(P,Q){if(k){if(typeof k.aoData[k.aiDisplay[Q]]!="undefined"){return k.aoData[k.aiDisplay[Q]].nTr.getElementsByTagName("td")[P]}else{return null}}else{return f("tr:eq("+Q+")>td:eq("+P+")",l)[0]}}function q(P){if(k){return[f("td",P.parentNode).index(P),f("tr",P.parentNode.parentNode).index(P.parentNode)+k._iDisplayStart]}else{return[f("td",P.parentNode).index(P),f("tr",P.parentNode.parentNode).index(P.parentNode)]}}function G(P){a.documentElement.scrollTop=P;a.body.scrollTop=P}function A(P){a.documentElement.scrollLeft=P;a.body.scrollLeft=P}function F(R){var Q=0;var P=0;if(R.offsetParent){Q=R.offsetLeft;P=R.offsetTop;R=R.offsetParent;while(R){Q+=R.offsetLeft;P+=R.offsetTop;R=R.offsetParent}}return[Q,P]}function m(V){for(var S=0,P=k.aiDisplay.length;S<P;S++){var U=k.aoData[k.aiDisplay[S]].nTr;var Q=U.getElementsByTagName("td");for(var R=0,T=Q.length;R<T;R++){if(Q[R]==V){return[R,S]}}}return null}function C(T,Q,P,S){O=S;if(typeof P=="undefined"){P={}}if(typeof P.focus=="undefined"){P.focus=[0,0]}P.table=T;f(P.table).addClass("KeyTable");if(typeof P.focusClass!="undefined"){o=P.focusClass}if(typeof Q!="undefined"){k=Q}if(typeof P.initScroll=="undefined"){P.initScroll=true}if(typeof P.form=="undefined"){P.form=false}u=P.form;l=P.table.getElementsByTagName("tbody")[0];if(u){var R=a.createElement("div");z=a.createElement("input");R.style.height="1px";R.style.width="0px";R.style.overflow="hidden";if(typeof P.tabIndex!="undefined"){z.tabIndex=P.tabIndex}R.appendChild(z);P.table.parentNode.insertBefore(R,P.table.nextSibling);f(z).focus(function(){if(!K){D=true;K=false;if(typeof P.focus.nodeName!="undefined"){h(P.focus,P.initScroll)}else{h(M(P.focus[0],P.focus[1]),P.initScroll)}setTimeout(function(){z.blur()},0)}});D=false}else{if(typeof P.focus.nodeName!="undefined"){h(P.focus,P.initScroll)}else{h(M(P.focus[0],P.focus[1]),P.initScroll)}L()}f(a).bind("keydown",n);if(k){f(k.nTable).on("click","td",s)}else{f(l).on("click","td",s)}f(a).click(function(V){var W=V.target;var U=false;while(W){if(W==P.table){U=true;break}W=W.parentNode}if(!U){B()}})}var I,p;if(x===d){I=f("table.KeyTable")[0];p=null}else{if(f.isPlainObject(x)){I=x.table;p=x.datatable}else{p=new f.fn.dataTable.Api(x).settings()[0];I=p.nTable}}C(I,p,x,this)};KeyTable.version="1.2.0";f.fn.dataTable.KeyTable=KeyTable;f.fn.DataTable.KeyTable=KeyTable;return KeyTable};b(jQuery,jQuery.fn.dataTable)})(window,document);
\ No newline at end of file
+var KeyTable;!function(e,t,n){!function(n,o){"use strict";KeyTable=function(o){function l(e,t,n,o){E[e].push({x:t,y:n,fn:o})}function a(e,t,n,o){for(var l=0,a=0,i=E[e].length;a<i-l;a++)if(void 0!==o)E[e][a-l].x==t&&E[e][a-l].y==n&&E[e][a-l].fn==o&&(E[e].splice(a-l,1),l++);else if(E[e][a-l].x==t&&E[e][a-l].y==n)return E[e].splice(a,1),1;return l}function i(e,t,n){for(var o=0,l=E[e],a=0;a<l.length;a++)(l[a].x==t&&l[a].y==n||null===l[a].x&&l[a].y==n||l[a].x==t&&null===l[a].y||null===l[a].x&&null===l[a].y)&&(l[a].fn(y(t,n),t,n),o++);return o}function r(o,l){if(S!=o){void 0===l&&(l=!0),null!==S&&s(S),n(o).addClass(_),n(o).parent().addClass(_);var a;if(K){a=K;for(var r=m(o)[1],f=C;r>=a.fnDisplayEnd();)a._iDisplayLength>=0?a._iDisplayStart+a._iDisplayLength<a.fnRecordsDisplay()&&(a._iDisplayStart+=a._iDisplayLength):a._iDisplayStart=0,K.oApi._fnCalculateEnd(a);for(;r<a._iDisplayStart;)a._iDisplayStart=a._iDisplayLength>=0?a._iDisplayStart-a._iDisplayLength:0,a._iDisplayStart<0&&(a._iDisplayStart=0),K.oApi._fnCalculateEnd(a);K.oApi._fnDraw(a),C=f}var u=b(o);S=o,x=u[0],L=u[1];var c,p,y,g,D,N,k;if(l&&(c=n(e).height(),p=n(e).width(),y=n(t).scrollTop(),g=n(t).scrollLeft(),D=o.offsetHeight,N=o.offsetWidth,k=h(o),!K||void 0===a.oScroll||""===a.oScroll.sX&&""===a.oScroll.sY||(k[1]-=n(a.nTable.parentNode).scrollTop(),k[0]-=n(a.nTable.parentNode).scrollLeft()),k[1]+D>y+c?v(k[1]+D-c):k[1]<y&&v(k[1]),k[0]+N>g+p?T(k[0]+N-p):k[0]<g&&T(k[0])),K&&void 0!==a.oScroll&&(""!==a.oScroll.sX||""!==a.oScroll.sY)){var E=a.nTable.parentNode;c=E.clientHeight,p=E.clientWidth,y=E.scrollTop,g=E.scrollLeft,D=o.offsetHeight,N=o.offsetWidth,o.offsetTop+D>c+y?E.scrollTop=o.offsetTop+D-c:o.offsetTop<y&&(E.scrollTop=o.offsetTop),o.offsetLeft+N>p+g?E.scrollLeft=o.offsetLeft+N-p:o.offsetLeft<g&&(E.scrollLeft=o.offsetLeft)}d(),i("focus",x,L)}}function f(){s(S),x=null,L=null,S=null,p()}function s(e){n(e).removeClass(_),n(e).parent().removeClass(_),i("blur",x,L)}function u(e){for(var t=this;"TD"!=t.nodeName;)t=t.parentNode;r(t),d()}function c(e){if(k.block||!C)return!0;if(e.metaKey||e.altKey||e.ctrlKey)return!0;var t,n,o,l=N.getElementsByTagName("tr")[0].getElementsByTagName("td").length;if(K){o=K.aiDisplay.length;var a=m(S);if(null===a)return;x=a[0],L=a[1]}else o=N.getElementsByTagName("tr").length;var s=9==e.keyCode&&e.shiftKey?-1:e.keyCode;switch(s){case 13:return e.preventDefault(),e.stopPropagation(),i("action",x,L),!0;case 27:if(!i("esc",x,L))return void f();t=x,n=L;break;case-1:case 37:if(x>0)t=x-1,n=L;else{if(!(L>0))return!(-1!=s||!g||(w=!0,D.focus(),setTimeout(function(){w=!1},0),C=!1,f(),0));t=l-1,n=L-1}break;case 38:if(!(L>0))return!1;t=x,n=L-1;break;case 36:t=x,n=0;break;case 33:t=x,(n=L-10)<0&&(n=0);break;case 9:case 39:if(x<l-1)t=x+1,n=L;else{if(!(L<o-1))return!(9!=s||!g||(w=!0,D.focus(),setTimeout(function(){w=!1},0),C=!1,f(),0));t=0,n=L+1}break;case 40:if(!(L<o-1))return!1;t=x,n=L+1;break;case 35:t=x,n=o-1;break;case 34:t=x,(n=L+10)>o-1&&(n=o-1);break;default:return!0}return r(y(t,n)),!1}function d(){C||(C=!0)}function p(){C=!1}function y(e,t){return K?void 0!==K.aoData[K.aiDisplay[t]]?K.aoData[K.aiDisplay[t]].nTr.getElementsByTagName("td")[e]:null:n("tr:eq("+t+")>td:eq("+e+")",N)[0]}function b(e){return K?[n("td",e.parentNode).index(e),n("tr",e.parentNode.parentNode).index(e.parentNode)+K._iDisplayStart]:[n("td",e.parentNode).index(e),n("tr",e.parentNode.parentNode).index(e.parentNode)]}function v(e){t.documentElement.scrollTop=e,t.body.scrollTop=e}function T(e){t.documentElement.scrollLeft=e,t.body.scrollLeft=e}function h(e){var t=0,n=0;if(e.offsetParent)for(t=e.offsetLeft,n=e.offsetTop,e=e.offsetParent;e;)t+=e.offsetLeft,n+=e.offsetTop,e=e.offsetParent;return[t,n]}function m(e){for(var t=0,n=K.aiDisplay.length;t<n;t++)for(var o=K.aoData[K.aiDisplay[t]].nTr.getElementsByTagName("td"),l=0,a=o.length;l<a;l++)if(o[l]==e)return[l,t];return null}this.block=!1,this.event={remove:{}},this.fnGetCurrentPosition=function(){return[x,L]},this.fnGetCurrentData=function(){return S.innerHTML},this.fnGetCurrentTD=function(){return S},this.fnSetPosition=function(e,t){r("object"==typeof e&&e.nodeName?e:y(e,t))},this.fnBlur=function(){f()};var g,D,N=null,S=null,x=null,L=null,k=null,_="focus",C=!1,E={action:[],esc:[],focus:[],blur:[]},K=null,w=!1;for(var B in E)B&&(this.event[B]=function(e){return function(t,n,o){if(null!==t&&"number"!=typeof t||null!==n&&"number"!=typeof n||"function"!=typeof o)if("object"==typeof t&&"function"==typeof n){var a=b(t);l(e,a[0],a[1],n)}else alert("Unhandable event type was added: x"+t+"  y:"+n+"  z:"+o);else l(e,t,n,o)}}(B),this.event.remove[B]=function(e){return function(t,n,o){if(null!==t&&"number"!=typeof arguments[0]||null!==n&&"number"!=typeof arguments[1])if("object"==typeof arguments[0]){var l=b(t);"function"==typeof arguments[1]?a(e,l[0],l[1],n):a(e,l[0],l[1])}else alert("Unhandable event type was removed: x"+t+"  y:"+n+"  z:"+o);else"function"==typeof arguments[2]?a(e,t,n,o):a(e,t,n)}}(B));var P,j;void 0===o?(P=n("table.KeyTable")[0],j=null):n.isPlainObject(o)?(P=o.table,j=o.datatable):P=(j=new n.fn.dataTable.Api(o).settings()[0]).nTable,function(e,o,l,a){if(k=a,void 0===l&&(l={}),void 0===l.focus&&(l.focus=[0,0]),l.table=e,n(l.table).addClass("KeyTable"),void 0!==l.focusClass&&(_=l.focusClass),void 0!==o&&(K=o),void 0===l.initScroll&&(l.initScroll=!0),void 0===l.form&&(l.form=!1),g=l.form,N=l.table.getElementsByTagName("tbody")[0],g){var i=t.createElement("div");D=t.createElement("input"),i.style.height="1px",i.style.width="0px",i.style.overflow="hidden",void 0!==l.tabIndex&&(D.tabIndex=l.tabIndex),i.appendChild(D),l.table.parentNode.insertBefore(i,l.table.nextSibling),n(D).focus(function(){w||(C=!0,w=!1,void 0!==l.focus.nodeName?r(l.focus,l.initScroll):r(y(l.focus[0],l.focus[1]),l.initScroll),setTimeout(function(){D.blur()},0))}),C=!1}else void 0!==l.focus.nodeName?r(l.focus,l.initScroll):r(y(l.focus[0],l.focus[1]),l.initScroll),d();n(t).bind("keydown",c),K?n(K.nTable).on("click","td",u):n(N).on("click","td",u),n(t).click(function(e){for(var t=e.target,n=!1;t;){if(t==l.table){n=!0;break}t=t.parentNode}n||f()})}(P,j,o,this)},KeyTable.version="1.2.0",n.fn.dataTable.KeyTable=KeyTable,n.fn.DataTable.KeyTable=KeyTable}(jQuery,jQuery.fn.dataTable)}(window,document);
--- a/src/pyams_skin/resources/js/ext/jquery-dataTables-rowGrouping.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-dataTables-rowGrouping.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(a){a.fn.rowGrouping=function(e){function b(){}function c(j,h,i){}function d(j,h,i){}function g(i){var h=["January","February","March","April","May","June","July","August","September","October","November","December"];return h[i-1]}var f={iGroupingColumnIndex:0,sGroupingColumnSortDirection:"",iGroupingOrderByColumnIndex:-1,sGroupingClass:"group",sGroupItemClass:"group-item",bHideGroupingColumn:true,bHideGroupingOrderByColumn:true,sGroupBy:"name",sGroupLabelPrefix:"",fnGroupLabelFormat:function(h){return h},bExpandableGrouping:false,bExpandSingleGroup:false,iExpandGroupOffset:100,asExpandedGroups:null,sDateFormat:"dd/MM/yyyy",sEmptyGroupLabel:"-",bSetGroupingClassOnTR:false,iGroupingColumnIndex2:-1,sGroupingColumnSortDirection2:"",iGroupingOrderByColumnIndex2:-1,sGroupingClass2:"subgroup",sGroupItemClass2:"subgroup-item",bHideGroupingColumn2:true,bHideGroupingOrderByColumn2:true,sGroupBy2:"name",sGroupLabelPrefix2:"",fnGroupLabelFormat2:function(h){return h},bExpandableGrouping2:false,fnOnGrouped:b,fnOnGroupCreated:c,fnOnGroupCompleted:d,oHideEffect:null,oShowEffect:null,bUseFilteringForGrouping:false};return this.each(function(s,J){var E=a(J).dataTable();var B=new Array();a(this).dataTableExt.aoGroups=B;function q(T,i,P){var R=document.createElement("tr");var S=document.createElement("td");R.id="group-id-"+E.attr("id")+"_"+T;var Q={id:R.id,key:T,text:i,level:0,groupItemClass:".group-item-"+T,dataGroup:T,aoSubgroups:new Array()};if(t.bSetGroupingClassOnTR){R.className=t.sGroupingClass+" "+T}else{S.className=t.sGroupingClass+" "+T}S.colSpan=P;S.innerHTML=t.sGroupLabelPrefix+t.fnGroupLabelFormat(i==""?t.sEmptyGroupLabel:i,Q);if(t.bExpandableGrouping){if(!I(T)){S.className+=" expanded-group";Q.state="expanded"}else{S.className+=" collapsed-group";Q.state="collapsed"}S.className+=" group-item-expander";a(S).attr("data-group",Q.dataGroup);a(S).attr("data-group-level",Q.level);a(S).click(h)}R.appendChild(S);B[T]=Q;Q.nGroup=R;t.fnOnGroupCreated(Q,T,1);return Q}function w(R,Q,P,T){var i=document.createElement("tr");i.id=T.id+"_"+R;var V=document.createElement("td");var U=T.dataGroup+"_"+R;var S={id:i.id,key:R,text:Q,level:T.level+1,groupItemClass:".group-item-"+U,dataGroup:U,aoSubgroups:new Array()};if(t.bSetGroupingClassOnTR){i.className=t.sGroupingClass2+" "+R}else{V.className=t.sGroupingClass2+" "+R}V.colSpan=P;V.innerHTML=t.sGroupLabelPrefix2+t.fnGroupLabelFormat2(Q==""?t.sEmptyGroupLabel:Q,S);if(t.bExpandableGrouping){i.className+=" group-item-"+T.dataGroup}if(t.bExpandableGrouping&&t.bExpandableGrouping2){if(!I(S.dataGroup)){V.className+=" expanded-group";S.state="expanded"}else{V.className+=" collapsed-group";S.state="collapsed"}V.className+=" group-item-expander";a(V).attr("data-group",S.dataGroup);a(V).attr("data-group-level",S.level);a(V).click(h)}i.appendChild(V);T.aoSubgroups[S.dataGroup]=S;B[S.dataGroup]=S;S.nGroup=i;t.fnOnGroupCreated(S,R,2);return S}function I(i){if(B[i]!=null){return(B[i].state=="collapsed")}else{if(i.indexOf("_")>-1){true}else{if(l&&(j==null||j.length==0)){return false}else{return(a.inArray(i,j)==-1)}}}}function L(i){if(i.length<(x+K)){return i}else{return i.substr(x,K)}}function y(i){return i}function M(i){return i.substr(0,1)}function O(i){return L(i)}function C(i){return i.substr(x,K)+" "+g(i.substr(r,H))}function u(i){if(i===""){return"-"}return i.toLowerCase().replace(/[^a-zA-Z0-9\u0080-\uFFFF]+/g,"-")}function D(R,P,i){if(R.nTable.id!==E[0].id){return true}var Q=P[t.iGroupingColumnIndex];if(typeof Q==="undefined"){Q=P[R.aoColumns[t.iGroupingColumnIndex].mDataProp]}if(I(u(Q))){if(E.fnIsOpen(E.fnGetNodes(i))){if(t.fnOnRowClosed!=null){t.fnOnRowClosed(this)}E.fnClose(E.fnGetNodes(i))}return false}return true}function p(i){B[i].state="expanded";a("td[data-group^='"+i+"']").removeClass("collapsed-group");a("td[data-group^='"+i+"']").addClass("expanded-group");if(t.bUseFilteringForGrouping){E.fnDraw();return}if(jQuery.inArray(i,j)==-1){j.push(i)}if(t.oHideEffect!=null){a(".group-item-"+i,E)[t.oShowEffect.method](t.oShowEffect.duration,t.oShowEffect.easing,function(){})}else{a(".group-item-"+i,E).show()}}function m(i){B[i].state="collapsed";a("td[data-group^='"+i+"']").removeClass("expanded-group");a("td[data-group^='"+i+"']").addClass("collapsed-group");if(t.bUseFilteringForGrouping){E.fnDraw();return}a(".group-item-"+i).each(function(){if(E.fnIsOpen(this)){if(t.fnOnRowClosed!=null){t.fnOnRowClosed(this)}E.fnClose(this)}});if(t.oHideEffect!=null){a(".group-item-"+i,E)[t.oHideEffect.method](t.oHideEffect.duration,t.oHideEffect.easing,function(){})}else{a(".group-item-"+i,E).hide()}}function h(T){var Q=a(this).attr("data-group");var S=a(this).attr("data-group-level");var R=!I(Q);if(t.bExpandSingleGroup){if(!R){var P=a("td.expanded-group").attr("data-group");m(P);p(Q);if(t.iExpandGroupOffset!=-1){var i=a("#group-id-"+E.attr("id")+"_"+Q).offset().top-t.iExpandGroupOffset;window.scroll(0,i)}else{var i=E.offset().top;window.scroll(0,i)}}}else{if(R){m(Q)}else{p(Q)}}T.preventDefault()}function A(V){if(E.fnSettings().oFeatures.bServerSide){l=true}var Z=false;if(t.iGroupingColumnIndex2!=-1){Z=true}if(V.aiDisplayMaster.length==0){return}var T=a("tbody tr",E);var Q=0;for(var ae=0;ae<V.aoColumns.length;ae++){if(V.aoColumns[ae].bVisible){Q+=1}}var ah=null;var aa=null;if(V.aiDisplay.length>0){for(var ag=0;ag<T.length;ag++){var U=V._iDisplayStart+ag;if(E.fnSettings().oFeatures.bServerSide){U=ag}var S="";var af=null;var P="";var Y=null;S=this.fnGetData(T[ag],t.iGroupingColumnIndex);var af=S;if(t.sGroupBy!="year"){af=N(S)}if(Z){P=V.aoData[V.aiDisplay[U]]._aData[t.iGroupingColumnIndex2];if(P==undefined){P=V.aoData[V.aiDisplay[U]]._aData[V.aoColumns[t.iGroupingColumnIndex2].mDataProp]}if(t.sGroupBy2!="year"){Y=N(P)}}if(ah==null||u(af)!=u(ah)){var ab=u(af);if(ah!=null){t.fnOnGroupCompleted(B[u(ah)])}if(t.bAddAllGroupsAsExpanded&&jQuery.inArray(ab,j)==-1){j.push(ab)}var W=q(ab,af,Q);var R=W.nGroup;if(T[ag].parentNode!=null){T[ag].parentNode.insertBefore(R,T[ag])}else{a(T[ag]).before(R)}ah=af;aa=null}a(T[ag]).attr("data-group",B[ab].dataGroup);a(T[ag]).addClass(t.sGroupItemClass);a(T[ag]).addClass("group-item-"+ab);if(t.bExpandableGrouping){if(I(ab)&&!t.bUseFilteringForGrouping){a(T[ag]).hide()}}if(Z){if(aa==null||u(Y)!=u(aa)){var X=u(af)+"-"+u(Y);var ac=w(X,Y,Q,B[ab]);var ad=ac.nGroup;T[ag].parentNode.insertBefore(ad,T[ag]);aa=Y}a(T[ag]).attr("data-group",ac.dataGroup).addClass(t.sGroupItemClass2).addClass("group-item-"+ac.dataGroup)}}}if(ah!=null){t.fnOnGroupCompleted(B[u(ah)])}t.fnOnGrouped(B);l=false}var x=6;var K=4;var j=new Array();var l=true;var t=a.extend(f,e);if(t.iGroupingOrderByColumnIndex==-1){t.bCustomColumnOrdering=false;t.iGroupingOrderByColumnIndex=t.iGroupingColumnIndex}else{t.bCustomColumnOrdering=true}if(t.sGroupingColumnSortDirection==""){if(t.sGroupBy=="year"){t.sGroupingColumnSortDirection="desc"}else{t.sGroupingColumnSortDirection="asc"}}if(t.iGroupingOrderByColumnIndex2==-1){t.bCustomColumnOrdering2=false;t.iGroupingOrderByColumnIndex2=t.iGroupingColumnIndex2}else{t.bCustomColumnOrdering2=true}if(t.sGroupingColumnSortDirection2==""){if(t.sGroupBy2=="year"){t.sGroupingColumnSortDirection2="desc"}else{t.sGroupingColumnSortDirection2="asc"}}x=t.sDateFormat.toLowerCase().indexOf("yy");K=t.sDateFormat.toLowerCase().lastIndexOf("y")-t.sDateFormat.toLowerCase().indexOf("y")+1;var r=t.sDateFormat.toLowerCase().indexOf("mm");var H=t.sDateFormat.toLowerCase().lastIndexOf("m")-t.sDateFormat.toLowerCase().indexOf("m")+1;var N=y;switch(t.sGroupBy){case"letter":N=M;break;case"year":N=O;break;case"month":N=C;break;default:N=y;break}if(t.asExpandedGroups!=null){if(t.asExpandedGroups=="NONE"){t.asExpandedGroups=[];j=t.asExpandedGroups;l=false}else{if(t.asExpandedGroups=="ALL"){t.bAddAllGroupsAsExpanded=true}else{if(t.asExpandedGroups.constructor==String){var k=t.asExpandedGroups;t.asExpandedGroups=new Array();t.asExpandedGroups.push(u(k));j=t.asExpandedGroups;l=false}else{if(t.asExpandedGroups.constructor==Array){for(var G=0;G<t.asExpandedGroups.length;G++){j.push(u(t.asExpandedGroups[G]));if(t.bExpandSingleGroup){break}}l=false}}}}}else{t.asExpandedGroups=new Array();t.bAddAllGroupsAsExpanded=true}if(t.bExpandSingleGroup){var o=a("tbody tr",E);var n=E.fnGetData(o[0],t.iGroupingColumnIndex);var F=n;if(t.sGroupBy!="year"){F=N(n)}var z=u(F);t.asExpandedGroups=new Array();t.asExpandedGroups.push(z)}E.fnSetColumnVis(t.iGroupingColumnIndex,!t.bHideGroupingColumn);if(t.bCustomColumnOrdering){E.fnSetColumnVis(t.iGroupingOrderByColumnIndex,!t.bHideGroupingOrderByColumn)}if(t.iGroupingColumnIndex2!=-1){E.fnSetColumnVis(t.iGroupingColumnIndex2,!t.bHideGroupingColumn2)}if(t.bCustomColumnOrdering2){E.fnSetColumnVis(t.iGroupingOrderByColumnIndex2,!t.bHideGroupingOrderByColumn2)}E.fnSettings().aoDrawCallback.push({fn:A,sName:"fnRowGrouping"});var v=new Array();v.push([t.iGroupingOrderByColumnIndex,t.sGroupingColumnSortDirection]);if(t.iGroupingColumnIndex2!=-1){v.push([t.iGroupingOrderByColumnIndex2,t.sGroupingColumnSortDirection2])}E.fnSettings().aaSortingFixed=v;switch(t.sGroupBy){case"name":break;case"letter":E.fnSettings().aoColumns[t.iGroupingOrderByColumnIndex].sSortDataType="rg-letter";a.fn.dataTableExt.afnSortData["rg-letter"]=function(Q,P){var i=[];a("td:eq("+P+")",Q.oApi._fnGetTrNodes(Q)).each(function(){i.push(M(this.innerHTML))});return i};break;case"year":E.fnSettings().aoColumns[t.iGroupingOrderByColumnIndex].sSortDataType="rg-date";a.fn.dataTableExt.afnSortData["rg-date"]=function(R,P){var i=[];var Q=R.oApi._fnGetTrNodes(R);for(G=0;G<Q.length;G++){i.push(L(E.fnGetData(Q[G],P)))}return i};break;default:break}if(t.bUseFilteringForGrouping){a.fn.dataTableExt.afnFiltering.push(D)}E.fnDraw()})}})(jQuery);
\ No newline at end of file
+!function(r){"use strict";r.fn.rowGrouping=function(e){function n(r){return["January","February","March","April","May","June","July","August","September","October","November","December"][r-1]}var o={iGroupingColumnIndex:0,sGroupingColumnSortDirection:"",iGroupingOrderByColumnIndex:-1,sGroupingClass:"group",sGroupItemClass:"group-item",bHideGroupingColumn:!0,bHideGroupingOrderByColumn:!0,sGroupBy:"name",sGroupLabelPrefix:"",fnGroupLabelFormat:function(r){return r},bExpandableGrouping:!1,bExpandSingleGroup:!1,iExpandGroupOffset:100,asExpandedGroups:null,sDateFormat:"dd/MM/yyyy",sEmptyGroupLabel:"-",bSetGroupingClassOnTR:!1,iGroupingColumnIndex2:-1,sGroupingColumnSortDirection2:"",iGroupingOrderByColumnIndex2:-1,sGroupingClass2:"subgroup",sGroupItemClass2:"subgroup-item",bHideGroupingColumn2:!0,bHideGroupingOrderByColumn2:!0,sGroupBy2:"name",sGroupLabelPrefix2:"",fnGroupLabelFormat2:function(r){return r},bExpandableGrouping2:!1,fnOnGrouped:function(){},fnOnGroupCreated:function(r,e,n){},fnOnGroupCompleted:function(r,e,n){},oHideEffect:null,oShowEffect:null,bUseFilteringForGrouping:!1};return this.each(function(a,u){function t(e,n,o){var a=document.createElement("tr"),u=document.createElement("td");a.id="group-id-"+C.attr("id")+"_"+e;var t={id:a.id,key:e,text:n,level:0,groupItemClass:".group-item-"+e,dataGroup:e,aoSubgroups:new Array};return O.bSetGroupingClassOnTR?a.className=O.sGroupingClass+" "+e:u.className=O.sGroupingClass+" "+e,u.colSpan=o,u.innerHTML=O.sGroupLabelPrefix+O.fnGroupLabelFormat(""==n?O.sEmptyGroupLabel:n,t),O.bExpandableGrouping&&(s(e)?(u.className+=" collapsed-group",t.state="collapsed"):(u.className+=" expanded-group",t.state="expanded"),u.className+=" group-item-expander",r(u).attr("data-group",t.dataGroup),r(u).attr("data-group-level",t.level),r(u).click(m)),a.appendChild(u),c[e]=t,t.nGroup=a,O.fnOnGroupCreated(t,e,1),t}function i(e,n,o,a){var u=document.createElement("tr");u.id=a.id+"_"+e;var t=document.createElement("td"),i=a.dataGroup+"_"+e,p={id:u.id,key:e,text:n,level:a.level+1,groupItemClass:".group-item-"+i,dataGroup:i,aoSubgroups:new Array};return O.bSetGroupingClassOnTR?u.className=O.sGroupingClass2+" "+e:t.className=O.sGroupingClass2+" "+e,t.colSpan=o,t.innerHTML=O.sGroupLabelPrefix2+O.fnGroupLabelFormat2(""==n?O.sEmptyGroupLabel:n,p),O.bExpandableGrouping&&(u.className+=" group-item-"+a.dataGroup),O.bExpandableGrouping&&O.bExpandableGrouping2&&(s(p.dataGroup)?(t.className+=" collapsed-group",p.state="collapsed"):(t.className+=" expanded-group",p.state="expanded"),t.className+=" group-item-expander",r(t).attr("data-group",p.dataGroup),r(t).attr("data-group-level",p.level),r(t).click(m)),u.appendChild(t),a.aoSubgroups[p.dataGroup]=p,c[p.dataGroup]=p,p.nGroup=u,O.fnOnGroupCreated(p,e,2),p}function s(e){return null!=c[e]?"collapsed"==c[e].state:e.indexOf("_")>-1?void 0:(!E||null!=y&&0!=y.length)&&-1==r.inArray(e,y)}function p(r){return r.length<x+b?r:r.substr(x,b)}function d(r){return r}function l(r){return r.substr(0,1)}function g(r){return""===r?"-":r.toLowerCase().replace(/[^a-zA-Z0-9\u0080-\uFFFF]+/g,"-")}function G(e){c[e].state="expanded",r("td[data-group^='"+e+"']").removeClass("collapsed-group"),r("td[data-group^='"+e+"']").addClass("expanded-group"),O.bUseFilteringForGrouping?C.fnDraw():(-1==jQuery.inArray(e,y)&&y.push(e),null!=O.oHideEffect?r(".group-item-"+e,C)[O.oShowEffect.method](O.oShowEffect.duration,O.oShowEffect.easing,function(){}):r(".group-item-"+e,C).show())}function f(e){c[e].state="collapsed",r("td[data-group^='"+e+"']").removeClass("expanded-group"),r("td[data-group^='"+e+"']").addClass("collapsed-group"),O.bUseFilteringForGrouping?C.fnDraw():(r(".group-item-"+e).each(function(){C.fnIsOpen(this)&&(null!=O.fnOnRowClosed&&O.fnOnRowClosed(this),C.fnClose(this))}),null!=O.oHideEffect?r(".group-item-"+e,C)[O.oHideEffect.method](O.oHideEffect.duration,O.oHideEffect.easing,function(){}):r(".group-item-"+e,C).hide())}function m(e){var n=r(this).attr("data-group"),o=(r(this).attr("data-group-level"),!s(n));if(O.bExpandSingleGroup){if(!o)if(f(r("td.expanded-group").attr("data-group")),G(n),-1!=O.iExpandGroupOffset){a=r("#group-id-"+C.attr("id")+"_"+n).offset().top-O.iExpandGroupOffset;window.scroll(0,a)}else{var a=C.offset().top;window.scroll(0,a)}}else o?f(n):G(n);e.preventDefault()}var C=r(u).dataTable(),c=new Array;r(this).dataTableExt.aoGroups=c;var x=6,b=4,y=new Array,E=!0,O=r.extend(o,e);-1==O.iGroupingOrderByColumnIndex?(O.bCustomColumnOrdering=!1,O.iGroupingOrderByColumnIndex=O.iGroupingColumnIndex):O.bCustomColumnOrdering=!0,""==O.sGroupingColumnSortDirection&&("year"==O.sGroupBy?O.sGroupingColumnSortDirection="desc":O.sGroupingColumnSortDirection="asc"),-1==O.iGroupingOrderByColumnIndex2?(O.bCustomColumnOrdering2=!1,O.iGroupingOrderByColumnIndex2=O.iGroupingColumnIndex2):O.bCustomColumnOrdering2=!0,""==O.sGroupingColumnSortDirection2&&("year"==O.sGroupBy2?O.sGroupingColumnSortDirection2="desc":O.sGroupingColumnSortDirection2="asc"),x=O.sDateFormat.toLowerCase().indexOf("yy"),b=O.sDateFormat.toLowerCase().lastIndexOf("y")-O.sDateFormat.toLowerCase().indexOf("y")+1;var S=O.sDateFormat.toLowerCase().indexOf("mm"),h=O.sDateFormat.toLowerCase().lastIndexOf("m")-O.sDateFormat.toLowerCase().indexOf("m")+1,v=d;switch(O.sGroupBy){case"letter":v=l;break;case"year":v=function(r){return p(r)};break;case"month":v=function(r){return r.substr(x,b)+" "+n(r.substr(S,h))};break;default:v=d}if(null!=O.asExpandedGroups){if("NONE"==O.asExpandedGroups)O.asExpandedGroups=[],y=O.asExpandedGroups,E=!1;else if("ALL"==O.asExpandedGroups)O.bAddAllGroupsAsExpanded=!0;else if(O.asExpandedGroups.constructor==String){var D=O.asExpandedGroups;O.asExpandedGroups=new Array,O.asExpandedGroups.push(g(D)),y=O.asExpandedGroups,E=!1}else if(O.asExpandedGroups.constructor==Array){for(var I=0;I<O.asExpandedGroups.length&&(y.push(g(O.asExpandedGroups[I])),!O.bExpandSingleGroup);I++);E=!1}}else O.asExpandedGroups=new Array,O.bAddAllGroupsAsExpanded=!0;if(O.bExpandSingleGroup){var w=r("tbody tr",C),F=C.fnGetData(w[0],O.iGroupingColumnIndex),A=F;"year"!=O.sGroupBy&&(A=v(F));var B=g(A);O.asExpandedGroups=new Array,O.asExpandedGroups.push(B)}C.fnSetColumnVis(O.iGroupingColumnIndex,!O.bHideGroupingColumn),O.bCustomColumnOrdering&&C.fnSetColumnVis(O.iGroupingOrderByColumnIndex,!O.bHideGroupingOrderByColumn),-1!=O.iGroupingColumnIndex2&&C.fnSetColumnVis(O.iGroupingColumnIndex2,!O.bHideGroupingColumn2),O.bCustomColumnOrdering2&&C.fnSetColumnVis(O.iGroupingOrderByColumnIndex2,!O.bHideGroupingOrderByColumn2),C.fnSettings().aoDrawCallback.push({fn:function(e){C.fnSettings().oFeatures.bServerSide&&(E=!0);var n=!1;if(-1!=O.iGroupingColumnIndex2&&(n=!0),0!=e.aiDisplayMaster.length){for(var o=r("tbody tr",C),a=0,u=0;u<e.aoColumns.length;u++)e.aoColumns[u].bVisible&&(a+=1);var p=null,d=null;if(e.aiDisplay.length>0)for(var l=0;l<o.length;l++){var G=e._iDisplayStart+l;C.fnSettings().oFeatures.bServerSide&&(G=l);var f="",m=null,x="",b=null,m=f=this.fnGetData(o[l],O.iGroupingColumnIndex);if("year"!=O.sGroupBy&&(m=v(f)),n&&(void 0==(x=e.aoData[e.aiDisplay[G]]._aData[O.iGroupingColumnIndex2])&&(x=e.aoData[e.aiDisplay[G]]._aData[e.aoColumns[O.iGroupingColumnIndex2].mDataProp]),"year"!=O.sGroupBy2&&(b=v(x))),null==p||g(m)!=g(p)){var S=g(m);null!=p&&O.fnOnGroupCompleted(c[g(p)]),O.bAddAllGroupsAsExpanded&&-1==jQuery.inArray(S,y)&&y.push(S);var h=t(S,m,a).nGroup;null!=o[l].parentNode?o[l].parentNode.insertBefore(h,o[l]):r(o[l]).before(h),p=m,d=null}if(r(o[l]).attr("data-group",c[S].dataGroup),r(o[l]).addClass(O.sGroupItemClass),r(o[l]).addClass("group-item-"+S),O.bExpandableGrouping&&s(S)&&!O.bUseFilteringForGrouping&&r(o[l]).hide(),n){if(null==d||g(b)!=g(d)){var D=i(g(m)+"-"+g(b),b,a,c[S]),I=D.nGroup;o[l].parentNode.insertBefore(I,o[l]),d=b}r(o[l]).attr("data-group",D.dataGroup).addClass(O.sGroupItemClass2).addClass("group-item-"+D.dataGroup)}}null!=p&&O.fnOnGroupCompleted(c[g(p)]),O.fnOnGrouped(c),E=!1}},sName:"fnRowGrouping"});var L=new Array;switch(L.push([O.iGroupingOrderByColumnIndex,O.sGroupingColumnSortDirection]),-1!=O.iGroupingColumnIndex2&&L.push([O.iGroupingOrderByColumnIndex2,O.sGroupingColumnSortDirection2]),C.fnSettings().aaSortingFixed=L,O.sGroupBy){case"name":break;case"letter":C.fnSettings().aoColumns[O.iGroupingOrderByColumnIndex].sSortDataType="rg-letter",r.fn.dataTableExt.afnSortData["rg-letter"]=function(e,n){var o=[];return r("td:eq("+n+")",e.oApi._fnGetTrNodes(e)).each(function(){o.push(l(this.innerHTML))}),o};break;case"year":C.fnSettings().aoColumns[O.iGroupingOrderByColumnIndex].sSortDataType="rg-date",r.fn.dataTableExt.afnSortData["rg-date"]=function(r,e){var n=[],o=r.oApi._fnGetTrNodes(r);for(I=0;I<o.length;I++)n.push(p(C.fnGetData(o[I],e)));return n}}O.bUseFilteringForGrouping&&r.fn.dataTableExt.afnFiltering.push(function(r,e,n){if(r.nTable.id!==C[0].id)return!0;var o=e[O.iGroupingColumnIndex];return void 0===o&&(o=e[r.aoColumns[O.iGroupingColumnIndex].mDataProp]),!s(g(o))||(C.fnIsOpen(C.fnGetNodes(n))&&(null!=O.fnOnRowClosed&&O.fnOnRowClosed(this),C.fnClose(C.fnGetNodes(n))),!1)}),C.fnDraw()})}}(jQuery);
--- a/src/pyams_skin/resources/js/ext/jquery-fancybox-2.1.5.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-fancybox-2.1.5.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,12 +1,1 @@
-/*
- * fancyBox - jQuery Plugin
- * version: 2.1.5 (Fri, 14 Jun 2013)
- * @requires jQuery v1.6 or later
- *
- * Examples at http://fancyapps.com/fancybox/
- * License: www.fancyapps.com/fancybox/#license
- *
- * Copyright 2012 Janis Skarnelis - janis@fancyapps.com
- *
- */
-(function(l,o,i,e){var p=i("html"),d=i(l),a=i(o),q=i.fancybox=function(){q.open.apply(this,arguments)},k=navigator.userAgent.match(/msie/i),c=null,f=o.createTouch!==e,j=function(r){return r&&r.hasOwnProperty&&r instanceof i},b=function(r){return r&&i.type(r)==="string"},m=function(r){return b(r)&&r.indexOf("%")>0},h=function(r){return(r&&!(r.style.overflow&&r.style.overflow==="hidden")&&((r.clientWidth&&r.scrollWidth>r.clientWidth)||(r.clientHeight&&r.scrollHeight>r.clientHeight)))},n=function(t,s){var r=parseInt(t,10)||0;if(s&&m(t)){r=q.getViewport()[s]/100*r}return Math.ceil(r)},g=function(r,s){return n(r,s)+"px"};i.extend(q,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:true,autoHeight:false,autoWidth:false,autoResize:true,autoCenter:!f,fitToView:true,aspectRatio:false,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:true,closeBtn:true,closeClick:false,nextClick:false,mouseWheel:true,autoPlay:false,playSpeed:3000,preload:3,modal:false,loop:true,ajax:{dataType:"html",headers:{"X-fancyBox":true}},iframe:{scrolling:"auto",preload:true},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:true,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(k?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">'+(MyAMS.plugins.i18n.fancybox.ERROR||"The requested content cannot be loaded.")+"<br/>"+(MyAMS.plugins.i18n.fancybox.RETRY||"Please try again later.")+"</p>",closeBtn:'<a title="'+(MyAMS.plugins.i18n.fancybox.CLOSE||"Close")+'" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="'+(MyAMS.plugins.i18n.fancybox.NEXT||"Next")+'" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="'+(MyAMS.plugins.i18n.fancybox.PREVIOUS||"Previous")+'" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:true,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:true,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:true,title:true},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:false,isOpen:false,isOpened:false,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:false},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(s,r){if(!s){return}if(!i.isPlainObject(r)){r={}}if(false===q.close(true)){return}if(!i.isArray(s)){s=j(s)?i(s).get():[s]}i.each(s,function(x,y){var w={},t,B,z,A,v,C,u;if(i.type(y)==="object"){if(y.nodeType){y=i(y)}if(j(y)){w={href:y.data("fancybox-href")||y.attr("href"),title:y.data("fancybox-title")||y.attr("title"),isDom:true,element:y};if(i.metadata){i.extend(true,w,y.metadata())}}else{w=y}}t=r.href||w.href||(b(y)?y:null);B=r.title!==e?r.title:w.title||"";z=r.content||w.content;A=z?"html":(r.type||w.type);if(!A&&w.isDom){A=y.data("fancybox-type");if(!A){v=y.prop("class").match(/fancybox\.(\w+)/);A=v?v[1]:null}}if(b(t)){if(!A){if(q.isImage(t)){A="image"}else{if(q.isSWF(t)){A="swf"}else{if(t.charAt(0)==="#"){A="inline"}else{if(b(y)){A="html";z=y}}}}}if(A==="ajax"){C=t.split(/\s+/,2);t=C.shift();u=C.shift()}}if(!z){if(A==="inline"){if(t){z=i(b(t)?t.replace(/.*(?=#[^\s]+$)/,""):t)}else{if(w.isDom){z=y}}}else{if(A==="html"){z=t}else{if(!A&&!t&&w.isDom){A="inline";z=y}}}}i.extend(w,{href:t,type:A,content:z,title:B,selector:u});s[x]=w});q.opts=i.extend(true,{},q.defaults,r);if(r.keys!==e){q.opts.keys=r.keys?i.extend({},q.defaults.keys,r.keys):false}q.group=s;return q._start(q.opts.index)},cancel:function(){var r=q.coming;if(!r||false===q.trigger("onCancel")){return}q.hideLoading();if(q.ajaxLoad){q.ajaxLoad.abort()}q.ajaxLoad=null;if(q.imgPreload){q.imgPreload.onload=q.imgPreload.onerror=null}if(r.wrap){r.wrap.stop(true,true).trigger("onReset").remove()}q.coming=null;if(!q.current){q._afterZoomOut(r)}},close:function(r){q.cancel();if(false===q.trigger("beforeClose")){return}q.unbindEvents();if(!q.isActive){return}if(!q.isOpen||r===true){i(".fancybox-wrap").stop(true).trigger("onReset").remove();q._afterZoomOut()}else{q.isOpen=q.isOpened=false;q.isClosing=true;i(".fancybox-item, .fancybox-nav").remove();q.wrap.stop(true,true).removeClass("fancybox-opened");q.transitions[q.current.closeMethod]()}},play:function(t){var r=function(){clearTimeout(q.player.timer)},v=function(){r();if(q.current&&q.player.isActive){q.player.timer=setTimeout(q.next,q.current.playSpeed)}},s=function(){r();a.unbind(".player");q.player.isActive=false;q.trigger("onPlayEnd")},u=function(){if(q.current&&(q.current.loop||q.current.index<q.group.length-1)){q.player.isActive=true;a.bind({"onCancel.player beforeClose.player":s,"onUpdate.player":v,"beforeLoad.player":r});v();q.trigger("onPlayStart")}};if(t===true||(!q.player.isActive&&t!==false)){u()}else{s()}},next:function(s){var r=q.current;if(r){if(!b(s)){s=r.direction.next}q.jumpto(r.index+1,s,"next")}},prev:function(s){var r=q.current;if(r){if(!b(s)){s=r.direction.prev}q.jumpto(r.index-1,s,"prev")}},jumpto:function(s,u,r){var t=q.current;if(!t){return}s=n(s);q.direction=u||t.direction[(s>=t.index?"next":"prev")];q.router=r||"jumpto";if(t.loop){if(s<0){s=t.group.length+(s%t.group.length)}s=s%t.group.length}if(t.group[s]!==e){q.cancel();q._start(s)}},reposition:function(u,r){var t=q.current,s=t?t.wrap:null,v;if(s){v=q._getPosition(r);if(u&&u.type==="scroll"){delete v.position;s.stop(true,true).animate(v,200)}else{s.css(v);t.pos=i.extend({},t.dim,v)}}},update:function(t){var r=(t&&t.type),s=!r||r==="orientationchange";if(s){clearTimeout(c);c=null}if(!q.isOpen||c){return}c=setTimeout(function(){var u=q.current;if(!u||q.isClosing){return}q.wrap.removeClass("fancybox-tmp");if(s||r==="load"||(r==="resize"&&u.autoResize)){q._setDimension()}if(!(r==="scroll"&&u.canShrink)){q.reposition(t)}q.trigger("onUpdate");c=null},(s&&!f?0:300))},toggle:function(r){if(q.isOpen){q.current.fitToView=i.type(r)==="boolean"?r:!q.current.fitToView;if(f){q.wrap.removeAttr("style").addClass("fancybox-tmp");q.trigger("onUpdate")}q.update()}},hideLoading:function(){a.unbind(".loading");i("#fancybox-loading").remove()},showLoading:function(){var s,r;q.hideLoading();s=i('<div id="fancybox-loading"><div></div></div>').click(q.cancel).appendTo("body");a.bind("keydown.loading",function(t){if((t.which||t.keyCode)===27){t.preventDefault();q.cancel()}});if(!q.defaults.fixed){r=q.getViewport();s.css({position:"absolute",top:(r.h*0.5)+r.y,left:(r.w*0.5)+r.x})}},getViewport:function(){var r=(q.current&&q.current.locked)||false,s={x:d.scrollLeft(),y:d.scrollTop()};if(r){s.w=r[0].clientWidth;s.h=r[0].clientHeight}else{s.w=f&&l.innerWidth?l.innerWidth:d.width();s.h=f&&l.innerHeight?l.innerHeight:d.height()}return s},unbindEvents:function(){if(q.wrap&&j(q.wrap)){q.wrap.unbind(".fb")}a.unbind(".fb");d.unbind(".fb")},bindEvents:function(){var s=q.current,r;if(!s){return}d.bind("orientationchange.fb"+(f?"":" resize.fb")+(s.autoCenter&&!s.locked?" scroll.fb":""),q.update);r=s.keys;if(r){a.bind("keydown.fb",function(v){var t=v.which||v.keyCode,u=v.target||v.srcElement;if(t===27&&q.coming){return false}if(!v.ctrlKey&&!v.altKey&&!v.shiftKey&&!v.metaKey&&!(u&&(u.type||i(u).is("[contenteditable]")))){i.each(r,function(w,x){if(s.group.length>1&&x[t]!==e){q[w](x[t]);v.preventDefault();return false}if(i.inArray(t,x)>-1){q[w]();v.preventDefault();return false}})}})}if(i.fn.mousewheel&&s.mouseWheel){q.wrap.bind("mousewheel.fb",function(y,z,u,t){var x=y.target||null,v=i(x),w=false;while(v.length){if(w||v.is(".fancybox-skin")||v.is(".fancybox-wrap")){break}w=h(v[0]);v=i(v).parent()}if(z!==0&&!w){if(q.group.length>1&&!s.canShrink){if(t>0||u>0){q.prev(t>0?"down":"left")}else{if(t<0||u<0){q.next(t<0?"up":"right")}}y.preventDefault()}}})}},trigger:function(s,u){var r,t=u||q.coming||q.current;if(!t){return}if(i.isFunction(t[s])){r=t[s].apply(t,Array.prototype.slice.call(arguments,1))}if(r===false){return false}if(t.helpers){i.each(t.helpers,function(w,v){if(v&&q.helpers[w]&&i.isFunction(q.helpers[w][s])){q.helpers[w][s](i.extend(true,{},q.helpers[w].defaults,v),t)}})}a.trigger(s)},isImage:function(r){return b(r)&&r.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(r){return b(r)&&r.match(/\.(swf)((\?|#).*)?$/i)},_start:function(s){var t={},x,r,u,v,w;s=n(s);x=q.group[s]||null;if(!x){return false}t=i.extend(true,{},q.opts,x);v=t.margin;w=t.padding;if(i.type(v)==="number"){t.margin=[v,v,v,v]}if(i.type(w)==="number"){t.padding=[w,w,w,w]}if(t.modal){i.extend(true,t,{closeBtn:false,closeClick:false,nextClick:false,arrows:false,mouseWheel:false,keys:null,helpers:{overlay:{closeClick:false}}})}if(t.autoSize){t.autoWidth=t.autoHeight=true}if(t.width==="auto"){t.autoWidth=true}if(t.height==="auto"){t.autoHeight=true}t.group=q.group;t.index=s;q.coming=t;if(false===q.trigger("beforeLoad")){q.coming=null;return}u=t.type;r=t.href;if(!u){q.coming=null;if(q.current&&q.router&&q.router!=="jumpto"){q.current.index=s;return q[q.router](q.direction)}return false}q.isActive=true;if(u==="image"||u==="swf"){t.autoHeight=t.autoWidth=false;t.scrolling="visible"}if(u==="image"){t.aspectRatio=true}if(u==="iframe"&&f){t.scrolling="scroll"}t.wrap=i(t.tpl.wrap).addClass("fancybox-"+(f?"mobile":"desktop")+" fancybox-type-"+u+" fancybox-tmp "+t.wrapCSS).appendTo(t.parent||"body");i.extend(t,{skin:i(".fancybox-skin",t.wrap),outer:i(".fancybox-outer",t.wrap),inner:i(".fancybox-inner",t.wrap)});i.each(["Top","Right","Bottom","Left"],function(z,y){t.skin.css("padding"+y,g(t.padding[z]))});q.trigger("onReady");if(u==="inline"||u==="html"){if(!t.content||!t.content.length){return q._error("content")}}else{if(!r){return q._error("href")}}if(u==="image"){q._loadImage()}else{if(u==="ajax"){q._loadAjax()}else{if(u==="iframe"){q._loadIframe()}else{q._afterLoad()}}}},_error:function(r){i.extend(q.coming,{type:"html",autoWidth:true,autoHeight:true,minWidth:0,minHeight:0,scrolling:"no",hasError:r,content:q.coming.tpl.error});q._afterLoad()},_loadImage:function(){var r=q.imgPreload=new Image();r.onload=function(){this.onload=this.onerror=null;q.coming.width=this.width/q.opts.pixelRatio;q.coming.height=this.height/q.opts.pixelRatio;q._afterLoad()};r.onerror=function(){this.onload=this.onerror=null;q._error("image")};r.src=q.coming.href;if(r.complete!==true){q.showLoading()}},_loadAjax:function(){var r=q.coming;q.showLoading();q.ajaxLoad=i.ajax(i.extend({},r.ajax,{url:r.href,error:function(s,t){if(q.coming&&t!=="abort"){q._error("ajax",s)}else{q.hideLoading()}},success:function(s,t){if(t==="success"){r.content=s;q._afterLoad()}}}))},_loadIframe:function(){var r=q.coming,s=i(r.tpl.iframe.replace(/\{rnd\}/g,new Date().getTime())).attr("scrolling",f?"auto":r.iframe.scrolling).attr("src",r.href);i(r.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(t){}});if(r.iframe.preload){q.showLoading();s.one("load",function(){i(this).data("ready",1);if(!f){i(this).bind("load.fb",q.update)}i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();q._afterLoad()})}r.content=s.appendTo(r.inner);if(!r.iframe.preload){q._afterLoad()}},_preloadImages:function(){var w=q.group,v=q.current,r=w.length,t=v.preload?Math.min(v.preload,r-1):0,u,s;for(s=1;s<=t;s+=1){u=w[(v.index+s)%r];if(u.type==="image"&&u.href){new Image().src=u.href}}},_afterLoad:function(){var s=q.coming,u=q.current,z="fancybox-placeholder",w,x,y,t,r,v;q.hideLoading();if(!s||q.isActive===false){return}if(false===q.trigger("afterLoad",s,u)){s.wrap.stop(true).trigger("onReset").remove();q.coming=null;return}if(u){q.trigger("beforeChange",u);u.wrap.stop(true).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()}q.unbindEvents();w=s;x=s.content;y=s.type;t=s.scrolling;i.extend(q,{wrap:w.wrap,skin:w.skin,outer:w.outer,inner:w.inner,current:w,previous:u});r=w.href;switch(y){case"inline":case"ajax":case"html":if(w.selector){x=i("<div>").html(x).find(w.selector)}else{if(j(x)){if(!x.data(z)){x.data(z,i('<div class="'+z+'"></div>').insertAfter(x).hide())}x=x.show().detach();w.wrap.bind("onReset",function(){if(i(this).find(x).length){x.hide().replaceAll(x.data(z)).data(z,false)}})}}break;case"image":x=w.tpl.image.replace("{href}",r);break;case"swf":x='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+r+'"></param>';v="";i.each(w.swf,function(A,B){x+='<param name="'+A+'" value="'+B+'"></param>';v+=" "+A+'="'+B+'"'});x+='<embed src="'+r+'" type="application/x-shockwave-flash" width="100%" height="100%"'+v+"></embed></object>";break}if(!(j(x)&&x.parent().is(w.inner))){w.inner.append(x)}q.trigger("beforeShow");w.inner.css("overflow",t==="yes"?"scroll":(t==="no"?"hidden":t));q._setDimension();q.reposition();q.isOpen=false;q.coming=null;q.bindEvents();if(!q.isOpened){i(".fancybox-wrap").not(w.wrap).stop(true).trigger("onReset").remove()}else{if(u.prevMethod){q.transitions[u.prevMethod]()}}q.transitions[q.isOpened?w.nextMethod:w.openMethod]();q._preloadImages()},_setDimension:function(){var U=q.getViewport(),Q=0,W=false,Y=false,C=q.wrap,O=q.skin,Z=q.inner,L=q.current,M=L.width,J=L.height,F=L.minWidth,y=L.minHeight,S=L.maxWidth,K=L.maxHeight,E=L.scrolling,w=L.scrollOutside?L.scrollbarWidth:0,I=L.margin,x=n(I[1]+I[3]),v=n(I[0]+I[2]),t,s,P,R,H,G,N,A,z,V,u,X,r,B,D;C.add(O).add(Z).width("auto").height("auto").removeClass("fancybox-tmp");t=n(O.outerWidth(true)-O.width());s=n(O.outerHeight(true)-O.height());P=x+t;R=v+s;H=m(M)?(U.w-P)*n(M)/100:M;G=m(J)?(U.h-R)*n(J)/100:J;if(L.type==="iframe"){B=L.content;if(L.autoHeight&&B.data("ready")===1){try{if(B[0].contentWindow.document.location){Z.width(H).height(9999);D=B.contents().find("body");if(w){D.css("overflow-x","hidden")}G=D.outerHeight(true)}}catch(T){}}}else{if(L.autoWidth||L.autoHeight){Z.addClass("fancybox-tmp");if(!L.autoWidth){Z.width(H)}if(!L.autoHeight){Z.height(G)}if(L.autoWidth){H=Z.width()}if(L.autoHeight){G=Z.height()}Z.removeClass("fancybox-tmp")}}M=n(H);J=n(G);z=H/G;F=n(m(F)?n(F,"w")-P:F);S=n(m(S)?n(S,"w")-P:S);y=n(m(y)?n(y,"h")-R:y);K=n(m(K)?n(K,"h")-R:K);N=S;A=K;if(L.fitToView){S=Math.min(U.w-P,S);K=Math.min(U.h-R,K)}X=U.w-x;r=U.h-v;if(L.aspectRatio){if(M>S){M=S;J=n(M/z)}if(J>K){J=K;M=n(J*z)}if(M<F){M=F;J=n(M/z)}if(J<y){J=y;M=n(J*z)}}else{M=Math.max(F,Math.min(M,S));if(L.autoHeight&&L.type!=="iframe"){Z.width(M);J=Z.height()}J=Math.max(y,Math.min(J,K))}if(L.fitToView){Z.width(M).height(J);C.width(M+t);V=C.width();u=C.height();if(L.aspectRatio){while((V>X||u>r)&&M>F&&J>y){if(Q++>19){break}J=Math.max(y,Math.min(K,J-10));M=n(J*z);if(M<F){M=F;J=n(M/z)}if(M>S){M=S;J=n(M/z)}Z.width(M).height(J);C.width(M+t);V=C.width();u=C.height()}}else{M=Math.max(F,Math.min(M,M-(V-X)));J=Math.max(y,Math.min(J,J-(u-r)))}}if(w&&E==="auto"&&J<G&&(M+t+w)<X){M+=w}Z.width(M).height(J);C.width(M+t);V=C.width();u=C.height();W=(V>X||u>r)&&M>F&&J>y;Y=L.aspectRatio?(M<N&&J<A&&M<H&&J<G):((M<N||J<A)&&(M<H||J<G));i.extend(L,{dim:{width:g(V),height:g(u)},origWidth:H,origHeight:G,canShrink:W,canExpand:Y,wPadding:t,hPadding:s,wrapSpace:u-O.outerHeight(true),skinSpace:O.height()-J});if(!B&&L.autoHeight&&J>y&&J<K&&!Y){Z.height("auto")}},_getPosition:function(t){var x=q.current,s=q.getViewport(),v=x.margin,u=q.wrap.width()+v[1]+v[3],r=q.wrap.height()+v[0]+v[2],w={position:"absolute",top:v[0],left:v[3]};if(x.autoCenter&&x.fixed&&!t&&r<=s.h&&u<=s.w){w.position="fixed"}else{if(!x.locked){w.top+=s.y;w.left+=s.x}}w.top=g(Math.max(w.top,w.top+((s.h-r)*x.topRatio)));w.left=g(Math.max(w.left,w.left+((s.w-u)*x.leftRatio)));return w},_afterZoomIn:function(){var r=q.current;if(!r){return}q.isOpen=q.isOpened=true;q.wrap.css("overflow","visible").addClass("fancybox-opened");q.update();if(r.closeClick||(r.nextClick&&q.group.length>1)){q.inner.css("cursor","pointer").bind("click.fb",function(s){if(!i(s.target).is("a")&&!i(s.target).parent().is("a")){s.preventDefault();q[r.closeClick?"close":"next"]()}})}if(r.closeBtn){i(r.tpl.closeBtn).appendTo(q.skin).bind("click.fb",function(s){s.preventDefault();q.close()})}if(r.arrows&&q.group.length>1){if(r.loop||r.index>0){i(r.tpl.prev).appendTo(q.outer).bind("click.fb",q.prev)}if(r.loop||r.index<q.group.length-1){i(r.tpl.next).appendTo(q.outer).bind("click.fb",q.next)}}q.trigger("afterShow");if(!r.loop&&r.index===r.group.length-1){q.play(false)}else{if(q.opts.autoPlay&&!q.player.isActive){q.opts.autoPlay=false;q.play()}}},_afterZoomOut:function(r){r=r||q.current;i(".fancybox-wrap").trigger("onReset").remove();i.extend(q,{group:{},opts:{},router:false,current:null,isActive:false,isOpened:false,isOpen:false,isClosing:false,wrap:null,skin:null,outer:null,inner:null});q.trigger("afterClose",r)}});q.transitions={getOrigPosition:function(){var u=q.current,s=u.element,x=u.orig,w={},r=50,y=50,v=u.hPadding,z=u.wPadding,t=q.getViewport();if(!x&&u.isDom&&s.is(":visible")){x=s.find("img:first");if(!x.length){x=s}}if(j(x)){w=x.offset();if(x.is("img")){r=x.outerWidth();y=x.outerHeight()}}else{w.top=t.y+(t.h-y)*u.topRatio;w.left=t.x+(t.w-r)*u.leftRatio}if(q.wrap.css("position")==="fixed"||u.locked){w.top-=t.y;w.left-=t.x}w={top:g(w.top-v*u.topRatio),left:g(w.left-z*u.leftRatio),width:g(r+z),height:g(y+v)};return w},step:function(s,t){var v,x,y,r=t.prop,u=q.current,w=u.wrapSpace,z=u.skinSpace;if(r==="width"||r==="height"){v=t.end===t.start?1:(s-t.start)/(t.end-t.start);if(q.isClosing){v=1-v}x=r==="width"?u.wPadding:u.hPadding;y=s-x;q.skin[r](n(r==="width"?y:y-(w*v)));q.inner[r](n(r==="width"?y:y-(w*v)-(z*v)))}},zoomIn:function(){var v=q.current,s=v.pos,t=v.openEffect,u=t==="elastic",r=i.extend({opacity:1},s);delete r.position;if(u){s=this.getOrigPosition();if(v.openOpacity){s.opacity=0.1}}else{if(t==="fade"){s.opacity=0.1}}q.wrap.css(s).animate(r,{duration:t==="none"?0:v.openSpeed,easing:v.openEasing,step:u?this.step:null,complete:q._afterZoomIn})},zoomOut:function(){var u=q.current,s=u.closeEffect,t=s==="elastic",r={opacity:0.1};if(t){r=this.getOrigPosition();if(u.closeOpacity){r.opacity=0.1}}q.wrap.animate(r,{duration:s==="none"?0:u.closeSpeed,easing:u.closeEasing,step:t?this.step:null,complete:q._afterZoomOut})},changeIn:function(){var w=q.current,t=w.nextEffect,s=w.pos,r={opacity:1},v=q.direction,x=200,u;s.opacity=0.1;if(t==="elastic"){u=v==="down"||v==="up"?"top":"left";if(v==="down"||v==="right"){s[u]=g(n(s[u])-x);r[u]="+="+x+"px"}else{s[u]=g(n(s[u])+x);r[u]="-="+x+"px"}}if(t==="none"){q._afterZoomIn()}else{q.wrap.css(s).animate(r,{duration:w.nextSpeed,easing:w.nextEasing,complete:q._afterZoomIn})}},changeOut:function(){var t=q.previous,s=t.prevEffect,r={opacity:0.1},u=q.direction,v=200;if(s==="elastic"){r[u==="down"||u==="up"?"top":"left"]=(u==="up"||u==="left"?"-":"+")+"="+v+"px"}t.wrap.animate(r,{duration:s==="none"?0:t.prevSpeed,easing:t.prevEasing,complete:function(){i(this).trigger("onReset").remove()}})}};q.helpers.overlay={defaults:{closeClick:true,speedOut:200,showEarly:true,css:{},locked:!f,fixed:true},overlay:null,fixed:false,el:i("html"),create:function(r){r=i.extend({},this.defaults,r);if(this.overlay){this.close()}this.overlay=i('<div class="fancybox-overlay"></div>').appendTo(q.coming?q.coming.parent:r.parent);this.fixed=false;if(r.fixed&&q.defaults.fixed){this.overlay.addClass("fancybox-overlay-fixed");this.fixed=true}},open:function(s){var r=this;s=i.extend({},this.defaults,s);if(this.overlay){this.overlay.unbind(".overlay").width("auto").height("auto")}else{this.create(s)}if(!this.fixed){d.bind("resize.overlay",i.proxy(this.update,this));this.update()}if(s.closeClick){this.overlay.bind("click.overlay",function(t){if(i(t.target).hasClass("fancybox-overlay")){if(q.isActive){q.close()}else{r.close()}return false}})}this.overlay.css(s.css).show()},close:function(){var r,s;d.unbind("resize.overlay");if(this.el.hasClass("fancybox-lock")){i(".fancybox-margin").removeClass("fancybox-margin");r=d.scrollTop();s=d.scrollLeft();this.el.removeClass("fancybox-lock");d.scrollTop(r).scrollLeft(s)}i(".fancybox-overlay").remove().hide();i.extend(this,{overlay:null,fixed:false})},update:function(){var s="100%",r;this.overlay.width(s).height("100%");if(k){r=Math.max(o.documentElement.offsetWidth,o.body.offsetWidth);if(a.width()>r){s=a.width()}}else{if(a.width()>d.width()){s=a.width()}}this.overlay.width(s).height(a.height())},onReady:function(s,t){var r=this.overlay;i(".fancybox-overlay").stop(true,true);if(!r){this.create(s)}if(s.locked&&this.fixed&&t.fixed){if(!r){this.margin=a.height()>d.height()?i("html").css("margin-right").replace("px",""):false}t.locked=this.overlay.append(t.wrap);t.fixed=false}if(s.showEarly===true){this.beforeShow.apply(this,arguments)}},beforeShow:function(t,u){var r,s;if(u.locked){if(this.margin!==false){i("*").filter(function(){return(i(this).css("position")==="fixed"&&!i(this).hasClass("fancybox-overlay")&&!i(this).hasClass("fancybox-wrap"))}).addClass("fancybox-margin");this.el.addClass("fancybox-margin")}r=d.scrollTop();s=d.scrollLeft();this.el.addClass("fancybox-lock");d.scrollTop(r).scrollLeft(s)}this.open(t)},onUpdate:function(){if(!this.fixed){this.update()}},afterClose:function(r){if(this.overlay&&!q.coming){this.overlay.fadeOut(r.speedOut,i.proxy(this.close,this))}}};q.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(s){var u=q.current,w=u.title,r=s.type,v,t;if(i.isFunction(w)){w=w.call(u.element,u)}if(!b(w)||i.trim(w)===""){return}v=i('<div class="fancybox-title fancybox-title-'+r+'-wrap">'+w+"</div>");switch(r){case"inside":t=q.skin;break;case"outside":t=q.wrap;break;case"over":t=q.inner;break;default:t=q.skin;v.appendTo("body");if(k){v.width(v.width())}v.wrapInner('<span class="child"></span>');q.current.margin[2]+=Math.abs(n(v.css("margin-bottom")));break}v[(s.position==="top"?"prependTo":"appendTo")](t)}};i.fn.fancybox=function(t){var s,u=i(this),r=this.selector||"",v=function(z){var y=i(this).blur(),w=s,x,A;if(!(z.ctrlKey||z.altKey||z.shiftKey||z.metaKey)&&!y.is(".fancybox-wrap")){x=t.groupAttr||"data-fancybox-group";A=y.attr(x);if(!A){x="rel";A=y.get(0)[x]}if(A&&A!==""&&A!=="nofollow"){y=r.length?i(r):u;y=y.filter("["+x+'="'+A+'"]');w=y.index(this)}t.index=w;if(q.open(y,t)!==false){z.preventDefault()}}};t=t||{};s=t.index||0;if(!r||t.live===false){u.unbind("click.fb-start").bind("click.fb-start",v)}else{a.undelegate(r,"click.fb-start").delegate(r+":not('.fancybox-item, .fancybox-nav')","click.fb-start",v)}this.filter("[data-fancybox-start=1]").trigger("click");return this};a.ready(function(){var s,r;if(i.scrollbarWidth===e){i.scrollbarWidth=function(){var u=i('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),v=u.children(),t=v.innerWidth()-v.height(99).innerWidth();u.remove();return t}}if(i.support.fixedPosition===e){i.support.fixedPosition=(function(){var u=i('<div style="position:fixed;top:20px;"></div>').appendTo("body"),t=(u[0].offsetTop===20||u[0].offsetTop===15);u.remove();return t}())}i.extend(q.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")});s=i(l).width();p.addClass("fancybox-lock-test");r=i(l).width();p.removeClass("fancybox-lock-test");i("<style type='text/css'>.fancybox-margin{margin-right:"+(r-s)+"px;}</style>").appendTo("head")})}(window,document,jQuery));
\ No newline at end of file
+!function(e,t,i,n){"use strict";var o=i("html"),a=i(e),r=i(t),s=i.fancybox=function(){s.open.apply(this,arguments)},l=navigator.userAgent.match(/msie/i),c=null,d=void 0!==t.createTouch,p=function(e){return e&&e.hasOwnProperty&&e instanceof i},h=function(e){return e&&"string"===i.type(e)},f=function(e){return h(e)&&e.indexOf("%")>0},u=function(e){return e&&!(e.style.overflow&&"hidden"===e.style.overflow)&&(e.clientWidth&&e.scrollWidth>e.clientWidth||e.clientHeight&&e.scrollHeight>e.clientHeight)},g=function(e,t){var i=parseInt(e,10)||0;return t&&f(e)&&(i=s.getViewport()[t]/100*i),Math.ceil(i)},m=function(e,t){return g(e,t)+"px"};i.extend(s,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!d,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(l?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">'+(MyAMS.plugins.i18n.fancybox.ERROR||"The requested content cannot be loaded.")+"<br/>"+(MyAMS.plugins.i18n.fancybox.RETRY||"Please try again later.")+"</p>",closeBtn:'<a title="'+(MyAMS.plugins.i18n.fancybox.CLOSE||"Close")+'" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="'+(MyAMS.plugins.i18n.fancybox.NEXT||"Next")+'" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="'+(MyAMS.plugins.i18n.fancybox.PREVIOUS||"Previous")+'" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){if(e&&(i.isPlainObject(t)||(t={}),!1!==s.close(!0)))return i.isArray(e)||(e=p(e)?i(e).get():[e]),i.each(e,function(n,o){var a,r,l,c,d,f,u,g={};"object"===i.type(o)&&(o.nodeType&&(o=i(o)),p(o)?(g={href:o.data("fancybox-href")||o.attr("href"),title:o.data("fancybox-title")||o.attr("title"),isDom:!0,element:o},i.metadata&&i.extend(!0,g,o.metadata())):g=o),a=t.href||g.href||(h(o)?o:null),r=void 0!==t.title?t.title:g.title||"",!(c=(l=t.content||g.content)?"html":t.type||g.type)&&g.isDom&&((c=o.data("fancybox-type"))||(c=(d=o.prop("class").match(/fancybox\.(\w+)/))?d[1]:null)),h(a)&&(c||(s.isImage(a)?c="image":s.isSWF(a)?c="swf":"#"===a.charAt(0)?c="inline":h(o)&&(c="html",l=o)),"ajax"===c&&(a=(f=a.split(/\s+/,2)).shift(),u=f.shift())),l||("inline"===c?a?l=i(h(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):g.isDom&&(l=o):"html"===c?l=a:c||a||!g.isDom||(c="inline",l=o)),i.extend(g,{href:a,type:c,content:l,title:r,selector:u}),e[n]=g}),s.opts=i.extend(!0,{},s.defaults,t),void 0!==t.keys&&(s.opts.keys=!!t.keys&&i.extend({},s.defaults.keys,t.keys)),s.group=e,s._start(s.opts.index)},cancel:function(){var e=s.coming;e&&!1!==s.trigger("onCancel")&&(s.hideLoading(),s.ajaxLoad&&s.ajaxLoad.abort(),s.ajaxLoad=null,s.imgPreload&&(s.imgPreload.onload=s.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),s.coming=null,s.current||s._afterZoomOut(e))},close:function(e){s.cancel(),!1!==s.trigger("beforeClose")&&(s.unbindEvents(),s.isActive&&(s.isOpen&&!0!==e?(s.isOpen=s.isOpened=!1,s.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeClass("fancybox-opened"),s.transitions[s.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),s._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(s.player.timer)},i=function(){t(),s.current&&s.player.isActive&&(s.player.timer=setTimeout(s.next,s.current.playSpeed))},n=function(){t(),r.unbind(".player"),s.player.isActive=!1,s.trigger("onPlayEnd")};!0===e||!s.player.isActive&&!1!==e?s.current&&(s.current.loop||s.current.index<s.group.length-1)&&(s.player.isActive=!0,r.bind({"onCancel.player beforeClose.player":n,"onUpdate.player":i,"beforeLoad.player":t}),i(),s.trigger("onPlayStart")):n()},next:function(e){var t=s.current;t&&(h(e)||(e=t.direction.next),s.jumpto(t.index+1,e,"next"))},prev:function(e){var t=s.current;t&&(h(e)||(e=t.direction.prev),s.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,i){var n=s.current;n&&(e=g(e),s.direction=t||n.direction[e>=n.index?"next":"prev"],s.router=i||"jumpto",n.loop&&(e<0&&(e=n.group.length+e%n.group.length),e%=n.group.length),void 0!==n.group[e]&&(s.cancel(),s._start(e)))},reposition:function(e,t){var n,o=s.current,a=o?o.wrap:null;a&&(n=s._getPosition(t),e&&"scroll"===e.type?(delete n.position,a.stop(!0,!0).animate(n,200)):(a.css(n),o.pos=i.extend({},o.dim,n)))},update:function(e){var t=e&&e.type,i=!t||"orientationchange"===t;i&&(clearTimeout(c),c=null),s.isOpen&&!c&&(c=setTimeout(function(){var n=s.current;n&&!s.isClosing&&(s.wrap.removeClass("fancybox-tmp"),(i||"load"===t||"resize"===t&&n.autoResize)&&s._setDimension(),"scroll"===t&&n.canShrink||s.reposition(e),s.trigger("onUpdate"),c=null)},i&&!d?0:300))},toggle:function(e){s.isOpen&&(s.current.fitToView="boolean"===i.type(e)?e:!s.current.fitToView,d&&(s.wrap.removeAttr("style").addClass("fancybox-tmp"),s.trigger("onUpdate")),s.update())},hideLoading:function(){r.unbind(".loading"),i("#fancybox-loading").remove()},showLoading:function(){var e,t;s.hideLoading(),e=i('<div id="fancybox-loading"><div></div></div>').click(s.cancel).appendTo("body"),r.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),s.cancel())}),s.defaults.fixed||(t=s.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=s.current&&s.current.locked||!1,i={x:a.scrollLeft(),y:a.scrollTop()};return t?(i.w=t[0].clientWidth,i.h=t[0].clientHeight):(i.w=d&&e.innerWidth?e.innerWidth:a.width(),i.h=d&&e.innerHeight?e.innerHeight:a.height()),i},unbindEvents:function(){s.wrap&&p(s.wrap)&&s.wrap.unbind(".fb"),r.unbind(".fb"),a.unbind(".fb")},bindEvents:function(){var e,t=s.current;t&&(a.bind("orientationchange.fb"+(d?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),s.update),(e=t.keys)&&r.bind("keydown.fb",function(n){var o=n.which||n.keyCode,a=n.target||n.srcElement;if(27===o&&s.coming)return!1;n.ctrlKey||n.altKey||n.shiftKey||n.metaKey||a&&(a.type||i(a).is("[contenteditable]"))||i.each(e,function(e,a){return t.group.length>1&&void 0!==a[o]?(s[e](a[o]),n.preventDefault(),!1):i.inArray(o,a)>-1?(s[e](),n.preventDefault(),!1):void 0})}),i.fn.mousewheel&&t.mouseWheel&&s.wrap.bind("mousewheel.fb",function(e,n,o,a){for(var r=e.target||null,l=i(r),c=!1;l.length&&!(c||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)c=u(l[0]),l=i(l).parent();0===n||c||s.group.length>1&&!t.canShrink&&(a>0||o>0?s.prev(a>0?"down":"left"):(a<0||o<0)&&s.next(a<0?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var n,o=t||s.coming||s.current;if(o){if(i.isFunction(o[e])&&(n=o[e].apply(o,Array.prototype.slice.call(arguments,1))),!1===n)return!1;o.helpers&&i.each(o.helpers,function(t,n){n&&s.helpers[t]&&i.isFunction(s.helpers[t][e])&&s.helpers[t][e](i.extend(!0,{},s.helpers[t].defaults,n),o)}),r.trigger(e)}},isImage:function(e){return h(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return h(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,n,o,a,r,l={};if(e=g(e),!(t=s.group[e]||null))return!1;if(l=i.extend(!0,{},s.opts,t),a=l.margin,r=l.padding,"number"===i.type(a)&&(l.margin=[a,a,a,a]),"number"===i.type(r)&&(l.padding=[r,r,r,r]),l.modal&&i.extend(!0,l,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),l.autoSize&&(l.autoWidth=l.autoHeight=!0),"auto"===l.width&&(l.autoWidth=!0),"auto"===l.height&&(l.autoHeight=!0),l.group=s.group,l.index=e,s.coming=l,!1!==s.trigger("beforeLoad")){if(o=l.type,n=l.href,!o)return s.coming=null,!(!s.current||!s.router||"jumpto"===s.router)&&(s.current.index=e,s[s.router](s.direction));if(s.isActive=!0,"image"!==o&&"swf"!==o||(l.autoHeight=l.autoWidth=!1,l.scrolling="visible"),"image"===o&&(l.aspectRatio=!0),"iframe"===o&&d&&(l.scrolling="scroll"),l.wrap=i(l.tpl.wrap).addClass("fancybox-"+(d?"mobile":"desktop")+" fancybox-type-"+o+" fancybox-tmp "+l.wrapCSS).appendTo(l.parent||"body"),i.extend(l,{skin:i(".fancybox-skin",l.wrap),outer:i(".fancybox-outer",l.wrap),inner:i(".fancybox-inner",l.wrap)}),i.each(["Top","Right","Bottom","Left"],function(e,t){l.skin.css("padding"+t,m(l.padding[e]))}),s.trigger("onReady"),"inline"===o||"html"===o){if(!l.content||!l.content.length)return s._error("content")}else if(!n)return s._error("href");"image"===o?s._loadImage():"ajax"===o?s._loadAjax():"iframe"===o?s._loadIframe():s._afterLoad()}else s.coming=null},_error:function(e){i.extend(s.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:s.coming.tpl.error}),s._afterLoad()},_loadImage:function(){var e=s.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width/s.opts.pixelRatio,s.coming.height=this.height/s.opts.pixelRatio,s._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,s._error("image")},e.src=s.coming.href,!0!==e.complete&&s.showLoading()},_loadAjax:function(){var e=s.coming;s.showLoading(),s.ajaxLoad=i.ajax(i.extend({},e.ajax,{url:e.href,error:function(e,t){s.coming&&"abort"!==t?s._error("ajax",e):s.hideLoading()},success:function(t,i){"success"===i&&(e.content=t,s._afterLoad())}}))},_loadIframe:function(){var e=s.coming,t=i(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",d?"auto":e.iframe.scrolling).attr("src",e.href);i(e.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(s.showLoading(),t.one("load",function(){i(this).data("ready",1),d||i(this).bind("load.fb",s.update),i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),s._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||s._afterLoad()},_preloadImages:function(){var e,t,i=s.group,n=s.current,o=i.length,a=n.preload?Math.min(n.preload,o-1):0;for(t=1;t<=a;t+=1)"image"===(e=i[(n.index+t)%o]).type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,n,o,a,r,l=s.coming,c=s.current,d="fancybox-placeholder";if(s.hideLoading(),l&&!1!==s.isActive){if(!1===s.trigger("afterLoad",l,c))return l.wrap.stop(!0).trigger("onReset").remove(),void(s.coming=null);switch(c&&(s.trigger("beforeChange",c),c.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),s.unbindEvents(),e=l,t=l.content,n=l.type,o=l.scrolling,i.extend(s,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:c}),a=e.href,n){case"inline":case"ajax":case"html":e.selector?t=i("<div>").html(t).find(e.selector):p(t)&&(t.data(d)||t.data(d,i('<div class="'+d+'"></div>').insertAfter(t).hide()),t=t.show().detach(),e.wrap.bind("onReset",function(){i(this).find(t).length&&t.hide().replaceAll(t.data(d)).data(d,!1)}));break;case"image":t=e.tpl.image.replace("{href}",a);break;case"swf":t='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+a+'"></param>',r="",i.each(e.swf,function(e,i){t+='<param name="'+e+'" value="'+i+'"></param>',r+=" "+e+'="'+i+'"'}),t+='<embed src="'+a+'" type="application/x-shockwave-flash" width="100%" height="100%"'+r+"></embed></object>"}p(t)&&t.parent().is(e.inner)||e.inner.append(t),s.trigger("beforeShow"),e.inner.css("overflow","yes"===o?"scroll":"no"===o?"hidden":o),s._setDimension(),s.reposition(),s.isOpen=!1,s.coming=null,s.bindEvents(),s.isOpened?c.prevMethod&&s.transitions[c.prevMethod]():i(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),s.transitions[s.isOpened?e.nextMethod:e.openMethod](),s._preloadImages()}},_setDimension:function(){var e,t,n,o,a,r,l,c,d,p,h,u,y,x,v,w=s.getViewport(),b=0,k=!1,C=!1,S=s.wrap,O=s.skin,M=s.inner,T=s.current,W=T.width,_=T.height,E=T.minWidth,R=T.minHeight,L=T.maxWidth,A=T.maxHeight,P=T.scrolling,j=T.scrollOutside?T.scrollbarWidth:0,H=T.margin,I=g(H[1]+H[3]),D=g(H[0]+H[2]);if(S.add(O).add(M).width("auto").height("auto").removeClass("fancybox-tmp"),e=g(O.outerWidth(!0)-O.width()),t=g(O.outerHeight(!0)-O.height()),n=I+e,o=D+t,a=f(W)?(w.w-n)*g(W)/100:W,r=f(_)?(w.h-o)*g(_)/100:_,"iframe"===T.type){if(x=T.content,T.autoHeight&&1===x.data("ready"))try{x[0].contentWindow.document.location&&(M.width(a).height(9999),v=x.contents().find("body"),j&&v.css("overflow-x","hidden"),r=v.outerHeight(!0))}catch(e){}}else(T.autoWidth||T.autoHeight)&&(M.addClass("fancybox-tmp"),T.autoWidth||M.width(a),T.autoHeight||M.height(r),T.autoWidth&&(a=M.width()),T.autoHeight&&(r=M.height()),M.removeClass("fancybox-tmp"));if(W=g(a),_=g(r),d=a/r,E=g(f(E)?g(E,"w")-n:E),L=g(f(L)?g(L,"w")-n:L),R=g(f(R)?g(R,"h")-o:R),A=g(f(A)?g(A,"h")-o:A),l=L,c=A,T.fitToView&&(L=Math.min(w.w-n,L),A=Math.min(w.h-o,A)),u=w.w-I,y=w.h-D,T.aspectRatio?(W>L&&(_=g((W=L)/d)),_>A&&(W=g((_=A)*d)),W<E&&(_=g((W=E)/d)),_<R&&(W=g((_=R)*d))):(W=Math.max(E,Math.min(W,L)),T.autoHeight&&"iframe"!==T.type&&(M.width(W),_=M.height()),_=Math.max(R,Math.min(_,A))),T.fitToView)if(M.width(W).height(_),S.width(W+e),p=S.width(),h=S.height(),T.aspectRatio)for(;(p>u||h>y)&&W>E&&_>R&&!(b++>19);)_=Math.max(R,Math.min(A,_-10)),(W=g(_*d))<E&&(_=g((W=E)/d)),W>L&&(_=g((W=L)/d)),M.width(W).height(_),S.width(W+e),p=S.width(),h=S.height();else W=Math.max(E,Math.min(W,W-(p-u))),_=Math.max(R,Math.min(_,_-(h-y)));j&&"auto"===P&&_<r&&W+e+j<u&&(W+=j),M.width(W).height(_),S.width(W+e),p=S.width(),h=S.height(),k=(p>u||h>y)&&W>E&&_>R,C=T.aspectRatio?W<l&&_<c&&W<a&&_<r:(W<l||_<c)&&(W<a||_<r),i.extend(T,{dim:{width:m(p),height:m(h)},origWidth:a,origHeight:r,canShrink:k,canExpand:C,wPadding:e,hPadding:t,wrapSpace:h-O.outerHeight(!0),skinSpace:O.height()-_}),!x&&T.autoHeight&&_>R&&_<A&&!C&&M.height("auto")},_getPosition:function(e){var t=s.current,i=s.getViewport(),n=t.margin,o=s.wrap.width()+n[1]+n[3],a=s.wrap.height()+n[0]+n[2],r={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&a<=i.h&&o<=i.w?r.position="fixed":t.locked||(r.top+=i.y,r.left+=i.x),r.top=m(Math.max(r.top,r.top+(i.h-a)*t.topRatio)),r.left=m(Math.max(r.left,r.left+(i.w-o)*t.leftRatio)),r},_afterZoomIn:function(){var e=s.current;e&&(s.isOpen=s.isOpened=!0,s.wrap.css("overflow","visible").addClass("fancybox-opened"),s.update(),(e.closeClick||e.nextClick&&s.group.length>1)&&s.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||(t.preventDefault(),s[e.closeClick?"close":"next"]())}),e.closeBtn&&i(e.tpl.closeBtn).appendTo(s.skin).bind("click.fb",function(e){e.preventDefault(),s.close()}),e.arrows&&s.group.length>1&&((e.loop||e.index>0)&&i(e.tpl.prev).appendTo(s.outer).bind("click.fb",s.prev),(e.loop||e.index<s.group.length-1)&&i(e.tpl.next).appendTo(s.outer).bind("click.fb",s.next)),s.trigger("afterShow"),e.loop||e.index!==e.group.length-1?s.opts.autoPlay&&!s.player.isActive&&(s.opts.autoPlay=!1,s.play()):s.play(!1))},_afterZoomOut:function(e){e=e||s.current,i(".fancybox-wrap").trigger("onReset").remove(),i.extend(s,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),s.trigger("afterClose",e)}}),s.transitions={getOrigPosition:function(){var e=s.current,t=e.element,i=e.orig,n={},o=50,a=50,r=e.hPadding,l=e.wPadding,c=s.getViewport();return!i&&e.isDom&&t.is(":visible")&&((i=t.find("img:first")).length||(i=t)),p(i)?(n=i.offset(),i.is("img")&&(o=i.outerWidth(),a=i.outerHeight())):(n.top=c.y+(c.h-a)*e.topRatio,n.left=c.x+(c.w-o)*e.leftRatio),("fixed"===s.wrap.css("position")||e.locked)&&(n.top-=c.y,n.left-=c.x),n={top:m(n.top-r*e.topRatio),left:m(n.left-l*e.leftRatio),width:m(o+l),height:m(a+r)}},step:function(e,t){var i,n,o=t.prop,a=s.current,r=a.wrapSpace,l=a.skinSpace;"width"!==o&&"height"!==o||(i=t.end===t.start?1:(e-t.start)/(t.end-t.start),s.isClosing&&(i=1-i),n=e-("width"===o?a.wPadding:a.hPadding),s.skin[o](g("width"===o?n:n-r*i)),s.inner[o](g("width"===o?n:n-r*i-l*i)))},zoomIn:function(){var e=s.current,t=e.pos,n=e.openEffect,o="elastic"===n,a=i.extend({opacity:1},t);delete a.position,o?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===n&&(t.opacity=.1),s.wrap.css(t).animate(a,{duration:"none"===n?0:e.openSpeed,easing:e.openEasing,step:o?this.step:null,complete:s._afterZoomIn})},zoomOut:function(){var e=s.current,t=e.closeEffect,i="elastic"===t,n={opacity:.1};i&&(n=this.getOrigPosition(),e.closeOpacity&&(n.opacity=.1)),s.wrap.animate(n,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:i?this.step:null,complete:s._afterZoomOut})},changeIn:function(){var e,t=s.current,i=t.nextEffect,n=t.pos,o={opacity:1},a=s.direction;n.opacity=.1,"elastic"===i&&(e="down"===a||"up"===a?"top":"left","down"===a||"right"===a?(n[e]=m(g(n[e])-200),o[e]="+=200px"):(n[e]=m(g(n[e])+200),o[e]="-=200px")),"none"===i?s._afterZoomIn():s.wrap.css(n).animate(o,{duration:t.nextSpeed,easing:t.nextEasing,complete:s._afterZoomIn})},changeOut:function(){var e=s.previous,t=e.prevEffect,n={opacity:.1},o=s.direction;"elastic"===t&&(n["down"===o||"up"===o?"top":"left"]=("up"===o||"left"===o?"-":"+")+"=200px"),e.wrap.animate(n,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){i(this).trigger("onReset").remove()}})}},s.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!d,fixed:!0},overlay:null,fixed:!1,el:i("html"),create:function(e){e=i.extend({},this.defaults,e),this.overlay&&this.close(),this.overlay=i('<div class="fancybox-overlay"></div>').appendTo(s.coming?s.coming.parent:e.parent),this.fixed=!1,e.fixed&&s.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=i.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(a.bind("resize.overlay",i.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){if(i(e.target).hasClass("fancybox-overlay"))return s.isActive?s.close():t.close(),!1}),this.overlay.css(e.css).show()},close:function(){var e,t;a.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(i(".fancybox-margin").removeClass("fancybox-margin"),e=a.scrollTop(),t=a.scrollLeft(),this.el.removeClass("fancybox-lock"),a.scrollTop(e).scrollLeft(t)),i(".fancybox-overlay").remove().hide(),i.extend(this,{overlay:null,fixed:!1})},update:function(){var e,i="100%";this.overlay.width(i).height("100%"),l?(e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),r.width()>e&&(i=r.width())):r.width()>a.width()&&(i=r.width()),this.overlay.width(i).height(r.height())},onReady:function(e,t){var n=this.overlay;i(".fancybox-overlay").stop(!0,!0),n||this.create(e),e.locked&&this.fixed&&t.fixed&&(n||(this.margin=r.height()>a.height()&&i("html").css("margin-right").replace("px","")),t.locked=this.overlay.append(t.wrap),t.fixed=!1),!0===e.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n,o;t.locked&&(!1!==this.margin&&(i("*").filter(function(){return"fixed"===i(this).css("position")&&!i(this).hasClass("fancybox-overlay")&&!i(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),n=a.scrollTop(),o=a.scrollLeft(),this.el.addClass("fancybox-lock"),a.scrollTop(n).scrollLeft(o)),this.open(e)},onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!s.coming&&this.overlay.fadeOut(e.speedOut,i.proxy(this.close,this))}},s.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t,n,o=s.current,a=o.title,r=e.type;if(i.isFunction(a)&&(a=a.call(o.element,o)),h(a)&&""!==i.trim(a)){switch(t=i('<div class="fancybox-title fancybox-title-'+r+'-wrap">'+a+"</div>"),r){case"inside":n=s.skin;break;case"outside":n=s.wrap;break;case"over":n=s.inner;break;default:n=s.skin,t.appendTo("body"),l&&t.width(t.width()),t.wrapInner('<span class="child"></span>'),s.current.margin[2]+=Math.abs(g(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](n)}}},i.fn.fancybox=function(e){var t,n=i(this),o=this.selector||"",a=function(a){var r,l,c=i(this).blur(),d=t;a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||c.is(".fancybox-wrap")||(r=e.groupAttr||"data-fancybox-group",(l=c.attr(r))||(r="rel",l=c.get(0)[r]),l&&""!==l&&"nofollow"!==l&&(d=(c=(c=o.length?i(o):n).filter("["+r+'="'+l+'"]')).index(this)),e.index=d,!1!==s.open(c,e)&&a.preventDefault())};return e=e||{},t=e.index||0,o&&!1!==e.live?r.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a):n.unbind("click.fb-start").bind("click.fb-start",a),this.filter("[data-fancybox-start=1]").trigger("click"),this},r.ready(function(){var t,n;void 0===i.scrollbarWidth&&(i.scrollbarWidth=function(){var e=i('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),void 0===i.support.fixedPosition&&(i.support.fixedPosition=function(){var e=i('<div style="position:fixed;top:20px;"></div>').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop;return e.remove(),t}()),i.extend(s.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")}),t=i(e).width(),o.addClass("fancybox-lock-test"),n=i(e).width(),o.removeClass("fancybox-lock-test"),i("<style type='text/css'>.fancybox-margin{margin-right:"+(n-t)+"px;}</style>").appendTo("head")})}(window,document,jQuery);
--- a/src/pyams_skin/resources/js/ext/jquery-jsonrpc.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-jsonrpc.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function($,undefined){$.extend({jsonRPC:{version:"2.0",endPoint:null,namespace:null,setup:function(params){this._validateConfigParams(params);this.endPoint=params.endPoint;this.namespace=params.namespace;this.cache=params.cache!==undefined?params.cache:true;return this},withOptions:function(params,callback){this._validateConfigParams(params);if(callback===undefined){throw ("No callback specified")}origParams={endPoint:this.endPoint,namespace:this.namespace};this.setup(params);callback.call(this);this.setup(origParams)},request:function(method,options){if(options===undefined){options={id:1}}if(options.id===undefined){options.id=1}if(options.cache===undefined){options.cache=this.cache}this._validateRequestMethod(method);this._validateRequestParams(options.params);this._validateRequestCallbacks(options.success,options.error);this._doRequest(JSON.stringify(this._requestDataObj(method,options.params,options.id)),options);return true},batchRequest:function(requests,options){if(options===undefined){options={}}if(!$.isArray(requests)||requests.length===0){throw ("Invalid requests supplied for jsonRPC batchRequest. Must be an array object that contain at least a method attribute")}var _that=this;$.each(requests,function(i,req){_that._validateRequestMethod(req.method);_that._validateRequestParams(req.params);if(req.id===undefined){req.id=i+1}});this._validateRequestCallbacks(options.success,options.error);var data=[],request;for(var i=0;i<requests.length;i++){request=requests[i];data.push(this._requestDataObj(request.method,request.params,request.id))}this._doRequest(JSON.stringify(data),options)},_validateConfigParams:function(params){if(params===undefined){throw ("No params specified")}else{if(params.endPoint&&typeof(params.endPoint)!=="string"){throw ("endPoint must be a string")}if(params.namespace&&typeof(params.namespace)!=="string"){throw ("namespace must be a string")}}},_validateRequestMethod:function(method){if(typeof(method)!=="string"){throw ("Invalid method supplied for jsonRPC request")}return true},_validateRequestParams:function(params){if(!(params===null||params===undefined||typeof(params)==="object"||$.isArray(params))){throw ("Invalid params supplied for jsonRPC request. It must be empty, an object or an array.")}return true},_validateRequestCallbacks:function(success,error){if(success!==undefined&&typeof(success)!=="function"){throw ("Invalid success callback supplied for jsonRPC request")}if(error!==undefined&&typeof(error)!=="function"){throw ("Invalid error callback supplied for jsonRPC request")}return true},_doRequest:function(data,options){var _that=this;$.ajax({type:"POST",async:false!==options.async,dataType:"json",contentType:"application/json",url:this._requestUrl((options.endPoint||options.url),options.cache),data:data,cache:options.cache,processData:false,error:function(json){_that._requestError.call(_that,json,options.error)},success:function(json){_that._requestSuccess.call(_that,json,options.success,options.error)}})},_requestUrl:function(url,cache){url=url||this.endPoint;if(!cache){if(url.indexOf("?")<0){url+="?tm="+new Date().getTime()}else{url+="&tm="+new Date().getTime()}}return url},_requestDataObj:function(method,params,id){var dataObj={jsonrpc:this.version,method:this.namespace?this.namespace+"."+method:method,id:id};if(params!==undefined){dataObj.params=params}return dataObj},_requestError:function(json,error){if(error!==undefined&&typeof(error)==="function"){if(typeof(json.responseText)==="string"){try{error(eval("("+json.responseText+")"))}catch(e){error(this._response())}}else{error(this._response())}}},_requestSuccess:function(json,success,error){var response=this._response(json);if(response.error&&typeof(error)==="function"){error(response);return}if(typeof(success)==="function"){success(response)}},_response:function(json){if(json===undefined){return{error:"Internal server error",version:"2.0"}}else{try{if(typeof(json)==="string"){json=eval("("+json+")")}if(($.isArray(json)&&json.length>0&&json[0].jsonrpc!=="2.0")||(!$.isArray(json)&&json.jsonrpc!=="2.0")){throw"Version error"}return json}catch(e){return{error:"Internal server error: "+e,version:"2.0"}}}}}})})(jQuery);
\ No newline at end of file
+!function($,undefined){$.extend({jsonRPC:{version:"2.0",endPoint:null,namespace:null,setup:function(e){return this._validateConfigParams(e),this.endPoint=e.endPoint,this.namespace=e.namespace,this.cache=e.cache===undefined||e.cache,this},withOptions:function(e,t){if(this._validateConfigParams(e),t===undefined)throw"No callback specified";origParams={endPoint:this.endPoint,namespace:this.namespace},this.setup(e),t.call(this),this.setup(origParams)},request:function(e,t){return t===undefined&&(t={id:1}),t.id===undefined&&(t.id=1),t.cache===undefined&&(t.cache=this.cache),this._validateRequestMethod(e),this._validateRequestParams(t.params),this._validateRequestCallbacks(t.success,t.error),this._doRequest(JSON.stringify(this._requestDataObj(e,t.params,t.id)),t),!0},batchRequest:function(e,t){if(t===undefined&&(t={}),!$.isArray(e)||0===e.length)throw"Invalid requests supplied for jsonRPC batchRequest. Must be an array object that contain at least a method attribute";var n=this;$.each(e,function(e,t){n._validateRequestMethod(t.method),n._validateRequestParams(t.params),t.id===undefined&&(t.id=e+1)}),this._validateRequestCallbacks(t.success,t.error);for(var s,r=[],i=0;i<e.length;i++)s=e[i],r.push(this._requestDataObj(s.method,s.params,s.id));this._doRequest(JSON.stringify(r),t)},_validateConfigParams:function(e){if(e===undefined)throw"No params specified";if(e.endPoint&&"string"!=typeof e.endPoint)throw"endPoint must be a string";if(e.namespace&&"string"!=typeof e.namespace)throw"namespace must be a string"},_validateRequestMethod:function(e){if("string"!=typeof e)throw"Invalid method supplied for jsonRPC request";return!0},_validateRequestParams:function(e){if(null!==e&&e!==undefined&&"object"!=typeof e&&!$.isArray(e))throw"Invalid params supplied for jsonRPC request. It must be empty, an object or an array.";return!0},_validateRequestCallbacks:function(e,t){if(e!==undefined&&"function"!=typeof e)throw"Invalid success callback supplied for jsonRPC request";if(t!==undefined&&"function"!=typeof t)throw"Invalid error callback supplied for jsonRPC request";return!0},_doRequest:function(e,t){var n=this;$.ajax({type:"POST",async:!1!==t.async,dataType:"json",contentType:"application/json",url:this._requestUrl(t.endPoint||t.url,t.cache),data:e,cache:t.cache,processData:!1,error:function(e){n._requestError.call(n,e,t.error)},success:function(e){n._requestSuccess.call(n,e,t.success,t.error)}})},_requestUrl:function(e,t){return e=e||this.endPoint,t||(e.indexOf("?")<0?e+="?tm="+(new Date).getTime():e+="&tm="+(new Date).getTime()),e},_requestDataObj:function(e,t,n){var s={jsonrpc:this.version,method:this.namespace?this.namespace+"."+e:e,id:n};return t!==undefined&&(s.params=t),s},_requestError:function(json,error){if(error!==undefined&&"function"==typeof error)if("string"==typeof json.responseText)try{error(eval("("+json.responseText+")"))}catch(e){error(this._response())}else error(this._response())},_requestSuccess:function(e,t,n){var s=this._response(e);s.error&&"function"==typeof n?n(s):"function"==typeof t&&t(s)},_response:function(json){if(json===undefined)return{error:"Internal server error",version:"2.0"};try{if("string"==typeof json&&(json=eval("("+json+")")),$.isArray(json)&&json.length>0&&"2.0"!==json[0].jsonrpc||!$.isArray(json)&&"2.0"!==json.jsonrpc)throw"Version error";return json}catch(e){return{error:"Internal server error: "+e,version:"2.0"}}}}})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/jquery-maskedinput-1.4.1.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-maskedinput-1.4.1.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(e){var f,d=navigator.userAgent,c=/iphone/i.test(d),a=/chrome/i.test(d),b=/android/i.test(d);e.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"},e.fn.extend({caret:function(i,g){var h;if(0!==this.length&&!this.is(":hidden")){return"number"==typeof i?(g="number"==typeof g?g:i,this.each(function(){this.setSelectionRange?this.setSelectionRange(i,g):this.createTextRange&&(h=this.createTextRange(),h.collapse(!0),h.moveEnd("character",g),h.moveStart("character",i),h.select())})):(this[0].setSelectionRange?(i=this[0].selectionStart,g=this[0].selectionEnd):document.selection&&document.selection.createRange&&(h=document.selection.createRange(),i=0-h.duplicate().moveStart("character",-100000),g=i+h.text.length),{begin:i,end:g})}},unmask:function(){return this.trigger("unmask")},mask:function(q,j){var n,k,h,i,p,g,l,o;if(!q&&this.length>0){n=e(this[0]);var m=n.data(e.mask.dataName);return m?m():void 0}return j=e.extend({autoclear:e.mask.autoclear,placeholder:e.mask.placeholder,completed:null},j),k=e.mask.definitions,h=[],i=l=q.length,p=null,e.each(q.split(""),function(r,s){"?"==s?(l--,i=r):k[s]?(h.push(new RegExp(k[s])),null===p&&(p=h.length-1),i>r&&(g=h.length-1)):h.push(null)}),this.trigger("unmask").each(function(){function r(){if(j.completed){for(var I=p;g>=I;I++){if(h[I]&&w[I]===E(I)){return}}j.completed.call(F)}}function E(I){return j.placeholder.charAt(I<j.placeholder.length?I:0)}function D(I){for(;++I<l&&!h[I];){}return I}function y(I){for(;--I>=0&&!h[I];){}return I}function v(L,I){var K,J;if(!(0>L)){for(K=L,J=D(I);l>K;K++){if(h[K]){if(!(l>J&&h[K].test(w[J]))){break}w[K]=w[J],w[J]=E(J),J=D(J)}}C(),F.caret(Math.max(p,L))}}function s(M){var K,L,I,J;for(K=M,L=E(M);l>K;K++){if(h[K]){if(I=D(K),J=w[K],w[K]=L,!(l>I&&h[I].test(J))){break}L=J}}}function A(){var I=F.val(),J=F.caret();if(o&&o.length&&o.length>I.length){for(u(!0);J.begin>0&&!h[J.begin-1];){J.begin--}if(0===J.begin){for(;J.begin<p&&!h[J.begin];){J.begin++}}F.caret(J.begin,J.begin)}else{for(u(!0);J.begin<l&&!h[J.begin];){J.begin++}F.caret(J.begin,J.begin)}r()}function x(){u(),F.val()!=H&&F.change()}function z(L){if(!F.prop("readonly")){var M,K,I,J=L.which||L.keyCode;o=F.val(),8===J||46===J||c&&127===J?(M=F.caret(),K=M.begin,I=M.end,I-K===0&&(K=46!==J?y(K):I=D(K-1),I=46===J?D(I):I),t(K,I),v(K,I-1),L.preventDefault()):13===J?x.call(this,L):27===J&&(F.val(H),F.caret(0,u()),L.preventDefault())}}function G(M){if(!F.prop("readonly")){var L,O,K,I=M.which||M.keyCode,N=F.caret();if(!(M.ctrlKey||M.altKey||M.metaKey||32>I)&&I&&13!==I){if(N.end-N.begin!==0&&(t(N.begin,N.end),v(N.begin,N.end-1)),L=D(N.begin-1),l>L&&(O=String.fromCharCode(I),h[L].test(O))){if(s(L),w[L]=O,C(),K=D(L),b){var J=function(){e.proxy(e.fn.caret,F,K)()};setTimeout(J,0)}else{F.caret(K)}N.begin<=g&&r()}M.preventDefault()}}}function t(K,I){var J;for(J=K;I>J&&l>J;J++){h[J]&&(w[J]=E(J))}}function C(){F.val(w.join(""))}function u(J){var I,N,M,L=F.val(),K=-1;for(I=0,M=0;l>I;I++){if(h[I]){for(w[I]=E(I);M++<L.length;){if(N=L.charAt(M-1),h[I].test(N)){w[I]=N,K=I;break}}if(M>L.length){t(I+1,l);break}}else{w[I]===L.charAt(M)&&M++,i>I&&(K=I)}}return J?C():i>K+1?j.autoclear||w.join("")===B?(F.val()&&F.val(""),t(0,l)):C():(C(),F.val(F.val().substring(0,K+1))),i?I:p}var F=e(this),w=e.map(q.split(""),function(J,I){return"?"!=J?k[J]?E(I):J:void 0}),B=w.join(""),H=F.val();F.data(e.mask.dataName,function(){return e.map(w,function(J,I){return h[I]&&J!=E(I)?J:null}).join("")}),F.one("unmask",function(){F.off(".mask").removeData(e.mask.dataName)}).on("focus.mask",function(){if(!F.prop("readonly")){clearTimeout(f);var I;H=F.val(),I=u(),f=setTimeout(function(){F.get(0)===document.activeElement&&(C(),I==q.replace("?","").length?F.caret(0,I):F.caret(I))},10)}}).on("blur.mask",x).on("keydown.mask",z).on("keypress.mask",G).on("input.mask paste.mask",function(){F.prop("readonly")||setTimeout(function(){var I=u(!0);F.caret(I),r()},0)}),a&&b&&F.off("input.mask").on("input.mask",A),u()})}})});
\ No newline at end of file
+!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t,n=navigator.userAgent,a=/iphone/i.test(n),i=/chrome/i.test(n),r=/android/i.test(n);e.mask={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"},e.fn.extend({caret:function(e,t){var n;if(0!==this.length&&!this.is(":hidden"))return"number"==typeof e?(t="number"==typeof t?t:e,this.each(function(){this.setSelectionRange?this.setSelectionRange(e,t):this.createTextRange&&((n=this.createTextRange()).collapse(!0),n.moveEnd("character",t),n.moveStart("character",e),n.select())})):(this[0].setSelectionRange?(e=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(n=document.selection.createRange(),e=0-n.duplicate().moveStart("character",-1e5),t=e+n.text.length),{begin:e,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(n,o){var c,l,u,f,s,h,g,m;if(!n&&this.length>0){var d=(c=e(this[0])).data(e.mask.dataName);return d?d():void 0}return o=e.extend({autoclear:e.mask.autoclear,placeholder:e.mask.placeholder,completed:null},o),l=e.mask.definitions,u=[],f=g=n.length,s=null,e.each(n.split(""),function(e,t){"?"==t?(g--,f=e):l[t]?(u.push(new RegExp(l[t])),null===s&&(s=u.length-1),f>e&&(h=u.length-1)):u.push(null)}),this.trigger("unmask").each(function(){function c(){if(o.completed){for(var e=s;h>=e;e++)if(u[e]&&A[e]===d(e))return;o.completed.call(S)}}function d(e){return o.placeholder.charAt(e<o.placeholder.length?e:0)}function p(e){for(;++e<g&&!u[e];);return e}function v(e){for(;--e>=0&&!u[e];);return e}function b(e,t){var n,a;if(!(0>e)){for(n=e,a=p(t);g>n;n++)if(u[n]){if(!(g>a&&u[n].test(A[a])))break;A[n]=A[a],A[a]=d(a),a=p(a)}j(),S.caret(Math.max(s,e))}}function k(e){var t,n,a,i;for(t=e,n=d(e);g>t;t++)if(u[t]){if(a=p(t),i=A[t],A[t]=n,!(g>a&&u[a].test(i)))break;n=i}}function y(){R(),S.val()!=w&&S.change()}function x(e,t){var n;for(n=e;t>n&&g>n;n++)u[n]&&(A[n]=d(n))}function j(){S.val(A.join(""))}function R(e){var t,n,a,i=S.val(),r=-1;for(t=0,a=0;g>t;t++)if(u[t]){for(A[t]=d(t);a++<i.length;)if(n=i.charAt(a-1),u[t].test(n)){A[t]=n,r=t;break}if(a>i.length){x(t+1,g);break}}else A[t]===i.charAt(a)&&a++,f>t&&(r=t);return e?j():f>r+1?o.autoclear||A.join("")===T?(S.val()&&S.val(""),x(0,g)):j():(j(),S.val(S.val().substring(0,r+1))),f?t:s}var S=e(this),A=e.map(n.split(""),function(e,t){return"?"!=e?l[e]?d(t):e:void 0}),T=A.join(""),w=S.val();S.data(e.mask.dataName,function(){return e.map(A,function(e,t){return u[t]&&e!=d(t)?e:null}).join("")}),S.one("unmask",function(){S.off(".mask").removeData(e.mask.dataName)}).on("focus.mask",function(){if(!S.prop("readonly")){clearTimeout(t);var e;w=S.val(),e=R(),t=setTimeout(function(){S.get(0)===document.activeElement&&(j(),e==n.replace("?","").length?S.caret(0,e):S.caret(e))},10)}}).on("blur.mask",y).on("keydown.mask",function(e){if(!S.prop("readonly")){var t,n,i,r=e.which||e.keyCode;m=S.val(),8===r||46===r||a&&127===r?(t=S.caret(),n=t.begin,(i=t.end)-n==0&&(n=46!==r?v(n):i=p(n-1),i=46===r?p(i):i),x(n,i),b(n,i-1),e.preventDefault()):13===r?y.call(this,e):27===r&&(S.val(w),S.caret(0,R()),e.preventDefault())}}).on("keypress.mask",function(t){if(!S.prop("readonly")){var n,a,i,o=t.which||t.keyCode,l=S.caret();t.ctrlKey||t.altKey||t.metaKey||32>o||!o||13===o||(l.end-l.begin!=0&&(x(l.begin,l.end),b(l.begin,l.end-1)),n=p(l.begin-1),g>n&&(a=String.fromCharCode(o),u[n].test(a))&&(k(n),A[n]=a,j(),i=p(n),r?setTimeout(function(){e.proxy(e.fn.caret,S,i)()},0):S.caret(i),l.begin<=h&&c()),t.preventDefault())}}).on("input.mask paste.mask",function(){S.prop("readonly")||setTimeout(function(){var e=R(!0);S.caret(e),c()},0)}),i&&r&&S.off("input.mask").on("input.mask",function(){var e=S.val(),t=S.caret();if(m&&m.length&&m.length>e.length){for(R(!0);t.begin>0&&!u[t.begin-1];)t.begin--;if(0===t.begin)for(;t.begin<s&&!u[t.begin];)t.begin++;S.caret(t.begin,t.begin)}else{for(R(!0);t.begin<g&&!u[t.begin];)t.begin++;S.caret(t.begin,t.begin)}c()}),R()})}})});
--- a/src/pyams_skin/resources/js/ext/jquery-typeahead.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-typeahead.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,6 +1,1 @@
-/*
- * typeahead.js 0.10.0
- * https://github.com/twitter/typeahead.js
- * Copyright 2013 Twitter, Inc. and other contributors; Licensed MIT
- */
-(function(c){var r={isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:false},isBlankString:function(t){return !t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return typeof t==="string"},isNumber:function(t){return typeof t==="number"},isArray:c.isArray,isFunction:c.isFunction,isObject:c.isPlainObject,isUndefined:function(t){return typeof t==="undefined"},bind:c.proxy,each:function(v,t){c.each(v,u);function u(w,x){return t(x,w)}},map:c.map,filter:c.grep,every:function(u,v){var t=true;if(!u){return t}c.each(u,function(w,x){if(!(t=v.call(null,x,w,u))){return false}});return !!t},some:function(u,v){var t=false;if(!u){return t}c.each(u,function(w,x){if(t=v.call(null,x,w,u)){return false}});return !!t},mixin:c.extend,getUniqueId:function(){var t=0;return function(){return t++}}(),templatify:function f(u){return c.isFunction(u)?u:t;function t(){return String(u)}},defer:function(t){setTimeout(t,0)},debounce:function(v,x,u){var w,t;return function(){var B=this,A=arguments,z,y;z=function(){w=null;if(!u){t=v.apply(B,A)}};y=u&&!w;clearTimeout(w);w=setTimeout(z,x);if(y){t=v.apply(B,A)}return t}},throttle:function(y,A){var w,v,z,t,x,u;x=0;u=function(){x=new Date();z=null;t=y.apply(w,v)};return function(){var B=new Date(),C=A-(B-x);w=this;v=arguments;if(C<=0){clearTimeout(z);z=null;x=B;t=y.apply(w,v)}else{if(!z){z=setTimeout(u,C)}}return t}},noop:function(){}};var o="0.10.0";var e=function(x,u){function B(C){this.maxSize=C||100;this.size=0;this.hash={};this.list=new A()}r.mixin(B.prototype,{set:function y(C,F){var E=this.list.tail,D;if(this.size>=this.maxSize){this.list.remove(E);delete this.hash[E.key]}if(D=this.hash[C]){D.val=F;this.list.moveToFront(D)}else{D=new w(C,F);this.list.add(D);this.hash[C]=D;this.size++}},get:function t(C){var D=this.hash[C];if(D){this.list.moveToFront(D);return D.val}}});function A(){this.head=this.tail=null}r.mixin(A.prototype,{add:function z(C){if(this.head){C.next=this.head;this.head.prev=C}this.head=C;this.tail=this.tail||C},remove:function v(C){C.prev?C.prev.next=C.next:this.head=C.next;C.next?C.next.prev=C.prev:this.tail=C.prev},moveToFront:function(C){this.remove(C);this.add(C)}});function w(C,D){this.key=C;this.val=D;this.prev=this.next=null}return B}(this);var p=function(){var t,u;try{t=window.localStorage;t.setItem("~~~","!");t.removeItem("~~~")}catch(y){t=null}function w(A){this.prefix=["__",A,"__"].join("");this.ttlKey="__ttl__";this.keyMatcher=new RegExp("^"+this.prefix)}if(t&&window.JSON){u={_prefix:function(A){return this.prefix+A},_ttlKey:function(A){return this._prefix(A)+this.ttlKey},get:function(A){if(this.isExpired(A)){this.remove(A)}return z(t.getItem(this._prefix(A)))},set:function(B,C,A){if(r.isNumber(A)){t.setItem(this._ttlKey(B),x(v()+A))}else{t.removeItem(this._ttlKey(B))}return t.setItem(this._prefix(B),x(C))},remove:function(A){t.removeItem(this._ttlKey(A));t.removeItem(this._prefix(A));return this},clear:function(){var C,B,D=[],A=t.length;for(C=0;C<A;C++){if((B=t.key(C)).match(this.keyMatcher)){D.push(B.replace(this.keyMatcher,""))}}for(C=D.length;C--;){this.remove(D[C])}return this},isExpired:function(B){var A=z(t.getItem(this._ttlKey(B)));return r.isNumber(A)&&v()>A?true:false}}}else{u={get:r.noop,set:r.noop,remove:r.noop,clear:r.noop,isExpired:r.noop}}r.mixin(w.prototype,u);return w;function v(){return new Date().getTime()}function x(A){return JSON.stringify(r.isUndefined(A)?null:A)}function z(A){return JSON.parse(A)}}();var q=function(){var v=0,w={},t=6,z=new e(10);function A(B){B=B||{};this._send=B.send?x(B.send):c.ajax;this._get=B.rateLimiter?B.rateLimiter(this._get):this._get}A.setMaxPendingRequests=function u(B){t=B};A.resetCache=function y(){z=new e(10)};r.mixin(A.prototype,{_get:function(E,H,C){var G=this,F;if(F=w[E]){F.done(D)}else{if(v<t){v++;w[E]=this._send(E,H).done(D).always(B)}else{this.onDeckRequestArgs=[].slice.call(arguments,0)}}function D(I){C&&C(I);z.set(E,I)}function B(){v--;delete w[E];if(G.onDeckRequestArgs){G._get.apply(G,G.onDeckRequestArgs);G.onDeckRequestArgs=null}}},get:function(C,F,B){var D=this,E;if(r.isFunction(F)){B=F;F={}}if(E=z.get(C)){r.defer(function(){B&&B(E)})}else{this._get(C,F,B)}return !!E}});return A;function x(B){return function C(E,H){var D=c.Deferred();B(E,H,G,F);return D;function G(I){r.defer(function(){D.resolve(I)})}function F(I){r.defer(function(){D.reject(I)})}}}}();var k=function(){function y(B){B=B||{};if(!B.datumTokenizer||!B.queryTokenizer){c.error("datumTokenizer and queryTokenizer are both required")}this.datumTokenizer=B.datumTokenizer;this.queryTokenizer=B.queryTokenizer;this.datums=[];this.trie=v()}r.mixin(y.prototype,{bootstrap:function w(B){this.datums=B.datums;this.trie=B.trie},add:function(C){var B=this;C=r.isArray(C)?C:[C];r.each(C,function(D){var F,E;F=B.datums.push(D)-1;E=t(B.datumTokenizer(D));r.each(E,function(G){var K,J,I,H;K=B.trie;J=G.split("");while(I=J.shift()){K=K.children[I]||(K.children[I]=v());K.ids.push(F)}})})},get:function u(D){var B=this,E,C;E=t(this.queryTokenizer(D));r.each(E,function(F){var J,I,H,G;if(C&&C.length===0){return false}J=B.trie;I=F.split("");while(J&&(H=I.shift())){J=J.children[H]}if(J&&I.length===0){G=J.ids.slice(0);C=C?z(C,G):G}else{C=[];return false}});return C?r.map(A(C),function(F){return B.datums[F]}):[]},serialize:function x(){return{datums:this.datums,trie:this.trie}}});return y;function t(B){B=r.filter(B,function(C){return !!C});B=r.map(B,function(C){return C.toLowerCase()});return B}function v(){return{ids:[],children:{}}}function A(E){var B={},D=[];for(var C=0;C<E.length;C++){if(!B[E[C]]){B[E[C]]=true;D.push(E[C])}}return D}function z(E,C){var B=0,D=0,G=[];E=E.sort(F);C=C.sort(F);while(B<E.length&&D<C.length){if(E[B]<C[D]){B++}else{if(E[B]>C[D]){D++}else{G.push(E[B]);B++;D++}}}return G;function F(I,H){return I-H}}}();var h=function(){return{local:v,prefetch:t,remote:u};function v(w){return w.local||null}function t(y){var x,w;w={url:null,thumbprint:"",ttl:24*60*60*1000,filter:null,ajax:{}};if(x=y.prefetch||null){x=r.isString(x)?{url:x}:x;x=r.mixin(w,x);x.thumbprint=o+x.thumbprint;x.ajax.method=x.ajax.method||"get";x.ajax.dataType=x.ajax.dataType||"json";!x.url&&c.error("prefetch requires url to be set")}return x}function u(A){var y,z;z={url:null,wildcard:"%QUERY",replace:null,rateLimitBy:"debounce",rateLimitWait:300,send:null,filter:null,ajax:{}};if(y=A.remote||null){y=r.isString(y)?{url:y}:y;y=r.mixin(z,y);y.rateLimiter=/^throttle$/i.test(y.rateLimitBy)?x(y.rateLimitWait):w(y.rateLimitWait);y.ajax.method=y.ajax.method||"get";y.ajax.dataType=y.ajax.dataType||"json";delete y.rateLimitBy;delete y.rateLimitWait;!y.url&&c.error("remote requires url to be set")}return y;function w(B){return function(C){return r.debounce(C,B)}}function x(B){return function(C){return r.throttle(C,B)}}}}();var a=window.Bloodhound=function(){var G;G={data:"data",protocol:"protocol",thumbprint:"thumbprint"};function A(H){if(!H||!H.local&&!H.prefetch&&!H.remote){c.error("one of local, prefetch, or remote is required")}this.limit=H.limit||5;this.sorter=H.sorter||C;this.dupDetector=H.dupDetector||v;this.local=h.local(H);this.prefetch=h.prefetch(H);this.remote=h.remote(H);this.cacheKey=this.prefetch?this.prefetch.cacheKey||this.prefetch.url:null;this.index=new k({datumTokenizer:H.datumTokenizer,queryTokenizer:H.queryTokenizer});this.storage=this.cacheKey?new p(this.cacheKey):null}A.tokenizers={whitespace:function x(H){return H.split(/\s+/)},nonword:function z(H){return H.split(/\W+/)}};r.mixin(A.prototype,{_loadPrefetch:function t(L){var I=this,K,H;if(K=this._readFromStorage(L.thumbprint)){this.index.bootstrap(K);H=c.Deferred().resolve()}else{H=c.ajax(L.url,L.ajax).done(J)}return H;function J(N){var M;M=L.filter?L.filter(N):N;I.add(M);I._saveToStorage(I.index.serialize(),L.thumbprint,L.ttl)}},_getFromRemote:function u(M,H){var L=this,J,K;M=M||"";K=encodeURIComponent(M);J=this.remote.replace?this.remote.replace(this.remote.url,M):this.remote.url.replace(this.remote.wildcard,K);return this.transport.get(J,this.remote.ajax,I);function I(O){var N=L.remote.filter?L.remote.filter(O):O;H(N)}},_saveToStorage:function D(J,I,H){if(this.storage){this.storage.set(G.data,J,H);this.storage.set(G.protocol,location.protocol,H);this.storage.set(G.thumbprint,I,H)}},_readFromStorage:function F(I){var H={};if(this.storage){H.data=this.storage.get(G.data);H.protocol=this.storage.get(G.protocol);H.thumbprint=this.storage.get(G.thumbprint)}isExpired=H.thumbprint!==I||H.protocol!==location.protocol;return H.data&&!isExpired?H.data:null},initialize:function y(){var K=this,I;I=this.prefetch?this._loadPrefetch(this.prefetch):c.Deferred().resolve();this.local&&I.done(J);this.transport=this.remote?new q(this.remote):null;this.initialize=function H(){return I.promise()};return I.promise();function J(){K.add(K.local)}},add:function E(H){this.index.add(H)},get:function w(L,H){var J=this,K,I=false;K=this.index.get(L).sort(this.sorter).slice(0,this.limit);if(K.length<this.limit&&this.transport){I=this._getFromRemote(L,M)}!I&&H&&H(K);function M(O){var N=K.slice(0);r.each(O,function(Q){var P;P=r.some(N,function(R){return J.dupDetector(Q,R)});!P&&N.push(Q);return N.length<J.limit});H&&H(N.sort(J.sorter))}},ttAdapter:function B(){return r.bind(this.get,this)}});return A;function C(){return 0}function v(){return false}}();var j={wrapper:'<span class="twitter-typeahead"></span>',dropdown:'<span class="tt-dropdown-menu"></span>',dataset:'<div class="tt-dataset-%CLASS%"></div>',suggestions:'<span class="tt-suggestions"></span>',suggestion:'<div class="tt-suggestion">%BODY%</div>'};var i={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};if(r.isMsie()){r.mixin(i.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"})}if(r.isMsie()&&r.isMsie()<=7){r.mixin(i.input,{marginTop:"-1px"})}var b=function(){var u="typeahead:";function t(v){if(!v||!v.el){c.error("EventBus initialized without el")}this.$el=c(v.el)}r.mixin(t.prototype,{trigger:function(w){var v=[].slice.call(arguments,1);this.$el.trigger(u+w,v)}});return t}();var g=function(){var v=/\s+/,z=t();return{onSync:A,onAsync:u,off:w,trigger:x};function B(H,F,D,E){var G;if(!D){return this}F=F.split(v);D=E?C(D,E):D;this._callbacks=this._callbacks||{};while(G=F.shift()){this._callbacks[G]=this._callbacks[G]||{sync:[],async:[]};this._callbacks[G][H].push(D)}return this}function u(F,D,E){return B.call(this,"async",F,D,E)}function A(F,D,E){return B.call(this,"sync",F,D,E)}function w(D){var E;if(!this._callbacks){return this}D=D.split(v);while(E=D.shift()){delete this._callbacks[E]}return this}function x(E){var H=this,F,G,D,I,J;if(!this._callbacks){return this}E=E.split(v);D=[].slice.call(arguments,1);while((F=E.shift())&&(G=this._callbacks[F])){I=y(G.sync,this,[F].concat(D));J=y(G.async,this,[F].concat(D));I()&&z(J)}return this}function y(G,F,E){return D;function D(){var I;for(var H=0;!I&&H<G.length;H+=1){I=G[H].apply(F,E)===false}return !I}}function t(){var E,G;if(window.setImmediate){E=function F(H){setImmediate(function(){H()})}}else{E=function D(H){setTimeout(function(){H()},0)}}return E}function C(E,D){return E.bind?E.bind(D):function(){E.apply(D,[].slice.call(arguments,0))}}}();var d=function(w){var v={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:false,caseSensitive:false};return function u(A){var x;A=r.mixin({},v,A);if(!A.node||!A.pattern){return}A.pattern=r.isArray(A.pattern)?A.pattern:[A.pattern];x=t(A.pattern,A.caseSensitive,A.wordsOnly);y(A.node,z);function z(D){var C,B;if(C=x.exec(D.data)){wrapperNode=w.createElement(A.tagName);A.className&&(wrapperNode.className=A.className);B=D.splitText(C.index);B.splitText(C[0].length);wrapperNode.appendChild(B.cloneNode(true));D.parentNode.replaceChild(wrapperNode,B)}return !!C}function y(E,F){var C,D=3;for(var B=0;B<E.childNodes.length;B++){C=E.childNodes[B];if(C.nodeType===D){B+=F(C)?1:0}else{y(C,F)}}}};function t(z,x,C){var B=[],A;for(var y=0;y<z.length;y++){B.push(r.escapeRegExChars(z[y]))}A=C?"\\b("+B.join("|")+")\\b":"("+B.join("|")+")";return x?new RegExp(A):new RegExp(A,"i")}}(window.document);var m=function(){var O;O={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};function L(X){var V=this,W,S,U,T;X=X||{};if(!X.input){c.error("input is missing")}W=r.bind(this._onBlur,this);S=r.bind(this._onFocus,this);U=r.bind(this._onKeydown,this);T=r.bind(this._onInput,this);this.$hint=c(X.hint);this.$input=c(X.input).on("blur.tt",W).on("focus.tt",S).on("keydown.tt",U);if(this.$hint.length===0){this.setHintValue=this.getHintValue=this.clearHint=r.noop}if(!r.isMsie()){this.$input.on("input.tt",T)}else{this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(Y){if(O[Y.which||Y.keyCode]){return}r.defer(r.bind(V._onInput,V,Y))})}this.query=this.$input.val();this.$overflowHelper=E(this.$input)}L.normalizeQuery=function(S){return(S||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")};r.mixin(L.prototype,g,{_onBlur:function C(S){this.resetInputValue();this.trigger("blurred")},_onFocus:function v(S){this.trigger("focused")},_onKeydown:function Q(S){var T=O[S.which||S.keyCode];this._managePreventDefault(T,S);if(T&&this._shouldTrigger(T,S)){this.trigger(T+"Keyed",S)}},_onInput:function t(S){this._checkInputValue()},_managePreventDefault:function x(W,V){var U,T,S;switch(W){case"tab":T=this.getHintValue();S=this.getInputValue();U=T&&T!==S&&!F(V);break;case"up":case"down":U=!F(V);break;default:U=false}U&&V.preventDefault()},_shouldTrigger:function R(U,T){var S;switch(U){case"tab":S=!F(T);break;default:S=true}return S},_checkInputValue:function z(){var S,T,U;S=this.getInputValue();T=B(S,this.query);U=T?this.query.length!==S.length:false;if(!T){this.trigger("queryChanged",this.query=S)}else{if(U){this.trigger("whitespaceChanged",this.query)}}},focus:function H(){this.$input.focus()},blur:function M(){this.$input.blur()},getQuery:function J(){return this.query},setQuery:function I(S){this.query=S},getInputValue:function w(){return this.$input.val()},setInputValue:function A(T,S){this.$input.val(T);!S&&this._checkInputValue()},getHintValue:function N(){return this.$hint.val()},setHintValue:function y(S){this.$hint.val(S)},resetInputValue:function u(){this.$input.val(this.query)},clearHint:function D(){this.$hint.val("")},getLanguageDirection:function G(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function K(){var S=this.$input.width()-2;this.$overflowHelper.text(this.getInputValue());return this.$overflowHelper.width()>=S},isCursorAtEnd:function(){var T,U,S;T=this.$input.val().length;U=this.$input[0].selectionStart;if(r.isNumber(U)){return U===T}else{if(document.selection){S=document.selection.createRange();S.moveStart("character",-T);return T===S.text.length}}return true},destroy:function P(){this.$hint.off(".tt");this.$input.off(".tt");this.$hint=this.$input=this.$overflowHelper=null}});return L;function E(S){return c('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"nowrap",fontFamily:S.css("font-family"),fontSize:S.css("font-size"),fontStyle:S.css("font-style"),fontVariant:S.css("font-variant"),fontWeight:S.css("font-weight"),wordSpacing:S.css("word-spacing"),letterSpacing:S.css("letter-spacing"),textIndent:S.css("text-indent"),textRendering:S.css("text-rendering"),textTransform:S.css("text-transform")}).insertAfter(S)}function B(T,S){return L.normalizeQuery(T)===L.normalizeQuery(S)}function F(S){return S.altKey||S.ctrlKey||S.metaKey||S.shiftKey}}();var s=function(){var u="ttDataset",F="ttValue",A="ttDatum";function t(G){G=G||{};G.templates=G.templates||{};if(!G.source){c.error("missing source")}this.query=null;this.highlight=!!G.highlight;this.name=G.name||r.getUniqueId();this.source=G.source;this.valueKey=G.displayKey||"value";this.templates=w(G.templates,this.valueKey);this.$el=c(j.dataset.replace("%CLASS%",this.name))}t.extractDatasetName=function E(G){return c(G).data(u)};t.extractValue=function B(G){return c(G).data(F)};t.extractDatum=function B(G){return c(G).data(A)};r.mixin(t.prototype,g,{_render:function v(M,G){if(!this.$el){return}var L=this,I;this.$el.empty();I=G&&G.length;if(!I&&this.templates.empty){this.$el.html(H()).prepend(L.templates.header?K():null).append(L.templates.footer?J():null)}else{if(I){this.$el.html(N()).prepend(L.templates.header?K():null).append(L.templates.footer?J():null)}}this.trigger("rendered");function H(){return L.templates.empty({query:M})}function N(){var O;O=c(j.suggestions).css(i.suggestions).append(r.map(G,P));L.highlight&&d({node:O[0],pattern:M});return O;function P(S){var T,R,Q;R=L.templates.suggestion(S);Q=j.suggestion.replace("%BODY%",R);T=c(Q).data(u,L.name).data(F,S[L.valueKey]).data(A,S);T.children().each(function(){c(this).css(i.suggestionChild)});return T}}function K(){return L.templates.header({query:M,isEmpty:!I})}function J(){return L.templates.footer({query:M,isEmpty:!I})}},getRoot:function C(){return this.$el},update:function x(I){var H=this;this.query=I;this.source(I,G);function G(J){I===H.query&&H._render(I,J)}},clear:function z(){this._render(this.query||"")},isEmpty:function y(){return this.$el.is(":empty")},destroy:function D(){this.$el=null}});return t;function w(H,I){return{empty:H.empty&&r.templatify(H.empty),header:H.header&&r.templatify(H.header),footer:H.footer&&r.templatify(H.footer),suggestion:H.suggestion||G};function G(J){return"<p>"+J[I]+"</p>"}}}();var n=function(){function N(Z){var W=this,X,T,U,Y,V;Z=Z||{};if(!Z.menu){c.error("menu is required")}this.isOpen=false;this.isEmpty=true;this.isMouseOverDropdown=false;this.datasets=r.map(Z.datasets,D);X=r.bind(this._onMouseEnter,this);T=r.bind(this._onMouseLeave,this);U=r.bind(this._onSuggestionClick,this);Y=r.bind(this._onSuggestionMouseEnter,this);V=r.bind(this._onSuggestionMouseLeave,this);this.$menu=c(Z.menu).on("mouseenter.tt",X).on("mouseleave.tt",T).on("click.tt",".tt-suggestion",U).on("mouseenter.tt",".tt-suggestion",Y).on("mouseleave.tt",".tt-suggestion",V);r.each(this.datasets,function(aa){W.$menu.append(aa.getRoot());aa.onSync("rendered",W._onRendered,W)})}r.mixin(N.prototype,g,{_onMouseEnter:function F(T){this.isMouseOverDropdown=true},_onMouseLeave:function S(T){this.isMouseOverDropdown=false},_onSuggestionClick:function M(T){this.trigger("suggestionClicked",c(T.currentTarget))},_onSuggestionMouseEnter:function t(T){this._removeCursor();this._setCursor(c(T.currentTarget),true)},_onSuggestionMouseLeave:function H(T){this._removeCursor()},_onRendered:function z(){this.isEmpty=r.every(this.datasets,T);this.isEmpty?this._hide():this.isOpen&&this._show();this.trigger("datasetRendered");function T(U){return U.isEmpty()}},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function y(){return this.$menu.find(".tt-suggestion")},_getCursor:function w(){return this.$menu.find(".tt-cursor").first()},_setCursor:function P(U,T){U.first().addClass("tt-cursor");!T&&this.trigger("cursorMoved")},_removeCursor:function v(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function u(T){var V,U,X,W;if(!this.isOpen){return}U=this._getCursor();V=this._getSuggestions();this._removeCursor();X=V.index(U)+T;X=(X+1)%(V.length+1)-1;if(X===-1){this.trigger("cursorRemoved");return}else{if(X<-1){X=V.length-1}}this._setCursor(W=V.eq(X));this._ensureVisible(W)},_ensureVisible:function L(W){var T,V,U,X;T=W.position().top;V=T+W.outerHeight(true);U=this.$menu.scrollTop();X=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10);if(T<0){this.$menu.scrollTop(U+T)}else{if(X<V){this.$menu.scrollTop(U+(V-X))}}},close:function I(){if(this.isOpen){this.isOpen=this.isMouseOverDropdown=false;this._removeCursor();this._hide();this.trigger("closed")}},open:function G(){if(!this.isOpen){this.isOpen=true;!this.isEmpty&&this._show();this.trigger("opened")}},setLanguageDirection:function Q(T){this.$menu.css(T==="ltr"?i.ltr:i.rtl)},moveCursorUp:function A(){this._moveCursor(-1)},moveCursorDown:function R(){this._moveCursor(+1)},getDatumForSuggestion:function C(U){var T=null;if(U.length){T={raw:s.extractDatum(U),value:s.extractValue(U),datasetName:s.extractDatasetName(U)}}return T},getDatumForCursor:function x(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function K(){return this.getDatumForSuggestion(this._getSuggestions().first())},update:function B(T){r.each(this.datasets,U);function U(V){V.update(T)}},empty:function E(){r.each(this.datasets,T);function T(U){U.clear()}},isVisible:function J(){return this.isOpen&&!this.isEmpty},destroy:function O(){this.$menu.off(".tt");this.$menu=null;r.each(this.datasets,T);function T(U){U.destroy()}}});return N;function D(T){return new s(T)}}();var l=function(){var U="ttAttrs";function C(ab){var aa,ac,Z,Y;ab=ab||{};if(!ab.input){c.error("missing input")}this.autoselect=!!ab.autoselect;this.minLength=r.isNumber(ab.minLength)?ab.minLength:1;this.$node=F(ab.input,ab.withHint);aa=this.$node.find(".tt-dropdown-menu");ac=this.$node.find(".tt-input");Z=this.$node.find(".tt-hint");this.eventBus=ab.eventBus||new b({el:ac});this.dropdown=new n({menu:aa,datasets:ab.datasets}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this);this.input=new m({input:ac,hint:Z}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this);aa.on("mousedown.tt",function(ad){if(r.isMsie()&&r.isMsie()<9){ac[0].onbeforedeactivate=function(){window.event.returnValue=false;ac[0].onbeforedeactivate=null}}ad.preventDefault()})}r.mixin(C.prototype,{_onSuggestionClicked:function u(aa,Z){var Y;if(Y=this.dropdown.getDatumForSuggestion(Z)){this._select(Y)}},_onCursorMoved:function P(){var Y=this.dropdown.getDatumForCursor();this.input.clearHint();this.input.setInputValue(Y.value,true);this.eventBus.trigger("cursorchanged",Y.raw,Y.datasetName)},_onCursorRemoved:function x(){this.input.resetInputValue();this._updateHint()},_onDatasetRendered:function L(){this._updateHint()},_onOpened:function v(){this._updateHint();this.eventBus.trigger("opened")},_onClosed:function A(){this.input.clearHint();this.eventBus.trigger("closed")},_onFocused:function N(){this.dropdown.open()},_onBlurred:function O(){!this.dropdown.isMouseOverDropdown&&this.dropdown.close()},_onEnterKeyed:function I(Z,Y){var aa,ab;aa=this.dropdown.getDatumForCursor();ab=this.dropdown.getDatumForTopSuggestion();if(aa){this._select(aa);Y.preventDefault()}else{if(this.autoselect&&ab){this._select(ab);Y.preventDefault()}}},_onTabKeyed:function X(aa,Z){var Y;if(Y=this.dropdown.getDatumForCursor()){this._select(Y);Z.preventDefault()}else{this._autocomplete()}},_onEscKeyed:function S(){this.dropdown.close();this.input.resetInputValue()},_onUpKeyed:function t(){var Y=this.input.getQuery();if(!this.dropdown.isOpen&&Y.length>=this.minLength){this.dropdown.update(Y)}this.dropdown.open();this.dropdown.moveCursorUp()},_onDownKeyed:function y(){var Y=this.input.getQuery();if(!this.dropdown.isOpen&&Y.length>=this.minLength){this.dropdown.update(Y)}this.dropdown.open();this.dropdown.moveCursorDown()},_onLeftKeyed:function W(){this.dir==="rtl"&&this._autocomplete()},_onRightKeyed:function K(){this.dir==="ltr"&&this._autocomplete()},_onQueryChanged:function E(Z,Y){this.input.clearHint();this.dropdown.empty();Y.length>=this.minLength&&this.dropdown.update(Y);this.dropdown.open();this._setLanguageDirection()},_onWhitespaceChanged:function T(){this._updateHint();this.dropdown.open()},_setLanguageDirection:function R(){var Y;if(this.dir!==(Y=this.input.getLanguageDirection())){this.dir=Y;this.$node.css("direction",Y);this.dropdown.setLanguageDirection(Y)}},_updateHint:function M(){var aa,Z,ad,ac,Y,ab;aa=this.dropdown.getDatumForTopSuggestion();if(aa&&this.dropdown.isVisible()&&!this.input.hasOverflow()){Z=this.input.getInputValue();ad=m.normalizeQuery(Z);ac=r.escapeRegExChars(ad);Y=new RegExp("^(?:"+ac+")(.*$)","i");ab=Y.exec(aa.value);this.input.setHintValue(Z+(ab?ab[1]:""))}},_autocomplete:function V(){var aa,Z,Y;aa=this.input.getHintValue();Z=this.input.getQuery();if(aa&&Z!==aa&&this.input.isCursorAtEnd()){Y=this.dropdown.getDatumForTopSuggestion();Y&&this.input.setInputValue(Y.value);this.eventBus.trigger("autocompleted",Y.raw,Y.datasetName)}},_select:function G(Y){this.input.clearHint();this.input.setQuery(Y.value);this.input.setInputValue(Y.value,true);this.dropdown.empty();this._setLanguageDirection();r.defer(r.bind(this.dropdown.close,this.dropdown));this.eventBus.trigger("selected",Y.raw,Y.datasetName)},open:function B(){this.dropdown.open()},close:function D(){this.dropdown.close()},getQuery:function J(){return this.input.getQuery()},setQuery:function H(Y){this.input.setInputValue(Y)},destroy:function Q(){this.input.destroy();this.dropdown.destroy();w(this.$node);this.$node=null}});return C;function F(Y,ad){var ae,aa,ac,Z;ae=c(Y);aa=c(j.wrapper).css(i.wrapper);ac=c(j.dropdown).css(i.dropdown);Z=ae.clone().css(i.hint).css(z(ae));Z.removeData().addClass("tt-hint").removeAttr("id name placeholder").prop("disabled",true).attr({autocomplete:"off",spellcheck:"false"});ae.data(U,{dir:ae.attr("dir"),autocomplete:ae.attr("autocomplete"),spellcheck:ae.attr("spellcheck"),style:ae.attr("style")});ae.addClass("tt-input").attr({autocomplete:"off",spellcheck:false}).css(ad?i.input:i.inputWithNoHint);try{!ae.attr("dir")&&ae.attr("dir","auto")}catch(ab){}return ae.wrap(aa).parent().prepend(ad?Z:null).append(ac)}function z(Y){return{backgroundAttachment:Y.css("background-attachment"),backgroundClip:Y.css("background-clip"),backgroundColor:Y.css("background-color"),backgroundImage:Y.css("background-image"),backgroundOrigin:Y.css("background-origin"),backgroundPosition:Y.css("background-position"),backgroundRepeat:Y.css("background-repeat"),backgroundSize:Y.css("background-size")}}function w(Y){var Z=Y.find(".tt-input");r.each(Z.data(U),function(ab,aa){r.isUndefined(ab)?Z.removeAttr(aa):Z.attr(aa,ab)});Z.detach().removeData(U).removeClass("tt-input").insertAfter(Y);Y.remove()}}();(function(){var u,v;u="ttTypeahead";v={initialize:function t(C){var B=[].slice.call(arguments,1);C=C||{};return this.each(A);function A(){var G=c(this),D,F;r.each(B,function(H){H.highlight=!!C.highlight});F=new l({input:G,eventBus:D=new b({el:G}),withHint:r.isUndefined(C.hint)?true:!!C.hint,minLength:C.minLength,autoselect:C.autoselect,datasets:B});G.data(u,F);function E(H){return function(){r.defer(function(){D.trigger(H)})}}}},open:function w(){return this.each(A);function A(){var C=c(this),B;if(B=C.data(u)){B.open()}}},close:function z(){return this.each(A);function A(){var C=c(this),B;if(B=C.data(u)){B.close()}}},val:function y(B){return r.isString(B)?this.each(C):this.map(A).get();function C(){var E=c(this),D;if(D=E.data(u)){D.setQuery(B)}}function A(){var F=c(this),E,D;if(E=F.data(u)){D=E.getQuery()}return D}},destroy:function x(){return this.each(A);function A(){var C=c(this),B;if(B=C.data(u)){B.destroy();C.removeData(u)}}}};jQuery.fn.typeahead=function(A){if(v[A]){return v[A].apply(this,[].slice.call(arguments,1))}else{return v.initialize.apply(this,arguments)}}})()})(window.jQuery);
\ No newline at end of file
+!function(t){var e={isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return void 0===t},bind:t.proxy,each:function(e,n){t.each(e,function(t,e){return n(e,t)})},map:t.map,filter:t.grep,every:function(e,n){var i=!0;return e?(t.each(e,function(t,r){if(!(i=n.call(null,r,t,e)))return!1}),!!i):i},some:function(e,n){var i=!1;return e?(t.each(e,function(t,r){if(i=n.call(null,r,t,e))return!1}),!!i):i},mixin:t.extend,getUniqueId:function(){var t=0;return function(){return t++}}(),templatify:function(e){return t.isFunction(e)?e:function(){return String(e)}},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var i,r;return function(){var s,o,u=this,a=arguments;return s=function(){i=null,n||(r=t.apply(u,a))},o=n&&!i,clearTimeout(i),i=setTimeout(s,e),o&&(r=t.apply(u,a)),r}},throttle:function(t,e){var n,i,r,s,o,u;return o=0,u=function(){o=new Date,r=null,s=t.apply(n,i)},function(){var a=new Date,h=e-(a-o);return n=this,i=arguments,h<=0?(clearTimeout(r),r=null,o=a,s=t.apply(n,i)):r||(r=setTimeout(u,h)),s}},noop:function(){}},n="0.10.0",i=function(t,n){function i(t){this.maxSize=t||100,this.size=0,this.hash={},this.list=new r}function r(){this.head=this.tail=null}function s(t,e){this.key=t,this.val=e,this.prev=this.next=null}return e.mixin(i.prototype,{set:function(t,e){var n,i=this.list.tail;this.size>=this.maxSize&&(this.list.remove(i),delete this.hash[i.key]),(n=this.hash[t])?(n.val=e,this.list.moveToFront(n)):(n=new s(t,e),this.list.add(n),this.hash[t]=n,this.size++)},get:function(t){var e=this.hash[t];if(e)return this.list.moveToFront(e),e.val}}),e.mixin(r.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}}),i}(),r=function(){function t(t){this.prefix=["__",t,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+this.prefix)}function n(){return(new Date).getTime()}function i(t){return JSON.stringify(e.isUndefined(t)?null:t)}function r(t){return JSON.parse(t)}var s,o;try{(s=window.localStorage).setItem("~~~","!"),s.removeItem("~~~")}catch(t){s=null}return o=s&&window.JSON?{_prefix:function(t){return this.prefix+t},_ttlKey:function(t){return this._prefix(t)+this.ttlKey},get:function(t){return this.isExpired(t)&&this.remove(t),r(s.getItem(this._prefix(t)))},set:function(t,r,o){return e.isNumber(o)?s.setItem(this._ttlKey(t),i(n()+o)):s.removeItem(this._ttlKey(t)),s.setItem(this._prefix(t),i(r))},remove:function(t){return s.removeItem(this._ttlKey(t)),s.removeItem(this._prefix(t)),this},clear:function(){var t,e,n=[],i=s.length;for(t=0;t<i;t++)(e=s.key(t)).match(this.keyMatcher)&&n.push(e.replace(this.keyMatcher,""));for(t=n.length;t--;)this.remove(n[t]);return this},isExpired:function(t){var i=r(s.getItem(this._ttlKey(t)));return!!(e.isNumber(i)&&n()>i)}}:{get:e.noop,set:e.noop,remove:e.noop,clear:e.noop,isExpired:e.noop},e.mixin(t.prototype,o),t}(),s=function(){function n(e){e=e||{},this._send=e.send?r(e.send):t.ajax,this._get=e.rateLimiter?e.rateLimiter(this._get):this._get}function r(n){return function(i,r){var s=t.Deferred();return n(i,r,function(t){e.defer(function(){s.resolve(t)})},function(t){e.defer(function(){s.reject(t)})}),s}}var s=0,o={},u=6,a=new i(10);return n.setMaxPendingRequests=function(t){u=t},n.resetCache=function(){a=new i(10)},e.mixin(n.prototype,{_get:function(t,e,n){function i(e){n&&n(e),a.set(t,e)}var r,h=this;(r=o[t])?r.done(i):s<u?(s++,o[t]=this._send(t,e).done(i).always(function(){s--,delete o[t],h.onDeckRequestArgs&&(h._get.apply(h,h.onDeckRequestArgs),h.onDeckRequestArgs=null)})):this.onDeckRequestArgs=[].slice.call(arguments,0)},get:function(t,n,i){var r;return e.isFunction(n)&&(i=n,n={}),(r=a.get(t))?e.defer(function(){i&&i(r)}):this._get(t,n,i),!!r}}),n}(),o=function(){function n(e){(e=e||{}).datumTokenizer&&e.queryTokenizer||t.error("datumTokenizer and queryTokenizer are both required"),this.datumTokenizer=e.datumTokenizer,this.queryTokenizer=e.queryTokenizer,this.datums=[],this.trie={ids:[],children:{}}}function i(t){return t=e.filter(t,function(t){return!!t}),t=e.map(t,function(t){return t.toLowerCase()})}function r(t){for(var e={},n=[],i=0;i<t.length;i++)e[t[i]]||(e[t[i]]=!0,n.push(t[i]));return n}function s(t,e){function n(t,e){return t-e}var i=0,r=0,s=[];for(t=t.sort(n),e=e.sort(n);i<t.length&&r<e.length;)t[i]<e[r]?i++:t[i]>e[r]?r++:(s.push(t[i]),i++,r++);return s}return e.mixin(n.prototype,{bootstrap:function(t){this.datums=t.datums,this.trie=t.trie},add:function(t){var n=this;t=e.isArray(t)?t:[t],e.each(t,function(t){var r,s;r=n.datums.push(t)-1,s=i(n.datumTokenizer(t)),e.each(s,function(t){var e,i,s;for(e=n.trie,i=t.split("");s=i.shift();)(e=e.children[s]||(e.children[s]={ids:[],children:{}})).ids.push(r)})})},get:function(t){var n,o,u=this;return n=i(this.queryTokenizer(t)),e.each(n,function(t){var e,n,i,r;if(o&&0===o.length)return!1;for(e=u.trie,n=t.split("");e&&(i=n.shift());)e=e.children[i];if(!e||0!==n.length)return o=[],!1;r=e.ids.slice(0),o=o?s(o,r):r}),o?e.map(r(o),function(t){return u.datums[t]}):[]},serialize:function(){return{datums:this.datums,trie:this.trie}}}),n}(),u=function(){return{local:function(t){return t.local||null},prefetch:function(i){var r,s;return s={url:null,thumbprint:"",ttl:864e5,filter:null,ajax:{}},(r=i.prefetch||null)&&(r=e.isString(r)?{url:r}:r,(r=e.mixin(s,r)).thumbprint=n+r.thumbprint,r.ajax.method=r.ajax.method||"get",r.ajax.dataType=r.ajax.dataType||"json",!r.url&&t.error("prefetch requires url to be set")),r},remote:function(n){var i,r;return r={url:null,wildcard:"%QUERY",replace:null,rateLimitBy:"debounce",rateLimitWait:300,send:null,filter:null,ajax:{}},(i=n.remote||null)&&(i=e.isString(i)?{url:i}:i,(i=e.mixin(r,i)).rateLimiter=/^throttle$/i.test(i.rateLimitBy)?function(t){return function(n){return e.throttle(n,t)}}(i.rateLimitWait):function(t){return function(n){return e.debounce(n,t)}}(i.rateLimitWait),i.ajax.method=i.ajax.method||"get",i.ajax.dataType=i.ajax.dataType||"json",delete i.rateLimitBy,delete i.rateLimitWait,!i.url&&t.error("remote requires url to be set")),i}}}(),a=(window.Bloodhound=function(){function n(e){e&&(e.local||e.prefetch||e.remote)||t.error("one of local, prefetch, or remote is required"),this.limit=e.limit||5,this.sorter=e.sorter||i,this.dupDetector=e.dupDetector||a,this.local=u.local(e),this.prefetch=u.prefetch(e),this.remote=u.remote(e),this.cacheKey=this.prefetch?this.prefetch.cacheKey||this.prefetch.url:null,this.index=new o({datumTokenizer:e.datumTokenizer,queryTokenizer:e.queryTokenizer}),this.storage=this.cacheKey?new r(this.cacheKey):null}function i(){return 0}function a(){return!1}var h;return h={data:"data",protocol:"protocol",thumbprint:"thumbprint"},n.tokenizers={whitespace:function(t){return t.split(/\s+/)},nonword:function(t){return t.split(/\W+/)}},e.mixin(n.prototype,{_loadPrefetch:function(e){var n,i,r=this;return(n=this._readFromStorage(e.thumbprint))?(this.index.bootstrap(n),i=t.Deferred().resolve()):i=t.ajax(e.url,e.ajax).done(function(t){var n;n=e.filter?e.filter(t):t,r.add(n),r._saveToStorage(r.index.serialize(),e.thumbprint,e.ttl)}),i},_getFromRemote:function(t,e){var n,i,r=this;return t=t||"",i=encodeURIComponent(t),n=this.remote.replace?this.remote.replace(this.remote.url,t):this.remote.url.replace(this.remote.wildcard,i),this.transport.get(n,this.remote.ajax,function(t){var n=r.remote.filter?r.remote.filter(t):t;e(n)})},_saveToStorage:function(t,e,n){this.storage&&(this.storage.set(h.data,t,n),this.storage.set(h.protocol,location.protocol,n),this.storage.set(h.thumbprint,e,n))},_readFromStorage:function(t){var e={};return this.storage&&(e.data=this.storage.get(h.data),e.protocol=this.storage.get(h.protocol),e.thumbprint=this.storage.get(h.thumbprint)),isExpired=e.thumbprint!==t||e.protocol!==location.protocol,e.data&&!isExpired?e.data:null},initialize:function(){var e,n=this;return e=this.prefetch?this._loadPrefetch(this.prefetch):t.Deferred().resolve(),this.local&&e.done(function(){n.add(n.local)}),this.transport=this.remote?new s(this.remote):null,this.initialize=function(){return e.promise()},e.promise()},add:function(t){this.index.add(t)},get:function(t,n){var i,r=this,s=!1;(i=this.index.get(t).sort(this.sorter).slice(0,this.limit)).length<this.limit&&this.transport&&(s=this._getFromRemote(t,function(t){var s=i.slice(0);e.each(t,function(t){return!e.some(s,function(e){return r.dupDetector(t,e)})&&s.push(t),s.length<r.limit}),n&&n(s.sort(r.sorter))})),!s&&n&&n(i)},ttAdapter:function(){return e.bind(this.get,this)}}),n}(),{wrapper:'<span class="twitter-typeahead"></span>',dropdown:'<span class="tt-dropdown-menu"></span>',dataset:'<div class="tt-dataset-%CLASS%"></div>',suggestions:'<span class="tt-suggestions"></span>',suggestion:'<div class="tt-suggestion">%BODY%</div>'}),h={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};e.isMsie()&&e.mixin(h.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),e.isMsie()&&e.isMsie()<=7&&e.mixin(h.input,{marginTop:"-1px"});var c=function(){function n(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}return e.mixin(n.prototype,{trigger:function(t){var e=[].slice.call(arguments,1);this.$el.trigger("typeahead:"+t,e)}}),n}(),l=function(){function t(t,e,r,s){var o;if(!r)return this;for(e=e.split(i),r=s?n(r,s):r,this._callbacks=this._callbacks||{};o=e.shift();)this._callbacks[o]=this._callbacks[o]||{sync:[],async:[]},this._callbacks[o][t].push(r);return this}function e(t,e,n){return function(){for(var i,r=0;!i&&r<t.length;r+=1)i=!1===t[r].apply(e,n);return!i}}function n(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}var i=/\s+/,r=window.setImmediate?function(t){setImmediate(function(){t()})}:function(t){setTimeout(function(){t()},0)};return{onSync:function(e,n,i){return t.call(this,"sync",e,n,i)},onAsync:function(e,n,i){return t.call(this,"async",e,n,i)},off:function(t){var e;if(!this._callbacks)return this;for(t=t.split(i);e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var n,s,o,u,a;if(!this._callbacks)return this;for(t=t.split(i),o=[].slice.call(arguments,1);(n=t.shift())&&(s=this._callbacks[n]);)u=e(s.sync,this,[n].concat(o)),a=e(s.async,this,[n].concat(o)),u()&&r(a);return this}}}(),d=function(t){function n(t,n,i){for(var r,s=[],o=0;o<t.length;o++)s.push(e.escapeRegExChars(t[o]));return r=i?"\\b("+s.join("|")+")\\b":"("+s.join("|")+")",n?new RegExp(r):new RegExp(r,"i")}var i={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(r){function s(t,e){for(var n,i=0;i<t.childNodes.length;i++)3===(n=t.childNodes[i]).nodeType?i+=e(n)?1:0:s(n,e)}var o;(r=e.mixin({},i,r)).node&&r.pattern&&(r.pattern=e.isArray(r.pattern)?r.pattern:[r.pattern],o=n(r.pattern,r.caseSensitive,r.wordsOnly),s(r.node,function(e){var n,i;return(n=o.exec(e.data))&&(wrapperNode=t.createElement(r.tagName),r.className&&(wrapperNode.className=r.className),(i=e.splitText(n.index)).splitText(n[0].length),wrapperNode.appendChild(i.cloneNode(!0)),e.parentNode.replaceChild(wrapperNode,i)),!!n}))}}(window.document),p=function(){function n(n){var r,s,u,a,h=this;(n=n||{}).input||t.error("input is missing"),r=e.bind(this._onBlur,this),s=e.bind(this._onFocus,this),u=e.bind(this._onKeydown,this),a=e.bind(this._onInput,this),this.$hint=t(n.hint),this.$input=t(n.input).on("blur.tt",r).on("focus.tt",s).on("keydown.tt",u),0===this.$hint.length&&(this.setHintValue=this.getHintValue=this.clearHint=e.noop),e.isMsie()?this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(t){o[t.which||t.keyCode]||e.defer(e.bind(h._onInput,h,t))}):this.$input.on("input.tt",a),this.query=this.$input.val(),this.$overflowHelper=i(this.$input)}function i(e){return t('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"nowrap",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}function r(t,e){return n.normalizeQuery(t)===n.normalizeQuery(e)}function s(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}var o;return o={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},n.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},e.mixin(n.prototype,l,{_onBlur:function(t){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(t){this.trigger("focused")},_onKeydown:function(t){var e=o[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(t){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,r;switch(t){case"tab":i=this.getHintValue(),r=this.getInputValue(),n=i&&i!==r&&!s(e);break;case"up":case"down":n=!s(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;switch(t){case"tab":n=!s(e);break;default:n=!0}return n},_checkInputValue:function(){var t,e,n;n=!!(e=r(t=this.getInputValue(),this.query))&&this.query.length!==t.length,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query=t)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){this.$input.val(t),!e&&this._checkInputValue()},getHintValue:function(){return this.$hint.val()},setHintValue:function(t){this.$hint.val(t)},resetInputValue:function(){this.$input.val(this.query)},clearHint:function(){this.$hint.val("")},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,n,i;return t=this.$input.val().length,n=this.$input[0].selectionStart,e.isNumber(n)?n===t:!document.selection||((i=document.selection.createRange()).moveStart("character",-t),t===i.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$hint=this.$input=this.$overflowHelper=null}}),n}(),f=function(){function n(n){(n=n||{}).templates=n.templates||{},n.source||t.error("missing source"),this.query=null,this.highlight=!!n.highlight,this.name=n.name||e.getUniqueId(),this.source=n.source,this.valueKey=n.displayKey||"value",this.templates=i(n.templates,this.valueKey),this.$el=t(a.dataset.replace("%CLASS%",this.name))}function i(t,n){return{empty:t.empty&&e.templatify(t.empty),header:t.header&&e.templatify(t.header),footer:t.footer&&e.templatify(t.footer),suggestion:t.suggestion||function(t){return"<p>"+t[n]+"</p>"}}}var r="ttDataset",s="ttValue",o="ttDatum";return n.extractDatasetName=function(e){return t(e).data(r)},n.extractValue=function(e){return t(e).data(s)},n.extractDatum=function(e){return t(e).data(o)},e.mixin(n.prototype,l,{_render:function(n,i){function u(){return p.templates.header({query:n,isEmpty:!l})}function c(){return p.templates.footer({query:n,isEmpty:!l})}if(this.$el){var l,p=this;this.$el.empty(),!(l=i&&i.length)&&this.templates.empty?this.$el.html(p.templates.empty({query:n})).prepend(p.templates.header?u():null).append(p.templates.footer?c():null):l&&this.$el.html(function(){var u;return u=t(a.suggestions).css(h.suggestions).append(e.map(i,function(e){var n,i,u;return i=p.templates.suggestion(e),u=a.suggestion.replace("%BODY%",i),(n=t(u).data(r,p.name).data(s,e[p.valueKey]).data(o,e)).children().each(function(){t(this).css(h.suggestionChild)}),n})),p.highlight&&d({node:u[0],pattern:n}),u}()).prepend(p.templates.header?u():null).append(p.templates.footer?c():null),this.trigger("rendered")}},getRoot:function(){return this.$el},update:function(t){var e=this;this.query=t,this.source(t,function(n){t===e.query&&e._render(t,n)})},clear:function(){this._render(this.query||"")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=null}}),n}(),g=function(){function n(n){var r,s,o,u,a,h=this;(n=n||{}).menu||t.error("menu is required"),this.isOpen=!1,this.isEmpty=!0,this.isMouseOverDropdown=!1,this.datasets=e.map(n.datasets,i),r=e.bind(this._onMouseEnter,this),s=e.bind(this._onMouseLeave,this),o=e.bind(this._onSuggestionClick,this),u=e.bind(this._onSuggestionMouseEnter,this),a=e.bind(this._onSuggestionMouseLeave,this),this.$menu=t(n.menu).on("mouseenter.tt",r).on("mouseleave.tt",s).on("click.tt",".tt-suggestion",o).on("mouseenter.tt",".tt-suggestion",u).on("mouseleave.tt",".tt-suggestion",a),e.each(this.datasets,function(t){h.$menu.append(t.getRoot()),t.onSync("rendered",h._onRendered,h)})}function i(t){return new f(t)}return e.mixin(n.prototype,l,{_onMouseEnter:function(t){this.isMouseOverDropdown=!0},_onMouseLeave:function(t){this.isMouseOverDropdown=!1},_onSuggestionClick:function(e){this.trigger("suggestionClicked",t(e.currentTarget))},_onSuggestionMouseEnter:function(e){this._removeCursor(),this._setCursor(t(e.currentTarget),!0)},_onSuggestionMouseLeave:function(t){this._removeCursor()},_onRendered:function(){this.isEmpty=e.every(this.datasets,function(t){return t.isEmpty()}),this.isEmpty?this._hide():this.isOpen&&this._show(),this.trigger("datasetRendered")},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function(){return this.$menu.find(".tt-suggestion")},_getCursor:function(){return this.$menu.find(".tt-cursor").first()},_setCursor:function(t,e){t.first().addClass("tt-cursor"),!e&&this.trigger("cursorMoved")},_removeCursor:function(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function(t){var e,n,i,r;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=e.index(n)+t)+1)%(e.length+1)-1)?(i<-1&&(i=e.length-1),this._setCursor(r=e.eq(i)),this._ensureVisible(r)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,i,r;n=(e=t.position().top)+t.outerHeight(!0),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10),e<0?this.$menu.scrollTop(i+e):r<n&&this.$menu.scrollTop(i+(n-r))},close:function(){this.isOpen&&(this.isOpen=this.isMouseOverDropdown=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,!this.isEmpty&&this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?h.ltr:h.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return t.length&&(e={raw:f.extractDatum(t),value:f.extractValue(t),datasetName:f.extractDatasetName(t)}),e},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},update:function(t){e.each(this.datasets,function(e){e.update(t)})},empty:function(){e.each(this.datasets,function(t){t.clear()})},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".tt"),this.$menu=null,e.each(this.datasets,function(t){t.destroy()})}}),n}(),m=function(){function n(n){var r,s,o;(n=n||{}).input||t.error("missing input"),this.autoselect=!!n.autoselect,this.minLength=e.isNumber(n.minLength)?n.minLength:1,this.$node=i(n.input,n.withHint),r=this.$node.find(".tt-dropdown-menu"),s=this.$node.find(".tt-input"),o=this.$node.find(".tt-hint"),this.eventBus=n.eventBus||new c({el:s}),this.dropdown=new g({menu:r,datasets:n.datasets}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new p({input:s,hint:o}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),r.on("mousedown.tt",function(t){e.isMsie()&&e.isMsie()<9&&(s[0].onbeforedeactivate=function(){window.event.returnValue=!1,s[0].onbeforedeactivate=null}),t.preventDefault()})}function i(e,n){var i,s,u,c;i=t(e),s=t(a.wrapper).css(h.wrapper),u=t(a.dropdown).css(h.dropdown),(c=i.clone().css(h.hint).css(r(i))).removeData().addClass("tt-hint").removeAttr("id name placeholder").prop("disabled",!0).attr({autocomplete:"off",spellcheck:"false"}),i.data(o,{dir:i.attr("dir"),autocomplete:i.attr("autocomplete"),spellcheck:i.attr("spellcheck"),style:i.attr("style")}),i.addClass("tt-input").attr({autocomplete:"off",spellcheck:!1}).css(n?h.input:h.inputWithNoHint);try{!i.attr("dir")&&i.attr("dir","auto")}catch(t){}return i.wrap(s).parent().prepend(n?c:null).append(u)}function r(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}function s(t){var n=t.find(".tt-input");e.each(n.data(o),function(t,i){e.isUndefined(t)?n.removeAttr(i):n.attr(i,t)}),n.detach().removeData(o).removeClass("tt-input").insertAfter(t),t.remove()}var o="ttAttrs";return e.mixin(n.prototype,{_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n)},_onCursorMoved:function(){var t=this.dropdown.getDatumForCursor();this.input.clearHint(),this.input.setInputValue(t.value,!0),this.eventBus.trigger("cursorchanged",t.raw,t.datasetName)},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint()},_onDatasetRendered:function(){this._updateHint()},_onOpened:function(){this._updateHint(),this.eventBus.trigger("opened")},_onClosed:function(){this.input.clearHint(),this.eventBus.trigger("closed")},_onFocused:function(){this.dropdown.open()},_onBlurred:function(){!this.dropdown.isMouseOverDropdown&&this.dropdown.close()},_onEnterKeyed:function(t,e){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion(),n?(this._select(n),e.preventDefault()):this.autoselect&&i&&(this._select(i),e.preventDefault())},_onTabKeyed:function(t,e){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n),e.preventDefault()):this._autocomplete()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();!this.dropdown.isOpen&&t.length>=this.minLength&&this.dropdown.update(t),this.dropdown.open(),this.dropdown.moveCursorUp()},_onDownKeyed:function(){var t=this.input.getQuery();!this.dropdown.isOpen&&t.length>=this.minLength&&this.dropdown.update(t),this.dropdown.open(),this.dropdown.moveCursorDown()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHint(),this.dropdown.empty(),e.length>=this.minLength&&this.dropdown.update(e),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t;this.dir!==(t=this.input.getLanguageDirection())&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,n,i,r,s;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()&&(n=this.input.getInputValue(),i=p.normalizeQuery(n),r=e.escapeRegExChars(i),s=new RegExp("^(?:"+r+")(.*$)","i").exec(t.value),this.input.setHintValue(n+(s?s[1]:"")))},_autocomplete:function(){var t,e,n;t=this.input.getHintValue(),e=this.input.getQuery(),t&&e!==t&&this.input.isCursorAtEnd()&&((n=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(n.value),this.eventBus.trigger("autocompleted",n.raw,n.datasetName))},_select:function(t){this.input.clearHint(),this.input.setQuery(t.value),this.input.setInputValue(t.value,!0),this.dropdown.empty(),this._setLanguageDirection(),e.defer(e.bind(this.dropdown.close,this.dropdown)),this.eventBus.trigger("selected",t.raw,t.datasetName)},open:function(){this.dropdown.open()},close:function(){this.dropdown.close()},getQuery:function(){return this.input.getQuery()},setQuery:function(t){this.input.setInputValue(t)},destroy:function(){this.input.destroy(),this.dropdown.destroy(),s(this.$node),this.$node=null}}),n}();!function(){var n,i;n="ttTypeahead",i={initialize:function(i){var r=[].slice.call(arguments,1);return i=i||{},this.each(function(){var s,o=t(this);e.each(r,function(t){t.highlight=!!i.highlight}),s=new m({input:o,eventBus:new c({el:o}),withHint:!!e.isUndefined(i.hint)||!!i.hint,minLength:i.minLength,autoselect:i.autoselect,datasets:r}),o.data(n,s)})},open:function(){return this.each(function(){var e;(e=t(this).data(n))&&e.open()})},close:function(){return this.each(function(){var e;(e=t(this).data(n))&&e.close()})},val:function(i){return e.isString(i)?this.each(function(){var e;(e=t(this).data(n))&&e.setQuery(i)}):this.map(function(){var e,i;return(e=t(this).data(n))&&(i=e.getQuery()),i}).get()},destroy:function(){return this.each(function(){var e,i=t(this);(e=i.data(n))&&(e.destroy(),i.removeData(n))})}},jQuery.fn.typeahead=function(t){return i[t]?i[t].apply(this,[].slice.call(arguments,1)):i.initialize.apply(this,arguments)}}()}(window.jQuery);
--- a/src/pyams_skin/resources/js/ext/jquery-validate-1.17.0.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-validate-1.17.0.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(u){u.extend(u.fn,{validate:function(t){if(this.length){var a=u.data(this[0],"validator");return a||(this.attr("novalidate","novalidate"),a=new u.validator(t,this[0]),u.data(this[0],"validator",a),a.settings.onsubmit&&(this.on("click.validate",":submit",function(t){a.submitButton=t.currentTarget,u(this).hasClass("cancel")&&(a.cancelSubmit=!0),void 0!==u(this).attr("formnovalidate")&&(a.cancelSubmit=!0)}),this.on("submit.validate",function(i){function t(){var t,e;return a.submitButton&&(a.settings.submitHandler||a.formSubmitted)&&(t=u("<input type='hidden'/>").attr("name",a.submitButton.name).val(u(a.submitButton).val()).appendTo(a.currentForm)),!a.settings.submitHandler||(e=a.settings.submitHandler.call(a,a.currentForm,i),t&&t.remove(),void 0!==e&&e)}return a.settings.debug&&i.preventDefault(),a.cancelSubmit?(a.cancelSubmit=!1,t()):a.form()?a.pendingRequest?!(a.formSubmitted=!0):t():(a.focusInvalid(),!1)})),a)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,i;return u(this[0]).is("form")?t=this.validate().form():(i=[],t=!0,e=u(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(i=i.concat(e.errorList))}),e.errorList=i),t},rules:function(t,e){var i,a,n,r,s,o,d=this[0];if(null!=d&&(!d.form&&d.hasAttribute("contenteditable")&&(d.form=this.closest("form")[0],d.name=this.attr("name")),null!=d.form)){if(t)switch(a=(i=u.data(d.form,"validator").settings).rules,n=u.validator.staticRules(d),t){case"add":u.extend(n,u.validator.normalizeRule(e)),delete n.messages,a[d.name]=n,e.messages&&(i.messages[d.name]=u.extend(i.messages[d.name],e.messages));break;case"remove":return e?(o={},u.each(e.split(/\s/),function(t,e){o[e]=n[e],delete n[e]}),o):(delete a[d.name],n)}return(r=u.validator.normalizeRules(u.extend({},u.validator.classRules(d),u.validator.attributeRules(d),u.validator.dataRules(d),u.validator.staticRules(d)),d)).required&&(s=r.required,delete r.required,r=u.extend({required:s},r)),r.remote&&(s=r.remote,delete r.remote,r=u.extend(r,{remote:s})),r}}}),u.extend(u.expr.pseudos||u.expr[":"],{blank:function(t){return!u.trim(""+u(t).val())},filled:function(t){var e=u(t).val();return null!==e&&!!u.trim(""+e)},unchecked:function(t){return!u(t).prop("checked")}}),u.validator=function(t,e){this.settings=u.extend(!0,{},u.validator.defaults,t),this.currentForm=e,this.init()},u.validator.format=function(i,t){return 1===arguments.length?function(){var t=u.makeArray(arguments);return t.unshift(i),u.validator.format.apply(this,t)}:(void 0===t||(2<arguments.length&&t.constructor!==Array&&(t=u.makeArray(arguments).slice(1)),t.constructor!==Array&&(t=[t]),u.each(t,function(t,e){i=i.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})})),i)},u.extend(u.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:u([]),errorLabelContainer:u([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||-1!==u.inArray(e.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,i){"radio"===t.type?this.findByName(t.name).addClass(e).removeClass(i):u(t).addClass(e).removeClass(i)},unhighlight:function(t,e,i){"radio"===t.type?this.findByName(t.name).removeClass(e).addClass(i):u(t).removeClass(e).addClass(i)}},setDefaults:function(t){u.extend(u.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:u.validator.format("Please enter no more than {0} characters."),minlength:u.validator.format("Please enter at least {0} characters."),rangelength:u.validator.format("Please enter a value between {0} and {1} characters long."),range:u.validator.format("Please enter a value between {0} and {1}."),max:u.validator.format("Please enter a value less than or equal to {0}."),min:u.validator.format("Please enter a value greater than or equal to {0}."),step:u.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=u(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||u(this.currentForm),this.containers=u(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,a=this.groups={};function t(t){!this.form&&this.hasAttribute("contenteditable")&&(this.form=u(this).closest("form")[0],this.name=u(this).attr("name"));var e=u.data(this.form,"validator"),i="on"+t.type.replace(/^validate/,""),a=e.settings;a[i]&&!u(this).is(a.ignore)&&a[i].call(e,this,t)}u.each(this.settings.groups,function(i,t){"string"==typeof t&&(t=t.split(/\s/)),u.each(t,function(t,e){a[e]=i})}),i=this.settings.rules,u.each(i,function(t,e){i[t]=u.validator.normalizeRule(e)}),u(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&u(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),u.extend(this.submitted,this.errorMap),this.invalid=u.extend({},this.errorMap),this.valid()||u(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e,i,a=this.clean(t),n=this.validationTargetFor(a),r=this,s=!0;return void 0===n?delete this.invalid[a.name]:(this.prepareElement(n),this.currentElements=u(n),(i=this.groups[n.name])&&u.each(this.groups,function(t,e){e===i&&t!==n.name&&(a=r.validationTargetFor(r.clean(r.findByName(t))))&&a.name in r.invalid&&(r.currentElements.push(a),s=r.check(a)&&s)}),e=!1!==this.check(n),s=s&&e,this.invalid[n.name]=!e,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),u(t).attr("aria-invalid",!e)),s},showErrors:function(e){if(e){var i=this;u.extend(this.errorMap,e),this.errorList=u.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=u.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){u.fn.resetForm&&u(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{u(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===u.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return u(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var t=this.name||u(this).attr("name");return!t&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.hasAttribute("contenteditable")&&(this.form=u(this).closest("form")[0],this.name=t),!(t in i||!e.objectLength(u(this).rules()))&&(i[t]=!0)})},clean:function(t){return u(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return u(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=u([]),this.toHide=u([])},reset:function(){this.resetInternals(),this.currentElements=u([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e,i,a=u(t),n=t.type;return"radio"===n||"checkbox"===n?this.findByName(t.name).filter(":checked").val():"number"===n&&void 0!==t.validity?t.validity.badInput?"NaN":a.val():(e=t.hasAttribute("contenteditable")?a.text():a.val(),"file"===n?"C:\\fakepath\\"===e.substr(0,12)?e.substr(12):0<=(i=e.lastIndexOf("/"))?e.substr(i+1):0<=(i=e.lastIndexOf("\\"))?e.substr(i+1):e:"string"==typeof e?e.replace(/\r/g,""):e)},check:function(e){e=this.validationTargetFor(this.clean(e));var t,i,a,n,r=u(e).rules(),s=u.map(r,function(t,e){return e}).length,o=!1,d=this.elementValue(e);if("function"==typeof r.normalizer?n=r.normalizer:"function"==typeof this.settings.normalizer&&(n=this.settings.normalizer),n){if("string"!=typeof(d=n.call(e,d)))throw new TypeError("The normalizer should return a string value.");delete r.normalizer}for(i in r){a={method:i,parameters:r[i]};try{if("dependency-mismatch"===(t=u.validator.methods[i].call(this,d,e,a.parameters))&&1===s){o=!0;continue}if(o=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,a),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+a.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+a.method+"' method."),t}}if(!o)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return u(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||u(t).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){"string"==typeof e&&(e={method:e});var i=this.findDefined(this.customMessage(t.name,e.method),this.customDataMessage(t,e.method),!this.settings.ignoreTitle&&t.title||void 0,u.validator.messages[e.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),a=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,e.parameters,t):a.test(i)&&(i=u.validator.format(i.replace(a,"{$1}"),e.parameters)),i},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return u(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var i,a,n,r,s=this.errorsFor(t),o=this.idOrName(t),d=u(t).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(e)):(i=s=u("<"+this.settings.errorElement+">").attr("id",o+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(i=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement.call(this,i,u(t)):i.insertAfter(t),s.is("label")?s.attr("for",o):0===s.parents("label[for='"+this.escapeCssMeta(o)+"']").length&&(n=s.attr("id"),d?d.match(new RegExp("\\b"+this.escapeCssMeta(n)+"\\b"))||(d+=" "+n):d=n,u(t).attr("aria-describedby",d),(a=this.groups[t.name])&&(r=this,u.each(r.groups,function(t,e){e===a&&u("[name='"+r.escapeCssMeta(t)+"']",r.currentForm).attr("aria-describedby",s.attr("id"))})))),!e&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,t)),this.toShow=this.toShow.add(s)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),i=u(t).attr("aria-describedby"),a="label[for='"+e+"'], label[for='"+e+"'] *";return i&&(a=a+", #"+this.escapeCssMeta(i).replace(/\s+/g,", #")),this.errors().filter(a)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),u(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return u(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return u("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!u(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!u.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,u(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],u(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(u(this.currentForm).submit(),this.submitButton&&u("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(u(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return e="string"==typeof e&&e||"remote",u.data(t,"previousValue")||u.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),u(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:u.extend(this.classRuleSettings,t)},classRules:function(t){var e={},i=u(t).attr("class");return i&&u.each(i.split(" "),function(){this in u.validator.classRuleSettings&&u.extend(e,u.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,i,a){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(a=Number(a),isNaN(a)&&(a=void 0)),a||0===a?t[i]=a:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(t){var e,i,a={},n=u(t),r=t.getAttribute("type");for(e in u.validator.methods)"required"===e?(""===(i=t.getAttribute(e))&&(i=!0),i=!!i):i=n.attr(e),this.normalizeAttributeRule(a,r,e,i);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(t){var e,i,a={},n=u(t),r=t.getAttribute("type");for(e in u.validator.methods)i=n.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()),this.normalizeAttributeRule(a,r,e,i);return a},staticRules:function(t){var e={},i=u.data(t.form,"validator");return i.settings.rules&&(e=u.validator.normalizeRule(i.settings.rules[t.name])||{}),e},normalizeRules:function(a,n){return u.each(a,function(t,e){if(!1!==e){if(e.param||e.depends){var i=!0;switch(typeof e.depends){case"string":i=!!u(e.depends,n.form).length;break;case"function":i=e.depends.call(n,n)}i?a[t]=void 0===e.param||e.param:(u.data(n.form,"validator").resetElements(u(n)),delete a[t])}}else delete a[t]}),u.each(a,function(t,e){a[t]=u.isFunction(e)&&"normalizer"!==t?e(n):e}),u.each(["minlength","maxlength"],function(){a[this]&&(a[this]=Number(a[this]))}),u.each(["rangelength","range"],function(){var t;a[this]&&(u.isArray(a[this])?a[this]=[Number(a[this][0]),Number(a[this][1])]:"string"==typeof a[this]&&(t=a[this].replace(/[\[\]]/g,"").split(/[\s,]+/),a[this]=[Number(t[0]),Number(t[1])]))}),u.validator.autoCreateRanges&&(null!=a.min&&null!=a.max&&(a.range=[a.min,a.max],delete a.min,delete a.max),null!=a.minlength&&null!=a.maxlength&&(a.rangelength=[a.minlength,a.maxlength],delete a.minlength,delete a.maxlength)),a},normalizeRule:function(t){if("string"==typeof t){var e={};u.each(t.split(/\s/),function(){e[this]=!0}),t=e}return t},addMethod:function(t,e,i){u.validator.methods[t]=e,u.validator.messages[t]=void 0!==i?i:u.validator.messages[t],e.length<3&&u.validator.addClassRules(t,u.validator.normalizeRule(t))},methods:{required:function(t,e,i){if(!this.depend(i,e))return"dependency-mismatch";if("select"===e.nodeName.toLowerCase()){var a=u(e).val();return a&&0<a.length}return this.checkable(e)?0<this.getLength(t,e):0<t.length},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){var a=u.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=a},maxlength:function(t,e,i){var a=u.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||a<=i},rangelength:function(t,e,i){var a=u.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||a>=i[0]&&a<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(t,e,i){var a,n=u(e).attr("type"),r="Step attribute on input type "+n+" is not supported.",s=new RegExp("\\b"+n+"\\b"),o=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},d=function(t){return Math.round(t*Math.pow(10,a))},l=!0;if(n&&!s.test(["text","number","range"].join()))throw new Error(r);return a=o(i),(o(t)>a||d(t)%d(i)!=0)&&(l=!1),this.optional(e)||l},equalTo:function(t,e,i){var a=u(i);return this.settings.onfocusout&&a.not(".validate-equalTo-blur").length&&a.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){u(e).valid()}),t===a.val()},remote:function(r,s,t,o){if(this.optional(s))return"dependency-mismatch";o="string"==typeof o&&o||"remote";var d,e,i,l=this.previousValue(s,o);return this.settings.messages[s.name]||(this.settings.messages[s.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[s.name][o],this.settings.messages[s.name][o]=l.message,t="string"==typeof t&&{url:t}||t,i=u.param(u.extend({data:r},t.data)),l.old===i?l.valid:(l.old=i,(d=this).startRequest(s),(e={})[s.name]=r,u.ajax(u.extend(!0,{mode:"abort",port:"validate"+s.name,dataType:"json",data:e,context:d.currentForm,success:function(t){var e,i,a,n=!0===t||"true"===t;d.settings.messages[s.name][o]=l.originalMessage,n?(a=d.formSubmitted,d.resetInternals(),d.toHide=d.errorsFor(s),d.formSubmitted=a,d.successList.push(s),d.invalid[s.name]=!1,d.showErrors()):(e={},i=t||d.defaultMessage(s,{method:o,parameters:r}),e[s.name]=l.message=i,d.invalid[s.name]=!0,d.showErrors(e)),l.valid=n,d.stopRequest(s,n)}},t)),"pending")}}});var a,n={};return u.ajaxPrefilter?u.ajaxPrefilter(function(t,e,i){var a=t.port;"abort"===t.mode&&(n[a]&&n[a].abort(),n[a]=i)}):(a=u.ajax,u.ajax=function(t){var e=("mode"in t?t:u.ajaxSettings).mode,i=("port"in t?t:u.ajaxSettings).port;return"abort"===e?(n[i]&&n[i].abort(),n[i]=a.apply(this,arguments),n[i]):a.apply(this,arguments)}),u}),function(t){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(d){return function(){function r(t){return t.replace(/<.[^<>]*?>/g," ").replace(/&nbsp;|&#160;/gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}d.validator.addMethod("maxWords",function(t,e,i){return this.optional(e)||r(t).match(/\b\w+\b/g).length<=i},d.validator.format("Please enter {0} words or less.")),d.validator.addMethod("minWords",function(t,e,i){return this.optional(e)||r(t).match(/\b\w+\b/g).length>=i},d.validator.format("Please enter at least {0} words.")),d.validator.addMethod("rangeWords",function(t,e,i){var a=r(t),n=/\b\w+\b/g;return this.optional(e)||a.match(n).length>=i[0]&&a.match(n).length<=i[1]},d.validator.format("Please enter between {0} and {1} words."))}(),d.validator.addMethod("accept",function(t,e,i){var a,n,r="string"==typeof i?i.replace(/\s/g,""):"image/*",s=this.optional(e);if(s)return s;if("file"===d(e).attr("type")&&(r=r.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),e.files&&e.files.length))for(n=new RegExp(".?("+r+")$","i"),a=0;a<e.files.length;a++)if(!e.files[a].type.match(n))return!1;return!0},d.validator.format("Please enter a value with a valid mimetype.")),d.validator.addMethod("alphanumeric",function(t,e){return this.optional(e)||/^\w+$/i.test(t)},"Letters, numbers, and underscores only please"),d.validator.addMethod("bankaccountNL",function(t,e){if(this.optional(e))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(t))return!1;var i,a=t.replace(/ /g,""),n=0,r=a.length;for(i=0;i<r;i++)n+=(r-i)*a.substring(i,i+1);return n%11==0},"Please specify a valid bank account number"),d.validator.addMethod("bankorgiroaccountNL",function(t,e){return this.optional(e)||d.validator.methods.bankaccountNL.call(this,t,e)||d.validator.methods.giroaccountNL.call(this,t,e)},"Please specify a valid bank or giro account number"),d.validator.addMethod("bic",function(t,e){return this.optional(e)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-9])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(t.toUpperCase())},"Please specify a valid BIC code"),d.validator.addMethod("cifES",function(t,e){"use strict";if(this.optional(e))return!0;var i,a,n,r,s=new RegExp(/^([ABCDEFGHJKLMNPQRSUVW])(\d{7})([0-9A-J])$/gi),o=t.substring(0,1),d=t.substring(1,8),l=t.substring(8,9),u=0,h=0;if(9!==t.length||!s.test(t))return!1;for(i=0;i<d.length;i++)a=parseInt(d[i],10),i%2==0?h+=(a*=2)<10?a:a-9:u+=a;return n=(10-(u+h).toString().substr(-1)).toString(),n=9<parseInt(n,10)?"0":n,r="JABCDEFGHI".substr(n,1).toString(),o.match(/[ABEH]/)?l===n:o.match(/[KPQS]/)?l===r:l===n||l===r},"Please specify a valid CIF number."),d.validator.addMethod("cpfBR",function(t){if(11!==(t=t.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,"")).length)return!1;var e,i,a,n,r=0;if(e=parseInt(t.substring(9,10),10),i=parseInt(t.substring(10,11),10),a=function(t,e){var i=10*t%11;return 10!==i&&11!==i||(i=0),i===e},""===t||"00000000000"===t||"11111111111"===t||"22222222222"===t||"33333333333"===t||"44444444444"===t||"55555555555"===t||"66666666666"===t||"77777777777"===t||"88888888888"===t||"99999999999"===t)return!1;for(n=1;n<=9;n++)r+=parseInt(t.substring(n-1,n),10)*(11-n);if(a(r,e)){for(r=0,n=1;n<=10;n++)r+=parseInt(t.substring(n-1,n),10)*(12-n);return a(r,i)}return!1},"Please specify a valid CPF number"),d.validator.addMethod("creditcard",function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i,a,n=0,r=0,s=!1;if((t=t.replace(/\D/g,"")).length<13||19<t.length)return!1;for(i=t.length-1;0<=i;i--)a=t.charAt(i),r=parseInt(a,10),s&&9<(r*=2)&&(r-=9),n+=r,s=!s;return n%10==0},"Please enter a valid credit card number."),d.validator.addMethod("creditcardtypes",function(t,e,i){if(/[^0-9\-]+/.test(t))return!1;t=t.replace(/\D/g,"");var a=0;return i.mastercard&&(a|=1),i.visa&&(a|=2),i.amex&&(a|=4),i.dinersclub&&(a|=8),i.enroute&&(a|=16),i.discover&&(a|=32),i.jcb&&(a|=64),i.unknown&&(a|=128),i.all&&(a=255),1&a&&/^(5[12345])/.test(t)?16===t.length:2&a&&/^(4)/.test(t)?16===t.length:4&a&&/^(3[47])/.test(t)?15===t.length:8&a&&/^(3(0[012345]|[68]))/.test(t)?14===t.length:16&a&&/^(2(014|149))/.test(t)?15===t.length:32&a&&/^(6011)/.test(t)?16===t.length:64&a&&/^(3)/.test(t)?16===t.length:64&a&&/^(2131|1800)/.test(t)?15===t.length:!!(128&a)},"Please enter a valid credit card number."),d.validator.addMethod("currency",function(t,e,i){var a,n="string"==typeof i,r=n?i:i[0],s=!!n||i[1];return r=r.replace(/,/g,""),a="^["+(r=s?r+"]":r+"]?")+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",a=new RegExp(a),this.optional(e)||a.test(t)},"Please specify a valid currency"),d.validator.addMethod("dateFA",function(t,e){return this.optional(e)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(t)},d.validator.messages.date),d.validator.addMethod("dateITA",function(t,e){var i,a,n,r,s,o=!1;return/^\d{1,2}\/\d{1,2}\/\d{4}$/.test(t)?(i=t.split("/"),a=parseInt(i[0],10),n=parseInt(i[1],10),r=parseInt(i[2],10),o=(s=new Date(Date.UTC(r,n-1,a,12,0,0,0))).getUTCFullYear()===r&&s.getUTCMonth()===n-1&&s.getUTCDate()===a):o=!1,this.optional(e)||o},d.validator.messages.date),d.validator.addMethod("dateNL",function(t,e){return this.optional(e)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(t)},d.validator.messages.date),d.validator.addMethod("extension",function(t,e,i){return i="string"==typeof i?i.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(e)||t.match(new RegExp("\\.("+i+")$","i"))},d.validator.format("Please enter a value with a valid extension.")),d.validator.addMethod("giroaccountNL",function(t,e){return this.optional(e)||/^[0-9]{1,7}$/.test(t)},"Please specify a valid giro account number"),d.validator.addMethod("iban",function(t,e){if(this.optional(e))return!0;var i,a,n,r,s,o=t.replace(/ /g,"").toUpperCase(),d="",l=!0,u="";if(o.length<5)return!1;if(void 0!==(n={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"}[o.substring(0,2)])&&!new RegExp("^[A-Z]{2}\\d{2}"+n+"$","").test(o))return!1;for(i=o.substring(4,o.length)+o.substring(0,4),r=0;r<i.length;r++)"0"!==(a=i.charAt(r))&&(l=!1),l||(d+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(a));for(s=0;s<d.length;s++)u=(""+u+d.charAt(s))%97;return 1===u},"Please specify a valid IBAN"),d.validator.addMethod("integer",function(t,e){return this.optional(e)||/^-?\d+$/.test(t)},"A positive or negative non-decimal number please"),d.validator.addMethod("ipv4",function(t,e){return this.optional(e)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(t)},"Please enter a valid IP v4 address."),d.validator.addMethod("ipv6",function(t,e){return this.optional(e)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(t)},"Please enter a valid IP v6 address."),d.validator.addMethod("lettersonly",function(t,e){return this.optional(e)||/^[a-z]+$/i.test(t)},"Letters only please"),d.validator.addMethod("letterswithbasicpunc",function(t,e){return this.optional(e)||/^[a-z\-.,()'"\s]+$/i.test(t)},"Letters or punctuation only please"),d.validator.addMethod("mobileNL",function(t,e){return this.optional(e)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(t)},"Please specify a valid mobile number"),d.validator.addMethod("mobileUK",function(t,e){return t=t.replace(/\(|\)|\s+|-/g,""),this.optional(e)||9<t.length&&t.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),d.validator.addMethod("netmask",function(t,e){return this.optional(e)||/^(254|252|248|240|224|192|128)\.0\.0\.0|255\.(254|252|248|240|224|192|128|0)\.0\.0|255\.255\.(254|252|248|240|224|192|128|0)\.0|255\.255\.255\.(254|252|248|240|224|192|128|0)/i.test(t)},"Please enter a valid netmask."),d.validator.addMethod("nieES",function(t,e){"use strict";if(this.optional(e))return!0;var i,a=new RegExp(/^[MXYZ]{1}[0-9]{7,8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/gi),n=t.substr(t.length-1).toUpperCase();return!(10<(t=t.toString().toUpperCase()).length||t.length<9||!a.test(t))&&(i=9===(t=t.replace(/^[X]/,"0").replace(/^[Y]/,"1").replace(/^[Z]/,"2")).length?t.substr(0,8):t.substr(0,9),"TRWAGMYFPDXBNJZSQVHLCKET".charAt(parseInt(i,10)%23)===n)},"Please specify a valid NIE number."),d.validator.addMethod("nifES",function(t,e){"use strict";return!!this.optional(e)||!!(t=t.toUpperCase()).match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")&&(/^[0-9]{8}[A-Z]{1}$/.test(t)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(t.substring(8,0)%23)===t.charAt(8):!!/^[KLM]{1}/.test(t)&&t[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(t.substring(8,1)%23))},"Please specify a valid NIF number."),d.validator.addMethod("nipPL",function(t){"use strict";if(10!==(t=t.replace(/[^0-9]/g,"")).length)return!1;for(var e=[6,5,7,2,3,4,5,6,7],i=0,a=0;a<9;a++)i+=e[a]*t[a];var n=i%11;return(10===n?0:n)===parseInt(t[9],10)},"Please specify a valid NIP number."),d.validator.addMethod("notEqualTo",function(t,e,i){return this.optional(e)||!d.validator.methods.equalTo.call(this,t,e,i)},"Please enter a different value, values must not be the same."),d.validator.addMethod("nowhitespace",function(t,e){return this.optional(e)||/^\S+$/i.test(t)},"No white space please"),d.validator.addMethod("pattern",function(t,e,i){return!!this.optional(e)||("string"==typeof i&&(i=new RegExp("^(?:"+i+")$")),i.test(t))},d.validator.messages.invalidformat||"Invalid format."),d.validator.addMethod("phoneNL",function(t,e){return this.optional(e)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(t)},"Please specify a valid phone number."),d.validator.addMethod("phonesUK",function(t,e){return t=t.replace(/\(|\)|\s+|-/g,""),this.optional(e)||9<t.length&&t.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),d.validator.addMethod("phoneUK",function(t,e){return t=t.replace(/\(|\)|\s+|-/g,""),this.optional(e)||9<t.length&&t.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),d.validator.addMethod("phoneUS",function(t,e){return t=t.replace(/\s+/g,""),this.optional(e)||9<t.length&&t.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]([02-9]\d|1[02-9])-?\d{4}$/)},"Please specify a valid phone number"),d.validator.addMethod("postalcodeBR",function(t,e){return this.optional(e)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(t)},"Informe um CEP válido."),d.validator.addMethod("postalCodeCA",function(t,e){return this.optional(e)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(t)},"Please specify a valid postal code"),d.validator.addMethod("postalcodeIT",function(t,e){return this.optional(e)||/^\d{5}$/.test(t)},"Please specify a valid postal code"),d.validator.addMethod("postalcodeNL",function(t,e){return this.optional(e)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(t)},"Please specify a valid postal code"),d.validator.addMethod("postcodeUK",function(t,e){return this.optional(e)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(t)},"Please specify a valid UK postcode"),d.validator.addMethod("require_from_group",function(t,e,i){var a=d(i[1],e.form),n=a.eq(0),r=n.data("valid_req_grp")?n.data("valid_req_grp"):d.extend({},this),s=a.filter(function(){return r.elementValue(this)}).length>=i[0];return n.data("valid_req_grp",r),d(e).data("being_validated")||(a.data("being_validated",!0),a.each(function(){r.element(this)}),a.data("being_validated",!1)),s},d.validator.format("Please fill at least {0} of these fields.")),d.validator.addMethod("skip_or_fill_minimum",function(t,e,i){var a=d(i[1],e.form),n=a.eq(0),r=n.data("valid_skip")?n.data("valid_skip"):d.extend({},this),s=a.filter(function(){return r.elementValue(this)}).length,o=0===s||s>=i[0];return n.data("valid_skip",r),d(e).data("being_validated")||(a.data("being_validated",!0),a.each(function(){r.element(this)}),a.data("being_validated",!1)),o},d.validator.format("Please either skip these fields or fill at least {0} of them.")),d.validator.addMethod("stateUS",function(t,e,i){var a,n=void 0===i,r=!n&&void 0!==i.caseSensitive&&i.caseSensitive,s=!n&&void 0!==i.includeTerritories&&i.includeTerritories,o=!n&&void 0!==i.includeMilitary&&i.includeMilitary;return a=s||o?s&&o?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":s?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",a=r?new RegExp(a):new RegExp(a,"i"),this.optional(e)||a.test(t)},"Please specify a valid state"),d.validator.addMethod("strippedminlength",function(t,e,i){return d(t).text().length>=i},d.validator.format("Please enter at least {0} characters")),d.validator.addMethod("time",function(t,e){return this.optional(e)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(t)},"Please enter a valid time, between 00:00 and 23:59"),d.validator.addMethod("time12h",function(t,e){return this.optional(e)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(t)},"Please enter a valid time in 12-hour am/pm format"),d.validator.addMethod("url2",function(t,e){return this.optional(e)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},d.validator.messages.url),d.validator.addMethod("vinUS",function(t){if(17!==t.length)return!1;var e,i,a,n,r,s,o=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],d=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],l=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],u=0;for(e=0;e<17;e++){if(n=l[e],a=t.slice(e,e+1),8===e&&(s=a),isNaN(a)){for(i=0;i<o.length;i++)if(a.toUpperCase()===o[i]){a=d[i],a*=n,isNaN(s)&&8===i&&(s=o[i]);break}}else a*=n;u+=a}return 10===(r=u%11)&&(r="X"),r===s},"The specified vehicle identification number (VIN) is invalid."),d.validator.addMethod("zipcodeUS",function(t,e){return this.optional(e)||/^\d{5}(-\d{4})?$/.test(t)},"The specified US ZIP Code is invalid"),d.validator.addMethod("ziprange",function(t,e){return this.optional(e)||/^90[2-5]\d\{2\}-\d{4}$/.test(t)},"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx"),d});
+!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){t.extend(t.fn,{validate:function(e){if(this.length){var i=t.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(e){function a(){var a,n;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(a=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),!i.settings.submitHandler||(n=i.settings.submitHandler.call(i,i.currentForm,e),a&&a.remove(),void 0!==n&&n)}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,a()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):a():(i.focusInvalid(),!1)})),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,i,a;return t(this[0]).is("form")?e=this.validate().form():(a=[],e=!0,i=t(this[0].form).validate(),this.each(function(){(e=i.element(this)&&e)||(a=a.concat(i.errorList))}),i.errorList=a),e},rules:function(e,i){var a,n,r,s,o,d,l=this[0];if(null!=l&&(!l.form&&l.hasAttribute("contenteditable")&&(l.form=this.closest("form")[0],l.name=this.attr("name")),null!=l.form)){if(e)switch(a=t.data(l.form,"validator").settings,n=a.rules,r=t.validator.staticRules(l),e){case"add":t.extend(r,t.validator.normalizeRule(i)),delete r.messages,n[l.name]=r,i.messages&&(a.messages[l.name]=t.extend(a.messages[l.name],i.messages));break;case"remove":return i?(d={},t.each(i.split(/\s/),function(t,e){d[e]=r[e],delete r[e]}),d):(delete n[l.name],r)}return(s=t.validator.normalizeRules(t.extend({},t.validator.classRules(l),t.validator.attributeRules(l),t.validator.dataRules(l),t.validator.staticRules(l)),l)).required&&(o=s.required,delete s.required,s=t.extend({required:o},s)),s.remote&&(o=s.remote,delete s.remote,s=t.extend(s,{remote:o})),s}}}),t.extend(t.expr.pseudos||t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){var i=t(e).val();return null!==i&&!!t.trim(""+i)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:void 0===i?e:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,a){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(a):t(e).addClass(i).removeClass(a)},unhighlight:function(e,i,a){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(a):t(e).removeClass(i).addClass(a)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){!this.form&&this.hasAttribute("contenteditable")&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name"));var i=t.data(this.form,"validator"),a="on"+e.type.replace(/^validate/,""),n=i.settings;n[a]&&!t(this).is(n.ignore)&&n[a].call(i,this,e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,a=this.groups={};t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){a[i]=e})}),i=this.settings.rules,t.each(i,function(e,a){i[e]=t.validator.normalizeRule(a)}),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",e).on("click.validate","select, option, [type='radio'], [type='checkbox']",e),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var i,a,n=this.clean(e),r=this.validationTargetFor(n),s=this,o=!0;return void 0===r?delete this.invalid[n.name]:(this.prepareElement(r),this.currentElements=t(r),(a=this.groups[r.name])&&t.each(this.groups,function(t,e){e===a&&t!==r.name&&(n=s.validationTargetFor(s.clean(s.findByName(t))))&&n.name in s.invalid&&(s.currentElements.push(n),o=s.check(n)&&o)}),i=!1!==this.check(r),o=o&&i,this.invalid[r.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!i)),o},showErrors:function(e){if(e){var i=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var a=this.name||t(this).attr("name");return!a&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.hasAttribute("contenteditable")&&(this.form=t(this).closest("form")[0],this.name=a),!(a in i||!e.objectLength(t(this).rules()))&&(i[a]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,a,n=t(e),r=e.type;return"radio"===r||"checkbox"===r?this.findByName(e.name).filter(":checked").val():"number"===r&&void 0!==e.validity?e.validity.badInput?"NaN":n.val():(i=e.hasAttribute("contenteditable")?n.text():n.val(),"file"===r?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(a=i.lastIndexOf("/"))>=0?i.substr(a+1):(a=i.lastIndexOf("\\"))>=0?i.substr(a+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var i,a,n,r,s=t(e).rules(),o=t.map(s,function(t,e){return e}).length,d=!1,l=this.elementValue(e);if("function"==typeof s.normalizer?r=s.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r){if("string"!=typeof(l=r.call(e,l)))throw new TypeError("The normalizer should return a string value.");delete s.normalizer}for(a in s){n={method:a,parameters:s[a]};try{if("dependency-mismatch"===(i=t.validator.methods[a].call(this,l,e,n.parameters))&&1===o){d=!0;continue}if(d=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,n),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+n.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+n.method+"' method."),t}}if(!d)return this.objectLength(s)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){"string"==typeof i&&(i={method:i});var a=this.findDefined(this.customMessage(e.name,i.method),this.customDataMessage(e,i.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),n=/\$?\{(\d+)\}/g;return"function"==typeof a?a=a.call(this,i.parameters,e):n.test(a)&&(a=t.validator.format(a.replace(n,"{$1}"),i.parameters)),a},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var a,n,r,s,o=this.errorsFor(e),d=this.idOrName(e),l=t(e).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(i)):(a=o=t("<"+this.settings.errorElement+">").attr("id",d+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(a=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(a):this.settings.errorPlacement?this.settings.errorPlacement.call(this,a,t(e)):a.insertAfter(e),o.is("label")?o.attr("for",d):0===o.parents("label[for='"+this.escapeCssMeta(d)+"']").length&&(r=o.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(l+=" "+r):l=r,t(e).attr("aria-describedby",l),(n=this.groups[e.name])&&(s=this,t.each(s.groups,function(e,i){i===n&&t("[name='"+s.escapeCssMeta(e)+"']",s.currentForm).attr("aria-describedby",o.attr("id"))})))),!i&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,e)),this.toShow=this.toShow.add(o)},errorsFor:function(e){var i=this.escapeCssMeta(this.idOrName(e)),a=t(e).attr("aria-describedby"),n="label[for='"+i+"'], label[for='"+i+"'] *";return a&&(n=n+", #"+this.escapeCssMeta(a).replace(/\s+/g,", #")),this.errors().filter(n)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,i){return!!t(e,i.form).length},function:function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,i){return i="string"==typeof i&&i||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:i})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},a=t(e).attr("class");return a&&t.each(a.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(t,e,i,a){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(a=Number(a),isNaN(a)&&(a=void 0)),a||0===a?t[i]=a:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(e){var i,a,n={},r=t(e),s=e.getAttribute("type");for(i in t.validator.methods)"required"===i?(""===(a=e.getAttribute(i))&&(a=!0),a=!!a):a=r.attr(i),this.normalizeAttributeRule(n,s,i,a);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(e){var i,a,n={},r=t(e),s=e.getAttribute("type");for(i in t.validator.methods)a=r.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),this.normalizeAttributeRule(n,s,i,a);return n},staticRules:function(e){var i={},a=t.data(e.form,"validator");return a.settings.rules&&(i=t.validator.normalizeRule(a.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(a,n){if(!1!==n){if(n.param||n.depends){var r=!0;switch(typeof n.depends){case"string":r=!!t(n.depends,i.form).length;break;case"function":r=n.depends.call(i,i)}r?e[a]=void 0===n.param||n.param:(t.data(i.form,"validator").resetElements(t(i)),delete e[a])}}else delete e[a]}),t.each(e,function(a,n){e[a]=t.isFunction(n)&&"normalizer"!==a?n(i):n}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,a){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==a?a:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,a){if(!this.depend(a,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var n=t(i).val();return n&&n.length>0}return this.checkable(i)?this.getLength(e,i)>0:e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(e,i,a){var n=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||n>=a},maxlength:function(e,i,a){var n=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||n<=a},rangelength:function(e,i,a){var n=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||n>=a[0]&&n<=a[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(e,i,a){var n,r=t(i).attr("type"),s="Step attribute on input type "+r+" is not supported.",o=new RegExp("\\b"+r+"\\b"),d=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},l=function(t){return Math.round(t*Math.pow(10,n))},u=!0;if(r&&!o.test(["text","number","range"].join()))throw new Error(s);return n=d(a),(d(e)>n||l(e)%l(a)!=0)&&(u=!1),this.optional(i)||u},equalTo:function(e,i,a){var n=t(a);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){t(i).valid()}),e===n.val()},remote:function(e,i,a,n){if(this.optional(i))return"dependency-mismatch";n="string"==typeof n&&n||"remote";var r,s,o,d=this.previousValue(i,n);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),d.originalMessage=d.originalMessage||this.settings.messages[i.name][n],this.settings.messages[i.name][n]=d.message,a="string"==typeof a&&{url:a}||a,o=t.param(t.extend({data:e},a.data)),d.old===o?d.valid:(d.old=o,r=this,this.startRequest(i),s={},s[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:s,context:r.currentForm,success:function(t){var a,s,o,l=!0===t||"true"===t;r.settings.messages[i.name][n]=d.originalMessage,l?(o=r.formSubmitted,r.resetInternals(),r.toHide=r.errorsFor(i),r.formSubmitted=o,r.successList.push(i),r.invalid[i.name]=!1,r.showErrors()):(a={},s=t||r.defaultMessage(i,{method:n,parameters:e}),a[i.name]=d.message=s,r.invalid[i.name]=!0,r.showErrors(a)),d.valid=l,r.stopRequest(i,l)}},a)),"pending")}}});var e,i={};return t.ajaxPrefilter?t.ajaxPrefilter(function(t,e,a){var n=t.port;"abort"===t.mode&&(i[n]&&i[n].abort(),i[n]=a)}):(e=t.ajax,t.ajax=function(a){var n=("mode"in a?a:t.ajaxSettings).mode,r=("port"in a?a:t.ajaxSettings).port;return"abort"===n?(i[r]&&i[r].abort(),i[r]=e.apply(this,arguments),i[r]):e.apply(this,arguments)}),t}),function(t){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){return function(){function e(t){return t.replace(/<.[^<>]*?>/g," ").replace(/&nbsp;|&#160;/gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}t.validator.addMethod("maxWords",function(t,i,a){return this.optional(i)||e(t).match(/\b\w+\b/g).length<=a},t.validator.format("Please enter {0} words or less.")),t.validator.addMethod("minWords",function(t,i,a){return this.optional(i)||e(t).match(/\b\w+\b/g).length>=a},t.validator.format("Please enter at least {0} words.")),t.validator.addMethod("rangeWords",function(t,i,a){var n=e(t),r=/\b\w+\b/g;return this.optional(i)||n.match(r).length>=a[0]&&n.match(r).length<=a[1]},t.validator.format("Please enter between {0} and {1} words."))}(),t.validator.addMethod("accept",function(e,i,a){var n,r,s="string"==typeof a?a.replace(/\s/g,""):"image/*",o=this.optional(i);if(o)return o;if("file"===t(i).attr("type")&&(s=s.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),i.files&&i.files.length))for(r=new RegExp(".?("+s+")$","i"),n=0;n<i.files.length;n++)if(!i.files[n].type.match(r))return!1;return!0},t.validator.format("Please enter a value with a valid mimetype.")),t.validator.addMethod("alphanumeric",function(t,e){return this.optional(e)||/^\w+$/i.test(t)},"Letters, numbers, and underscores only please"),t.validator.addMethod("bankaccountNL",function(t,e){if(this.optional(e))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(t))return!1;var i,a=t.replace(/ /g,""),n=0,r=a.length;for(i=0;i<r;i++)n+=(r-i)*a.substring(i,i+1);return n%11==0},"Please specify a valid bank account number"),t.validator.addMethod("bankorgiroaccountNL",function(e,i){return this.optional(i)||t.validator.methods.bankaccountNL.call(this,e,i)||t.validator.methods.giroaccountNL.call(this,e,i)},"Please specify a valid bank or giro account number"),t.validator.addMethod("bic",function(t,e){return this.optional(e)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-9])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(t.toUpperCase())},"Please specify a valid BIC code"),t.validator.addMethod("cifES",function(t,e){"use strict";if(this.optional(e))return!0;var i,a,n,r,s=new RegExp(/^([ABCDEFGHJKLMNPQRSUVW])(\d{7})([0-9A-J])$/gi),o=t.substring(0,1),d=t.substring(1,8),l=t.substring(8,9),u=0,h=0,c=0;if(9!==t.length||!s.test(t))return!1;for(i=0;i<d.length;i++)a=parseInt(d[i],10),!function(t){return t%2==0}(i)?h+=a:c+=(a*=2)<10?a:a-9;return u=h+c,n=(10-u.toString().substr(-1)).toString(),n=parseInt(n,10)>9?"0":n,r="JABCDEFGHI".substr(n,1).toString(),o.match(/[ABEH]/)?l===n:o.match(/[KPQS]/)?l===r:l===n||l===r},"Please specify a valid CIF number."),t.validator.addMethod("cpfBR",function(t){if(11!==(t=t.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,"")).length)return!1;var e,i,a,n,r=0;if(e=parseInt(t.substring(9,10),10),i=parseInt(t.substring(10,11),10),a=function(t,e){var i=10*t%11;return 10!==i&&11!==i||(i=0),i===e},""===t||"00000000000"===t||"11111111111"===t||"22222222222"===t||"33333333333"===t||"44444444444"===t||"55555555555"===t||"66666666666"===t||"77777777777"===t||"88888888888"===t||"99999999999"===t)return!1;for(n=1;n<=9;n++)r+=parseInt(t.substring(n-1,n),10)*(11-n);if(a(r,e)){for(r=0,n=1;n<=10;n++)r+=parseInt(t.substring(n-1,n),10)*(12-n);return a(r,i)}return!1},"Please specify a valid CPF number"),t.validator.addMethod("creditcard",function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i,a,n=0,r=0,s=!1;if((t=t.replace(/\D/g,"")).length<13||t.length>19)return!1;for(i=t.length-1;i>=0;i--)a=t.charAt(i),r=parseInt(a,10),s&&(r*=2)>9&&(r-=9),n+=r,s=!s;return n%10==0},"Please enter a valid credit card number."),t.validator.addMethod("creditcardtypes",function(t,e,i){if(/[^0-9\-]+/.test(t))return!1;t=t.replace(/\D/g,"");var a=0;return i.mastercard&&(a|=1),i.visa&&(a|=2),i.amex&&(a|=4),i.dinersclub&&(a|=8),i.enroute&&(a|=16),i.discover&&(a|=32),i.jcb&&(a|=64),i.unknown&&(a|=128),i.all&&(a=255),1&a&&/^(5[12345])/.test(t)?16===t.length:2&a&&/^(4)/.test(t)?16===t.length:4&a&&/^(3[47])/.test(t)?15===t.length:8&a&&/^(3(0[012345]|[68]))/.test(t)?14===t.length:16&a&&/^(2(014|149))/.test(t)?15===t.length:32&a&&/^(6011)/.test(t)?16===t.length:64&a&&/^(3)/.test(t)?16===t.length:64&a&&/^(2131|1800)/.test(t)?15===t.length:!!(128&a)},"Please enter a valid credit card number."),t.validator.addMethod("currency",function(t,e,i){var a,n="string"==typeof i,r=n?i:i[0],s=!!n||i[1];return r=r.replace(/,/g,""),r=s?r+"]":r+"]?",a="^["+r+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",a=new RegExp(a),this.optional(e)||a.test(t)},"Please specify a valid currency"),t.validator.addMethod("dateFA",function(t,e){return this.optional(e)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(t)},t.validator.messages.date),t.validator.addMethod("dateITA",function(t,e){var i,a,n,r,s,o=!1;return/^\d{1,2}\/\d{1,2}\/\d{4}$/.test(t)?(i=t.split("/"),a=parseInt(i[0],10),n=parseInt(i[1],10),r=parseInt(i[2],10),o=(s=new Date(Date.UTC(r,n-1,a,12,0,0,0))).getUTCFullYear()===r&&s.getUTCMonth()===n-1&&s.getUTCDate()===a):o=!1,this.optional(e)||o},t.validator.messages.date),t.validator.addMethod("dateNL",function(t,e){return this.optional(e)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(t)},t.validator.messages.date),t.validator.addMethod("extension",function(t,e,i){return i="string"==typeof i?i.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(e)||t.match(new RegExp("\\.("+i+")$","i"))},t.validator.format("Please enter a value with a valid extension.")),t.validator.addMethod("giroaccountNL",function(t,e){return this.optional(e)||/^[0-9]{1,7}$/.test(t)},"Please specify a valid giro account number"),t.validator.addMethod("iban",function(t,e){if(this.optional(e))return!0;var i,a,n,r,s,o,d,l=t.replace(/ /g,"").toUpperCase(),u="",h=!0,c="";if(l.length<5)return!1;if(i=l.substring(0,2),s={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"},void 0!==(r=s[i])&&!new RegExp("^[A-Z]{2}\\d{2}"+r+"$","").test(l))return!1;for(a=l.substring(4,l.length)+l.substring(0,4),o=0;o<a.length;o++)"0"!==(n=a.charAt(o))&&(h=!1),h||(u+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(n));for(d=0;d<u.length;d++)c=(""+c+u.charAt(d))%97;return 1===c},"Please specify a valid IBAN"),t.validator.addMethod("integer",function(t,e){return this.optional(e)||/^-?\d+$/.test(t)},"A positive or negative non-decimal number please"),t.validator.addMethod("ipv4",function(t,e){return this.optional(e)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(t)},"Please enter a valid IP v4 address."),t.validator.addMethod("ipv6",function(t,e){return this.optional(e)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(t)},"Please enter a valid IP v6 address."),t.validator.addMethod("lettersonly",function(t,e){return this.optional(e)||/^[a-z]+$/i.test(t)},"Letters only please"),t.validator.addMethod("letterswithbasicpunc",function(t,e){return this.optional(e)||/^[a-z\-.,()'"\s]+$/i.test(t)},"Letters or punctuation only please"),t.validator.addMethod("mobileNL",function(t,e){return this.optional(e)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(t)},"Please specify a valid mobile number"),t.validator.addMethod("mobileUK",function(t,e){return t=t.replace(/\(|\)|\s+|-/g,""),this.optional(e)||t.length>9&&t.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),t.validator.addMethod("netmask",function(t,e){return this.optional(e)||/^(254|252|248|240|224|192|128)\.0\.0\.0|255\.(254|252|248|240|224|192|128|0)\.0\.0|255\.255\.(254|252|248|240|224|192|128|0)\.0|255\.255\.255\.(254|252|248|240|224|192|128|0)/i.test(t)},"Please enter a valid netmask."),t.validator.addMethod("nieES",function(t,e){"use strict";if(this.optional(e))return!0;var i,a=new RegExp(/^[MXYZ]{1}[0-9]{7,8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/gi),n=t.substr(t.length-1).toUpperCase();return!((t=t.toString().toUpperCase()).length>10||t.length<9||!a.test(t))&&(t=t.replace(/^[X]/,"0").replace(/^[Y]/,"1").replace(/^[Z]/,"2"),i=9===t.length?t.substr(0,8):t.substr(0,9),"TRWAGMYFPDXBNJZSQVHLCKET".charAt(parseInt(i,10)%23)===n)},"Please specify a valid NIE number."),t.validator.addMethod("nifES",function(t,e){"use strict";return!!this.optional(e)||!!(t=t.toUpperCase()).match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")&&(/^[0-9]{8}[A-Z]{1}$/.test(t)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(t.substring(8,0)%23)===t.charAt(8):!!/^[KLM]{1}/.test(t)&&t[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(t.substring(8,1)%23))},"Please specify a valid NIF number."),t.validator.addMethod("nipPL",function(t){"use strict";if(10!==(t=t.replace(/[^0-9]/g,"")).length)return!1;for(var e=[6,5,7,2,3,4,5,6,7],i=0,a=0;a<9;a++)i+=e[a]*t[a];var n=i%11;return(10===n?0:n)===parseInt(t[9],10)},"Please specify a valid NIP number."),t.validator.addMethod("notEqualTo",function(e,i,a){return this.optional(i)||!t.validator.methods.equalTo.call(this,e,i,a)},"Please enter a different value, values must not be the same."),t.validator.addMethod("nowhitespace",function(t,e){return this.optional(e)||/^\S+$/i.test(t)},"No white space please"),t.validator.addMethod("pattern",function(t,e,i){return!!this.optional(e)||("string"==typeof i&&(i=new RegExp("^(?:"+i+")$")),i.test(t))},t.validator.messages.invalidformat||"Invalid format."),t.validator.addMethod("phoneNL",function(t,e){return this.optional(e)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(t)},"Please specify a valid phone number."),t.validator.addMethod("phonesUK",function(t,e){return t=t.replace(/\(|\)|\s+|-/g,""),this.optional(e)||t.length>9&&t.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),t.validator.addMethod("phoneUK",function(t,e){return t=t.replace(/\(|\)|\s+|-/g,""),this.optional(e)||t.length>9&&t.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),t.validator.addMethod("phoneUS",function(t,e){return t=t.replace(/\s+/g,""),this.optional(e)||t.length>9&&t.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]([02-9]\d|1[02-9])-?\d{4}$/)},"Please specify a valid phone number"),t.validator.addMethod("postalcodeBR",function(t,e){return this.optional(e)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(t)},"Informe um CEP válido."),t.validator.addMethod("postalCodeCA",function(t,e){return this.optional(e)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(t)},"Please specify a valid postal code"),t.validator.addMethod("postalcodeIT",function(t,e){return this.optional(e)||/^\d{5}$/.test(t)},"Please specify a valid postal code"),t.validator.addMethod("postalcodeNL",function(t,e){return this.optional(e)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(t)},"Please specify a valid postal code"),t.validator.addMethod("postcodeUK",function(t,e){return this.optional(e)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(t)},"Please specify a valid UK postcode"),t.validator.addMethod("require_from_group",function(e,i,a){var n=t(a[1],i.form),r=n.eq(0),s=r.data("valid_req_grp")?r.data("valid_req_grp"):t.extend({},this),o=n.filter(function(){return s.elementValue(this)}).length>=a[0];return r.data("valid_req_grp",s),t(i).data("being_validated")||(n.data("being_validated",!0),n.each(function(){s.element(this)}),n.data("being_validated",!1)),o},t.validator.format("Please fill at least {0} of these fields.")),t.validator.addMethod("skip_or_fill_minimum",function(e,i,a){var n=t(a[1],i.form),r=n.eq(0),s=r.data("valid_skip")?r.data("valid_skip"):t.extend({},this),o=n.filter(function(){return s.elementValue(this)}).length,d=0===o||o>=a[0];return r.data("valid_skip",s),t(i).data("being_validated")||(n.data("being_validated",!0),n.each(function(){s.element(this)}),n.data("being_validated",!1)),d},t.validator.format("Please either skip these fields or fill at least {0} of them.")),t.validator.addMethod("stateUS",function(t,e,i){var a,n=void 0===i,r=!n&&void 0!==i.caseSensitive&&i.caseSensitive,s=!n&&void 0!==i.includeTerritories&&i.includeTerritories,o=!n&&void 0!==i.includeMilitary&&i.includeMilitary;return a=s||o?s&&o?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":s?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",a=r?new RegExp(a):new RegExp(a,"i"),this.optional(e)||a.test(t)},"Please specify a valid state"),t.validator.addMethod("strippedminlength",function(e,i,a){return t(e).text().length>=a},t.validator.format("Please enter at least {0} characters")),t.validator.addMethod("time",function(t,e){return this.optional(e)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(t)},"Please enter a valid time, between 00:00 and 23:59"),t.validator.addMethod("time12h",function(t,e){return this.optional(e)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(t)},"Please enter a valid time in 12-hour am/pm format"),t.validator.addMethod("url2",function(t,e){return this.optional(e)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},t.validator.messages.url),t.validator.addMethod("vinUS",function(t){if(17!==t.length)return!1;var e,i,a,n,r,s,o=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],d=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],l=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],u=0;for(e=0;e<17;e++){if(n=l[e],a=t.slice(e,e+1),8===e&&(s=a),isNaN(a)){for(i=0;i<o.length;i++)if(a.toUpperCase()===o[i]){a=d[i],a*=n,isNaN(s)&&8===i&&(s=o[i]);break}}else a*=n;u+=a}return 10===(r=u%11)&&(r="X"),r===s},"The specified vehicle identification number (VIN) is invalid."),t.validator.addMethod("zipcodeUS",function(t,e){return this.optional(e)||/^\d{5}(-\d{4})?$/.test(t)},"The specified US ZIP Code is invalid"),t.validator.addMethod("ziprange",function(t,e){return this.optional(e)||/^90[2-5]\d\{2\}-\d{4}$/.test(t)},"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx"),t});
--- a/src/pyams_skin/resources/js/ext/jquery-xmlrpc.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-xmlrpc.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(g){var c=function(){Error.apply(this,arguments)};c.prototype=new Error();c.prototype.type="XML-RPC fault";var a=g.xmlrpc=function(i,j){if(arguments.length===2){j.url=i}else{j=i;i=j.url}j.dataType="xml json";j.type="POST";j.contentType="text/xml";j.converters={"xml json":a.parseDocument};var k=a.document(j.methodName,j.params||[]);if("XMLSerializer" in window){j.data=new window.XMLSerializer().serializeToString(k)}else{j.data=k.xml}return g.ajax(j)};a.createXMLDocument=function(){if(document.implementation&&"createDocument" in document.implementation){return document.implementation.createDocument(null,null,null)}else{var l,m,j=["MSXML6.DomDocument","MSXML3.DomDocument","MSXML2.DomDocument","MSXML.DomDocument","Microsoft.XmlDom"];for(l=0,m=j.length;l<m;l++){try{return new ActiveXObject(j[l])}catch(k){}}}};a.document=function(l,o){var n=a.createXMLDocument();var m=function(p){return g(n.createElement(p))};var j=m("methodName").text(l);var i=m("params").append(g.map(o,function(q){var p=m("value").append(a.toXmlRpc(q,m));return m("param").append(p)}));var k=m("methodCall").append(j,i);n.appendChild(k.get(0));return n};var b=function(i){return(i===parseInt(i,10))&&!isNaN(i)};a.toXmlRpc=function(l,k){if(l instanceof f){return l.toXmlRpc(k)}var i=g.xmlrpc.types;var j=g.type(l);switch(j){case"undefined":case"null":return i.nil.encode(l,k);case"date":return i["datetime.iso8601"].encode(l,k);case"object":if(l instanceof ArrayBuffer){return i.base64.encode(l,k)}else{return i.struct.encode(l,k)}break;case"number":if(b(l)){return i["int"].encode(l,k)}else{return i["double"].encode(l,k)}break;case"array":case"boolean":case"string":return i[j].encode(l,k);default:throw new Error("Unknown type",l)}};a.parseDocument=function(o){var p=g(o);var i=p.children("methodresponse");var l=i.find("> fault");if(l.length===0){var j=i.find("> params > param > value > *");var k=j.toArray().map(a.parseNode);return k}else{var n=a.parseNode(l.find("> value > *").get(0));var m=new c(n.faultString);m.msg=m.message=n.faultString;m.type=m.code=n.faultCode;throw m}};a.parseNode=function(j){if(j===undefined){return null}var i=j.nodeName.toLowerCase();if(i in a.types){return a.types[i].decode(j)}else{throw new Error("Unknown type "+i)}};a.parseValue=function(i){var j=g(i).children()[0];if(j){return a.parseNode(j)}else{return g(i).text()}};var f=function(){};g.xmlrpc.types={};a.makeType=function(j,o,k,m){var i;i=function(p){this.value=p};i.prototype=new f();i.prototype.tagName=j;if(o){var l=k,n=m;k=function(q,p){var r=l(q);return p(i.tagName).text(r)};m=function(p){return n(g(p).text(),p)}}i.prototype.toXmlRpc=function(p){return i.encode(this.value,p)};i.tagName=j;i.encode=k;i.decode=m;a.types[j.toLowerCase()]=i};var e=function(i){return""+Math.floor(i)};var d=function(j,i){return parseInt(j,10)};a.makeType("int",true,e,d);a.makeType("i4",true,e,d);a.makeType("i8",true,e,d);a.makeType("i16",true,e,d);a.makeType("i32",true,e,d);a.makeType("double",true,String,function(i){return parseFloat(i,10)});a.makeType("string",true,String,String);a.makeType("boolean",true,function(i){return i?"1":"0"},function(i){return i==="1"});var h=function(i){return i<10?"0"+i:i};a.makeType("dateTime.iso8601",true,function(i){return[i.getUTCFullYear(),"-",h(i.getUTCMonth()+1),"-",h(i.getUTCDate()),"T",h(i.getUTCHours()),":",h(i.getUTCMinutes()),":",h(i.getUTCSeconds()),"Z"].join("")},function(i){return new Date(i)});a.binary=(function(){var k="=";var i=("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").split("");var j=i.reduce(function(n,m,l){n[m]=l;return n},{});return{toBase64:function(p){var o=[];var q=new Uint8Array(p);var m=0,n;for(;m<q.length;m+=3){n=(q[m+0]<<16)+(q[m+1]<<8)+(q[m+2]<<0);o.push(i[(n>>18)%64]);o.push(i[(n>>12)%64]);o.push(i[(n>>6)%64]);o.push(i[(n>>0)%64])}var l=3-((p.byteLength%3)||3);while(l--){o[o.length-l-1]=k}return o.join("")},fromBase64:function(m){var l=m.length;var s=(l/4)*3;if(m.charAt(l-1)===k){s--}if(m.charAt(l-2)===k){s--}var q=new ArrayBuffer(s);var r=new Uint8Array(q);var o=0,n=0,p;for(;o<l;o+=4,n+=3){p=(j[m[o+0]]<<18)+(j[m[o+1]]<<12)+(j[m[o+2]]<<6)+(j[m[o+3]]<<0);r[n+0]=(p>>16)%256;r[n+1]=(p>>8)%256;r[n+2]=(p>>0)%256}return q}}})();a.makeType("base64",true,function(i){return a.binary.toBase64(i)},function(i){return a.binary.fromBase64(i)});a.makeType("nil",false,function(j,i){return i("nil")},function(i){return null});a.makeType("struct",false,function(k,j){var i=j("struct");g.each(k,function(l,n){var o=j("name").text(l);var m=j("value").append(a.toXmlRpc(n,j));i.append(j("member").append(o,m))});return i},function(i){return g(i).find("> member").toArray().reduce(function(n,l){var k=g(l);var j=k.find("> name").text();var m=a.parseValue(k.find("> value"));n[j]=m;return n},{})});a.makeType("array",false,function(l,j){var k=j("array");var i=j("data");g.each(l,function(m,n){i.append(j("value").append(a.toXmlRpc(n,j)))});k.append(i);return k},function(i){return g(i).find("> data > value").toArray().map(a.parseValue)});a.force=function(i,j){return new a.types[i](j)}})(jQuery);
\ No newline at end of file
+!function(e){"use strict";var n=function(){Error.apply(this,arguments)};(n.prototype=new Error).type="XML-RPC fault";var t=e.xmlrpc=function(n,r){2===arguments.length?r.url=n:n=(r=n).url,r.dataType="xml json",r.type="POST",r.contentType="text/xml",r.converters={"xml json":t.parseDocument};var a=t.document(r.methodName,r.params||[]);return"XMLSerializer"in window?r.data=(new window.XMLSerializer).serializeToString(a):r.data=a.xml,e.ajax(r)};t.createXMLDocument=function(){if(document.implementation&&"createDocument"in document.implementation)return document.implementation.createDocument(null,null,null);var e,n,t=["MSXML6.DomDocument","MSXML3.DomDocument","MSXML2.DomDocument","MSXML.DomDocument","Microsoft.XmlDom"];for(e=0,n=t.length;e<n;e++)try{return new ActiveXObject(t[e])}catch(e){}},t.document=function(n,r){var a=t.createXMLDocument(),o=function(n){return e(a.createElement(n))},u=o("methodName").text(n),i=o("params").append(e.map(r,function(e){var n=o("value").append(t.toXmlRpc(e,o));return o("param").append(n)})),c=o("methodCall").append(u,i);return a.appendChild(c.get(0)),a};var r=function(e){return e===parseInt(e,10)&&!isNaN(e)};t.toXmlRpc=function(n,t){if(n instanceof a)return n.toXmlRpc(t);var o=e.xmlrpc.types,u=e.type(n);switch(u){case"undefined":case"null":return o.nil.encode(n,t);case"date":return o["datetime.iso8601"].encode(n,t);case"object":return n instanceof ArrayBuffer?o.base64.encode(n,t):o.struct.encode(n,t);case"number":return r(n)?o.int.encode(n,t):o.double.encode(n,t);case"array":case"boolean":case"string":return o[u].encode(n,t);default:throw new Error("Unknown type",n)}},t.parseDocument=function(r){var a=e(r).children("methodresponse"),o=a.find("> fault");if(0===o.length)return a.find("> params > param > value > *").toArray().map(t.parseNode);var u=t.parseNode(o.find("> value > *").get(0)),i=new n(u.faultString);throw i.msg=i.message=u.faultString,i.type=i.code=u.faultCode,i},t.parseNode=function(e){if(void 0===e)return null;var n=e.nodeName.toLowerCase();if(n in t.types)return t.types[n].decode(e);throw new Error("Unknown type "+n)},t.parseValue=function(n){var r=e(n).children()[0];return r?t.parseNode(r):e(n).text()};var a=function(){};e.xmlrpc.types={},t.makeType=function(n,r,o,u){var i;if(i=function(e){this.value=e},i.prototype=new a,i.prototype.tagName=n,r){var c=o,p=u;o=function(e,n){var t=c(e);return n(i.tagName).text(t)},u=function(n){return p(e(n).text(),n)}}i.prototype.toXmlRpc=function(e){return i.encode(this.value,e)},i.tagName=n,i.encode=o,i.decode=u,t.types[n.toLowerCase()]=i};var o=function(e){return""+Math.floor(e)},u=function(e,n){return parseInt(e,10)};t.makeType("int",!0,o,u),t.makeType("i4",!0,o,u),t.makeType("i8",!0,o,u),t.makeType("i16",!0,o,u),t.makeType("i32",!0,o,u),t.makeType("double",!0,String,function(e){return parseFloat(e,10)}),t.makeType("string",!0,String,String),t.makeType("boolean",!0,function(e){return e?"1":"0"},function(e){return"1"===e});var i=function(e){return e<10?"0"+e:e};t.makeType("dateTime.iso8601",!0,function(e){return[e.getUTCFullYear(),"-",i(e.getUTCMonth()+1),"-",i(e.getUTCDate()),"T",i(e.getUTCHours()),":",i(e.getUTCMinutes()),":",i(e.getUTCSeconds()),"Z"].join("")},function(e){return new Date(e)}),t.binary=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),n=e.reduce(function(e,n,t){return e[n]=t,e},{});return{toBase64:function(n){for(var t,r=[],a=new Uint8Array(n),o=0;o<a.length;o+=3)t=(a[o+0]<<16)+(a[o+1]<<8)+(a[o+2]<<0),r.push(e[(t>>18)%64]),r.push(e[(t>>12)%64]),r.push(e[(t>>6)%64]),r.push(e[(t>>0)%64]);for(var u=3-(n.byteLength%3||3);u--;)r[r.length-u-1]="=";return r.join("")},fromBase64:function(e){var t=e.length,r=t/4*3;"="===e.charAt(t-1)&&r--,"="===e.charAt(t-2)&&r--;for(var a,o=new ArrayBuffer(r),u=new Uint8Array(o),i=0,c=0;i<t;i+=4,c+=3)a=(n[e[i+0]]<<18)+(n[e[i+1]]<<12)+(n[e[i+2]]<<6)+(n[e[i+3]]<<0),u[c+0]=(a>>16)%256,u[c+1]=(a>>8)%256,u[c+2]=(a>>0)%256;return o}}}(),t.makeType("base64",!0,function(e){return t.binary.toBase64(e)},function(e){return t.binary.fromBase64(e)}),t.makeType("nil",!1,function(e,n){return n("nil")},function(e){return null}),t.makeType("struct",!1,function(n,r){var a=r("struct");return e.each(n,function(e,n){var o=r("name").text(e),u=r("value").append(t.toXmlRpc(n,r));a.append(r("member").append(o,u))}),a},function(n){return e(n).find("> member").toArray().reduce(function(n,r){var a=e(r),o=a.find("> name").text(),u=t.parseValue(a.find("> value"));return n[o]=u,n},{})}),t.makeType("array",!1,function(n,r){var a=r("array"),o=r("data");return e.each(n,function(e,n){o.append(r("value").append(t.toXmlRpc(n,r)))}),a.append(o),a},function(n){return e(n).find("> data > value").toArray().map(t.parseValue)}),t.force=function(e,n){return new t.types[e](n)}}(jQuery);
--- a/src/pyams_skin/resources/js/ext/tinymce/dev/jquery.tinymce.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/jquery.tinymce.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(d){var b,f,c,a=[],e=window;d.fn.tinymce=function(k){var i=this,j,l,o,m="";if(!i.length){return i}if(!k){return window.tinymce?tinymce.get(i[0].id):null}i.css("visibility","hidden");function n(){var q=[],p=0;if(!c){g();c=true}i.each(function(s,t){var r,v=t.id,u=k.oninit;if(!v){t.id=v=tinymce.DOM.uniqueId()}if(tinymce.get(v)){return}r=new tinymce.Editor(v,k,tinymce.EditorManager);q.push(r);r.on("init",function(){var w,x=u;i.css("visibility","");if(u){if(++p==q.length){if(typeof x==="string"){w=(x.indexOf(".")===-1)?null:tinymce.resolve(x.replace(/\.\w+$/,""));x=tinymce.resolve(x)}x.apply(w||tinymce,q)}}})});d.each(q,function(s,r){r.render()})}if(!e.tinymce&&!f&&(j=k.script_url)){f=1;l=j.substring(0,j.lastIndexOf("/"));if(j.indexOf(".min")!=-1){m=".min"}e.tinymce=e.tinyMCEPreInit||{base:l,suffix:m};if(j.indexOf("gzip")!=-1){o=k.language||"en";j=j+(/\?/.test(j)?"&":"?")+"js=true&core=true&suffix="+escape(m)+"&themes="+escape(k.theme||"modern")+"&plugins="+escape(k.plugins||"")+"&languages="+(o||"");if(!e.tinyMCE_GZ){e.tinyMCE_GZ={start:function(){function p(q){tinymce.ScriptLoader.markDone(tinymce.baseURI.toAbsolute(q))}p("langs/"+o+".js");p("themes/"+k.theme+"/theme"+m+".js");p("themes/"+k.theme+"/langs/"+o+".js");d.each(k.plugins.split(","),function(r,q){if(q){p("plugins/"+q+"/plugin"+m+".js");p("plugins/"+q+"/langs/"+o+".js")}})},end:function(){}}}}var h=document.createElement("script");h.type="text/javascript";h.onload=h.onreadystatechange=function(p){p=p||window.event;if(f!==2&&(p.type=="load"||/complete|loaded/.test(h.readyState))){tinymce.dom.Event.domLoaded=1;f=2;if(k.script_loaded){k.script_loaded()}n();d.each(a,function(q,r){r()})}};h.src=j;document.body.appendChild(h)}else{if(f===1){a.push(n)}else{n()}}return i};d.extend(d.expr[":"],{tinymce:function(i){var h;if(i.id&&"tinymce" in window){h=tinymce.get(i.id);if(h&&h.editorManager===tinymce){return true}}return false}});function g(){function j(m){if(m==="remove"){this.each(function(o,p){var n=i(p);if(n){n.remove()}})}this.find("span.mceEditor,div.mceEditor").each(function(o,p){var n=tinymce.get(p.id.replace(/_parent$/,""));if(n){n.remove()}})}function l(o){var n=this,m;if(o!=null){j.call(n);n.each(function(q,r){var p;if((p=tinymce.get(r.id))){p.setContent(o)}})}else{if(n.length>0){if((m=tinymce.get(n[0].id))){return m.getContent()}}}}function i(n){var m=null;if(n&&n.id&&e.tinymce){m=tinymce.get(n.id)}return m}function h(m){return !!((m)&&(m.length)&&(e.tinymce)&&(m.is(":tinymce")))}var k={};d.each(["text","html","val"],function(o,m){var p=k[m]=d.fn[m],n=(m==="text");d.fn[m]=function(t){var q=this;if(!h(q)){return p.apply(q,arguments)}if(t!==b){l.call(q.filter(":tinymce"),t);p.apply(q.not(":tinymce"),arguments);return q}else{var s="";var r=arguments;(n?q:q.eq(0)).each(function(v,w){var u=i(w);if(u){s+=n?u.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):u.getContent({save:true})}else{s+=p.apply(d(w),r)}});return s}}});d.each(["append","prepend"],function(o,n){var p=k[n]=d.fn[n],m=(n==="prepend");d.fn[n]=function(r){var q=this;if(!h(q)){return p.apply(q,arguments)}if(r!==b){if(typeof r==="string"){q.filter(":tinymce").each(function(t,u){var s=i(u);if(s){s.setContent(m?r+s.getContent():s.getContent()+r)}})}p.apply(q.not(":tinymce"),arguments);return q}}});d.each(["remove","replaceWith","replaceAll","empty"],function(n,m){var o=k[m]=d.fn[m];d.fn[m]=function(){j.call(this,m);return o.apply(this,arguments)}});k.attr=d.fn.attr;d.fn.attr=function(p,r){var n=this,o=arguments;if((!p)||(p!=="value")||(!h(n))){if(r!==b){return k.attr.apply(n,o)}else{return k.attr.apply(n,o)}}if(r!==b){l.call(n.filter(":tinymce"),r);k.attr.apply(n.not(":tinymce"),o);return n}else{var q=n[0],m=i(q);return m?m.getContent({save:true}):k.attr.apply(d(q),o)}}}})(jQuery);
\ No newline at end of file
+!function(e){function t(){function t(e){"remove"===e&&this.each(function(e,t){var n=r(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=tinymce.get(t.id.replace(/_parent$/,""));n&&n.remove()})}function i(e){var n,i=this;if(null!=e)t.call(i),i.each(function(t,n){var i;(i=tinymce.get(n.id))&&i.setContent(e)});else if(i.length>0&&(n=tinymce.get(i[0].id)))return n.getContent()}function r(e){var t=null;return e&&e.id&&a.tinymce&&(t=tinymce.get(e.id)),t}function c(e){return!!(e&&e.length&&a.tinymce&&e.is(":tinymce"))}var o={};e.each(["text","html","val"],function(t,a){var l=o[a]=e.fn[a],u="text"===a;e.fn[a]=function(t){var a=this;if(!c(a))return l.apply(a,arguments);if(t!==n)return i.call(a.filter(":tinymce"),t),l.apply(a.not(":tinymce"),arguments),a;var o="",s=arguments;return(u?a:a.eq(0)).each(function(t,n){var i=r(n);o+=i?u?i.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):i.getContent({save:!0}):l.apply(e(n),s)}),o}}),e.each(["append","prepend"],function(t,i){var a=o[i]=e.fn[i],l="prepend"===i;e.fn[i]=function(e){var t=this;return c(t)?e!==n?("string"==typeof e&&t.filter(":tinymce").each(function(t,n){var i=r(n);i&&i.setContent(l?e+i.getContent():i.getContent()+e)}),a.apply(t.not(":tinymce"),arguments),t):void 0:a.apply(t,arguments)}}),e.each(["remove","replaceWith","replaceAll","empty"],function(n,i){var r=o[i]=e.fn[i];e.fn[i]=function(){return t.call(this,i),r.apply(this,arguments)}}),o.attr=e.fn.attr,e.fn.attr=function(t,a){var l=this,u=arguments;if(!t||"value"!==t||!c(l))return o.attr.apply(l,u);if(a!==n)return i.call(l.filter(":tinymce"),a),o.attr.apply(l.not(":tinymce"),u),l;var s=l[0],f=r(s);return f?f.getContent({save:!0}):o.attr.apply(e(s),u)}}var n,i,r,c=[],a=window;e.fn.tinymce=function(n){function o(){var i=[],c=0;r||(t(),r=!0),f.each(function(e,t){var r,a=t.id,o=n.oninit;a||(t.id=a=tinymce.DOM.uniqueId()),tinymce.get(a)||(r=new tinymce.Editor(a,n,tinymce.EditorManager),i.push(r),r.on("init",function(){var e,t=o;f.css("visibility",""),o&&++c==i.length&&("string"==typeof t&&(e=-1===t.indexOf(".")?null:tinymce.resolve(t.replace(/\.\w+$/,"")),t=tinymce.resolve(t)),t.apply(e||tinymce,i))}))}),e.each(i,function(e,t){t.render()})}var l,u,s,f=this,p="";if(!f.length)return f;if(!n)return window.tinymce?tinymce.get(f[0].id):null;if(f.css("visibility","hidden"),a.tinymce||i||!(l=n.script_url))1===i?c.push(o):o();else{i=1,u=l.substring(0,l.lastIndexOf("/")),-1!=l.indexOf(".min")&&(p=".min"),a.tinymce=a.tinyMCEPreInit||{base:u,suffix:p},-1!=l.indexOf("gzip")&&(s=n.language||"en",l=l+(/\?/.test(l)?"&":"?")+"js=true&core=true&suffix="+escape(p)+"&themes="+escape(n.theme||"modern")+"&plugins="+escape(n.plugins||"")+"&languages="+(s||""),a.tinyMCE_GZ||(a.tinyMCE_GZ={start:function(){function t(e){tinymce.ScriptLoader.markDone(tinymce.baseURI.toAbsolute(e))}t("langs/"+s+".js"),t("themes/"+n.theme+"/theme"+p+".js"),t("themes/"+n.theme+"/langs/"+s+".js"),e.each(n.plugins.split(","),function(e,n){n&&(t("plugins/"+n+"/plugin"+p+".js"),t("plugins/"+n+"/langs/"+s+".js"))})},end:function(){}}));var m=document.createElement("script");m.type="text/javascript",m.onload=m.onreadystatechange=function(t){t=t||window.event,2===i||"load"!=t.type&&!/complete|loaded/.test(m.readyState)||(tinymce.dom.Event.domLoaded=1,i=2,n.script_loaded&&n.script_loaded(),o(),e.each(c,function(e,t){t()}))},m.src=l,document.body.appendChild(m)}return f},e.extend(e.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in window&&(t=tinymce.get(e.id))&&t.editorManager===tinymce)}})}(jQuery);
--- a/src/pyams_skin/resources/js/ext/tinymce/dev/langs/fr.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/langs/fr.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-tinymce.addI18n("fr",{Cut:"Couper","Heading 5":"En-t\u00eate 5","Header 2":"Titre 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"Votre navigateur ne supporte pas la copie directe. Merci d'utiliser les touches Ctrl+X/C/V.","Heading 4":"En-t\u00eate 4",Div:"Div","Heading 2":"En-t\u00eate 2",Paste:"Coller",Close:"Fermer","Font Family":"Police",Pre:"Pre","Align right":"Aligner \u00e0 droite","New document":"Nouveau document",Blockquote:"Citation","Numbered list":"Num\u00e9rotation","Heading 1":"En-t\u00eate 1",Headings:"En-t\u00eates","Increase indent":"Augmenter le retrait",Formats:"Formats",Headers:"Titres","Select all":"Tout s\u00e9lectionner","Header 3":"Titre 3",Blocks:"Blocs",Undo:"Annuler",Strikethrough:"Barr\u00e9","Bullet list":"Puces","Header 1":"Titre 1",Superscript:"Exposant","Clear formatting":"Effacer la mise en forme","Font Sizes":"Taille de police",Subscript:"Indice","Header 6":"Titre 6",Redo:"R\u00e9tablir",Paragraph:"Paragraphe",Ok:"Ok",Bold:"Gras",Code:"Code",Italic:"Italique","Align center":"Centrer","Header 5":"Titre 5","Heading 6":"En-t\u00eate 6","Heading 3":"En-t\u00eate 3","Decrease indent":"Diminuer le retrait","Header 4":"Titre 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":'Le presse-papiers est maintenant en mode "texte plein". Les contenus seront coll\u00e9s sans retenir les formatages jusqu\'\u00e0 ce que vous d\u00e9sactiviez cette option.',Underline:"Soulign\u00e9",Cancel:"Annuler",Justify:"Justifier",Inline:"En ligne",Copy:"Copier","Align left":"Aligner \u00e0 gauche","Visual aids":"Aides visuelle","Lower Greek":"Grec minuscule",Square:"Carr\u00e9",Default:"Par d\u00e9faut","Lower Alpha":"Alpha minuscule",Circle:"Cercle",Disc:"Disque","Upper Alpha":"Alpha majuscule","Upper Roman":"Romain majuscule","Lower Roman":"Romain minuscule",Name:"Nom",Anchor:"Ancre","You have unsaved changes are you sure you want to navigate away?":"Vous avez des modifications non enregistr\u00e9es, \u00eates-vous s\u00fbr de quitter la page?","Restore last draft":"Restaurer le dernier brouillon","Special character":"Caract\u00e8res sp\u00e9ciaux","Source code":"Code source",Color:"Couleur","Right to left":"Droite \u00e0 gauche","Left to right":"Gauche \u00e0 droite",Emoticons:"Emotic\u00f4nes",Robots:"Robots","Document properties":"Propri\u00e9t\u00e9 du document",Title:"Titre",Keywords:"Mots-cl\u00e9s",Encoding:"Encodage",Description:"Description",Author:"Auteur",Fullscreen:"Plein \u00e9cran","Horizontal line":"Ligne horizontale","Horizontal space":"Espacement horizontal",B:"B","Insert/edit image":"Ins\u00e9rer/modifier une image",General:"G\u00e9n\u00e9ral",Advanced:"Avanc\u00e9",G:"V",R:"R",Source:"Source",Border:"Bordure","Constrain proportions":"Conserver les proportions","Vertical space":"Espacement vertical","Image description":"Description de l'image",Style:"Style",Dimensions:"Dimensions","Insert image":"Ins\u00e9rer une image","Insert date/time":"Ins\u00e9rer date/heure","Remove link":"Enlever le lien",Url:"Url","Text to display":"Texte \u00e0 afficher",Anchors:"Ancres","Insert link":"Ins\u00e9rer un lien","New window":"Nouvelle fen\u00eatre",None:"n/a","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"L'URL que vous avez entr\u00e9e semble \u00eatre un lien externe. Voulez-vous ajouter le pr\u00e9fixe http:// n\u00e9cessaire?",Target:"Cible","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"L'URL que vous avez entr\u00e9e semble \u00eatre une adresse e-mail. Voulez-vous ajouter le pr\u00e9fixe mailto: n\u00e9cessaire?","Insert/edit link":"Ins\u00e9rer/modifier un lien","Insert/edit video":"Ins\u00e9rer/modifier une vid\u00e9o",Poster:"Publier","Alternative source":"Source alternative","Paste your embed code below:":"Collez votre code d'int\u00e9gration ci-dessous :","Insert video":"Ins\u00e9rer une vid\u00e9o",Embed:"Int\u00e9grer","Nonbreaking space":"Espace ins\u00e9cable","Page break":"Saut de page","Paste as text":"Coller comme texte",Preview:"Pr\u00e9visualiser",Print:"Imprimer",Save:"Enregistrer","Could not find the specified string.":"Impossible de trouver la cha\u00eene sp\u00e9cifi\u00e9e.",Replace:"Remplacer",Next:"Suiv","Whole words":"Mots entiers","Find and replace":"Trouver et remplacer","Replace with":"Remplacer par",Find:"Chercher","Replace all":"Tout remplacer","Match case":"Respecter la casse",Prev:"Pr\u00e9c ",Spellcheck:"V\u00e9rification orthographique",Finish:"Finie","Ignore all":"Tout ignorer",Ignore:"Ignorer","Add to Dictionary":"Ajouter au dictionnaire","Insert row before":"Ins\u00e9rer une ligne avant",Rows:"Lignes",Height:"Hauteur","Paste row after":"Coller la ligne apr\u00e8s",Alignment:"Alignement","Border color":"Couleur de la bordure","Column group":"Groupe de colonnes",Row:"Ligne","Insert column before":"Ins\u00e9rer une colonne avant","Split cell":"Diviser la cellule","Cell padding":"Espacement interne cellule","Cell spacing":"Espacement inter-cellulles","Row type":"Type de ligne","Insert table":"Ins\u00e9rer un tableau",Body:"Corps",Caption:"Titre",Footer:"Pied","Delete row":"Effacer la ligne","Paste row before":"Coller la ligne avant",Scope:"Etendue","Delete table":"Supprimer le tableau","H Align":"Alignement H",Top:"Haut","Header cell":"Cellule d'en-t\u00eate",Column:"Colonne","Row group":"Groupe de lignes",Cell:"Cellule",Middle:"Milieu","Cell type":"Type de cellule","Copy row":"Copier la ligne","Row properties":"Propri\u00e9t\u00e9s de la ligne","Table properties":"Propri\u00e9t\u00e9s du tableau",Bottom:"Bas","V Align":"Alignement V",Header:"En-t\u00eate",Right:"Droite","Insert column after":"Ins\u00e9rer une colonne apr\u00e8s",Cols:"Colonnes","Insert row after":"Ins\u00e9rer une ligne apr\u00e8s",Width:"Largeur","Cell properties":"Propri\u00e9t\u00e9s de la cellule",Left:"Gauche","Cut row":"Couper la ligne","Delete column":"Effacer la colonne",Center:"Centr\u00e9","Merge cells":"Fusionner les cellules","Insert template":"Ajouter un th\u00e8me",Templates:"Th\u00e8mes","Background color":"Couleur d'arri\u00e8re-plan","Custom...":"Personnalis\u00e9...","Custom color":"Couleur personnalis\u00e9e","No color":"Aucune couleur","Text color":"Couleur du texte","Show blocks":"Afficher les blocs","Show invisible characters":"Afficher les caract\u00e8res invisibles","Words: {0}":"Mots : {0}",Insert:"Ins\u00e9rer",File:"Fichier",Edit:"Editer","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Zone Texte Riche. Appuyer sur ALT-F9 pour le menu. Appuyer sur ALT-F10 pour la barre d'outils. Appuyer sur ALT-0 pour de l'aide.",Tools:"Outils",View:"Voir",Table:"Tableau",Format:"Format"});
\ No newline at end of file
+tinymce.addI18n("fr",{Cut:"Couper","Heading 5":"En-tête 5","Header 2":"Titre 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"Votre navigateur ne supporte pas la copie directe. Merci d'utiliser les touches Ctrl+X/C/V.","Heading 4":"En-tête 4",Div:"Div","Heading 2":"En-tête 2",Paste:"Coller",Close:"Fermer","Font Family":"Police",Pre:"Pre","Align right":"Aligner à droite","New document":"Nouveau document",Blockquote:"Citation","Numbered list":"Numérotation","Heading 1":"En-tête 1",Headings:"En-têtes","Increase indent":"Augmenter le retrait",Formats:"Formats",Headers:"Titres","Select all":"Tout sélectionner","Header 3":"Titre 3",Blocks:"Blocs",Undo:"Annuler",Strikethrough:"Barré","Bullet list":"Puces","Header 1":"Titre 1",Superscript:"Exposant","Clear formatting":"Effacer la mise en forme","Font Sizes":"Taille de police",Subscript:"Indice","Header 6":"Titre 6",Redo:"Rétablir",Paragraph:"Paragraphe",Ok:"Ok",Bold:"Gras",Code:"Code",Italic:"Italique","Align center":"Centrer","Header 5":"Titre 5","Heading 6":"En-tête 6","Heading 3":"En-tête 3","Decrease indent":"Diminuer le retrait","Header 4":"Titre 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":'Le presse-papiers est maintenant en mode "texte plein". Les contenus seront collés sans retenir les formatages jusqu\'à ce que vous désactiviez cette option.',Underline:"Souligné",Cancel:"Annuler",Justify:"Justifier",Inline:"En ligne",Copy:"Copier","Align left":"Aligner à gauche","Visual aids":"Aides visuelle","Lower Greek":"Grec minuscule",Square:"Carré",Default:"Par défaut","Lower Alpha":"Alpha minuscule",Circle:"Cercle",Disc:"Disque","Upper Alpha":"Alpha majuscule","Upper Roman":"Romain majuscule","Lower Roman":"Romain minuscule",Name:"Nom",Anchor:"Ancre","You have unsaved changes are you sure you want to navigate away?":"Vous avez des modifications non enregistrées, êtes-vous sûr de quitter la page?","Restore last draft":"Restaurer le dernier brouillon","Special character":"Caractères spéciaux","Source code":"Code source",Color:"Couleur","Right to left":"Droite à gauche","Left to right":"Gauche à droite",Emoticons:"Emoticônes",Robots:"Robots","Document properties":"Propriété du document",Title:"Titre",Keywords:"Mots-clés",Encoding:"Encodage",Description:"Description",Author:"Auteur",Fullscreen:"Plein écran","Horizontal line":"Ligne horizontale","Horizontal space":"Espacement horizontal",B:"B","Insert/edit image":"Insérer/modifier une image",General:"Général",Advanced:"Avancé",G:"V",R:"R",Source:"Source",Border:"Bordure","Constrain proportions":"Conserver les proportions","Vertical space":"Espacement vertical","Image description":"Description de l'image",Style:"Style",Dimensions:"Dimensions","Insert image":"Insérer une image","Insert date/time":"Insérer date/heure","Remove link":"Enlever le lien",Url:"Url","Text to display":"Texte à afficher",Anchors:"Ancres","Insert link":"Insérer un lien","New window":"Nouvelle fenêtre",None:"n/a","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"L'URL que vous avez entrée semble être un lien externe. Voulez-vous ajouter le préfixe http:// nécessaire?",Target:"Cible","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"L'URL que vous avez entrée semble être une adresse e-mail. Voulez-vous ajouter le préfixe mailto: nécessaire?","Insert/edit link":"Insérer/modifier un lien","Insert/edit video":"Insérer/modifier une vidéo",Poster:"Publier","Alternative source":"Source alternative","Paste your embed code below:":"Collez votre code d'intégration ci-dessous :","Insert video":"Insérer une vidéo",Embed:"Intégrer","Nonbreaking space":"Espace insécable","Page break":"Saut de page","Paste as text":"Coller comme texte",Preview:"Prévisualiser",Print:"Imprimer",Save:"Enregistrer","Could not find the specified string.":"Impossible de trouver la chaîne spécifiée.",Replace:"Remplacer",Next:"Suiv","Whole words":"Mots entiers","Find and replace":"Trouver et remplacer","Replace with":"Remplacer par",Find:"Chercher","Replace all":"Tout remplacer","Match case":"Respecter la casse",Prev:"Préc ",Spellcheck:"Vérification orthographique",Finish:"Finie","Ignore all":"Tout ignorer",Ignore:"Ignorer","Add to Dictionary":"Ajouter au dictionnaire","Insert row before":"Insérer une ligne avant",Rows:"Lignes",Height:"Hauteur","Paste row after":"Coller la ligne après",Alignment:"Alignement","Border color":"Couleur de la bordure","Column group":"Groupe de colonnes",Row:"Ligne","Insert column before":"Insérer une colonne avant","Split cell":"Diviser la cellule","Cell padding":"Espacement interne cellule","Cell spacing":"Espacement inter-cellulles","Row type":"Type de ligne","Insert table":"Insérer un tableau",Body:"Corps",Caption:"Titre",Footer:"Pied","Delete row":"Effacer la ligne","Paste row before":"Coller la ligne avant",Scope:"Etendue","Delete table":"Supprimer le tableau","H Align":"Alignement H",Top:"Haut","Header cell":"Cellule d'en-tête",Column:"Colonne","Row group":"Groupe de lignes",Cell:"Cellule",Middle:"Milieu","Cell type":"Type de cellule","Copy row":"Copier la ligne","Row properties":"Propriétés de la ligne","Table properties":"Propriétés du tableau",Bottom:"Bas","V Align":"Alignement V",Header:"En-tête",Right:"Droite","Insert column after":"Insérer une colonne après",Cols:"Colonnes","Insert row after":"Insérer une ligne après",Width:"Largeur","Cell properties":"Propriétés de la cellule",Left:"Gauche","Cut row":"Couper la ligne","Delete column":"Effacer la colonne",Center:"Centré","Merge cells":"Fusionner les cellules","Insert template":"Ajouter un thème",Templates:"Thèmes","Background color":"Couleur d'arrière-plan","Custom...":"Personnalisé...","Custom color":"Couleur personnalisée","No color":"Aucune couleur","Text color":"Couleur du texte","Show blocks":"Afficher les blocs","Show invisible characters":"Afficher les caractères invisibles","Words: {0}":"Mots : {0}",Insert:"Insérer",File:"Fichier",Edit:"Editer","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Zone Texte Riche. Appuyer sur ALT-F9 pour le menu. Appuyer sur ALT-F10 pour la barre d'outils. Appuyer sur ALT-0 pour de l'aide.",Tools:"Outils",View:"Voir",Table:"Tableau",Format:"Format"});
--- a/src/pyams_skin/resources/js/ext/tinymce/dev/tinymce.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/tinymce.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(b,g){var d={};function c(m,n){var l,j=[];for(var k=0;k<m.length;++k){l=d[m[k]]||e(m[k]);if(!l){throw"module definition dependecy not found: "+m[k]}j.push(l)}n.apply(null,j)}function h(k,j,i){if(typeof k!=="string"){throw"invalid module definition, module id must be defined and be a string"}if(j===g){throw"invalid module definition, dependencies must be specified"}if(i===g){throw"invalid module definition, definition function must be specified"}c(j,function(){d[k]=i.apply(null,arguments)})}function f(i){return !!d[i]}function e(l){var j=b;var i=l.split(/[.\/]/);for(var k=0;k<i.length;++k){if(!j[i[k]]){return}j=j[i[k]]}return j}function a(l){for(var k=0;k<l.length;k++){var m=b;var o=l[k];var j=o.split(/[.\/]/);for(var n=0;n<j.length-1;++n){if(m[j[n]]===g){m[j[n]]={}}m=m[j[n]]}m[j[j.length-1]]=d[o]}}h("tinymce/dom/EventUtils",[],function(){var o="mce-data-";var k=/^(?:mouse|contextmenu)|click/;var j={keyLocation:1,layerX:1,layerY:1,returnValue:1};function l(s,r,t,q){if(s.addEventListener){s.addEventListener(r,t,q||false)}else{if(s.attachEvent){s.attachEvent("on"+r,t)}}}function n(s,r,t,q){if(s.removeEventListener){s.removeEventListener(r,t,q||false)}else{if(s.detachEvent){s.detachEvent("on"+r,t)}}}function i(s,w){var r,q=w||{},u;function t(){return false}function v(){return true}for(r in s){if(!j[r]){q[r]=s[r]}}if(!q.target){q.target=q.srcElement||document}if(s&&k.test(s.type)&&s.pageX===u&&s.clientX!==u){var z=q.target.ownerDocument||document;var y=z.documentElement;var x=z.body;q.pageX=s.clientX+(y&&y.scrollLeft||x&&x.scrollLeft||0)-(y&&y.clientLeft||x&&x.clientLeft||0);q.pageY=s.clientY+(y&&y.scrollTop||x&&x.scrollTop||0)-(y&&y.clientTop||x&&x.clientTop||0)}q.preventDefault=function(){q.isDefaultPrevented=v;if(s){if(s.preventDefault){s.preventDefault()}else{s.returnValue=false}}};q.stopPropagation=function(){q.isPropagationStopped=v;if(s){if(s.stopPropagation){s.stopPropagation()}else{s.cancelBubble=true}}};q.stopImmediatePropagation=function(){q.isImmediatePropagationStopped=v;q.stopPropagation()};if(!q.isDefaultPrevented){q.isDefaultPrevented=t;q.isPropagationStopped=t;q.isImmediatePropagationStopped=t}return q}function m(v,x,s){var u=v.document,t={type:"ready"};if(s.domLoaded){x(t);return}function r(){if(!s.domLoaded){s.domLoaded=true;x(t)}}function q(){if(u.readyState==="complete"||(u.readyState==="interactive"&&u.body)){n(u,"readystatechange",q);r()}}function w(){try{u.documentElement.doScroll("left")}catch(y){setTimeout(w,0);return}r()}if(u.addEventListener){if(u.readyState==="complete"){r()}else{l(v,"DOMContentLoaded",r)}}else{l(u,"readystatechange",q);if(u.documentElement.doScroll&&v.self===v.top){w()}}l(v,"load",r)}function p(){var q=this,s={},u,x,r,t,w;x=o+(+new Date()).toString(32);t="onmouseenter" in document.documentElement;r="onfocusin" in document.documentElement;w={mouseenter:"mouseover",mouseleave:"mouseout"};u=1;q.domLoaded=false;q.events=s;function v(B,E){var A,C,z,D,y=s[E];A=y&&y[B.type];if(A){for(C=0,z=A.length;C<z;C++){D=A[C];if(D&&D.func.call(D.scope,B)===false){B.preventDefault()}if(B.isImmediatePropagationStopped()){return}}}}q.bind=function(D,G,J,K){var z,A,B,y,H,F,I,C=window;function E(L){v(i(L||C.event),z)}if(!D||D.nodeType===3||D.nodeType===8){return}if(!D[x]){z=u++;D[x]=z;s[z]={}}else{z=D[x]}K=K||D;G=G.split(" ");B=G.length;while(B--){y=G[B];F=E;H=I=false;if(y==="DOMContentLoaded"){y="ready"}if(q.domLoaded&&y==="ready"&&D.readyState=="complete"){J.call(K,i({type:y}));continue}if(!t){H=w[y];if(H){F=function(L){var N,M;N=L.currentTarget;M=L.relatedTarget;if(M&&N.contains){M=N.contains(M)}else{while(M&&M!==N){M=M.parentNode}}if(!M){L=i(L||C.event);L.type=L.type==="mouseout"?"mouseleave":"mouseenter";L.target=N;v(L,z)}}}}if(!r&&(y==="focusin"||y==="focusout")){I=true;H=y==="focusin"?"focus":"blur";F=function(L){L=i(L||C.event);L.type=L.type==="focus"?"focusin":"focusout";v(L,z)}}A=s[z][y];if(!A){s[z][y]=A=[{func:J,scope:K}];A.fakeName=H;A.capture=I;A.nativeHandler=F;if(y==="ready"){m(D,F,q)}else{l(D,H||y,F,I)}}else{if(y==="ready"&&q.domLoaded){J({type:y})}else{A.push({func:J,scope:K})}}}D=A=0;return J};q.unbind=function(D,G,J){var z,B,C,K,y,A;if(!D||D.nodeType===3||D.nodeType===8){return q}z=D[x];if(z){A=s[z];if(G){G=G.split(" ");C=G.length;while(C--){y=G[C];B=A[y];if(B){if(J){K=B.length;while(K--){if(B[K].func===J){var F=B.nativeHandler;var H=B.fakeName,I=B.capture;B=B.slice(0,K).concat(B.slice(K+1));B.nativeHandler=F;B.fakeName=H;B.capture=I;A[y]=B}}}if(!J||B.length===0){delete A[y];n(D,B.fakeName||y,B.nativeHandler,B.capture)}}}}else{for(y in A){B=A[y];n(D,B.fakeName||y,B.nativeHandler,B.capture)}A={}}for(y in A){return q}delete s[z];try{delete D[x]}catch(E){D[x]=null}}return q};q.fire=function(A,z,y){var B;if(!A||A.nodeType===3||A.nodeType===8){return q}y=i(null,y);y.type=z;y.target=A;do{B=A[x];if(B){v(y,B)}A=A.parentNode||A.ownerDocument||A.defaultView||A.parentWindow}while(A&&!y.isPropagationStopped());return q};q.clean=function(B){var z,y,A=q.unbind;if(!B||B.nodeType===3||B.nodeType===8){return q}if(B[x]){A(B)}if(!B.getElementsByTagName){B=B.document}if(B&&B.getElementsByTagName){A(B);y=B.getElementsByTagName("*");z=y.length;while(z--){B=y[z];if(B[x]){A(B)}}}return q};q.destroy=function(){s={}};q.cancel=function(y){if(y){y.preventDefault();y.stopImmediatePropagation()}return false}}p.Event=new p();p.Event.bind(window,"ready",function(){});return p});h("tinymce/dom/Sizzle",[],function(){var J,aD,z,S,V,t,ah,aC,aH,T,ai,ak,N,A,au,ao,aB,q,Q,aw="sizzle"+-(new Date()),U=window.document,aE=0,ap=0,l=L(),av=L(),R=L(),P=function(aI,i){if(aI===i){ai=true}return 0},aA=typeof g,ab=1<<31,Z=({}).hasOwnProperty,ay=[],az=ay.pop,X=ay.push,j=ay.push,y=ay.slice,p=ay.indexOf||function(aK){var aJ=0,aI=this.length;for(;aJ<aI;aJ++){if(this[aJ]===aK){return aJ}}return -1},k="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ar="\\["+B+"*("+W+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+B+"*\\]",w=":("+W+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ar+")*)|.*)\\)|)",D=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),G=new RegExp("^"+B+"*,"+B+"*"),M=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),F=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),ad=new RegExp(w),af=new RegExp("^"+W+"$"),an={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W+"|[*])"),ATTR:new RegExp("^"+ar),PSEUDO:new RegExp("^"+w),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},o=/^(?:input|select|textarea|button)$/i,x=/^h\d$/i,aa=/^[^{]+\{\s*\[native \w/,ac=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,am=/[+~]/,Y=/'|\\/g,E=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),aq=function(i,aK,aI){var aJ="0x"+aK-65536;return aJ!==aJ||aI?aK:aJ<0?String.fromCharCode(aJ+65536):String.fromCharCode(aJ>>10|55296,aJ&1023|56320)};try{j.apply((ay=y.call(U.childNodes)),U.childNodes);ay[U.childNodes.length].nodeType}catch(O){j={apply:ay.length?function(aI,i){X.apply(aI,y.call(i))}:function(aL,aK){var aI=aL.length,aJ=0;while((aL[aI++]=aK[aJ++])){}aL.length=aI-1}}}function H(aQ,aJ,aU,aW){var aV,aN,aO,aS,aT,aM,aL,aI,aK,aR;if((aJ?aJ.ownerDocument||aJ:U)!==N){ak(aJ)}aJ=aJ||N;aU=aU||[];if(!aQ||typeof aQ!=="string"){return aU}if((aS=aJ.nodeType)!==1&&aS!==9){return[]}if(au&&!aW){if((aV=ac.exec(aQ))){if((aO=aV[1])){if(aS===9){aN=aJ.getElementById(aO);if(aN&&aN.parentNode){if(aN.id===aO){aU.push(aN);return aU}}else{return aU}}else{if(aJ.ownerDocument&&(aN=aJ.ownerDocument.getElementById(aO))&&Q(aJ,aN)&&aN.id===aO){aU.push(aN);return aU}}}else{if(aV[2]){j.apply(aU,aJ.getElementsByTagName(aQ));return aU}else{if((aO=aV[3])&&aD.getElementsByClassName){j.apply(aU,aJ.getElementsByClassName(aO));return aU}}}}if(aD.qsa&&(!ao||!ao.test(aQ))){aI=aL=aw;aK=aJ;aR=aS===9&&aQ;if(aS===1&&aJ.nodeName.toLowerCase()!=="object"){aM=t(aQ);if((aL=aJ.getAttribute("id"))){aI=aL.replace(Y,"\\$&")}else{aJ.setAttribute("id",aI)}aI="[id='"+aI+"'] ";aT=aM.length;while(aT--){aM[aT]=aI+u(aM[aT])}aK=am.test(aQ)&&ae(aJ.parentNode)||aJ;aR=aM.join(",")}if(aR){try{j.apply(aU,aK.querySelectorAll(aR));return aU}catch(aP){}finally{if(!aL){aJ.removeAttribute("id")}}}}}return aC(aQ.replace(D,"$1"),aJ,aU,aW)}function L(){var aI=[];function i(aJ,aK){if(aI.push(aJ+" ")>z.cacheLength){delete i[aI.shift()]}return(i[aJ+" "]=aK)}return i}function v(i){i[aw]=true;return i}function r(i){var aJ=N.createElement("div");try{return !!i(aJ)}catch(aI){return false}finally{if(aJ.parentNode){aJ.parentNode.removeChild(aJ)}aJ=null}}function aF(aJ,aL){var aI=aJ.split("|"),aK=aJ.length;while(aK--){z.attrHandle[aI[aK]]=aL}}function m(aI,i){var aK=i&&aI,aJ=aK&&aI.nodeType===1&&i.nodeType===1&&(~i.sourceIndex||ab)-(~aI.sourceIndex||ab);if(aJ){return aJ}if(aK){while((aK=aK.nextSibling)){if(aK===i){return -1}}}return aI?1:-1}function I(i){return function(aJ){var aI=aJ.nodeName.toLowerCase();return aI==="input"&&aJ.type===i}}function n(i){return function(aJ){var aI=aJ.nodeName.toLowerCase();return(aI==="input"||aI==="button")&&aJ.type===i}}function at(i){return v(function(aI){aI=+aI;return v(function(aJ,aN){var aL,aK=i([],aJ.length,aI),aM=aK.length;while(aM--){if(aJ[(aL=aK[aM])]){aJ[aL]=!(aN[aL]=aJ[aL])}}})})}function ae(i){return i&&typeof i.getElementsByTagName!==aA&&i}aD=H.support={};V=H.isXML=function(i){var aI=i&&(i.ownerDocument||i).documentElement;return aI?aI.nodeName!=="HTML":false};ak=H.setDocument=function(aJ){var i,aK=aJ?aJ.ownerDocument||aJ:U,aI=aK.defaultView;if(aK===N||aK.nodeType!==9||!aK.documentElement){return N}N=aK;A=aK.documentElement;au=!V(aK);if(aI&&aI!==aI.top){if(aI.addEventListener){aI.addEventListener("unload",function(){ak()},false)}else{if(aI.attachEvent){aI.attachEvent("onunload",function(){ak()})}}}aD.attributes=r(function(aL){aL.className="i";return !aL.getAttribute("className")});aD.getElementsByTagName=r(function(aL){aL.appendChild(aK.createComment(""));return !aL.getElementsByTagName("*").length});aD.getElementsByClassName=aa.test(aK.getElementsByClassName);aD.getById=r(function(aL){A.appendChild(aL).id=aw;return !aK.getElementsByName||!aK.getElementsByName(aw).length});if(aD.getById){z.find.ID=function(aN,aM){if(typeof aM.getElementById!==aA&&au){var aL=aM.getElementById(aN);return aL&&aL.parentNode?[aL]:[]}};z.filter.ID=function(aM){var aL=aM.replace(E,aq);return function(aN){return aN.getAttribute("id")===aL}}}else{delete z.find.ID;z.filter.ID=function(aM){var aL=aM.replace(E,aq);return function(aO){var aN=typeof aO.getAttributeNode!==aA&&aO.getAttributeNode("id");return aN&&aN.value===aL}}}z.find.TAG=aD.getElementsByTagName?function(aL,aM){if(typeof aM.getElementsByTagName!==aA){return aM.getElementsByTagName(aL)}}:function(aL,aP){var aQ,aO=[],aN=0,aM=aP.getElementsByTagName(aL);if(aL==="*"){while((aQ=aM[aN++])){if(aQ.nodeType===1){aO.push(aQ)}}return aO}return aM};z.find.CLASS=aD.getElementsByClassName&&function(aM,aL){if(au){return aL.getElementsByClassName(aM)}};aB=[];ao=[];if((aD.qsa=aa.test(aK.querySelectorAll))){r(function(aL){aL.innerHTML="<select msallowcapture=''><option selected=''></option></select>";if(aL.querySelectorAll("[msallowcapture^='']").length){ao.push("[*^$]="+B+"*(?:''|\"\")")}if(!aL.querySelectorAll("[selected]").length){ao.push("\\["+B+"*(?:value|"+k+")")}if(!aL.querySelectorAll(":checked").length){ao.push(":checked")}});r(function(aM){var aL=aK.createElement("input");aL.setAttribute("type","hidden");aM.appendChild(aL).setAttribute("name","D");if(aM.querySelectorAll("[name=d]").length){ao.push("name"+B+"*[*^$|!~]?=")}if(!aM.querySelectorAll(":enabled").length){ao.push(":enabled",":disabled")}aM.querySelectorAll("*,:x");ao.push(",.*:")})}if((aD.matchesSelector=aa.test((q=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector)))){r(function(aL){aD.disconnectedMatch=q.call(aL,"div");q.call(aL,"[s!='']:x");aB.push("!=",w)})}ao=ao.length&&new RegExp(ao.join("|"));aB=aB.length&&new RegExp(aB.join("|"));i=aa.test(A.compareDocumentPosition);Q=i||aa.test(A.contains)?function(aM,aL){var aO=aM.nodeType===9?aM.documentElement:aM,aN=aL&&aL.parentNode;return aM===aN||!!(aN&&aN.nodeType===1&&(aO.contains?aO.contains(aN):aM.compareDocumentPosition&&aM.compareDocumentPosition(aN)&16))}:function(aM,aL){if(aL){while((aL=aL.parentNode)){if(aL===aM){return true}}}return false};P=i?function(aM,aL){if(aM===aL){ai=true;return 0}var aN=!aM.compareDocumentPosition-!aL.compareDocumentPosition;if(aN){return aN}aN=(aM.ownerDocument||aM)===(aL.ownerDocument||aL)?aM.compareDocumentPosition(aL):1;if(aN&1||(!aD.sortDetached&&aL.compareDocumentPosition(aM)===aN)){if(aM===aK||aM.ownerDocument===U&&Q(U,aM)){return -1}if(aL===aK||aL.ownerDocument===U&&Q(U,aL)){return 1}return T?(p.call(T,aM)-p.call(T,aL)):0}return aN&4?-1:1}:function(aM,aL){if(aM===aL){ai=true;return 0}var aS,aP=0,aR=aM.parentNode,aO=aL.parentNode,aN=[aM],aQ=[aL];if(!aR||!aO){return aM===aK?-1:aL===aK?1:aR?-1:aO?1:T?(p.call(T,aM)-p.call(T,aL)):0}else{if(aR===aO){return m(aM,aL)}}aS=aM;while((aS=aS.parentNode)){aN.unshift(aS)}aS=aL;while((aS=aS.parentNode)){aQ.unshift(aS)}while(aN[aP]===aQ[aP]){aP++}return aP?m(aN[aP],aQ[aP]):aN[aP]===U?-1:aQ[aP]===U?1:0};return aK};H.matches=function(aI,i){return H(aI,null,null,i)};H.matchesSelector=function(aI,aK){if((aI.ownerDocument||aI)!==N){ak(aI)}aK=aK.replace(F,"='$1']");if(aD.matchesSelector&&au&&(!aB||!aB.test(aK))&&(!ao||!ao.test(aK))){try{var i=q.call(aI,aK);if(i||aD.disconnectedMatch||aI.document&&aI.document.nodeType!==11){return i}}catch(aJ){}}return H(aK,N,null,[aI]).length>0};H.contains=function(i,aI){if((i.ownerDocument||i)!==N){ak(i)}return Q(i,aI)};H.attr=function(aJ,i){if((aJ.ownerDocument||aJ)!==N){ak(aJ)}var aI=z.attrHandle[i.toLowerCase()],aK=aI&&Z.call(z.attrHandle,i.toLowerCase())?aI(aJ,i,!au):g;return aK!==g?aK:aD.attributes||!au?aJ.getAttribute(i):(aK=aJ.getAttributeNode(i))&&aK.specified?aK.value:null};H.error=function(i){throw new Error("Syntax error, unrecognized expression: "+i)};H.uniqueSort=function(aK){var aL,aM=[],aI=0,aJ=0;ai=!aD.detectDuplicates;T=!aD.sortStable&&aK.slice(0);aK.sort(P);if(ai){while((aL=aK[aJ++])){if(aL===aK[aJ]){aI=aM.push(aJ)}}while(aI--){aK.splice(aM[aI],1)}}T=null;return aK};S=H.getText=function(aM){var aL,aJ="",aK=0,aI=aM.nodeType;if(!aI){while((aL=aM[aK++])){aJ+=S(aL)}}else{if(aI===1||aI===9||aI===11){if(typeof aM.textContent==="string"){return aM.textContent}else{for(aM=aM.firstChild;aM;aM=aM.nextSibling){aJ+=S(aM)}}}else{if(aI===3||aI===4){return aM.nodeValue}}}return aJ};z=H.selectors={cacheLength:50,createPseudo:v,match:an,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(i){i[1]=i[1].replace(E,aq);i[3]=(i[3]||i[4]||i[5]||"").replace(E,aq);if(i[2]==="~="){i[3]=" "+i[3]+" "}return i.slice(0,4)},CHILD:function(i){i[1]=i[1].toLowerCase();if(i[1].slice(0,3)==="nth"){if(!i[3]){H.error(i[0])}i[4]=+(i[4]?i[5]+(i[6]||1):2*(i[3]==="even"||i[3]==="odd"));i[5]=+((i[7]+i[8])||i[3]==="odd")}else{if(i[3]){H.error(i[0])}}return i},PSEUDO:function(aI){var i,aJ=!aI[6]&&aI[2];if(an.CHILD.test(aI[0])){return null}if(aI[3]){aI[2]=aI[4]||aI[5]||""}else{if(aJ&&ad.test(aJ)&&(i=t(aJ,true))&&(i=aJ.indexOf(")",aJ.length-i)-aJ.length)){aI[0]=aI[0].slice(0,i);aI[2]=aJ.slice(0,i)}}return aI.slice(0,3)}},filter:{TAG:function(aI){var i=aI.replace(E,aq).toLowerCase();return aI==="*"?function(){return true}:function(aJ){return aJ.nodeName&&aJ.nodeName.toLowerCase()===i}},CLASS:function(i){var aI=l[i+" "];return aI||(aI=new RegExp("(^|"+B+")"+i+"("+B+"|$)"))&&l(i,function(aJ){return aI.test(typeof aJ.className==="string"&&aJ.className||typeof aJ.getAttribute!==aA&&aJ.getAttribute("class")||"")})},ATTR:function(aJ,aI,i){return function(aL){var aK=H.attr(aL,aJ);if(aK==null){return aI==="!="}if(!aI){return true}aK+="";return aI==="="?aK===i:aI==="!="?aK!==i:aI==="^="?i&&aK.indexOf(i)===0:aI==="*="?i&&aK.indexOf(i)>-1:aI==="$="?i&&aK.slice(-i.length)===i:aI==="~="?(" "+aK+" ").indexOf(i)>-1:aI==="|="?aK===i||aK.slice(0,i.length+1)===i+"-":false}},CHILD:function(aI,aL,aK,aM,aJ){var aO=aI.slice(0,3)!=="nth",i=aI.slice(-4)!=="last",aN=aL==="of-type";return aM===1&&aJ===0?function(aP){return !!aP.parentNode}:function(aV,aT,aY){var aP,a1,aW,a0,aX,aS,aU=aO!==i?"nextSibling":"previousSibling",aZ=aV.parentNode,aR=aN&&aV.nodeName.toLowerCase(),aQ=!aY&&!aN;if(aZ){if(aO){while(aU){aW=aV;while((aW=aW[aU])){if(aN?aW.nodeName.toLowerCase()===aR:aW.nodeType===1){return false}}aS=aU=aI==="only"&&!aS&&"nextSibling"}return true}aS=[i?aZ.firstChild:aZ.lastChild];if(i&&aQ){a1=aZ[aw]||(aZ[aw]={});aP=a1[aI]||[];aX=aP[0]===aE&&aP[1];a0=aP[0]===aE&&aP[2];aW=aX&&aZ.childNodes[aX];while((aW=++aX&&aW&&aW[aU]||(a0=aX=0)||aS.pop())){if(aW.nodeType===1&&++a0&&aW===aV){a1[aI]=[aE,aX,a0];break}}}else{if(aQ&&(aP=(aV[aw]||(aV[aw]={}))[aI])&&aP[0]===aE){a0=aP[1]}else{while((aW=++aX&&aW&&aW[aU]||(a0=aX=0)||aS.pop())){if((aN?aW.nodeName.toLowerCase()===aR:aW.nodeType===1)&&++a0){if(aQ){(aW[aw]||(aW[aw]={}))[aI]=[aE,a0]}if(aW===aV){break}}}}}a0-=aJ;return a0===aM||(a0%aM===0&&a0/aM>=0)}}},PSEUDO:function(aK,aJ){var i,aI=z.pseudos[aK]||z.setFilters[aK.toLowerCase()]||H.error("unsupported pseudo: "+aK);if(aI[aw]){return aI(aJ)}if(aI.length>1){i=[aK,aK,"",aJ];return z.setFilters.hasOwnProperty(aK.toLowerCase())?v(function(aN,aP){var aM,aL=aI(aN,aJ),aO=aL.length;while(aO--){aM=p.call(aN,aL[aO]);aN[aM]=!(aP[aM]=aL[aO])}}):function(aL){return aI(aL,0,i)}}return aI}},pseudos:{not:v(function(i){var aI=[],aJ=[],aK=ah(i.replace(D,"$1"));return aK[aw]?v(function(aM,aR,aP,aN){var aQ,aL=aK(aM,null,aN,[]),aO=aM.length;while(aO--){if((aQ=aL[aO])){aM[aO]=!(aR[aO]=aQ)}}}):function(aN,aM,aL){aI[0]=aN;aK(aI,null,aL,aJ);return !aJ.pop()}}),has:v(function(i){return function(aI){return H(i,aI).length>0}}),contains:v(function(i){i=i.replace(E,aq);return function(aI){return(aI.textContent||aI.innerText||S(aI)).indexOf(i)>-1}}),lang:v(function(i){if(!af.test(i||"")){H.error("unsupported lang: "+i)}i=i.replace(E,aq).toLowerCase();return function(aJ){var aI;do{if((aI=au?aJ.lang:aJ.getAttribute("xml:lang")||aJ.getAttribute("lang"))){aI=aI.toLowerCase();return aI===i||aI.indexOf(i+"-")===0}}while((aJ=aJ.parentNode)&&aJ.nodeType===1);return false}}),target:function(i){var aI=window.location&&window.location.hash;return aI&&aI.slice(1)===i.id},root:function(i){return i===A},focus:function(i){return i===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(i.type||i.href||~i.tabIndex)},enabled:function(i){return i.disabled===false},disabled:function(i){return i.disabled===true},checked:function(i){var aI=i.nodeName.toLowerCase();return(aI==="input"&&!!i.checked)||(aI==="option"&&!!i.selected)},selected:function(i){if(i.parentNode){i.parentNode.selectedIndex}return i.selected===true},empty:function(i){for(i=i.firstChild;i;i=i.nextSibling){if(i.nodeType<6){return false}}return true},parent:function(i){return !z.pseudos.empty(i)},header:function(i){return x.test(i.nodeName)},input:function(i){return o.test(i.nodeName)},button:function(aI){var i=aI.nodeName.toLowerCase();return i==="input"&&aI.type==="button"||i==="button"},text:function(aI){var i;return aI.nodeName.toLowerCase()==="input"&&aI.type==="text"&&((i=aI.getAttribute("type"))==null||i.toLowerCase()==="text")},first:at(function(){return[0]}),last:at(function(i,aI){return[aI-1]}),eq:at(function(i,aJ,aI){return[aI<0?aI+aJ:aI]}),even:at(function(aI,aK){var aJ=0;for(;aJ<aK;aJ+=2){aI.push(aJ)}return aI}),odd:at(function(aI,aK){var aJ=1;for(;aJ<aK;aJ+=2){aI.push(aJ)}return aI}),lt:at(function(aI,aL,aK){var aJ=aK<0?aK+aL:aK;for(;--aJ>=0;){aI.push(aJ)}return aI}),gt:at(function(aI,aL,aK){var aJ=aK<0?aK+aL:aK;for(;++aJ<aL;){aI.push(aJ)}return aI})}};z.pseudos.nth=z.pseudos.eq;for(J in {radio:true,checkbox:true,file:true,password:true,image:true}){z.pseudos[J]=I(J)}for(J in {submit:true,reset:true}){z.pseudos[J]=n(J)}function ag(){}ag.prototype=z.filters=z.pseudos;z.setFilters=new ag();t=H.tokenize=function(aL,aQ){var aI,aM,aO,aP,aN,aJ,i,aK=av[aL+" "];if(aK){return aQ?0:aK.slice(0)}aN=aL;aJ=[];i=z.preFilter;while(aN){if(!aI||(aM=G.exec(aN))){if(aM){aN=aN.slice(aM[0].length)||aN}aJ.push((aO=[]))}aI=false;if((aM=M.exec(aN))){aI=aM.shift();aO.push({value:aI,type:aM[0].replace(D," ")});aN=aN.slice(aI.length)}for(aP in z.filter){if((aM=an[aP].exec(aN))&&(!i[aP]||(aM=i[aP](aM)))){aI=aM.shift();aO.push({value:aI,type:aP,matches:aM});aN=aN.slice(aI.length)}}if(!aI){break}}return aQ?aN.length:aN?H.error(aL):av(aL,aJ).slice(0)};function u(aL){var aK=0,aJ=aL.length,aI="";for(;aK<aJ;aK++){aI+=aL[aK].value}return aI}function C(aL,aJ,aK){var i=aJ.dir,aM=aK&&i==="parentNode",aI=ap++;return aJ.first?function(aP,aO,aN){while((aP=aP[i])){if(aP.nodeType===1||aM){return aL(aP,aO,aN)}}}:function(aR,aP,aO){var aS,aQ,aN=[aE,aI];if(aO){while((aR=aR[i])){if(aR.nodeType===1||aM){if(aL(aR,aP,aO)){return true}}}}else{while((aR=aR[i])){if(aR.nodeType===1||aM){aQ=aR[aw]||(aR[aw]={});if((aS=aQ[i])&&aS[0]===aE&&aS[1]===aI){return(aN[2]=aS[2])}else{aQ[i]=aN;if((aN[2]=aL(aR,aP,aO))){return true}}}}}}}function aG(i){return i.length>1?function(aL,aK,aI){var aJ=i.length;while(aJ--){if(!i[aJ](aL,aK,aI)){return false}}return true}:i[0]}function K(aJ,aM,aL){var aK=0,aI=aM.length;for(;aK<aI;aK++){H(aJ,aM[aK],aL)}return aL}function al(aI,aJ,aK,aL,aO){var aM,aR=[],aN=0,aP=aI.length,aQ=aJ!=null;for(;aN<aP;aN++){if((aM=aI[aN])){if(!aK||aK(aM,aL,aO)){aR.push(aM);if(aQ){aJ.push(aN)}}}}return aR}function s(aJ,aI,aL,aK,aM,i){if(aK&&!aK[aw]){aK=s(aK)}if(aM&&!aM[aw]){aM=s(aM,i)}return v(function(aX,aU,aP,aW){var aZ,aV,aR,aQ=[],aY=[],aO=aU.length,aN=aX||K(aI||"*",aP.nodeType?[aP]:aP,[]),aS=aJ&&(aX||!aI)?al(aN,aQ,aJ,aP,aW):aN,aT=aL?aM||(aX?aJ:aO||aK)?[]:aU:aS;if(aL){aL(aS,aT,aP,aW)}if(aK){aZ=al(aT,aY);aK(aZ,[],aP,aW);aV=aZ.length;while(aV--){if((aR=aZ[aV])){aT[aY[aV]]=!(aS[aY[aV]]=aR)}}}if(aX){if(aM||aJ){if(aM){aZ=[];aV=aT.length;while(aV--){if((aR=aT[aV])){aZ.push((aS[aV]=aR))}}aM(null,(aT=[]),aZ,aW)}aV=aT.length;while(aV--){if((aR=aT[aV])&&(aZ=aM?p.call(aX,aR):aQ[aV])>-1){aX[aZ]=!(aU[aZ]=aR)}}}}else{aT=al(aT===aU?aT.splice(aO,aT.length):aT);if(aM){aM(null,aU,aT,aW)}else{j.apply(aU,aT)}}})}function ax(aO){var aJ,aM,aK,aN=aO.length,aR=z.relative[aO[0].type],aS=aR||z.relative[" "],aL=aR?1:0,aP=C(function(i){return i===aJ},aS,true),aQ=C(function(i){return p.call(aJ,i)>-1},aS,true),aI=[function(aU,aT,i){return(!aR&&(i||aT!==aH))||((aJ=aT).nodeType?aP(aU,aT,i):aQ(aU,aT,i))}];for(;aL<aN;aL++){if((aM=z.relative[aO[aL].type])){aI=[C(aG(aI),aM)]}else{aM=z.filter[aO[aL].type].apply(null,aO[aL].matches);if(aM[aw]){aK=++aL;for(;aK<aN;aK++){if(z.relative[aO[aK].type]){break}}return s(aL>1&&aG(aI),aL>1&&u(aO.slice(0,aL-1).concat({value:aO[aL-2].type===" "?"*":""})).replace(D,"$1"),aM,aL<aK&&ax(aO.slice(aL,aK)),aK<aN&&ax((aO=aO.slice(aK))),aK<aN&&u(aO))}aI.push(aM)}}return aG(aI)}function aj(aK,aJ){var i=aJ.length>0,aL=aK.length>0,aI=function(aV,aP,aU,aT,aY){var aQ,aR,aW,a0=0,aS="0",aM=aV&&[],a1=[],aZ=aH,aO=aV||aL&&z.find.TAG("*",aY),aN=(aE+=aZ==null?1:Math.random()||0.1),aX=aO.length;if(aY){aH=aP!==N&&aP}for(;aS!==aX&&(aQ=aO[aS])!=null;aS++){if(aL&&aQ){aR=0;while((aW=aK[aR++])){if(aW(aQ,aP,aU)){aT.push(aQ);break}}if(aY){aE=aN}}if(i){if((aQ=!aW&&aQ)){a0--}if(aV){aM.push(aQ)}}}a0+=aS;if(i&&aS!==a0){aR=0;while((aW=aJ[aR++])){aW(aM,a1,aP,aU)}if(aV){if(a0>0){while(aS--){if(!(aM[aS]||a1[aS])){a1[aS]=az.call(aT)}}}a1=al(a1)}j.apply(aT,a1);if(aY&&!aV&&a1.length>0&&(a0+aJ.length)>1){H.uniqueSort(aT)}}if(aY){aE=aN;aH=aZ}return aM};return i?v(aI):aI}ah=H.compile=function(aI,aK){var aL,aJ=[],aN=[],aM=R[aI+" "];if(!aM){if(!aK){aK=t(aI)}aL=aK.length;while(aL--){aM=ax(aK[aL]);if(aM[aw]){aJ.push(aM)}else{aN.push(aM)}}aM=R(aI,aj(aN,aJ));aM.selector=aI}return aM};aC=H.select=function(aK,aI,aL,aO){var aM,aR,aJ,aS,aP,aQ=typeof aK==="function"&&aK,aN=!aO&&t((aK=aQ.selector||aK));aL=aL||[];if(aN.length===1){aR=aN[0]=aN[0].slice(0);if(aR.length>2&&(aJ=aR[0]).type==="ID"&&aD.getById&&aI.nodeType===9&&au&&z.relative[aR[1].type]){aI=(z.find.ID(aJ.matches[0].replace(E,aq),aI)||[])[0];if(!aI){return aL}else{if(aQ){aI=aI.parentNode}}aK=aK.slice(aR.shift().value.length)}aM=an.needsContext.test(aK)?0:aR.length;while(aM--){aJ=aR[aM];if(z.relative[(aS=aJ.type)]){break}if((aP=z.find[aS])){if((aO=aP(aJ.matches[0].replace(E,aq),am.test(aR[0].type)&&ae(aI.parentNode)||aI))){aR.splice(aM,1);aK=aO.length&&u(aR);if(!aK){j.apply(aL,aO);return aL}break}}}}(aQ||ah(aK,aN))(aO,aI,!au,aL,am.test(aK)&&ae(aI.parentNode)||aI);return aL};aD.sortStable=aw.split("").sort(P).join("")===aw;aD.detectDuplicates=!!ai;ak();aD.sortDetached=r(function(i){return i.compareDocumentPosition(N.createElement("div"))&1});if(!r(function(i){i.innerHTML="<a href='#'></a>";return i.firstChild.getAttribute("href")==="#"})){aF("type|href|height|width",function(aI,i,aJ){if(!aJ){return aI.getAttribute(i,i.toLowerCase()==="type"?1:2)}})}if(!aD.attributes||!r(function(i){i.innerHTML="<input/>";i.firstChild.setAttribute("value","");return i.firstChild.getAttribute("value")===""})){aF("value",function(aI,i,aJ){if(!aJ&&aI.nodeName.toLowerCase()==="input"){return aI.defaultValue}})}if(!r(function(i){return i.getAttribute("disabled")==null})){aF(k,function(aI,i,aK){var aJ;if(!aK){return aI[i]===true?i.toLowerCase():(aJ=aI.getAttributeNode(i))&&aJ.specified?aJ.value:null}})}return H});h("tinymce/Env",[],function(){var i=navigator,t=i.userAgent;var m,s,j,p,o,l,r,n,k;m=window.opera&&window.opera.buildNumber;k=/Android/.test(t);s=/WebKit/.test(t);j=!s&&!m&&(/MSIE/gi).test(t)&&(/Explorer/gi).test(i.appName);j=j&&/MSIE (\w+)\./.exec(t)[1];p=t.indexOf("Trident/")!=-1&&(t.indexOf("rv:")!=-1||i.appName.indexOf("Netscape")!=-1)?11:false;o=(document.msElementsFromPoint&&!j&&!p)?12:false;j=j||p||o;l=!s&&!p&&/Gecko/.test(t);r=t.indexOf("Mac")!=-1;n=/(iPad|iPhone)/.test(t);if(o){s=false}var q=!n||t.match(/AppleWebKit\/(\d*)/)[1]>=534;return{opera:m,webkit:s,ie:j,gecko:l,mac:r,iOS:n,android:k,contentEditable:q,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:j!=8,range:window.getSelection&&"Range" in window,documentMode:j&&!o?(document.documentMode||7):10}});h("tinymce/util/Tools",["tinymce/Env"],function(i){var z=/^\s*|\s*$/g;function u(A){return(A===null||A===g)?"":(""+A).replace(z,"")}var o=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"};function m(B,A){if(!A){return B!==g}if(A=="array"&&o(B)){return true}return typeof B==A}function s(C){var D=C,B,A;if(!o(C)){D=[];for(B=0,A=C.length;B<A;B++){D[B]=C[B]}}return D}function q(A,D,C){var B;A=A||[];D=D||",";if(typeof A=="string"){A=A.split(D)}C=C||{};B=A.length;while(B--){C[A[B]]={}}return C}function k(D,A,C){var E,B;if(!D){return 0}C=C||D;if(D.length!==g){for(E=0,B=D.length;E<B;E++){if(A.call(C,D[E],E,D)===false){return 0}}}else{for(E in D){if(D.hasOwnProperty(E)){if(A.call(C,D[E],E,D)===false){return 0}}}}return 1}function y(C,B){var A=[];k(C,function(D){A.push(B(D))});return A}function n(A,B){var C=[];k(A,function(D){if(!B||B(D)){C.push(D)}});return C}function p(J,A,E){var I=this,B,D,F,G,C,H=0;J=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(J);F=J[3].match(/(^|\.)(\w+)$/i)[2];D=I.createNS(J[3].replace(/\.\w+$/,""),E);if(D[F]){return}if(J[2]=="static"){D[F]=A;if(this.onCreate){this.onCreate(J[2],J[3],D[F])}return}if(!A[F]){A[F]=function(){};H=1}D[F]=A[F];I.extend(D[F].prototype,A);if(J[5]){B=I.resolve(J[5]).prototype;G=J[5].match(/\.(\w+)$/i)[1];C=D[F];if(H){D[F]=function(){return B[G].apply(this,arguments)}}else{D[F]=function(){this.parent=B[G];return C.apply(this,arguments)}}D[F].prototype[F]=D[F];I.each(B,function(K,L){D[F].prototype[L]=B[L]});I.each(A,function(K,L){if(B[L]){D[F].prototype[L]=function(){this.parent=B[L];return K.apply(this,arguments)}}else{if(L!=F){D[F].prototype[L]=K}}})}I.each(A["static"],function(K,L){D[F][L]=K})}function v(B,C){var D,A;if(B){for(D=0,A=B.length;D<A;D++){if(B[D]===C){return D}}}return -1}function w(G,E){var D,A,C,B=arguments,F;for(D=1,A=B.length;D<A;D++){E=B[D];for(C in E){if(E.hasOwnProperty(C)){F=E[C];if(F!==g){G[C]=F}}}}return G}function x(C,B,D,A){A=A||this;if(C){if(D){C=C[D]}k(C,function(F,E){if(B.call(A,F,E,D)===false){return false}x(F,B,D,A)})}}function l(D,C){var B,A;C=C||window;D=D.split(".");for(B=0;B<D.length;B++){A=D[B];if(!C[A]){C[A]={}}C=C[A]}return C}function t(D,C){var B,A;C=C||window;D=D.split(".");for(B=0,A=D.length;B<A;B++){C=C[D[B]];if(!C){break}}return C}function r(A,B){if(!A||m(A,"array")){return A}return y(A.split(B||","),u)}function j(B){var A=i.cacheSuffix;if(A){B+=(B.indexOf("?")===-1?"?":"&")+A}return B}return{trim:u,isArray:o,is:m,toArray:s,makeMap:q,each:k,map:y,grep:n,inArray:v,extend:w,create:p,walk:x,createNS:l,resolve:t,explode:r,_addCacheSuffix:j}});h("tinymce/dom/DomQuery",["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/Env"],function(t,q,n,o){var P=document,v=Array.prototype.push,E=Array.prototype.slice;var B=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/;var O=t.Event,p;function k(Q){return typeof Q!=="undefined"}function y(Q){return typeof Q==="string"}function J(Q){return Q&&Q==Q.window}function D(S,R){var U,T,Q;R=R||P;Q=R.createElement("div");U=R.createDocumentFragment();Q.innerHTML=S;while((T=Q.firstChild)){U.appendChild(T)}return U}function A(Q,T,U,R){var S;if(y(T)){T=D(T,z(Q[0]))}else{if(T.length&&!T.nodeType){T=r.makeArray(T);if(R){for(S=T.length-1;S>=0;S--){A(Q,T[S],U,R)}}else{for(S=0;S<T.length;S++){A(Q,T[S],U,R)}}return Q}}if(T.nodeType){S=Q.length;while(S--){U.call(Q[S],T)}}return Q}function l(R,Q){return R&&Q&&(" "+R.className+" ").indexOf(" "+Q+" ")!==-1}function x(T,U,R){var Q,S;U=r(U)[0];T.each(function(){var V=this;if(!R||Q!=V.parentNode){Q=V.parentNode;S=U.cloneNode(false);V.parentNode.insertBefore(S,V);S.appendChild(V)}else{S.appendChild(V)}});return T}var j=n.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," ");var G=n.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," ");var K={"for":"htmlFor","class":"className",readonly:"readOnly"};var m={"float":"cssFloat"};var M={},N={};function r(Q,R){return new r.fn.init(Q,R)}function H(R,S){var Q;if(S.indexOf){return S.indexOf(R)}Q=S.length;while(Q--){if(S[Q]===R){return Q}}return -1}var L=/^\s*|\s*$/g;function F(Q){return(Q===null||Q===p)?"":(""+Q).replace(L,"")}function s(V,W){var T,R,Q,S,U;if(V){T=V.length;if(T===S){for(R in V){if(V.hasOwnProperty(R)){U=V[R];if(W.call(U,R,U)===false){break}}}}else{for(Q=0;Q<T;Q++){U=V[Q];if(W.call(U,Q,U)===false){break}}}}return V}function w(S,R){var Q=[];s(S,function(T,U){if(R(U,T)){Q.push(U)}});return Q}function z(Q){if(!Q){return P}if(Q.nodeType==9){return Q}return Q.ownerDocument}r.fn=r.prototype={constructor:r,selector:"",context:null,length:0,init:function(Q,T){var R=this,S,U;if(!Q){return R}if(Q.nodeType){R.context=R[0]=Q;R.length=1;return R}if(T&&T.nodeType){R.context=T}else{if(T){return r(Q).attr(T)}else{R.context=T=document}}if(y(Q)){R.selector=Q;if(Q.charAt(0)==="<"&&Q.charAt(Q.length-1)===">"&&Q.length>=3){S=[null,Q,null]}else{S=B.exec(Q)}if(S){if(S[1]){U=D(Q,z(T)).firstChild;while(U){v.call(R,U);U=U.nextSibling}}else{U=z(T).getElementById(S[2]);if(!U){return R}if(U.id!==S[2]){return R.find(Q)}R.length=1;R[0]=U}}else{return r(T).find(Q)}}else{this.add(Q,false)}return R},toArray:function(){return n.toArray(this)},add:function(S,U){var R=this,Q,T;if(y(S)){return R.add(r(S))}if(U!==false){Q=r.unique(R.toArray().concat(r.makeArray(S)));R.length=Q.length;for(T=0;T<Q.length;T++){R[T]=Q[T]}}else{v.apply(R,r.makeArray(S))}return R},attr:function(R,T){var Q=this,S;if(typeof R==="object"){s(R,function(U,V){Q.attr(U,V)})}else{if(k(T)){this.each(function(){var U;if(this.nodeType===1){U=M[R];if(U&&U.set){U.set(this,T);return}if(T===null){this.removeAttribute(R,2)}else{this.setAttribute(R,T,2)}}})}else{if(Q[0]&&Q[0].nodeType===1){S=M[R];if(S&&S.get){return S.get(Q[0],R)}if(G[R]){return Q.prop(R)?R:p}T=Q[0].getAttribute(R,2);if(T===null){T=p}}return T}}return Q},removeAttr:function(Q){return this.attr(Q,null)},prop:function(R,S){var Q=this;R=K[R]||R;if(typeof R==="object"){s(R,function(T,U){Q.prop(T,U)})}else{if(k(S)){this.each(function(){if(this.nodeType==1){this[R]=S}})}else{if(Q[0]&&Q[0].nodeType&&R in Q[0]){return Q[0][R]}return S}}return Q},css:function(S,W){var R=this,X,V;function U(Y){return Y.replace(/-(\D)/g,function(aa,Z){return Z.toUpperCase()})}function Q(Y){return Y.replace(/[A-Z]/g,function(Z){return"-"+Z})}if(typeof S==="object"){s(S,function(Y,Z){R.css(Y,Z)})}else{if(k(W)){S=U(S);if(typeof W==="number"&&!j[S]){W+="px"}R.each(function(){var Z=this.style;V=N[S];if(V&&V.set){V.set(this,W);return}try{this.style[m[S]||S]=W}catch(Y){}if(W===null||W===""){if(Z.removeProperty){Z.removeProperty(Q(S))}else{Z.removeAttribute(S)}}})}else{X=R[0];V=N[S];if(V&&V.get){return V.get(X)}if(X.ownerDocument.defaultView){try{return X.ownerDocument.defaultView.getComputedStyle(X,null).getPropertyValue(Q(S))}catch(T){return p}}else{if(X.currentStyle){return X.currentStyle[U(S)]}}}}return R},remove:function(){var Q=this,S,R=this.length;while(R--){S=Q[R];O.clean(S);if(S.parentNode){S.parentNode.removeChild(S)}}return this},empty:function(){var Q=this,S,R=this.length;while(R--){S=Q[R];while(S.firstChild){S.removeChild(S.firstChild)}}return this},html:function(T){var Q=this,S;if(k(T)){S=Q.length;try{while(S--){Q[S].innerHTML=T}}catch(R){r(Q[S]).empty().append(T)}return Q}return Q[0]?Q[0].innerHTML:""},text:function(S){var Q=this,R;if(k(S)){R=Q.length;while(R--){if("innerText" in Q[R]){Q[R].innerText=S}else{Q[0].textContent=S}}return Q}return Q[0]?(Q[0].innerText||Q[0].textContent):""},append:function(){return A(this,arguments,function(Q){if(this.nodeType===1){this.appendChild(Q)}})},prepend:function(){return A(this,arguments,function(Q){if(this.nodeType===1){this.insertBefore(Q,this.firstChild)}},true)},before:function(){var Q=this;if(Q[0]&&Q[0].parentNode){return A(Q,arguments,function(R){this.parentNode.insertBefore(R,this)})}return Q},after:function(){var Q=this;if(Q[0]&&Q[0].parentNode){return A(Q,arguments,function(R){this.parentNode.insertBefore(R,this.nextSibling)},true)}return Q},appendTo:function(Q){r(Q).append(this);return this},prependTo:function(Q){r(Q).prepend(this);return this},replaceWith:function(Q){return this.before(Q).remove()},wrap:function(Q){return x(this,Q)},wrapAll:function(Q){return x(this,Q,true)},wrapInner:function(Q){this.each(function(){r(this).contents().wrapAll(Q)});return this},unwrap:function(){return this.parent().each(function(){r(this).replaceWith(this.childNodes)})},clone:function(){var Q=[];this.each(function(){Q.push(this.cloneNode(true))});return r(Q)},addClass:function(Q){return this.toggleClass(Q,true)},removeClass:function(Q){return this.toggleClass(Q,false)},toggleClass:function(R,S){var Q=this;if(typeof R!="string"){return Q}if(R.indexOf(" ")!==-1){s(R.split(" "),function(){Q.toggleClass(this,S)})}else{Q.each(function(T,V){var U,W;W=l(V,R);if(W!==S){U=V.className;if(W){V.className=F((" "+U+" ").replace(" "+R+" "," "))}else{V.className+=U?" "+R:R}}})}return Q},hasClass:function(Q){return l(this[0],Q)},each:function(Q){return s(this,Q)},on:function(Q,R){return this.each(function(){O.bind(this,Q,R)})},off:function(Q,R){return this.each(function(){O.unbind(this,Q,R)})},trigger:function(Q){return this.each(function(){if(typeof Q=="object"){O.fire(this,Q.type,Q)}else{O.fire(this,Q)}})},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new r(E.apply(this,arguments))},eq:function(Q){return Q===-1?this.slice(Q):this.slice(Q,+Q+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(Q){var T,R,S=[];for(T=0,R=this.length;T<R;T++){r.find(Q,this[T],S)}return r(S)},filter:function(Q){if(typeof Q=="function"){return r(w(this.toArray(),function(S,R){return Q(R,S)}))}return r(r.filter(Q,this.toArray()))},closest:function(R){var Q=[];if(R instanceof r){R=R[0]}this.each(function(S,T){while(T){if(typeof R=="string"&&r(T).is(R)){Q.push(T);break}else{if(T==R){Q.push(T);break}}T=T.parentNode}});return r(Q)},offset:function(T){var W,S,R;var Q=0,V=0,U;if(!T){W=this[0];if(W){S=W.ownerDocument;R=S.documentElement;if(W.getBoundingClientRect){U=W.getBoundingClientRect();Q=U.left+(R.scrollLeft||S.body.scrollLeft)-R.clientLeft;V=U.top+(R.scrollTop||S.body.scrollTop)-R.clientTop}}return{left:Q,top:V}}return this.css(T)},push:v,sort:[].sort,splice:[].splice};n.extend(r,{extend:n.extend,makeArray:function(Q){if(J(Q)||Q.nodeType){return[Q]}return n.toArray(Q)},inArray:H,isArray:n.isArray,each:s,trim:F,grep:w,find:q,expr:q.selectors,unique:q.uniqueSort,text:q.getText,contains:q.contains,filter:function(T,Q,S){var R=Q.length;if(S){T=":not("+T+")"}while(R--){if(Q[R].nodeType!=1){Q.splice(R,1)}}if(Q.length===1){Q=r.find.matchesSelector(Q[0],T)?[Q[0]]:[]}else{Q=r.find.matches(T,Q)}return Q}});function C(R,U,T){var Q=[],S=R[U];if(typeof T!="string"&&T instanceof r){T=T[0]}while(S&&S.nodeType!==9){if(T!==g){if(S===T){break}if(typeof T=="string"&&r(S).is(T)){break}}if(S.nodeType===1){Q.push(S)}S=S[U]}return Q}function I(T,S,R,U){var Q=[];if(U instanceof r){U=U[0]}for(;T;T=T[S]){if(R&&T.nodeType!==R){continue}if(U!==g){if(T===U){break}if(typeof U=="string"&&r(T).is(U)){break}}Q.push(T)}return Q}function i(S,R,Q){for(S=S[R];S;S=S[R]){if(S.nodeType==Q){return S}}return null}s({parent:function(R){var Q=R.parentNode;return Q&&Q.nodeType!==11?Q:null},parents:function(Q){return C(Q,"parentNode")},next:function(Q){return i(Q,"nextSibling",1)},prev:function(Q){return i(Q,"previousSibling",1)},children:function(Q){return I(Q.firstChild,"nextSibling",1)},contents:function(Q){return n.toArray((Q.nodeName==="iframe"?Q.contentDocument||Q.contentWindow.document:Q).childNodes)}},function(Q,R){r.fn[Q]=function(T){var U=this,S=[];U.each(function(){var V=R.call(S,this,T,S);if(V){if(r.isArray(V)){S.push.apply(S,V)}else{S.push(V)}}});if(this.length>1){S=r.unique(S);if(Q.indexOf("parents")===0){S=S.reverse()}}S=r(S);if(T){return S.filter(T)}return S}});s({parentsUntil:function(Q,R){return C(Q,"parentNode",R)},nextUntil:function(Q,R){return I(Q,"nextSibling",1,R).slice(1)},prevUntil:function(Q,R){return I(Q,"previousSibling",1,R).slice(1)}},function(Q,R){r.fn[Q]=function(T,V){var U=this,S=[];U.each(function(){var W=R.call(S,this,T,S);if(W){if(r.isArray(W)){S.push.apply(S,W)}else{S.push(W)}}});if(this.length>1){S=r.unique(S);if(Q.indexOf("parents")===0||Q==="prevUntil"){S=S.reverse()}}S=r(S);if(V){return S.filter(V)}return S}});r.fn.is=function(Q){return !!Q&&this.filter(Q).length>0};r.fn.init.prototype=r.fn;r.overrideDefaults=function(S){var R;function Q(T,U){R=R||S();if(arguments.length===0){T=R.element}if(!U){U=R.context}return new Q.fn.init(T,U)}r.extend(Q,this);return Q};function u(S,R,Q){s(Q,function(T,U){S[T]=S[T]||{};S[T][R]=U})}if(o.ie&&o.ie<8){u(M,"get",{maxlength:function(R){var Q=R.maxLength;if(Q===2147483647){return p}return Q},size:function(R){var Q=R.size;if(Q===20){return p}return Q},"class":function(Q){return Q.className},style:function(R){var Q=R.style.cssText;if(Q.length===0){return p}return Q}});u(M,"set",{"class":function(R,Q){R.className=Q},style:function(R,Q){R.style.cssText=Q}})}if(o.ie&&o.ie<9){m["float"]="styleFloat";u(N,"set",{opacity:function(S,R){var Q=S.style;if(R===null||R===""){Q.removeAttribute("filter")}else{Q.zoom=1;Q.filter="alpha(opacity="+(R*100)+")"}}})}r.attrHooks=M;r.cssHooks=N;return r});h("tinymce/html/Styles",[],function(){return function(o,q){var u=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,r=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,l=/\s*([^:]+):\s*([^;]+);?/g,w=/\s+$/,p,s,k={},t,n,j,v="\uFEFF";o=o||{};if(q){n=q.getValidStyles();j=q.getInvalidStyles()}t=("\\\" \\' \\; \\: ; : "+v).split(" ");for(s=0;s<t.length;s++){k[t[s]]=v+s;k[v+s]=t[s]}function m(x,A,z,i){function y(B){B=parseInt(B,10).toString(16);return B.length>1?B:"0"+B}return"#"+y(A)+y(z)+y(i)}return{toHex:function(i){return i.replace(u,m)},parse:function(C){var I={},A,x,G,B,F=o.url_converter;var H=o.url_converter_scope||this;function z(O,R,L){var Q,M,K,P;Q=I[O+"-top"+R];if(!Q){return}M=I[O+"-right"+R];if(!M){return}K=I[O+"-bottom"+R];if(!K){return}P=I[O+"-left"+R];if(!P){return}var N=[Q,M,K,P];s=N.length-1;while(s--){if(N[s]!==N[s+1]){break}}if(s>-1&&L){return}I[O+R]=s==-1?N[0]:N.join(" ");delete I[O+"-top"+R];delete I[O+"-right"+R];delete I[O+"-bottom"+R];delete I[O+"-left"+R]}function E(L){var M=I[L],K;if(!M){return}M=M.split(" ");K=M.length;while(K--){if(M[K]!==M[0]){return false}}I[L]=M[0];return true}function J(M,L,K,N){if(!E(L)){return}if(!E(K)){return}if(!E(N)){return}I[M]=I[L]+" "+I[K]+" "+I[N];delete I[L];delete I[K];delete I[N]}function D(K){B=true;return k[K]}function i(L,K){if(B){L=L.replace(/\uFEFF[0-9]/g,function(M){return k[M]})}if(!K){L=L.replace(/\\([\'\";:])/g,"$1")}return L}function y(L,K,O,N,Q,M){Q=Q||M;if(Q){Q=i(Q);return"'"+Q.replace(/\'/g,"\\'")+"'"}K=i(K||O||N);if(!o.allow_script_urls){var P=K.replace(/[\s\r\n]+/,"");if(/(java|vb)script:/i.test(P)){return""}if(!o.allow_svg_data_urls&&/^data:image\/svg/i.test(P)){return""}}if(F){K=F.call(H,K,"style")}return"url('"+K.replace(/\'/g,"\\'")+"')"}if(C){C=C.replace(/[\u0000-\u001F]/g,"");C=C.replace(/\\[\"\';:\uFEFF]/g,D).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(K){return K.replace(/[;:]/g,D)});while((A=l.exec(C))){x=A[1].replace(w,"").toLowerCase();G=A[2].replace(w,"");G=G.replace(/\\[0-9a-f]+/g,function(K){return String.fromCharCode(parseInt(K.substr(1),16))});if(x&&G.length>0){if(!o.allow_script_urls&&(x=="behavior"||/expression\s*\(|\/\*|\*\//.test(G))){continue}if(x==="font-weight"&&G==="700"){G="bold"}else{if(x==="color"||x==="background-color"){G=G.toLowerCase()}}G=G.replace(u,m);G=G.replace(r,y);I[x]=B?i(G,true):G}l.lastIndex=A.index+A[0].length}z("border","",true);z("border","-width");z("border","-color");z("border","-style");z("padding","");z("margin","");J("border","border-width","border-style","border-color");if(I.border==="medium none"){delete I.border}if(I["border-image"]==="none"){delete I["border-image"]}}return I},serialize:function(A,i){var z="",y,B;function x(E){var H,F,D,G;H=n[E];if(H){for(F=0,D=H.length;F<D;F++){E=H[F];G=A[E];if(G!==p&&G.length>0){z+=(z.length>0?" ":"")+E+": "+G+";"}}}}function C(E,D){var F;F=j["*"];if(F&&F[E]){return false}F=j[D];if(F&&F[E]){return false}return true}if(i&&n){x("*");x(i)}else{for(y in A){B=A[y];if(B!==p&&B.length>0){if(!j||C(y,i)){z+=(z.length>0?" ":"")+y+": "+B+";"}}}}return z}}}});h("tinymce/dom/TreeWalker",[],function(){return function(j,i){var k=j;function l(q,m,n,r){var p,o;if(q){if(!r&&q[m]){return q[m]}if(q!=i){p=q[n];if(p){return p}for(o=q.parentNode;o&&o!=i;o=o.parentNode){p=o[n];if(p){return p}}}}}this.current=function(){return k};this.next=function(m){k=l(k,"firstChild","nextSibling",m);return k};this.prev=function(m){k=l(k,"lastChild","previousSibling",m);return k}}});h("tinymce/dom/Range",["tinymce/util/Tools"],function(i){function j(k){var o=this,m=k.doc,aa=0,M=1,s=2,L=true,Y=false,ac="startOffset",q="startContainer",W="endContainer",H="endOffset",t=i.extend,w=k.nodeIndex;function E(){return m.createDocumentFragment()}function z(ae,ad){J(L,ae,ad)}function B(ae,ad){J(Y,ae,ad)}function p(ad){z(ad.parentNode,w(ad))}function Q(ad){z(ad.parentNode,w(ad)+1)}function R(ad){B(ad.parentNode,w(ad))}function C(ad){B(ad.parentNode,w(ad)+1)}function I(ad){if(ad){o[W]=o[q];o[H]=o[ac]}else{o[q]=o[W];o[ac]=o[H]}o.collapsed=L}function F(ad){p(ad);C(ad)}function N(ad){z(ad,0);B(ad,ad.nodeType===1?ad.childNodes.length:ad.nodeValue.length)}function D(ah,ad){var ak=o[q],af=o[ac],aj=o[W],ae=o[H],ai=ad.startContainer,am=ad.startOffset,ag=ad.endContainer,al=ad.endOffset;if(ah===0){return O(ak,af,ai,am)}if(ah===1){return O(aj,ae,ai,am)}if(ah===2){return O(aj,ae,ag,al)}if(ah===3){return O(ak,af,ag,al)}}function y(){u(s)}function P(){return u(aa)}function l(){return u(M)}function K(ah){var ae=this[q],ad=this[ac],ag,af;if((ae.nodeType===3||ae.nodeType===4)&&ae.nodeValue){if(!ad){ae.parentNode.insertBefore(ah,ae)}else{if(ad>=ae.nodeValue.length){k.insertAfter(ah,ae)}else{ag=ae.splitText(ad);ae.parentNode.insertBefore(ah,ag)}}}else{if(ae.childNodes.length>0){af=ae.childNodes[ad]}if(af){ae.insertBefore(ah,af)}else{if(ae.nodeType==3){k.insertAfter(ah,ae)}else{ae.appendChild(ah)}}}}function U(ae){var ad=o.extractContents();o.insertNode(ae);ae.appendChild(ad);o.selectNode(ae)}function S(){return t(new j(k),{startContainer:o[q],startOffset:o[ac],endContainer:o[W],endOffset:o[H],collapsed:o.collapsed,commonAncestorContainer:o.commonAncestorContainer})}function V(ad,ae){var af;if(ad.nodeType==3){return ad}if(ae<0){return ad}af=ad.firstChild;while(af&&ae>0){--ae;af=af.nextSibling}if(af){return af}return ad}function v(){return(o[q]==o[W]&&o[ac]==o[H])}function O(ag,ai,ae,ah){var aj,af,ad,ak,am,al;if(ag==ae){if(ai==ah){return 0}if(ai<ah){return -1}return 1}aj=ae;while(aj&&aj.parentNode!=ag){aj=aj.parentNode}if(aj){af=0;ad=ag.firstChild;while(ad!=aj&&af<ai){af++;ad=ad.nextSibling}if(ai<=af){return -1}return 1}aj=ag;while(aj&&aj.parentNode!=ae){aj=aj.parentNode}if(aj){af=0;ad=ae.firstChild;while(ad!=aj&&af<ah){af++;ad=ad.nextSibling}if(af<ah){return -1}return 1}ak=k.findCommonAncestor(ag,ae);am=ag;while(am&&am.parentNode!=ak){am=am.parentNode}if(!am){am=ak}al=ae;while(al&&al.parentNode!=ak){al=al.parentNode}if(!al){al=ak}if(am==al){return 0}ad=ak.firstChild;while(ad){if(ad==am){return -1}if(ad==al){return 1}ad=ad.nextSibling}}function J(ae,ah,ag){var ad,af;if(ae){o[q]=ah;o[ac]=ag}else{o[W]=ah;o[H]=ag}ad=o[W];while(ad.parentNode){ad=ad.parentNode}af=o[q];while(af.parentNode){af=af.parentNode}if(af==ad){if(O(o[q],o[ac],o[W],o[H])>0){o.collapse(ae)}}else{o.collapse(ae)}o.collapsed=v();o.commonAncestorContainer=k.findCommonAncestor(o[q],o[W])}function u(ak){var aj,ag=0,am=0,ae,ai,af,ah,ad,al;if(o[q]==o[W]){return n(ak)}for(aj=o[W],ae=aj.parentNode;ae;aj=ae,ae=ae.parentNode){if(ae==o[q]){return A(aj,ak)}++ag}for(aj=o[q],ae=aj.parentNode;ae;aj=ae,ae=ae.parentNode){if(ae==o[W]){return ab(aj,ak)}++am}ai=am-ag;af=o[q];while(ai>0){af=af.parentNode;ai--}ah=o[W];while(ai<0){ah=ah.parentNode;ai++}for(ad=af.parentNode,al=ah.parentNode;ad!=al;ad=ad.parentNode,al=al.parentNode){af=ad;ah=al}return x(af,ah,ak)}function n(aj){var al,am,ad,af,ag,ak,ah,ae,ai;if(aj!=s){al=E()}if(o[ac]==o[H]){return al}if(o[q].nodeType==3){am=o[q].nodeValue;ad=am.substring(o[ac],o[H]);if(aj!=M){af=o[q];ae=o[ac];ai=o[H]-o[ac];if(ae===0&&ai>=af.nodeValue.length-1){af.parentNode.removeChild(af)}else{af.deleteData(ae,ai)}o.collapse(L)}if(aj==s){return}if(ad.length>0){al.appendChild(m.createTextNode(ad))}return al}af=V(o[q],o[ac]);ag=o[H]-o[ac];while(af&&ag>0){ak=af.nextSibling;ah=G(af,aj);if(al){al.appendChild(ah)}--ag;af=ak}if(aj!=M){o.collapse(L)}return al}function A(ak,ah){var aj,ai,ae,ad,ag,af;if(ah!=s){aj=E()}ai=r(ak,ah);if(aj){aj.appendChild(ai)}ae=w(ak);ad=ae-o[ac];if(ad<=0){if(ah!=M){o.setEndBefore(ak);o.collapse(Y)}return aj}ai=ak.previousSibling;while(ad>0){ag=ai.previousSibling;af=G(ai,ah);if(aj){aj.insertBefore(af,aj.firstChild)}--ad;ai=ag}if(ah!=M){o.setEndBefore(ak);o.collapse(Y)}return aj}function ab(ai,ah){var ak,ae,aj,ad,ag,af;if(ah!=s){ak=E()}aj=X(ai,ah);if(ak){ak.appendChild(aj)}ae=w(ai);++ae;ad=o[H]-ae;aj=ai.nextSibling;while(aj&&ad>0){ag=aj.nextSibling;af=G(aj,ah);if(ak){ak.appendChild(af)}--ad;aj=ag}if(ah!=M){o.setStartAfter(ai);o.collapse(L)}return ak}function x(ah,ad,ak){var ae,am,ai,aj,af,al,ag;if(ak!=s){am=E()}ae=X(ah,ak);if(am){am.appendChild(ae)}ai=w(ah);aj=w(ad);++ai;af=aj-ai;al=ah.nextSibling;while(af>0){ag=al.nextSibling;ae=G(al,ak);if(am){am.appendChild(ae)}al=ag;--af}ae=r(ad,ak);if(am){am.appendChild(ae)}if(ak!=M){o.setStartAfter(ah);o.collapse(L)}return am}function r(aj,ak){var af=V(o[W],o[H]-1),al,ai;var ah,ad,ae,ag=af!=o[W];if(af==aj){return T(af,ag,Y,ak)}al=af.parentNode;ai=T(al,Y,Y,ak);while(al){while(af){ah=af.previousSibling;ad=T(af,ag,Y,ak);if(ak!=s){ai.insertBefore(ad,ai.firstChild)}ag=L;af=ah}if(al==aj){return ai}af=al.previousSibling;al=al.parentNode;ae=T(al,Y,Y,ak);if(ak!=s){ae.appendChild(ai)}ai=ae}}function X(aj,ak){var ag=V(o[q],o[ac]),ah=ag!=o[q];var al,ai,af,ad,ae;if(ag==aj){return T(ag,ah,L,ak)}al=ag.parentNode;ai=T(al,Y,L,ak);while(al){while(ag){af=ag.nextSibling;ad=T(ag,ah,L,ak);if(ak!=s){ai.appendChild(ad)}ah=L;ag=af}if(al==aj){return ai}ag=al.nextSibling;al=al.parentNode;ae=T(al,Y,L,ak);if(ak!=s){ae.appendChild(ai)}ai=ae}}function T(ad,ah,ak,al){var ag,af,ai,ae,aj;if(ah){return G(ad,al)}if(ad.nodeType==3){ag=ad.nodeValue;if(ak){ae=o[ac];af=ag.substring(ae);ai=ag.substring(0,ae)}else{ae=o[H];af=ag.substring(0,ae);ai=ag.substring(ae)}if(al!=M){ad.nodeValue=ai}if(al==s){return}aj=k.clone(ad,Y);aj.nodeValue=af;return aj}if(al==s){return}return k.clone(ad,Y)}function G(ae,ad){if(ad!=s){return ad==M?k.clone(ae,L):ae}ae.parentNode.removeChild(ae)}function Z(){return k.create("body",null,l()).outerText}t(o,{startContainer:m,startOffset:0,endContainer:m,endOffset:0,collapsed:L,commonAncestorContainer:m,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:z,setEnd:B,setStartBefore:p,setStartAfter:Q,setEndBefore:R,setEndAfter:C,collapse:I,selectNode:F,selectNodeContents:N,compareBoundaryPoints:D,deleteContents:y,extractContents:P,cloneContents:l,insertNode:K,surroundContents:U,cloneRange:S,toStringIE:Z});return o}j.prototype.toString=function(){return this.toStringIE()};return j});h("tinymce/html/Entities",["tinymce/util/Tools"],function(l){var m=l.makeMap;var i,r,o,u=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,q=/[<>&\"\']/g,n=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,t={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};r={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;","\u0060":"&#96;"};o={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"};function s(v){var w;w=document.createElement("div");w.innerHTML=v;return w.textContent||w.innerText||v}function p(w,z){var x,y,v,A={};if(w){w=w.split(",");z=z||10;for(x=0;x<w.length;x+=2){y=String.fromCharCode(parseInt(w[x],z));if(!r[y]){v="&"+w[x+1]+";";A[y]=v;A[v]=y}}return A}}i=p("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var k={encodeRaw:function(w,v){return w.replace(v?u:j,function(x){return r[x]||x})},encodeAllRaw:function(v){return(""+v).replace(q,function(w){return r[w]||w})},encodeNumeric:function(w,v){return w.replace(v?u:j,function(x){if(x.length>1){return"&#"+(((x.charCodeAt(0)-55296)*1024)+(x.charCodeAt(1)-56320)+65536)+";"}return r[x]||"&#"+x.charCodeAt(0)+";"})},encodeNamed:function(x,v,w){w=w||i;return x.replace(v?u:j,function(y){return r[y]||w[y]||y})},getEncodeFunc:function(v,y){y=p(y)||i;function w(A,z){return A.replace(z?u:j,function(B){return r[B]||y[B]||"&#"+B.charCodeAt(0)+";"||B})}function x(A,z){return k.encodeNamed(A,z,y)}v=m(v.replace(/\+/g,","));if(v.named&&v.numeric){return w}if(v.named){if(y){return x}return k.encodeNamed}if(v.numeric){return k.encodeNumeric}return k.encodeRaw},decode:function(v){return v.replace(n,function(x,w){if(w){if(w.charAt(0).toLowerCase()==="x"){w=parseInt(w.substr(1),16)}else{w=parseInt(w,10)}if(w>65535){w-=65536;return String.fromCharCode(55296+(w>>10),56320+(w&1023))}else{return t[w]||String.fromCharCode(w)}}return o[x]||i[x]||s(x)})}};return k});h("tinymce/dom/StyleSheetLoader",["tinymce/util/Tools"],function(i){return function(j,n){var k=0,m={},p;n=n||{};p=n.maxLoadTime||5000;function l(q){j.getElementsByTagName("head")[0].appendChild(q)}function o(s,w,A){var B,r,t,q;function x(){var E=q.passed,D=E.length;while(D--){E[D]()}q.status=2;q.passed=[];q.failed=[]}function z(){var E=q.failed,D=E.length;while(D--){E[D]()}q.status=3;q.passed=[];q.failed=[]}function C(){var D=navigator.userAgent.match(/WebKit\/(\d*)/);return !!(D&&D[1]<536)}function y(D,E){if(!D()){if((new Date().getTime())-t<p){window.setTimeout(E,0)}else{z()}}}function u(){y(function(){var F=j.styleSheets,G,E=F.length,D;while(E--){G=F[E];D=G.ownerNode?G.ownerNode:G.owningElement;if(D&&D.id===B.id){x();return true}}},u)}function v(){y(function(){try{var D=r.sheet.cssRules;x();return !!D}catch(E){}},v)}s=i._addCacheSuffix(s);if(!m[s]){q={passed:[],failed:[]};m[s]=q}else{q=m[s]}if(w){q.passed.push(w)}if(A){q.failed.push(A)}if(q.status==1){return}if(q.status==2){x();return}if(q.status==3){z();return}q.status=1;B=j.createElement("link");B.rel="stylesheet";B.type="text/css";B.id="u"+(k++);B.async=false;B.defer=false;t=new Date().getTime();if("onload" in B&&!C()){B.onload=u;B.onerror=z}else{if(navigator.userAgent.indexOf("Firefox")>0){r=j.createElement("style");r.textContent='@import "'+s+'"';v();l(r);return}else{u()}}l(B);B.href=s}this.load=o}});h("tinymce/dom/DOMUtils",["tinymce/dom/Sizzle","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/EventUtils","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/dom/StyleSheetLoader"],function(k,o,r,n,p,z,l,j,i,u){var m=i.each,q=i.is,s=i.grep,w=i.trim;var v=j.ie;var t=/^([a-z0-9],?)+$/i;var A=/^[ \t\r\n]*$/;function x(C,E){var D={},B=E.keep_values,F;F={set:function(G,I,H){if(E.url_converter){I=E.url_converter.call(E.url_converter_scope||C,I,H,G[0])}G.attr("data-mce-"+H,I).attr(H,I)},get:function(G,H){return G.attr("data-mce-"+H)||G.attr(H)}};D={style:{set:function(G,H){if(H!==null&&typeof H==="object"){G.css(H);return}if(B){G.attr("data-mce-style",H)}G.attr("style",H)},get:function(G){var H=G.attr("data-mce-style")||G.attr("style");H=C.serializeStyle(C.parseStyle(H),G[0].nodeName);return H}}};if(B){D.href=D.src=F}return D}function y(E,C){var B=this,D;B.doc=E;B.win=window;B.files={};B.counter=0;B.stdMode=!v||E.documentMode>=8;B.boxModel=!v||E.compatMode=="CSS1Compat"||B.stdMode;B.styleSheetLoader=new u(E);B.boundEvents=[];B.settings=C=C||{};B.schema=C.schema;B.styles=new r({url_converter:C.url_converter,url_converter_scope:C.url_converter_scope},C.schema);B.fixDoc(E);B.events=C.ownEvents?new n(C.proxy):n.Event;B.attrHooks=x(B,C);D=C.schema?C.schema.getBlockElements():{};B.$=o.overrideDefaults(function(){return{context:E,element:B.getRoot()}});B.isBlock=function(G){if(!G){return false}var F=G.nodeType;if(F){return !!(F===1&&D[G.nodeName])}return !!D[G]}}y.prototype={$$:function(B){if(typeof B=="string"){B=this.get(B)}return this.$(B)},root:null,fixDoc:function(D){var C=this.settings,B;if(v&&C.schema){("abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video").replace(/\w+/g,function(E){D.createElement(E)});for(B in C.schema.getCustomElements()){D.createElement(B)}}},clone:function(D,B){var C=this,F,E;if(!v||D.nodeType!==1||B){return D.cloneNode(B)}E=C.doc;if(!B){F=E.createElement(D.nodeName);m(C.getAttribs(D),function(G){C.setAttrib(F,G.nodeName,C.getAttrib(D,G.nodeName))});return F}return F.firstChild},getRoot:function(){var B=this;return B.settings.root_element||B.doc.body},getViewPort:function(C){var B,D;C=!C?this.win:C;B=C.document;D=this.boxModel?B.documentElement:B.body;return{x:C.pageXOffset||D.scrollLeft,y:C.pageYOffset||D.scrollTop,w:C.innerWidth||D.clientWidth,h:C.innerHeight||D.clientHeight}},getRect:function(E){var B=this,D,C;E=B.get(E);D=B.getPos(E);C=B.getSize(E);return{x:D.x,y:D.y,w:C.w,h:C.h}},getSize:function(E){var C=this,B,D;E=C.get(E);B=C.getStyle(E,"width");D=C.getStyle(E,"height");if(B.indexOf("px")===-1){B=0}if(D.indexOf("px")===-1){D=0}return{w:parseInt(B,10)||E.offsetWidth||E.clientWidth,h:parseInt(D,10)||E.offsetHeight||E.clientHeight}},getParent:function(D,B,C){return this.getParents(D,B,C,false)},getParents:function(G,C,D,H){var F=this,E,B=[];G=F.get(G);H=H===g;D=D||(F.getRoot().nodeName!="BODY"?F.getRoot().parentNode:null);if(q(C,"string")){E=C;if(C==="*"){C=function(I){return I.nodeType==1}}else{C=function(I){return F.is(I,E)}}}while(G){if(G==D||!G.nodeType||G.nodeType===9){break}if(!C||C(G)){if(H){B.push(G)}else{return G}}G=G.parentNode}return H?B:null},get:function(C){var B;if(C&&this.doc&&typeof C=="string"){B=C;C=this.doc.getElementById(C);if(C&&C.id!==B){return this.doc.getElementsByName(B)[1]}}return C},getNext:function(C,B){return this._findSib(C,B,"nextSibling")},getPrev:function(C,B){return this._findSib(C,B,"previousSibling")},select:function(B,D){var C=this;return k(B,C.get(D)||C.settings.root_element||C.doc,[])},is:function(E,B){var C;if(E.length===g){if(B==="*"){return E.nodeType==1}if(t.test(B)){B=B.toLowerCase().split(/,/);E=E.nodeName.toLowerCase();for(C=B.length-1;C>=0;C--){if(B[C]==E){return true}}return false}}if(E.nodeType&&E.nodeType!=1){return false}var D=E.nodeType?[E]:E;return k(B,D[0].ownerDocument||D[0],null,D).length>0},add:function(G,D,C,F,E){var B=this;return this.run(G,function(I){var H;H=q(D,"string")?B.doc.createElement(D):D;B.setAttribs(H,C);if(F){if(F.nodeType){H.appendChild(F)}else{B.setHTML(H,F)}}return !E?I.appendChild(H):H})},create:function(C,B,D){return this.add(this.doc.createElement(C),C,B,D,1)},createHTML:function(C,B,E){var F="",D;F+="<"+C;for(D in B){if(B.hasOwnProperty(D)&&B[D]!==null&&typeof B[D]!="undefined"){F+=" "+D+'="'+this.encode(B[D])+'"'}}if(typeof E!="undefined"){return F+">"+E+"</"+C+">"}return F+" />"},createFragment:function(C){var F,D,E=this.doc,B;B=E.createElement("div");F=E.createDocumentFragment();if(C){B.innerHTML=C}while((D=B.firstChild)){F.appendChild(D)}return F},remove:function(B,C){B=this.$$(B);if(C){B.each(function(){var D;while((D=this.firstChild)){if(D.nodeType==3&&D.data.length===0){this.removeChild(D)}else{this.parentNode.insertBefore(D,this)}}}).remove()}else{B.remove()}return B.length>1?B.toArray():B[0]},setStyle:function(D,B,C){D=this.$$(D).css(B,C);if(this.settings.update_styles){D.attr("data-mce-style",null)}},getStyle:function(D,B,C){D=this.$$(D);if(C){return D.css(B)}B=B.replace(/-(\D)/g,function(F,E){return E.toUpperCase()});if(B=="float"){B=v?"styleFloat":"cssFloat"}return D[0]&&D[0].style?D[0].style[B]:g},setStyles:function(C,B){C=this.$$(C).css(B);if(this.settings.update_styles){C.attr("data-mce-style",null)}},removeAllAttribs:function(B){return this.run(B,function(E){var D,C=E.attributes;for(D=C.length-1;D>=0;D--){E.removeAttributeNode(C.item(D))}})},setAttrib:function(H,D,G){var C=this,B,F,E=C.settings;if(G===""){G=null}H=C.$$(H);B=H.attr(D);if(!H.length){return}F=C.attrHooks[D];if(F&&F.set){F.set(H,G,D)}else{H.attr(D,G)}if(B!=G&&E.onSetAttrib){E.onSetAttrib({attrElm:H,attrName:D,attrValue:G})}},setAttribs:function(D,C){var B=this;B.$$(D).each(function(E,F){m(C,function(H,G){B.setAttrib(F,G,H)})})},getAttrib:function(G,C,F){var B=this,E,D;G=B.$$(G);if(G.length){E=B.attrHooks[C];if(E&&E.get){D=E.get(G,C)}else{D=G.attr(C)}}if(typeof D=="undefined"){D=F||""}return D},getPos:function(D,E){var J=this,H=0,G=0,B,I=J.doc,C=I.body,F;D=J.get(D);E=E||C;if(D){if(E===C&&D.getBoundingClientRect&&o(C).css("position")==="static"){F=D.getBoundingClientRect();E=J.boxModel?I.documentElement:C;H=F.left+(I.documentElement.scrollLeft||C.scrollLeft)-E.clientLeft;G=F.top+(I.documentElement.scrollTop||C.scrollTop)-E.clientTop;return{x:H,y:G}}B=D;while(B&&B!=E&&B.nodeType){H+=B.offsetLeft||0;G+=B.offsetTop||0;B=B.offsetParent}B=D.parentNode;while(B&&B!=E&&B.nodeType){H-=B.scrollLeft||0;G-=B.scrollTop||0;B=B.parentNode}}return{x:H,y:G}},parseStyle:function(B){return this.styles.parse(B)},serializeStyle:function(C,B){return this.styles.serialize(C,B)},addStyle:function(E){var C=this,F=C.doc,D,G;if(C!==y.DOM&&F===document){var B=y.DOM.addedStyles;B=B||[];if(B[E]){return}B[E]=true;y.DOM.addedStyles=B}G=F.getElementById("mceDefaultStyles");if(!G){G=F.createElement("style");G.id="mceDefaultStyles";G.type="text/css";D=F.getElementsByTagName("head")[0];if(D.firstChild){D.insertBefore(G,D.firstChild)}else{D.appendChild(G)}}if(G.styleSheet){G.styleSheet.cssText+=E}else{G.appendChild(F.createTextNode(E))}},loadCSS:function(C){var B=this,E=B.doc,D;if(B!==y.DOM&&E===document){y.DOM.loadCSS(C);return}if(!C){C=""}D=E.getElementsByTagName("head")[0];m(C.split(","),function(F){var G;F=i._addCacheSuffix(F);if(B.files[F]){return}B.files[F]=true;G=B.create("link",{rel:"stylesheet",href:F});if(v&&E.documentMode&&E.recalc){G.onload=function(){if(E.recalc){E.recalc()}G.onload=null}}D.appendChild(G)})},addClass:function(C,B){this.$$(C).addClass(B)},removeClass:function(C,B){this.toggleClass(C,B,false)},hasClass:function(C,B){return this.$$(C).hasClass(B)},toggleClass:function(D,B,C){this.$$(D).toggleClass(B,C).each(function(){if(this.className===""){o(this).attr("class",null)}})},show:function(B){this.$$(B).show()},hide:function(B){this.$$(B).hide()},isHidden:function(B){return this.$$(B).css("display")=="none"},uniqueId:function(B){return(!B?"mce_":B)+(this.counter++)},setHTML:function(C,B){C=this.$$(C);if(v){C.each(function(E,F){if(F.canHaveHTML===false){return}while(F.firstChild){F.removeChild(F.firstChild)}try{F.innerHTML="<br>"+B;F.removeChild(F.firstChild)}catch(D){o("<div>").html("<br>"+B).contents().slice(1).appendTo(F)}return B})}else{C.html(B)}},getOuterHTML:function(B){B=this.get(B);return B.nodeType==1&&"outerHTML" in B?B.outerHTML:o("<div>").append(o(B).clone()).html()},setOuterHTML:function(D,C){var B=this;B.$$(D).each(function(){try{if("outerHTML" in this){this.outerHTML=C;return}}catch(E){}B.remove(o(this).html(C),true)})},decode:l.decode,encode:l.encodeAllRaw,insertAfter:function(C,B){B=this.get(B);return this.run(C,function(E){var D,F;D=B.parentNode;F=B.nextSibling;if(F){D.insertBefore(E,F)}else{D.appendChild(E)}return E})},replace:function(D,C,E){var B=this;return B.run(C,function(F){if(q(F,"array")){D=D.cloneNode(true)}if(E){m(s(F.childNodes),function(G){D.appendChild(G)})}return F.parentNode.replaceChild(D,F)})},rename:function(E,C){var B=this,D;if(E.nodeName!=C.toUpperCase()){D=B.create(C);m(B.getAttribs(E),function(F){B.setAttrib(D,F.nodeName,B.getAttrib(E,F.nodeName))});B.replace(D,E,1)}return D||E},findCommonAncestor:function(D,B){var E=D,C;while(E){C=B;while(C&&E!=C){C=C.parentNode}if(E==C){break}E=E.parentNode}if(!E&&D.ownerDocument){return D.ownerDocument.documentElement}return E},toHex:function(B){return this.styles.toHex(i.trim(B))},run:function(F,E,D){var C=this,B;if(typeof F==="string"){F=C.get(F)}if(!F){return false}D=D||this;if(!F.nodeType&&(F.length||F.length===0)){B=[];m(F,function(H,G){if(H){if(typeof H=="string"){H=C.get(H)}B.push(E.call(D,H,G))}});return B}return E.call(D,F)},getAttribs:function(D){var B;D=this.get(D);if(!D){return[]}if(v){B=[];if(D.nodeName=="OBJECT"){return D.attributes}if(D.nodeName==="OPTION"&&this.getAttrib(D,"selected")){B.push({specified:1,nodeName:"selected"})}var C=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi;D.cloneNode(false).outerHTML.replace(C,"").replace(/[\w:\-]+/gi,function(E){B.push({specified:1,nodeName:E})});return B}return D.attributes},isEmpty:function(E,C){var J=this,G,F,I,B,D,H=0;E=E.firstChild;if(E){B=new p(E,E.parentNode);C=C||(J.schema?J.schema.getNonEmptyElements():null);do{I=E.nodeType;if(I===1){if(E.getAttribute("data-mce-bogus")){continue}D=E.nodeName.toLowerCase();if(C&&C[D]){if(D==="br"){H++;continue}return false}F=J.getAttribs(E);G=F.length;while(G--){D=F[G].nodeName;if(D==="name"||D==="data-mce-bookmark"){return false}}}if(I==8){return false}if((I===3&&!A.test(E.nodeValue))){return false}}while((E=B.next()))}return H<=1},createRng:function(){var B=this.doc;return B.createRange?B.createRange():new z(this)},nodeIndex:function(E,F){var B=0,D,C;if(E){for(D=E.nodeType,E=E.previousSibling;E;E=E.previousSibling){C=E.nodeType;if(F&&C==3){if(C==D||!E.nodeValue.length){continue}}B++;D=C}}return B},split:function(F,G,C){var J=this,B=J.createRng(),H,E,I;function D(O){var M,L=O.childNodes,N=O.nodeType;function P(S){var R=S.previousSibling&&S.previousSibling.nodeName=="SPAN";var Q=S.nextSibling&&S.nextSibling.nodeName=="SPAN";return R&&Q}if(N==1&&O.getAttribute("data-mce-type")=="bookmark"){return}for(M=L.length-1;M>=0;M--){D(L[M])}if(N!=9){if(N==3&&O.nodeValue.length>0){var K=w(O.nodeValue).length;if(!J.isBlock(O.parentNode)||K>0||K===0&&P(O)){return}}else{if(N==1){L=O.childNodes;if(L.length==1&&L[0]&&L[0].nodeType==1&&L[0].getAttribute("data-mce-type")=="bookmark"){O.parentNode.insertBefore(L[0],O)}if(L.length||/^(br|hr|input|img)$/i.test(O.nodeName)){return}}}J.remove(O)}return O}if(F&&G){B.setStart(F.parentNode,J.nodeIndex(F));B.setEnd(G.parentNode,J.nodeIndex(G));H=B.extractContents();B=J.createRng();B.setStart(G.parentNode,J.nodeIndex(G)+1);B.setEnd(F.parentNode,J.nodeIndex(F)+1);E=B.extractContents();I=F.parentNode;I.insertBefore(D(H),F);if(C){I.replaceChild(C,G)}else{I.insertBefore(G,F)}I.insertBefore(D(E),F);J.remove(F);return C||G}},bind:function(G,C,F,E){var B=this;if(i.isArray(G)){var D=G.length;while(D--){G[D]=B.bind(G[D],C,F,E)}return G}if(B.settings.collect&&(G===B.doc||G===B.win)){B.boundEvents.push([G,C,F,E])}return B.events.bind(G,C,F,E||B)},unbind:function(G,C,F){var B=this,D;if(i.isArray(G)){D=G.length;while(D--){G[D]=B.unbind(G[D],C,F)}return G}if(B.boundEvents&&(G===B.doc||G===B.win)){D=B.boundEvents.length;while(D--){var E=B.boundEvents[D];if(G==E[0]&&(!C||C==E[1])&&(!F||F==E[2])){this.events.unbind(E[0],E[1],E[2])}}}return this.events.unbind(G,C,F)},fire:function(D,C,B){return this.events.fire(D,C,B)},getContentEditable:function(C){var B;if(!C||C.nodeType!=1){return null}B=C.getAttribute("data-mce-contenteditable");if(B&&B!=="inherit"){return B}return C.contentEditable!=="inherit"?C.contentEditable:null},getContentEditableParent:function(C){var B=this.getRoot(),D=null;for(;C&&C!==B;C=C.parentNode){D=this.getContentEditable(C);if(D!==null){break}}return D},destroy:function(){var B=this;if(B.boundEvents){var C=B.boundEvents.length;while(C--){var D=B.boundEvents[C];this.events.unbind(D[0],D[1],D[2])}B.boundEvents=null}if(k.setDocument){k.setDocument()}B.win=B.doc=B.root=B.events=B.frag=null},isChildOf:function(C,B){while(C){if(B===C){return true}C=C.parentNode}return false},dumpRng:function(B){return("startContainer: "+B.startContainer.nodeName+", startOffset: "+B.startOffset+", endContainer: "+B.endContainer.nodeName+", endOffset: "+B.endOffset)},_findSib:function(F,B,D){var C=this,E=B;if(F){if(typeof E=="string"){E=function(G){return C.is(G,B)}}for(F=F[D];F;F=F[D]){if(E(F)){return F}}}return null}};y.DOM=new y(document);return y});h("tinymce/dom/ScriptLoader",["tinymce/dom/DOMUtils","tinymce/util/Tools"],function(m,i){var k=m.DOM;var l=i.each,j=i.grep;function n(){var p=0,w=1,u=2,x={},v=[],r={},q=[],t=0,s;function o(A,E){var B=k,D,C;function y(){B.remove(C);if(D){D.onreadystatechange=D.onload=D=null}E()}function z(){if(typeof console!=="undefined"&&console.log){console.log("Failed to load: "+A)}}C=B.uniqueId();D=document.createElement("script");D.id=C;D.type="text/javascript";D.src=i._addCacheSuffix(A);if("onreadystatechange" in D){D.onreadystatechange=function(){if(/loaded|complete/.test(D.readyState)){y()}}}else{D.onload=y}D.onerror=z;(document.getElementsByTagName("head")[0]||document.body).appendChild(D)}this.isDone=function(y){return x[y]==u};this.markDone=function(y){x[y]=u};this.add=this.load=function(y,B,z){var A=x[y];if(A==s){v.push(y);x[y]=p}if(B){if(!r[y]){r[y]=[]}r[y].push({func:B,scope:z||this})}};this.loadQueue=function(z,y){this.loadScripts(v,z,y)};this.loadScripts=function(y,C,B){var A;function z(D){l(r[D],function(E){E.func.call(E.scope)});r[D]=s}q.push({func:C,scope:B||this});A=function(){var D=j(y);y.length=0;l(D,function(E){if(x[E]==u){z(E);return}if(x[E]!=w){x[E]=w;t++;o(E,function(){x[E]=u;t--;z(E);A()})}});if(!t){l(q,function(E){E.func.call(E.scope)});q.length=0}};A()}}n.ScriptLoader=new n();return n});h("tinymce/AddOnManager",["tinymce/dom/ScriptLoader","tinymce/util/Tools"],function(l,i){var k=i.each;function j(){var m=this;m.items=[];m.urls={};m.lookup={}}j.prototype={get:function(m){if(this.lookup[m]){return this.lookup[m].instance}else{return g}},dependencies:function(n){var m;if(this.lookup[n]){m=this.lookup[n].dependencies}return m||[]},requireLangPack:function(m,n){var o=j.language;if(o&&j.languageLoad!==false){if(n){n=","+n+",";if(n.indexOf(","+o.substr(0,2)+",")!=-1){o=o.substr(0,2)}else{if(n.indexOf(","+o+",")==-1){return}}}l.ScriptLoader.add(this.urls[m]+"/langs/"+o+".js")}},add:function(o,m,n){this.items.push(m);this.lookup[o]={instance:m,dependencies:n};return m},createUrl:function(m,n){if(typeof n==="object"){return n}else{return{prefix:m.prefix,resource:n,suffix:m.suffix}}},addComponents:function(o,m){var n=this.urls[o];k(m,function(p){l.ScriptLoader.add(n+"/"+p)})},load:function(o,q,s,p){var m=this,n=q;function r(){var t=m.dependencies(o);k(t,function(v){var u=m.createUrl(q,v);m.load(u.resource,u,g,g)});if(s){if(p){s.call(p)}else{s.call(l)}}}if(m.urls[o]){return}if(typeof q==="object"){n=q.prefix+q.resource+q.suffix}if(n.indexOf("/")!==0&&n.indexOf("://")==-1){n=j.baseURL+"/"+n}m.urls[o]=n.substring(0,n.lastIndexOf("/"));if(m.lookup[o]){r()}else{l.ScriptLoader.add(n,r,p)}}};j.PluginManager=new j();j.ThemeManager=new j();return j});h("tinymce/dom/RangeUtils",["tinymce/util/Tools","tinymce/dom/TreeWalker"],function(i,j){var l=i.each;function m(n,o){var p=n.childNodes;o--;if(o>p.length-1){o=p.length-1}else{if(o<0){o=0}}return p[o]||n}function k(n){this.walk=function(o,D){var t=o.startContainer,w=o.startOffset,E=o.endContainer,x=o.endOffset,u,r,z,s,C,B,p;p=n.select("td.mce-item-selected,th.mce-item-selected");if(p.length>0){l(p,function(F){D([F])});return}function q(F){var G;G=F[0];if(G.nodeType===3&&G===t&&w>=G.nodeValue.length){F.splice(0,1)}G=F[F.length-1];if(x===0&&F.length>0&&G===E&&G.nodeType===3){F.splice(F.length-1,1)}return F}function A(H,G,F){var I=[];for(;H&&H!=F;H=H[G]){I.push(H)}return I}function y(G,F){do{if(G.parentNode==F){return G}G=G.parentNode}while(G)}function v(H,G,I){var F=I?"nextSibling":"previousSibling";for(s=H,C=s.parentNode;s&&s!=G;s=C){C=s.parentNode;B=A(s==H?s:s[F],F);if(B.length){if(!I){B.reverse()}D(q(B))}}}if(t.nodeType==1&&t.hasChildNodes()){t=t.childNodes[w]}if(E.nodeType==1&&E.hasChildNodes()){E=m(E,x)}if(t==E){return D(q([t]))}u=n.findCommonAncestor(t,E);for(s=t;s;s=s.parentNode){if(s===E){return v(t,u,true)}if(s===u){break}}for(s=E;s;s=s.parentNode){if(s===t){return v(E,u)}if(s===u){break}}r=y(t,u)||t;z=y(E,u)||E;v(t,r,true);B=A(r==t?r:r.nextSibling,"nextSibling",z==E?z.nextSibling:z);if(B.length){D(q(B))}v(E,z)};this.split=function(p){var s=p.startContainer,o=p.startOffset,t=p.endContainer,r=p.endOffset;function q(u,v){return u.splitText(v)}if(s==t&&s.nodeType==3){if(o>0&&o<s.nodeValue.length){t=q(s,o);s=t.previousSibling;if(r>o){r=r-o;s=t=q(t,r).previousSibling;r=t.nodeValue.length;o=0}else{r=0}}}else{if(s.nodeType==3&&o>0&&o<s.nodeValue.length){s=q(s,o);o=0}if(t.nodeType==3&&r>0&&r<t.nodeValue.length){t=q(t,r).previousSibling;r=t.nodeValue.length}}return{startContainer:s,startOffset:o,endContainer:t,endOffset:r}};this.normalize=function(o){var r,q;function p(u){var t,x,s,z=n.getRoot(),v,y;var B,w;function D(E,F){var G=new j(E,n.getParent(E.parentNode,n.isBlock)||z);while((E=G[F?"prev":"next"]())){if(E.nodeName==="BR"){return true}}}function A(F,E){return F.previousSibling&&F.previousSibling.nodeName==E}function C(H,E){var I,F,G;E=E||t;G=n.getParent(E.parentNode,n.isBlock)||z;if(H&&E.nodeName=="BR"&&w&&n.isEmpty(G)){t=E.parentNode;x=n.nodeIndex(E);r=true;return}I=new j(E,G);while((v=I[H?"prev":"next"]())){if(n.getContentEditableParent(v)==="false"){return}if(v.nodeType===3&&v.nodeValue.length>0){t=v;x=H?v.nodeValue.length:0;r=true;return}if(n.isBlock(v)||y[v.nodeName.toLowerCase()]){return}F=v}if(q&&F){t=F;r=true;x=0}}t=o[(u?"start":"end")+"Container"];x=o[(u?"start":"end")+"Offset"];w=t.nodeType==1&&x===t.childNodes.length;y=n.schema.getNonEmptyElements();B=u;if(t.nodeType==1&&x>t.childNodes.length-1){B=false}if(t.nodeType===9){t=n.getRoot();x=0}if(t===z){if(B){v=t.childNodes[x>0?x-1:0];if(v){if(y[v.nodeName]||v.nodeName=="TABLE"){return}}}if(t.hasChildNodes()){x=Math.min(!B&&x>0?x-1:x,t.childNodes.length-1);t=t.childNodes[x];x=0;if(t.hasChildNodes()&&!/TABLE/.test(t.nodeName)){v=t;s=new j(t,z);do{if(v.nodeType===3&&v.nodeValue.length>0){x=B?0:v.nodeValue.length;t=v;r=true;break}if(y[v.nodeName.toLowerCase()]){x=n.nodeIndex(v);t=v.parentNode;if(v.nodeName=="IMG"&&!B){x++}r=true;break}}while((v=(B?s.next():s.prev())))}}}if(q){if(t.nodeType===3&&x===0){C(true)}if(t.nodeType===1){v=t.childNodes[x];if(!v){v=t.childNodes[x-1]}if(v&&v.nodeName==="BR"&&!A(v,"A")&&!D(v)&&!D(v,true)){C(true,v)}}}if(B&&!q&&t.nodeType===3&&x===t.nodeValue.length){C(false)}if(r){o["set"+(u?"Start":"End")](t,x)}}q=o.collapsed;p(true);if(!q){p()}if(r&&q){o.collapse(true)}return r}}k.compareRanges=function(o,n){if(o&&n){if(o.item||o.duplicate){if(o.item&&n.item&&o.item(0)===n.item(0)){return true}if(o.isEqual&&n.isEqual&&n.isEqual(o)){return true}}else{return o.startContainer==n.startContainer&&o.startOffset==n.startOffset}}return false};k.getCaretRangeFromPoint=function(o,s,r){var p,n;if(r.caretPositionFromPoint){n=r.caretPositionFromPoint(o,s);p=r.createRange();p.setStart(n.offsetNode,n.offset);p.collapse(true)}else{if(r.caretRangeFromPoint){p=r.caretRangeFromPoint(o,s)}else{if(r.body.createTextRange){p=r.body.createTextRange();try{p.moveToPoint(o,s);p.collapse(true)}catch(q){p.collapse(s<r.body.clientHeight)}}}}return p};k.getNode=function(n,o){if(n.nodeType==1&&n.hasChildNodes()){if(o>=n.childNodes.length){o=n.childNodes.length-1}n=n.childNodes[o]}return n};return k});h("tinymce/NodeChange",["tinymce/dom/RangeUtils","tinymce/Env"],function(j,i){return function(k){var m,l=[];function n(o){var p,q;q=k.$(o).parentsUntil(k.getBody()).add(o);if(q.length===l.length){for(p=q.length;p>=0;p--){if(q[p]!==l[p]){break}}if(p===-1){l=q;return true}}l=q;return false}if(!("onselectionchange" in k.getDoc())){k.on("NodeChange Click MouseUp KeyUp Focus",function(p){var q,o;q=k.selection.getRng();o={startContainer:q.startContainer,startOffset:q.startOffset,endContainer:q.endContainer,endOffset:q.endOffset};if(p.type=="nodechange"||!j.compareRanges(o,m)){k.fire("SelectionChange")}m=o})}k.on("contextmenu",function(){k.fire("SelectionChange")});k.on("SelectionChange",function(){var o=k.selection.getStart(true);if(!i.range&&k.selection.isCollapsed()){return}if(!n(o)&&k.dom.isChildOf(o,k.getBody())){k.nodeChanged({selectionChange:true})}});k.on("MouseUp",function(o){if(!o.isDefaultPrevented()){if(k.selection.getNode().nodeName=="IMG"){setTimeout(function(){k.nodeChanged()},0)}else{k.nodeChanged()}}});this.nodeChanged=function(q){var r=k.selection,s,p,o;if(k.initialized&&r&&!k.settings.disable_nodechange&&!k.settings.readonly){o=k.getBody();s=r.getStart()||o;s=s.ownerDocument!=k.getDoc()?k.getBody():s;if(s.nodeName=="IMG"&&r.isCollapsed()){s=s.parentNode}p=[];k.dom.getParent(s,function(t){if(t===o){return true}p.push(t)});q=q||{};q.element=s;q.parents=p;k.fire("NodeChange",q)}}}});h("tinymce/html/Node",[],function(){var k=/^[ \t\r\n]*$/,l={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function i(r,s,q){var p,o,m=q?"lastChild":"firstChild",n=q?"prev":"next";if(r[m]){return r[m]}if(r!==s){p=r[n];if(p){return p}for(o=r.parent;o&&o!==s;o=o.parent){p=o[n];if(p){return p}}}}function j(m,n){this.name=m;this.type=n;if(n===1){this.attributes=[];this.attributes.map={}}}j.prototype={replace:function(n){var m=this;if(n.parent){n.remove()}m.insert(n,m);m.remove();return m},attr:function(o,r){var m=this,n,p,q;if(typeof o!=="string"){for(p in o){m.attr(p,o[p])}return m}if((n=m.attributes)){if(r!==q){if(r===null){if(o in n.map){delete n.map[o];p=n.length;while(p--){if(n[p].name===o){n=n.splice(p,1);return m}}}return m}if(o in n.map){p=n.length;while(p--){if(n[p].name===o){n[p].value=r;break}}}else{n.push({name:o,value:r})}n.map[o]=r;return m}else{return n.map[o]}}},clone:function(){var n=this,s=new j(n.name,n.type),o,m,r,p,q;if((r=n.attributes)){q=[];q.map={};for(o=0,m=r.length;o<m;o++){p=r[o];if(p.name!=="id"){q[q.length]={name:p.name,value:p.value};q.map[p.name]=p.value}}s.attributes=q}s.value=n.value;s.shortEnded=n.shortEnded;return s},wrap:function(n){var m=this;m.parent.insert(n,m);n.append(m);return m},unwrap:function(){var m=this,o,n;for(o=m.firstChild;o;){n=o.next;m.insert(o,m,true);o=n}m.remove()},remove:function(){var m=this,o=m.parent,n=m.next,p=m.prev;if(o){if(o.firstChild===m){o.firstChild=n;if(n){n.prev=null}}else{p.next=n}if(o.lastChild===m){o.lastChild=p;if(p){p.next=null}}else{n.prev=p}m.parent=m.next=m.prev=null}return m},append:function(o){var m=this,n;if(o.parent){o.remove()}n=m.lastChild;if(n){n.next=o;o.prev=n;m.lastChild=o}else{m.lastChild=m.firstChild=o}o.parent=m;return o},insert:function(o,m,p){var n;if(o.parent){o.remove()}n=m.parent||this;if(p){if(m===n.firstChild){n.firstChild=o}else{m.prev.next=o}o.prev=m.prev;o.next=m;m.prev=o}else{if(m===n.lastChild){n.lastChild=o}else{m.next.prev=o}o.next=m.next;o.prev=m;m.next=o}o.parent=n;return o},getAll:function(n){var m=this,o,p=[];for(o=m.firstChild;o;o=i(o,m)){if(o.name===n){p.push(o)}}return p},empty:function(){var n=this,m,o,p;if(n.firstChild){m=[];for(p=n.firstChild;p;p=i(p,n)){m.push(p)}o=m.length;while(o--){p=m[o];p.parent=p.firstChild=p.lastChild=p.next=p.prev=null}}n.firstChild=n.lastChild=null;return n},isEmpty:function(q){var m=this,p=m.firstChild,o,n;if(p){do{if(p.type===1){if(p.attributes.map["data-mce-bogus"]){continue}if(q[p.name]){return false}o=p.attributes.length;while(o--){n=p.attributes[o].name;if(n==="name"||n.indexOf("data-mce-bookmark")===0){return false}}}if(p.type===8){return false}if((p.type===3&&!k.test(p.value))){return false}}while((p=i(p,m)))}return true},walk:function(m){return i(this,null,m)}};j.create=function(n,m){var p,o;p=new j(n,l[n]||1);if(m){for(o in m){p.attr(o,m[o])}}return p};return j});h("tinymce/html/Schema",["tinymce/util/Tools"],function(j){var k={},m={};var l=j.makeMap,q=j.each,n=j.extend,p=j.explode,s=j.inArray;function o(t,u){return t?t.split(u||" "):[]}function r(A){var x={},B,u;var y,z,t,w;function C(G,D,J){var I,H,K,F=arguments;function E(P,O){var N={},M,L;for(M=0,L=P.length;M<L;M++){N[P[M]]=O||{}}return N}J=J||[];D=D||"";if(typeof J==="string"){J=o(J)}for(H=3;H<F.length;H++){if(typeof F[H]==="string"){F[H]=o(F[H])}J.push.apply(J,F[H])}G=o(G);I=G.length;while(I--){K=[].concat(B,o(D));x[G[I]]={attributes:E(K),attributesOrder:K,children:E(J,m)}}}function v(G,F){var I,E,H,D;G=o(G);I=G.length;F=o(F);while(I--){E=x[G[I]];for(H=0,D=F.length;H<D;H++){E.attributes[F[H]]={};E.attributesOrder.push(F[H])}}}if(k[A]){return k[A]}B=o("id accesskey class dir lang style tabindex title");u=o("address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul");y=o("a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment");if(A!="html4"){B.push.apply(B,o("contenteditable contextmenu draggable dropzone hidden spellcheck translate"));u.push.apply(u,o("article aside details dialog figure header footer hgroup section nav"));y.push.apply(y,o("audio canvas command datalist mark meter output progress time wbr video ruby bdi keygen"))}if(A!="html5-strict"){B.push("xml:lang");w=o("acronym applet basefont big font strike tt");y.push.apply(y,w);q(w,function(D){C(D,"",y)});t=o("center dir isindex noframes");u.push.apply(u,t);z=[].concat(u,y);q(t,function(D){C(D,"",z)})}z=z||[].concat(u,y);C("html","manifest","head body");C("head","","base command link meta noscript script style title");C("title hr noscript br");C("base","href target");C("link","href rel media hreflang type sizes hreflang");C("meta","name http-equiv content charset");C("style","media type scoped");C("script","src async defer type charset");C("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",z);C("address dt dd div caption","",z);C("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",y);C("blockquote","cite",z);C("ol","reversed start type","li");C("ul","","li");C("li","value",z);C("dl","","dt dd");C("a","href target rel media hreflang type",y);C("q","cite",y);C("ins del","cite datetime",z);C("img","src sizes srcset alt usemap ismap width height");C("iframe","src name width height",z);C("embed","src type width height");C("object","data type typemustmatch name usemap form width height",z,"param");C("param","name value");C("map","name",z,"area");C("area","alt coords shape href target rel media hreflang type");C("table","border","caption colgroup thead tfoot tbody tr"+(A=="html4"?" col":""));C("colgroup","span","col");C("col","span");C("tbody thead tfoot","","tr");C("tr","","td th");C("td","colspan rowspan headers",z);C("th","colspan rowspan headers scope abbr",z);C("form","accept-charset action autocomplete enctype method name novalidate target",z);C("fieldset","disabled form name",z,"legend");C("label","form for",y);C("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width");C("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value",A=="html4"?z:y);C("select","disabled form multiple name required size","option optgroup");C("optgroup","disabled label","option");C("option","disabled label selected value");C("textarea","cols dirname disabled form maxlength name readonly required rows wrap");C("menu","type label",z,"li");C("noscript","",z);if(A!="html4"){C("wbr");C("ruby","",y,"rt rp");C("figcaption","",z);C("mark rt rp summary bdi","",y);C("canvas","width height",z);C("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",z,"track source");C("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",z,"track source");C("picture","","img source");C("source","src srcset type media sizes");C("track","kind src srclang label default");C("datalist","",y,"option");C("article section nav aside header footer","",z);C("hgroup","","h1 h2 h3 h4 h5 h6");C("figure","",z,"figcaption");C("time","datetime",y);C("dialog","open",z);C("command","type label icon disabled checked radiogroup command");C("output","for form name",y);C("progress","value max",y);C("meter","value min max low high optimum",y);C("details","open",z,"summary");C("keygen","autofocus challenge disabled form keytype name")}if(A!="html5-strict"){v("script","language xml:space");v("style","xml:space");v("object","declare classid code codebase codetype archive standby align border hspace vspace");v("embed","align name hspace vspace");v("param","valuetype type");v("a","charset name rev shape coords");v("br","clear");v("applet","codebase archive code object alt name width height align hspace vspace");v("img","name longdesc align border hspace vspace");v("iframe","longdesc frameborder marginwidth marginheight scrolling align");v("font basefont","size color face");v("input","usemap align");v("select","onchange");v("textarea");v("h1 h2 h3 h4 h5 h6 div p legend caption","align");v("ul","type compact");v("li","type");v("ol dl menu dir","compact");v("pre","width xml:space");v("hr","align noshade size width");v("isindex","prompt");v("table","summary width frame rules cellspacing cellpadding align bgcolor");v("col","width align char charoff valign");v("colgroup","width align char charoff valign");v("thead","align char charoff valign");v("tr","align char charoff valign bgcolor");v("th","axis align char charoff valign nowrap bgcolor width height");v("form","accept");v("td","abbr axis scope align char charoff valign nowrap bgcolor width height");v("tfoot","align char charoff valign");v("tbody","align char charoff valign");v("area","nohref");v("body","background bgcolor text link vlink alink")}if(A!="html4"){v("input button select textarea","autofocus");v("input textarea","placeholder");v("a","download");v("link script img","crossorigin");v("iframe","sandbox seamless allowfullscreen")}q(o("a form meter progress dfn"),function(D){if(x[D]){delete x[D].children[D]}});delete x.caption.children.table;k[A]=x;return x}function i(u,v){var t;if(u){t={};if(typeof u=="string"){u={"*":u}}q(u,function(x,w){t[w]=t[w.toUpperCase()]=v=="map"?l(x,/[, ]/):p(x,/[, ]/)})}return t}return function(P){var K=this,I={},x={},w=[],T,t,N;var D,F,O,G,H;var L,C,B,u,S;var E={},y={};function A(W,U,V){var X=P[W];if(!X){X=k[W];if(!X){X=l(U," ",l(U.toUpperCase()," "));X=n(X,V);k[W]=X}}else{X=l(X,/[, ]/,l(X.toUpperCase(),/[, ]/))}return X}P=P||{};N=r(P.schema);if(P.verify_html===false){P.valid_elements="*[*]"}T=i(P.valid_styles);t=i(P.invalid_styles,"map");H=i(P.valid_classes,"map");D=A("whitespace_elements","pre script noscript style textarea video audio iframe object");F=A("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr");O=A("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track");G=A("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");C=A("non_empty_elements","td th iframe video audio object script",O);B=A("move_caret_before_on_enter_elements","table",C);u=A("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure");L=A("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup",u);S=A("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp");q((P.special||"script noscript style textarea").split(" "),function(U){y[U]=new RegExp("</"+U+"[^>]*>","gi")});function v(U){return new RegExp("^"+U.replace(/([?+*])/g,".$1")+"$")}function R(ag){var aa,W,aq,am,V,Y,ak,ao,ae,ap,ar,ad,Z,an,U,ah,X,at,aj,ac=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,af=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,ab=/[*?+]/;if(ag){ag=o(ag,",");if(I["@"]){ah=I["@"].attributes;X=I["@"].attributesOrder}for(aa=0,W=ag.length;aa<W;aa++){V=ac.exec(ag[aa]);if(V){an=V[1];ae=V[2];U=V[3];ao=V[5];ad={};Z=[];Y={attributes:ad,attributesOrder:Z};if(an==="#"){Y.paddEmpty=true}if(an==="-"){Y.removeEmpty=true}if(V[4]==="!"){Y.removeEmptyAttrs=true}if(ah){for(at in ah){ad[at]=ah[at]}Z.push.apply(Z,X)}if(ao){ao=o(ao,"|");for(aq=0,am=ao.length;aq<am;aq++){V=af.exec(ao[aq]);if(V){ak={};ar=V[1];ap=V[2].replace(/::/g,":");an=V[3];aj=V[4];if(ar==="!"){Y.attributesRequired=Y.attributesRequired||[];Y.attributesRequired.push(ap);ak.required=true}if(ar==="-"){delete ad[ap];Z.splice(s(Z,ap),1);continue}if(an){if(an==="="){Y.attributesDefault=Y.attributesDefault||[];Y.attributesDefault.push({name:ap,value:aj});ak.defaultValue=aj}if(an===":"){Y.attributesForced=Y.attributesForced||[];Y.attributesForced.push({name:ap,value:aj});ak.forcedValue=aj}if(an==="<"){ak.validValues=l(aj,"?")}}if(ab.test(ap)){Y.attributePatterns=Y.attributePatterns||[];ak.pattern=v(ap);Y.attributePatterns.push(ak)}else{if(!ad[ap]){Z.push(ap)}ad[ap]=ak}}}}if(!ah&&ae=="@"){ah=ad;X=Z}if(U){Y.outputName=ae;I[U]=Y}if(ab.test(ae)){Y.pattern=v(ae);w.push(Y)}else{I[ae]=Y}}}}}function J(U){I={};w=[];R(U);q(N,function(W,V){x[V]=W.children})}function z(V){var U=/^(~)?(.+)$/;if(V){k.text_block_elements=k.block_elements=null;q(o(V,","),function(aa){var Y=U.exec(aa),Z=Y[1]==="~",ab=Z?"span":"div",X=Y[2];x[X]=x[ab];E[X]=ab;if(!Z){L[X.toUpperCase()]={};L[X]={}}if(!I[X]){var W=I[ab];W=n({},W);delete W.removeEmptyAttrs;delete W.removeEmpty;I[X]=W}q(x,function(ac,ad){if(ac[ab]){x[ad]=ac=n({},x[ad]);ac[X]=ac[ab]}})})}}function M(U){var V=/^([+\-]?)(\w+)\[([^\]]+)\]$/;if(U){q(o(U,","),function(Z){var Y=V.exec(Z),W,X;if(Y){X=Y[1];if(X){W=x[Y[2]]}else{W=x[Y[2]]={"#comment":{}}}W=x[Y[2]];q(o(Y[3],"|"),function(aa){if(X==="-"){x[Y[2]]=W=n({},x[Y[2]]);delete W[aa]}else{W[aa]={}}})}})}}function Q(U){var W=I[U],V;if(W){return W}V=w.length;while(V--){W=w[V];if(W.pattern.test(U)){return W}}}if(!P.valid_elements){q(N,function(V,U){I[U]={attributes:V.attributes,attributesOrder:V.attributesOrder};x[U]=V.children});if(P.schema!="html5"){q(o("strong/b em/i"),function(U){U=o(U,"/");I[U[1]].outputName=U[0]})}I.img.attributesDefault=[{name:"alt",value:""}];q(o("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(U){if(I[U]){I[U].removeEmpty=true}});q(o("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(U){I[U].paddEmpty=true});q(o("span"),function(U){I[U].removeEmptyAttrs=true})}else{J(P.valid_elements)}z(P.custom_elements);M(P.valid_children);R(P.extended_valid_elements);M("+ol[ul|ol],+ul[ul|ol]");if(P.invalid_elements){q(p(P.invalid_elements),function(U){if(I[U]){delete I[U]}})}if(!Q("span")){R("span[!data-mce-type|*]")}K.children=x;K.getValidStyles=function(){return T};K.getInvalidStyles=function(){return t};K.getValidClasses=function(){return H};K.getBoolAttrs=function(){return G};K.getBlockElements=function(){return L};K.getTextBlockElements=function(){return u};K.getTextInlineElements=function(){return S};K.getShortEndedElements=function(){return O};K.getSelfClosingElements=function(){return F};K.getNonEmptyElements=function(){return C};K.getMoveCaretBeforeOnEnterElements=function(){return B};K.getWhiteSpaceElements=function(){return D};K.getSpecialElements=function(){return y};K.isValidChild=function(U,W){var V=x[U];return !!(V&&V[W])};K.isValid=function(V,U){var X,W,Y=Q(V);if(Y){if(U){if(Y.attributes[U]){return true}X=Y.attributePatterns;if(X){W=X.length;while(W--){if(X[W].pattern.test(V)){return true}}}}else{return true}}return false};K.getElementRule=Q;K.getCustomElements=function(){return E};K.addValidElements=R;K.setValidElements=J;K.addCustomElements=z;K.addValidChildren=M;K.elements=I}});h("tinymce/html/SaxParser",["tinymce/html/Schema","tinymce/html/Entities","tinymce/util/Tools"],function(l,n,k){var m=k.each;function j(s,q,v){var r=1,o,u,t,p;p=s.getShortEndedElements();t=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g;t.lastIndex=o=v;while((u=t.exec(q))){o=t.lastIndex;if(u[1]==="/"){r--}else{if(!u[1]){if(u[2] in p){continue}r++}}if(r===0){break}}return o}function i(p,r){var o=this;function q(){}p=p||{};o.schema=r=r||new l();if(p.fix_self_closing!==false){p.fix_self_closing=true}m("comment cdata text start end pi doctype".split(" "),function(s){if(s){o[s]=p[s]||q}});o.parse=function(P){var B=this,t,R=0,U,M,L=[],Z,ac,N,D;var K,E,Y,S,aa;var H,A,x,F,ae,ab,Q;var af,X,s;var ad,V,y,O,W,u,I=0;var w=n.decode,J,T=k.makeMap("src,href,data,background,formaction,poster");var v=/((java|vb)script|mhtml):/i,z=/^data:/i;function G(ag){var ai,ah;ai=L.length;while(ai--){if(L[ai].name===ag){break}}if(ai>=0){for(ah=L.length-1;ah>=ai;ah--){ag=L[ah];if(ag.valid){B.end(ag.name)}}L.length=ai}}function C(al,ah,ap,an,am){var aj,ak,ag=/[\s\u0000-\u001F]+/g;ah=ah.toLowerCase();ap=ah in S?ah:w(ap||an||am||"");if(H&&!K&&ah.indexOf("data-")!==0){aj=ab[ah];if(!aj&&Q){ak=Q.length;while(ak--){aj=Q[ak];if(aj.pattern.test(ah)){break}}if(ak===-1){aj=null}}if(!aj){return}if(aj.validValues&&!(ap in aj.validValues)){return}}if(T[ah]&&!p.allow_script_urls){var ai=ap.replace(ag,"");try{ai=decodeURIComponent(ai)}catch(ao){ai=unescape(ai)}if(v.test(ai)){return}if(!p.allow_html_data_urls&&z.test(ai)&&!/^data:image\//i.test(ai)){return}}Z.map[ah]=ap;Z.push({name:ah,value:ap})}y=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g");O=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;Y=r.getShortEndedElements();V=p.self_closing_elements||r.getSelfClosingElements();S=r.getBoolAttrs();H=p.validate;E=p.remove_internals;J=p.fix_self_closing;W=r.getSpecialElements();while((t=y.exec(P))){if(R<t.index){B.text(w(P.substr(R,t.index-R)))}if((U=t[6])){U=U.toLowerCase();if(U.charAt(0)===":"){U=U.substr(1)}G(U)}else{if((U=t[7])){U=U.toLowerCase();if(U.charAt(0)===":"){U=U.substr(1)}aa=U in Y;if(J&&V[U]&&L.length>0&&L[L.length-1].name===U){G(U)}if(!H||(A=r.getElementRule(U))){x=true;if(H){ab=A.attributes;Q=A.attributePatterns}if((ae=t[8])){K=ae.indexOf("data-mce-type")!==-1;if(K&&E){x=false}Z=[];Z.map={};ae.replace(O,C)}else{Z=[];Z.map={}}if(H&&!K){af=A.attributesRequired;X=A.attributesDefault;s=A.attributesForced;ad=A.removeEmptyAttrs;if(ad&&!Z.length){x=false}if(s){ac=s.length;while(ac--){F=s[ac];D=F.name;u=F.value;if(u==="{$uid}"){u="mce_"+I++}Z.map[D]=u;Z.push({name:D,value:u})}}if(X){ac=X.length;while(ac--){F=X[ac];D=F.name;if(!(D in Z.map)){u=F.value;if(u==="{$uid}"){u="mce_"+I++}Z.map[D]=u;Z.push({name:D,value:u})}}}if(af){ac=af.length;while(ac--){if(af[ac] in Z.map){break}}if(ac===-1){x=false}}if((F=Z.map["data-mce-bogus"])){if(F==="all"){R=j(r,P,y.lastIndex);y.lastIndex=R;continue}x=false}}if(x){B.start(U,Z,aa)}}else{x=false}if((M=W[U])){M.lastIndex=R=t.index+t[0].length;if((t=M.exec(P))){if(x){N=P.substr(R,t.index-R)}R=t.index+t[0].length}else{N=P.substr(R);R=P.length}if(x){if(N.length>0){B.text(N,true)}B.end(U)}y.lastIndex=R;continue}if(!aa){if(!ae||ae.indexOf("/")!=ae.length-1){L.push({name:U,valid:x})}else{if(x){B.end(U)}}}}else{if((U=t[1])){if(U.charAt(0)===">"){U=" "+U}if(!p.allow_conditional_comments&&U.substr(0,3)==="[if"){U=" "+U}B.comment(U)}else{if((U=t[2])){B.cdata(U)}else{if((U=t[3])){B.doctype(U)}else{if((U=t[4])){B.pi(U,t[5])}}}}}}R=t.index+t[0].length}if(R<P.length){B.text(w(P.substr(R)))}for(ac=L.length-1;ac>=0;ac--){U=L[ac];if(U.valid){B.end(U.name)}}}}i.findEndTag=j;return i});h("tinymce/html/DomParser",["tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/util/Tools"],function(k,m,i,j){var n=j.makeMap,o=j.each,l=j.explode,p=j.extend;return function(u,v){var t=this,s={},r=[],w={},q={};u=u||{};u.validate="validate" in u?u.validate:true;u.root_name=u.root_name||"body";t.schema=v=v||new m();function x(B){var D,E,K,J,M,C,F,z,I;var y,H,A,L,G;H=n("tr,td,th,tbody,thead,tfoot,table");y=v.getNonEmptyElements();A=v.getTextBlockElements();for(D=0;D<B.length;D++){E=B[D];if(!E.parent||E.fixed){continue}if(A[E.name]&&E.parent.name=="li"){L=E.next;while(L){if(A[L.name]){L.name="li";L.fixed=true;E.parent.insert(L,E.parent)}else{break}L=L.next}E.unwrap(E);continue}J=[E];for(K=E.parent;K&&!v.isValidChild(K.name,E.name)&&!H[K.name];K=K.parent){J.push(K)}if(K&&J.length>1){J.reverse();M=C=t.filterNode(J[0].clone());for(I=0;I<J.length-1;I++){if(v.isValidChild(C.name,J[I].name)){F=t.filterNode(J[I].clone());C.append(F)}else{F=C}for(z=J[I].firstChild;z&&z!=J[I+1];){G=z.next;F.append(z);z=G}C=F}if(!M.isEmpty(y)){K.insert(M,J[0],true);K.insert(E,M)}else{K.insert(E,J[0],true)}K=J[0];if(K.isEmpty(y)||K.firstChild===K.lastChild&&K.firstChild.name==="br"){K.empty().remove()}}else{if(E.parent){if(E.name==="li"){L=E.prev;if(L&&(L.name==="ul"||L.name==="ul")){L.append(E);continue}L=E.next;if(L&&(L.name==="ul"||L.name==="ul")){L.insert(E,L.firstChild,true);continue}E.wrap(t.filterNode(new k("ul",1)));continue}if(v.isValidChild(E.parent.name,"div")&&v.isValidChild("div",E.name)){E.wrap(t.filterNode(new k("div",1)))}else{if(E.name==="style"||E.name==="script"){E.empty().remove()}else{E.unwrap()}}}}}}t.filterNode=function(A){var z,y,B;if(y in s){B=w[y];if(B){B.push(A)}else{w[y]=[A]}}z=r.length;while(z--){y=r[z].name;if(y in A.attributes.map){B=q[y];if(B){B.push(A)}else{q[y]=[A]}}}return A};t.addNodeFilter=function(y,z){o(l(y),function(A){var B=s[A];if(!B){s[A]=B=[]}B.push(z)})};t.addAttributeFilter=function(y,z){o(l(y),function(A){var B;for(B=0;B<r.length;B++){if(r[B].name===A){r[B].callbacks.push(z);return}}r.push({name:A,callbacks:[z]})})};t.parse=function(I,z){var A,V,N,M,P,O,J,E,R,Z,L;var B,Q,Y=[],X;var G,y,K,F;var C,H,D;z=z||{};w={};q={};B=p(n("script,style,head,html,body,title,meta,param"),v.getBlockElements());H=v.getNonEmptyElements();C=v.children;L=u.validate;D="forced_root_block" in z?z.forced_root_block:u.forced_root_block;F=v.getWhiteSpaceElements();Q=/^[ \t\r\n]+/;G=/[ \t\r\n]+$/;y=/[ \t\r\n]+/g;K=/^[ \t\r\n]+$/;function S(){var ac=V.firstChild,ab,ad;function aa(ae){if(ae){ac=ae.firstChild;if(ac&&ac.type==3){ac.value=ac.value.replace(Q,"")}ac=ae.lastChild;if(ac&&ac.type==3){ac.value=ac.value.replace(G,"")}}}if(!v.isValidChild(V.name,D.toLowerCase())){return}while(ac){ab=ac.next;if(ac.type==3||(ac.type==1&&ac.name!=="p"&&!B[ac.name]&&!ac.attr("data-mce-type"))){if(!ad){ad=W(D,1);ad.attr(u.forced_root_block_attrs);V.insert(ad,ac);ad.append(ac)}else{ad.append(ac)}}else{aa(ad);ad=null}ac=ab}aa(ad)}function W(aa,ab){var ac=new k(aa,ab),ad;if(aa in s){ad=w[aa];if(ad){ad.push(ac)}else{w[aa]=[ac]}}return ac}function U(ac){var ad,aa,ab;for(ad=ac.prev;ad&&ad.type===3;){aa=ad.value.replace(G,"");if(aa.length>0){ad.value=aa;ad=ad.prev}else{ab=ad.prev;ad.remove();ad=ab}}}function T(ab){var ac,aa={};for(ac in ab){if(ac!=="li"&&ac!="p"){aa[ac]=ab[ac]}}return aa}A=new i({validate:L,allow_script_urls:u.allow_script_urls,allow_conditional_comments:u.allow_conditional_comments,self_closing_elements:T(v.getSelfClosingElements()),cdata:function(aa){N.append(W("#cdata",4)).value=aa},text:function(ac,aa){var ab;if(!X){ac=ac.replace(y," ");if(N.lastChild&&B[N.lastChild.name]){ac=ac.replace(Q,"")}}if(ac.length!==0){ab=W("#text",3);ab.raw=!!aa;N.append(ab).value=ac}},comment:function(aa){N.append(W("#comment",8)).value=aa},pi:function(aa,ab){N.append(W(aa,7)).value=ab;U(N)},doctype:function(ab){var aa;aa=N.append(W("#doctype",10));aa.value=ab;U(N)},start:function(ac,ab,ah){var ae,aa,ag,ad,af;ag=L?v.getElementRule(ac):{};if(ag){ae=W(ag.outputName||ac,1);ae.attributes=ab;ae.shortEnded=ah;N.append(ae);af=C[N.name];if(af&&C[ae.name]&&!af[ae.name]){Y.push(ae)}aa=r.length;while(aa--){ad=r[aa].name;if(ad in ab.map){R=q[ad];if(R){R.push(ae)}else{q[ad]=[ae]}}}if(B[ac]){U(ae)}if(!ah){N=ae}if(!X&&F[ac]){X=true}}},end:function(aa){var af,ac,ae,ab,ad;ac=L?v.getElementRule(aa):{};if(ac){if(B[aa]){if(!X){af=N.firstChild;if(af&&af.type===3){ae=af.value.replace(Q,"");if(ae.length>0){af.value=ae;af=af.next}else{ab=af.next;af.remove();af=ab;while(af&&af.type===3){ae=af.value;ab=af.next;if(ae.length===0||K.test(ae)){af.remove();af=ab}af=ab}}}af=N.lastChild;if(af&&af.type===3){ae=af.value.replace(G,"");if(ae.length>0){af.value=ae;af=af.prev}else{ab=af.prev;af.remove();af=ab;while(af&&af.type===3){ae=af.value;ab=af.prev;if(ae.length===0||K.test(ae)){af.remove();af=ab}af=ab}}}}}if(X&&F[aa]){X=false}if(ac.removeEmpty||ac.paddEmpty){if(N.isEmpty(H)){if(ac.paddEmpty){N.empty().append(new k("#text","3")).value="\u00a0"}else{if(!N.attributes.map.name&&!N.attributes.map.id){ad=N.parent;if(B[N.name]){N.empty().remove()}else{N.unwrap()}N=ad;return}}}}N=N.parent}}},v);V=N=new k(z.context||u.root_name,11);A.parse(I);if(L&&Y.length){if(!z.context){x(Y)}else{z.invalid=true}}if(D&&(V.name=="body"||z.isRootContent)){S()}if(!z.invalid){for(Z in w){R=s[Z];M=w[Z];J=M.length;while(J--){if(!M[J].parent){M.splice(J,1)}}for(P=0,O=R.length;P<O;P++){R[P](M,Z,z)}}for(P=0,O=r.length;P<O;P++){R=r[P];if(R.name in q){M=q[R.name];J=M.length;while(J--){if(!M[J].parent){M.splice(J,1)}}for(J=0,E=R.callbacks.length;J<E;J++){R.callbacks[J](M,R.name,z)}}}}return V};if(u.remove_trailing_brs){t.addNodeFilter("br",function(z){var E,D=z.length,A,J=p({},v.getBlockElements());var y=v.getNonEmptyElements(),H,F,C,I;var G,B;J.body=1;for(E=0;E<D;E++){A=z[E];H=A.parent;if(J[A.parent.name]&&A===H.lastChild){C=A.prev;while(C){I=C.name;if(I!=="span"||C.attr("data-mce-type")!=="bookmark"){if(I!=="br"){break}if(I==="br"){A=null;break}}C=C.prev}if(A){A.remove();if(H.isEmpty(y)){G=v.getElementRule(H.name);if(G){if(G.removeEmpty){H.remove()}else{if(G.paddEmpty){H.empty().append(new k("#text",3)).value="\u00a0"}}}}}}else{F=A;while(H&&H.firstChild===F&&H.lastChild===F){F=H;if(J[H.name]){break}H=H.parent}if(F===H){B=new k("#text",3);B.value="\u00a0";A.replace(B)}}}})}if(!u.allow_html_in_named_anchor){t.addAttributeFilter("id,name",function(y){var A=y.length,C,z,B,D;while(A--){D=y[A];if(D.name==="a"&&D.firstChild&&!D.attr("href")){B=D.parent;C=D.lastChild;do{z=C.prev;B.insert(C,D);C=z}while(C)}}})}if(u.validate&&v.getValidClasses()){t.addAttributeFilter("class",function(z){var D=z.length,C,A,H,F,B;var G=v.getValidClasses(),E,y;while(D--){C=z[D];A=C.attr("class").split(" ");B="";for(H=0;H<A.length;H++){F=A[H];y=false;E=G["*"];if(E&&E[F]){y=true}E=G[C.name];if(!y&&E&&E[F]){y=true}if(y){if(B){B+=" "}B+=F}}if(!B.length){B=null}C.attr("class",B)}})}}});h("tinymce/html/Writer",["tinymce/html/Entities","tinymce/util/Tools"],function(k,i){var j=i.makeMap;return function(p){var n=[],l,m,o,q,r;p=p||{};l=p.indent;m=j(p.indent_before||"");o=j(p.indent_after||"");q=k.getEncodeFunc(p.entity_encoding||"raw",p.entities);r=p.element_format=="html";return{start:function(v,u,y){var w,t,s,x;if(l&&m[v]&&n.length>0){x=n[n.length-1];if(x.length>0&&x!=="\n"){n.push("\n")}}n.push("<",v);if(u){for(w=0,t=u.length;w<t;w++){s=u[w];n.push(" ",s.name,'="',q(s.value,true),'"')}}if(!y||r){n[n.length]=">"}else{n[n.length]=" />"}if(y&&l&&o[v]&&n.length>0){x=n[n.length-1];if(x.length>0&&x!=="\n"){n.push("\n")}}},end:function(s){var t;n.push("</",s,">");if(l&&o[s]&&n.length>0){t=n[n.length-1];if(t.length>0&&t!=="\n"){n.push("\n")}}},text:function(t,s){if(t.length>0){n[n.length]=s?t:q(t)}},cdata:function(s){n.push("<![CDATA[",s,"]]>")},comment:function(s){n.push("<!--",s,"-->")},pi:function(s,t){if(t){n.push("<?",s," ",q(t),"?>")}else{n.push("<?",s,"?>")}if(l){n.push("\n")}},doctype:function(s){n.push("<!DOCTYPE",s,">",l?"\n":"")},reset:function(){n.length=0},getContent:function(){return n.join("").replace(/\n$/,"")}}}});h("tinymce/html/Serializer",["tinymce/html/Writer","tinymce/html/Schema"],function(j,i){return function(l,m){var k=this,n=new j(l);l=l||{};l.validate="validate" in l?l.validate:true;k.schema=m=m||new i();k.writer=n;k.serialize=function(q){var p,r;r=l.validate;p={3:function(s){n.text(s.value,s.raw)},8:function(s){n.comment(s.value)},7:function(s){n.pi(s.name,s.value)},10:function(s){n.doctype(s.value)},4:function(s){n.cdata(s.value)},11:function(s){if((s=s.firstChild)){do{o(s)}while((s=s.next))}}};n.reset();function o(t){var B=p[t.type],s,w,A,z,x,C,v,u,y;if(!B){s=t.name;w=t.shortEnded;A=t.attributes;if(r&&A&&A.length>1){C=[];C.map={};y=m.getElementRule(t.name);for(v=0,u=y.attributesOrder.length;v<u;v++){z=y.attributesOrder[v];if(z in A.map){x=A.map[z];C.map[z]=x;C.push({name:z,value:x})}}for(v=0,u=A.length;v<u;v++){z=A[v].name;if(!(z in C.map)){x=A.map[z];C.map[z]=x;C.push({name:z,value:x})}}A=C}n.start(t.name,A,w);if(!w){if((t=t.firstChild)){do{o(t)}while((t=t.next))}n.end(s)}}else{B(t)}}if(q.type==1&&!l.inner){o(q)}else{p[11](q)}return n.getContent()}}});h("tinymce/dom/Serializer",["tinymce/dom/DOMUtils","tinymce/html/DomParser","tinymce/html/Entities","tinymce/html/Serializer","tinymce/html/Node","tinymce/html/Schema","tinymce/Env","tinymce/util/Tools"],function(p,s,j,o,m,l,n,k){var q=k.each,i=k.trim;var r=p.DOM;return function(v,u){var x,w,t;if(u){x=u.dom;w=u.schema}x=x||r;w=w||new l(v);v.entity_encoding=v.entity_encoding||"named";v.remove_trailing_brs="remove_trailing_brs" in v?v.remove_trailing_brs:true;t=new s(v,w);t.addAttributeFilter("data-mce-tabindex",function(y,z){var A=y.length,B;while(A--){B=y[A];B.attr("tabindex",B.attributes.map["data-mce-tabindex"]);B.attr(z,null)}});t.addAttributeFilter("src,href,style",function(z,y){var D=z.length,A,F,C="data-mce-"+y;var E=v.url_converter,G=v.url_converter_scope,B;while(D--){A=z[D];F=A.attributes.map[C];if(F!==B){A.attr(y,F.length>0?F:null);A.attr(C,null)}else{F=A.attributes.map[y];if(y==="style"){F=x.serializeStyle(x.parseStyle(F),A.name)}else{if(E){F=E.call(G,F,y,A.name)}}A.attr(y,F.length>0?F:null)}}});t.addAttributeFilter("class",function(y){var z=y.length,A,B;while(z--){A=y[z];B=A.attr("class");if(B){B=A.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,"");A.attr("class",B.length>0?B:null)}}});t.addAttributeFilter("data-mce-type",function(y,A,z){var B=y.length,C;while(B--){C=y[B];if(C.attributes.map["data-mce-type"]==="bookmark"&&!z.cleanup){C.remove()}}});t.addNodeFilter("noscript",function(y){var z=y.length,A;while(z--){A=y[z].firstChild;if(A){A.value=j.decode(A.value)}}});t.addNodeFilter("script,style",function(z,A){var B=z.length,D,E,C;function y(F){return F.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}while(B--){D=z[B];E=D.firstChild?D.firstChild.value:"";if(A==="script"){C=D.attr("type");if(C){D.attr("type",C=="mce-no/type"?null:C.replace(/^mce\-/,""))}if(E.length>0){D.firstChild.value="// <![CDATA[\n"+y(E)+"\n// ]]>"}}else{if(E.length>0){D.firstChild.value="<!--\n"+y(E)+"\n-->"}}}});t.addNodeFilter("#comment",function(y){var z=y.length,A;while(z--){A=y[z];if(A.value.indexOf("[CDATA[")===0){A.name="#cdata";A.type=4;A.value=A.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(A.value.indexOf("mce:protected ")===0){A.name="#text";A.type=3;A.raw=true;A.value=unescape(A.value).substr(14)}}}});t.addNodeFilter("xml:namespace,input",function(y,z){var A=y.length,B;while(A--){B=y[A];if(B.type===7){B.remove()}else{if(B.type===1){if(z==="input"&&!("type" in B.attributes.map)){B.attr("type","text")}}}}});if(v.fix_list_elements){t.addNodeFilter("ul,ol",function(z){var A=z.length,B,y;while(A--){B=z[A];y=B.parent;if(y.name==="ul"||y.name==="ol"){if(B.prev&&B.prev.name==="li"){B.prev.append(B)}}}})}t.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(y,z){var A=y.length;while(A--){y[A].attr(z,null)}});return{schema:w,addNodeFilter:t.addNodeFilter,addAttributeFilter:t.addAttributeFilter,serialize:function(E,C){var B=this,A,F,z,y,D;if(n.ie&&x.select("script,style,select,map").length>0){D=E.innerHTML;E=E.cloneNode(false);x.setHTML(E,D)}else{E=E.cloneNode(true)}A=E.ownerDocument.implementation;if(A.createHTMLDocument){F=A.createHTMLDocument("");q(E.nodeName=="BODY"?E.childNodes:[E],function(G){F.body.appendChild(F.importNode(G,true))});if(E.nodeName!="BODY"){E=F.body.firstChild}else{E=F.body}z=x.doc;x.doc=F}C=C||{};C.format=C.format||"html";if(C.selection){C.forced_root_block=""}if(!C.no_events){C.node=E;B.onPreProcess(C)}y=new o(v,w);C.content=y.serialize(t.parse(i(C.getInner?E.innerHTML:x.getOuterHTML(E)),C));if(!C.cleanup){C.content=C.content.replace(/\uFEFF/g,"")}if(!C.no_events){B.onPostProcess(C)}if(z){x.doc=z}C.node=null;return C.content},addRules:function(y){w.addValidElements(y)},setRules:function(y){w.setValidElements(y)},onPreProcess:function(y){if(u){u.fire("PreProcess",y)}},onPostProcess:function(y){if(u){u.fire("PostProcess",y)}}}}});h("tinymce/dom/TridentSelection",[],function(){function i(k){var j=this,o=k.dom,m=false;function l(p,q){var r,A=0,x,u,t,s,v,y,w=-1,z;r=p.duplicate();r.collapse(q);z=r.parentElement();if(z.ownerDocument!==k.dom.doc){return}while(z.contentEditable==="false"){z=z.parentNode}if(!z.hasChildNodes()){return{node:z,inside:1}}t=z.children;x=t.length-1;while(A<=x){y=Math.floor((A+x)/2);s=t[y];r.moveToElementText(s);w=r.compareEndPoints(q?"StartToStart":"EndToEnd",p);if(w>0){x=y-1}else{if(w<0){A=y+1}else{return{node:s}}}}if(w<0){if(!s){r.moveToElementText(z);r.collapse(true);s=z;u=true}else{r.collapse(false)}v=0;while(r.compareEndPoints(q?"StartToStart":"StartToEnd",p)!==0){if(r.move("character",1)===0||z!=r.parentElement()){break}v++}}else{r.collapse(true);v=0;while(r.compareEndPoints(q?"StartToStart":"StartToEnd",p)!==0){if(r.move("character",-1)===0||z!=r.parentElement()){break}v++}}return{node:s,position:w,offset:v,inside:u}}function n(){var p=k.getRng(),x=o.createRng(),r,q,v,w,s;r=p.item?p.item(0):p.parentElement();if(r.ownerDocument!=o.doc){return x}q=k.isCollapsed();if(p.item){x.setStart(r.parentNode,o.nodeIndex(r));x.setEnd(x.startContainer,x.startOffset+1);return x}function u(F){var A=l(p,F),y,D,E=0,C,B,z;y=A.node;D=A.offset;if(A.inside&&!y.hasChildNodes()){x[F?"setStart":"setEnd"](y,0);return}if(D===B){x[F?"setStartBefore":"setEndAfter"](y);return}if(A.position<0){C=A.inside?y.firstChild:y.nextSibling;if(!C){x[F?"setStartAfter":"setEndAfter"](y);return}if(!D){if(C.nodeType==3){x[F?"setStart":"setEnd"](C,0)}else{x[F?"setStartBefore":"setEndBefore"](C)}return}while(C){if(C.nodeType==3){z=C.nodeValue;E+=z.length;if(E>=D){y=C;E-=D;E=z.length-E;break}}C=C.nextSibling}}else{C=y.previousSibling;if(!C){return x[F?"setStartBefore":"setEndBefore"](y)}if(!D){if(y.nodeType==3){x[F?"setStart":"setEnd"](C,y.nodeValue.length)}else{x[F?"setStartAfter":"setEndAfter"](C)}return}while(C){if(C.nodeType==3){E+=C.nodeValue.length;if(E>=D){y=C;E-=D;break}}C=C.previousSibling}}x[F?"setStart":"setEnd"](y,E)}try{u(true);if(!q){u()}}catch(t){if(t.number==-2147024809){s=j.getBookmark(2);v=p.duplicate();v.collapse(true);r=v.parentElement();if(!q){v=p.duplicate();v.collapse(false);w=v.parentElement();w.innerHTML=w.innerHTML}r.innerHTML=r.innerHTML;j.moveToBookmark(s);p=k.getRng();u(true);if(!q){u()}}else{throw t}}return x}this.getBookmark=function(s){var p=k.getRng(),r={};function t(z){var y,u,x,w,v=[];y=z.parentNode;u=o.getRoot().parentNode;while(y!=u&&y.nodeType!==9){x=y.children;w=x.length;while(w--){if(z===x[w]){v.push(w);break}}z=y;y=y.parentNode}return v}function q(v){var u;u=l(p,v);if(u){return{position:u.position,offset:u.offset,indexes:t(u.node),inside:u.inside}}}if(s===2){if(!p.item){r.start=q(true);if(!k.isCollapsed()){r.end=q()}}else{r.start={ctrl:true,indexes:t(p.item(0))}}}return r};this.moveToBookmark=function(r){var q,p=o.doc.body;function t(v){var y,x,u,w;y=o.getRoot();for(x=v.length-1;x>=0;x--){w=y.children;u=v[x];if(u<=w.length-1){y=w[u]}}return y}function s(z){var u=r[z?"start":"end"],x,w,v,y;if(u){x=u.position>0;w=p.createTextRange();w.moveToElementText(t(u.indexes));y=u.offset;if(y!==v){w.collapse(u.inside||x);w.moveStart("character",x?-y:y)}else{w.collapse(z)}q.setEndPoint(z?"StartToStart":"EndToStart",w);if(z){q.collapse(true)}}}if(r.start){if(r.start.ctrl){q=p.createControlRange();q.addElement(t(r.start.indexes));q.select()}else{q=p.createTextRange();s(true);s();q.select()}}};this.addRange=function(p){var u,s,r,w,C,x,A,z=k.dom.doc,t=z.body,y,B;function q(I){var E,H,D,G,F;D=o.create("a");E=I?r:C;H=I?w:x;G=u.duplicate();if(E==z||E==z.documentElement){E=t;H=0}if(E.nodeType==3){E.parentNode.insertBefore(D,E);G.moveToElementText(D);G.moveStart("character",H);o.remove(D);u.setEndPoint(I?"StartToStart":"EndToEnd",G)}else{F=E.childNodes;if(F.length){if(H>=F.length){o.insertAfter(D,F[F.length-1])}else{E.insertBefore(D,F[H])}G.moveToElementText(D)}else{if(E.canHaveHTML){E.innerHTML="<span>&#xFEFF;</span>";D=E.firstChild;G.moveToElementText(D);G.collapse(m)}}u.setEndPoint(I?"StartToStart":"EndToEnd",G);o.remove(D)}}r=p.startContainer;w=p.startOffset;C=p.endContainer;x=p.endOffset;u=t.createTextRange();if(r==C&&r.nodeType==1){if(w==x&&!r.hasChildNodes()){if(r.canHaveHTML){A=r.previousSibling;if(A&&!A.hasChildNodes()&&o.isBlock(A)){A.innerHTML="&#xFEFF;"}else{A=null}r.innerHTML="<span>&#xFEFF;</span><span>&#xFEFF;</span>";u.moveToElementText(r.lastChild);u.select();o.doc.selection.clear();r.innerHTML="";if(A){A.innerHTML=""}return}else{w=o.nodeIndex(r);r=r.parentNode}}if(w==x-1){try{B=r.childNodes[w];s=t.createControlRange();s.addElement(B);s.select();y=k.getRng();if(y.item&&B===y.item(0)){return}}catch(v){}}}q(true);q();u.select()};this.getRangeAt=n}return i});h("tinymce/util/VK",["tinymce/Env"],function(i){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(j){return j.shiftKey||j.ctrlKey||j.altKey||this.metaKeyPressed(j)},metaKeyPressed:function(j){return(i.mac?j.metaKey:j.ctrlKey&&!j.altKey)}}});h("tinymce/dom/ControlSelection",["tinymce/util/VK","tinymce/util/Tools","tinymce/Env"],function(k,j,i){return function(y,m){var n=m.dom,T=j.each;var v,ac,O,Q,aa,Y;var D,B,M,L,E,J,R,r;var l,o,w=m.getDoc(),Z=document,u=i.ie&&i.ie<11;var I=Math.abs,X=Math.round,A=m.getBody(),F,p;Q={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var C=".mce-content-body";m.contentStyles.push(C+" div.mce-resizehandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}"+C+" .mce-resizehandle:hover {background: #000}"+C+" img[data-mce-selected], hr[data-mce-selected] {outline: 1px solid black;resize: none}"+C+" .mce-clonedresizable {position: absolute;"+(i.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+C+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}");function U(ae){var ad=m.settings.object_resizing;if(ad===false||i.iOS){return false}if(typeof ad!="string"){ad="table,img,div"}if(ae.getAttribute("data-mce-resize")==="false"){return false}return m.dom.is(ae,ad)}function q(ag){var ae,ad,af;var ai,ah;ae=ag.screenX-D;ad=ag.screenY-B;l=ae*aa[2]+E;o=ad*aa[3]+J;l=l<5?5:l;o=o<5?5:o;if(v.nodeName=="IMG"&&m.settings.resize_img_proportional!==false){af=!k.modifierPressed(ag)}else{af=k.modifierPressed(ag)||(v.nodeName=="IMG"&&aa[2]*aa[3]!==0)}if(af){if(I(ae)>I(ad)){o=X(l*R);l=X(o/R)}else{l=X(o/R);o=X(l*R)}}n.setStyles(ac,{width:l,height:o});ai=aa.startPos.x+ae;ah=aa.startPos.y+ad;ai=ai>0?ai:0;ah=ah>0?ah:0;n.setStyles(O,{left:ai,top:ah,display:"block"});O.innerHTML=l+" &times; "+o;if(aa[2]<0&&ac.clientWidth<=l){n.setStyle(ac,"left",M+(E-l))}if(aa[3]<0&&ac.clientHeight<=o){n.setStyle(ac,"top",L+(J-o))}ae=A.scrollWidth-F;ad=A.scrollHeight-p;if(ae+ad!==0){n.setStyles(O,{left:ai-ae,top:ah-ad})}if(!r){m.fire("ObjectResizeStart",{target:v,width:E,height:J});r=true}}function P(){r=false;function ad(ae,af){if(af){if(v.style[ae]||!m.schema.isValid(v.nodeName.toLowerCase(),ae)){n.setStyle(v,ae,af)}else{n.setAttrib(v,ae,af)}}}ad("width",l);ad("height",o);n.unbind(w,"mousemove",q);n.unbind(w,"mouseup",P);if(Z!=w){n.unbind(Z,"mousemove",q);n.unbind(Z,"mouseup",P)}n.remove(ac);n.remove(O);if(!u||v.nodeName=="TABLE"){K(v)}m.fire("ObjectResized",{target:v,width:l,height:o});n.setAttrib(v,"style",n.getAttrib(v,"style"));m.nodeChanged()}function K(aj,ah,af){var ae,ag,ad,ak,ai;ab();ae=n.getPos(aj,A);M=ae.x;L=ae.y;ai=aj.getBoundingClientRect();ag=ai.width||(ai.right-ai.left);ad=ai.height||(ai.bottom-ai.top);if(v!=aj){V();v=aj;l=o=0}ak=m.fire("ObjectSelected",{target:aj});if(U(aj)&&!ak.isDefaultPrevented()){T(Q,function(ao,am){var an,ap;function al(aq){D=aq.screenX;B=aq.screenY;E=v.clientWidth;J=v.clientHeight;R=J/E;aa=ao;ao.startPos={x:ag*ao[0]+M,y:ad*ao[1]+L};F=A.scrollWidth;p=A.scrollHeight;ac=v.cloneNode(true);n.addClass(ac,"mce-clonedresizable");n.setAttrib(ac,"data-mce-bogus","all");ac.contentEditable=false;ac.unSelectabe=true;n.setStyles(ac,{left:M,top:L,margin:0});ac.removeAttribute("data-mce-selected");A.appendChild(ac);n.bind(w,"mousemove",q);n.bind(w,"mouseup",P);if(Z!=w){n.bind(Z,"mousemove",q);n.bind(Z,"mouseup",P)}O=n.add(A,"div",{"class":"mce-resize-helper","data-mce-bogus":"all"},E+" &times; "+J)}if(ah){if(am==ah){al(af)}return}an=n.get("mceResizeHandle"+am);if(!an){ap=A;an=n.add(ap,"div",{id:"mceResizeHandle"+am,"data-mce-bogus":"all","class":"mce-resizehandle",unselectable:true,style:"cursor:"+am+"-resize; margin:0; padding:0"});if(i.ie){an.contentEditable=false}}else{n.show(an)}if(!ao.elm){n.bind(an,"mousedown",function(aq){aq.stopImmediatePropagation();aq.preventDefault();al(aq)});ao.elm=an}n.setStyles(an,{left:(ag*ao[0]+M)-(an.offsetWidth/2),top:(ad*ao[1]+L)-(an.offsetHeight/2)})})}else{G()}v.setAttribute("data-mce-selected","1")}function G(){var ad,ae;ab();if(v){v.removeAttribute("data-mce-selected")}for(ad in Q){ae=n.get("mceResizeHandle"+ad);if(ae){n.unbind(ae);n.remove(ae)}}}function H(ag){var af,ad;function ae(ai,ah){if(ai){do{if(ai===ah){return true}}while((ai=ai.parentNode))}}if(r){return}T(n.select("img[data-mce-selected],hr[data-mce-selected]"),function(ah){ah.removeAttribute("data-mce-selected")});ad=ag.type=="mousedown"?ag.target:y.getNode();ad=n.$(ad).closest(u?"table":"table,img,hr")[0];if(ae(ad,A)){N();af=y.getStart(true);if(ae(af,ad)&&ae(y.getEnd(true),ad)){if(!u||(ad!=af&&af.nodeName!=="IMG")){K(ad);return}}}G()}function s(af,ad,ae){if(af&&af.attachEvent){af.attachEvent("on"+ad,ae)}}function z(af,ad,ae){if(af&&af.detachEvent){af.detachEvent("on"+ad,ae)}}function x(af){var ag=af.srcElement,ak,ad,al,aj,ah,ai,ae;ak=ag.getBoundingClientRect();ai=Y.clientX-ak.left;ae=Y.clientY-ak.top;for(ad in Q){al=Q[ad];aj=ag.offsetWidth*al[0];ah=ag.offsetHeight*al[1];if(I(aj-ai)<8&&I(ah-ae)<8){aa=al;break}}r=true;m.fire("ObjectResizeStart",{target:v,width:v.clientWidth,height:v.clientHeight});m.getDoc().selection.empty();K(ag,ad,Y)}function W(ae){var ad=ae.srcElement;if(ad!=v){m.fire("ObjectSelected",{target:ad});V();if(ad.id.indexOf("mceResizeHandle")===0){ae.returnValue=false;return}if(ad.nodeName=="IMG"||ad.nodeName=="TABLE"){G();v=ad;s(ad,"resizestart",x)}}}function V(){z(v,"resizestart",x)}function ab(){for(var ad in Q){var ae=Q[ad];if(ae.elm){n.unbind(ae.elm);delete ae.elm}}}function N(){try{m.getDoc().execCommand("enableObjectResizing",false,false)}catch(ad){}}function t(af){var ae;if(!u){return}ae=w.body.createControlRange();try{ae.addElement(af);ae.select();return true}catch(ad){}}m.on("init",function(){if(u){m.on("ObjectResized",function(ad){if(ad.target.nodeName!="TABLE"){G();t(ad.target)}});s(A,"controlselect",W);m.on("mousedown",function(ad){Y=ad})}else{N();if(i.ie>=11){m.on("mouseup",function(ad){var ae=ad.target.nodeName;if(!r&&/^(TABLE|IMG|HR)$/.test(ae)){m.selection.select(ad.target,ae=="TABLE");m.nodeChanged()}});m.dom.bind(A,"mscontrolselect",function(ad){if(/^(TABLE|IMG|HR)$/.test(ad.target.nodeName)){ad.preventDefault();if(ad.target.tagName=="IMG"){window.setTimeout(function(){m.selection.select(ad.target)},0)}}})}}m.on("nodechange ResizeEditor",H);m.on("keydown keyup",function(ad){if(v&&v.nodeName=="TABLE"){H(ad)}});m.on("hide",G)});m.on("remove",ab);function S(){v=ac=null;if(u){V();z(A,"controlselect",W)}}return{isResizable:U,showResizeRect:K,hideResizeRect:G,updateResizeRect:H,controlSelect:t,destroy:S}}});h("tinymce/dom/BookmarkManager",["tinymce/Env","tinymce/util/Tools"],function(i,k){function j(l){var m=l.dom;this.getBookmark=function(x,z){var o,r,q,u,p,v,t="&#xFEFF;",A;function n(C,D){var B=0;k.each(m.select(C),function(F,E){if(F==D){B=E}});return B}function y(B){function C(H){var D,G,F,E=H?"start":"end";D=B[E+"Container"];G=B[E+"Offset"];if(D.nodeType==1&&D.nodeName=="TR"){F=D.childNodes;D=F[Math.min(H?G:G-1,F.length-1)];if(D){G=H?0:D.childNodes.length;B["set"+(H?"Start":"End")](D,G)}}}C(true);C();return B}function s(){var C=l.getRng(true),B=m.getRoot(),D={};function E(H,M){var G=H[M?"startContainer":"endContainer"],L=H[M?"startOffset":"endOffset"],F=[],I,K,J=0;if(G.nodeType==3){if(z){for(I=G.previousSibling;I&&I.nodeType==3;I=I.previousSibling){L+=I.nodeValue.length}}F.push(L)}else{K=G.childNodes;if(L>=K.length&&K.length){J=1;L=Math.max(0,K.length-1)}F.push(m.nodeIndex(K[L],z)+J)}for(;G&&G!=B;G=G.parentNode){F.push(m.nodeIndex(G,z))}return F}D.start=E(C,true);if(!l.isCollapsed()){D.end=E(C)}return D}if(x==2){v=l.getNode();p=v?v.nodeName:null;if(p=="IMG"){return{name:p,index:n(p,v)}}if(l.tridentSel){return l.tridentSel.getBookmark(x)}return s()}if(x){return{rng:l.getRng()}}o=l.getRng();q=m.uniqueId();u=l.isCollapsed();A="overflow:hidden;line-height:0px";if(o.duplicate||o.item){if(!o.item){r=o.duplicate();try{o.collapse();o.pasteHTML('<span data-mce-type="bookmark" id="'+q+'_start" style="'+A+'">'+t+"</span>");if(!u){r.collapse(false);o.moveToElementText(r.parentElement());if(o.compareEndPoints("StartToEnd",r)===0){r.move("character",-1)}r.pasteHTML('<span data-mce-type="bookmark" id="'+q+'_end" style="'+A+'">'+t+"</span>")}}catch(w){return null}}else{v=o.item(0);p=v.nodeName;return{name:p,index:n(p,v)}}}else{v=l.getNode();p=v.nodeName;if(p=="IMG"){return{name:p,index:n(p,v)}}r=y(o.cloneRange());if(!u){r.collapse(false);r.insertNode(m.create("span",{"data-mce-type":"bookmark",id:q+"_end",style:A},t))}o=y(o);o.collapse(true);o.insertNode(m.create("span",{"data-mce-type":"bookmark",id:q+"_start",style:A},t))}l.moveToBookmark({id:q,keep:1});return{id:q}};this.moveToBookmark=function(s){var n,v,p,w,t,u;function o(C){var x=s[C?"start":"end"],z,A,B,y;if(x){B=x[0];for(A=v,z=x.length-1;z>=1;z--){y=A.childNodes;if(x[z]>y.length-1){return}A=y[x[z]]}if(A.nodeType===3){B=Math.min(x[0],A.nodeValue.length)}if(A.nodeType===1){B=Math.min(x[0],A.childNodes.length)}if(C){n.setStart(A,B)}else{n.setEnd(A,B)}}return true}function q(D){var y=m.get(s.id+"_"+D),C,x,A,B,z=s.keep;if(y){C=y.parentNode;if(D=="start"){if(!z){x=m.nodeIndex(y)}else{C=y.firstChild;x=1}p=w=C;t=u=x}else{if(!z){x=m.nodeIndex(y)}else{C=y.firstChild;x=1}w=C;u=x}if(!z){B=y.previousSibling;A=y.nextSibling;k.each(k.grep(y.childNodes),function(E){if(E.nodeType==3){E.nodeValue=E.nodeValue.replace(/\uFEFF/g,"")}});while((y=m.get(s.id+"_"+D))){m.remove(y,1)}if(B&&A&&B.nodeType==A.nodeType&&B.nodeType==3&&!i.opera){x=B.nodeValue.length;B.appendData(A.nodeValue);m.remove(A);if(D=="start"){p=w=B;t=u=x}else{w=B;u=x}}}}}function r(x){if(m.isBlock(x)&&!x.innerHTML&&!i.ie){x.innerHTML='<br data-mce-bogus="1" />'}return x}if(s){if(s.start){n=m.createRng();v=m.getRoot();if(l.tridentSel){return l.tridentSel.moveToBookmark(s)}if(o(true)&&o()){l.setRng(n)}}else{if(s.id){q("start");q("end");if(p){n=m.createRng();n.setStart(r(p),t);n.setEnd(r(w),u);l.setRng(n)}}else{if(s.name){l.select(m.select(s.name)[s.index])}else{if(s.rng){l.setRng(s.rng)}}}}}}}j.isBookmarkNode=function(l){return l&&l.tagName==="SPAN"&&l.getAttribute("data-mce-type")==="bookmark"};return j});h("tinymce/dom/Selection",["tinymce/dom/TreeWalker","tinymce/dom/TridentSelection","tinymce/dom/ControlSelection","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/Env","tinymce/util/Tools"],function(q,o,i,m,r,n,l){var p=l.each,k=l.trim;var j=n.ie;function s(x,w,v,u){var t=this;t.dom=x;t.win=w;t.serializer=v;t.editor=u;t.bookmarkManager=new r(t);t.controlSelection=new i(t,u);if(!t.win.getSelection){t.tridentSel=new o(t)}}s.prototype={setCursorLocation:function(v,w){var u=this,t=u.dom.createRng();if(!v){u._moveEndPoint(t,u.editor.getBody(),true);u.setRng(t)}else{t.setStart(v,w);t.setEnd(v,w);u.setRng(t);u.collapse(false)}},getContent:function(x){var v=this,u=v.getRng(),t=v.dom.create("body");var A=v.getSel(),z,y,w;x=x||{};z=y="";x.get=true;x.format=x.format||"html";x.selection=true;v.editor.fire("BeforeGetContent",x);if(x.format=="text"){return v.isCollapsed()?"":(u.text||(A.toString?A.toString():""))}if(u.cloneContents){w=u.cloneContents();if(w){t.appendChild(w)}}else{if(u.item!==g||u.htmlText!==g){t.innerHTML="<br>"+(u.item?u.item(0).outerHTML:u.htmlText);t.removeChild(t.firstChild)}else{t.innerHTML=u.toString()}}if(/^\s/.test(t.innerHTML)){z=" "}if(/\s+$/.test(t.innerHTML)){y=" "}x.getInner=true;x.content=v.isCollapsed()?"":z+v.serializer.serialize(t,x)+y;v.editor.fire("GetContent",x);return x.content},setContent:function(u,w){var B=this,t=B.getRng(),x,y=B.win.document,A,z;w=w||{format:"html"};w.set=true;w.selection=true;u=w.content=u;if(!w.no_events){B.editor.fire("BeforeSetContent",w)}u=w.content;if(t.insertNode){u+='<span id="__caret">_</span>';if(t.startContainer==y&&t.endContainer==y){y.body.innerHTML=u}else{t.deleteContents();if(y.body.childNodes.length===0){y.body.innerHTML=u}else{if(t.createContextualFragment){t.insertNode(t.createContextualFragment(u))}else{A=y.createDocumentFragment();z=y.createElement("div");A.appendChild(z);z.outerHTML=u;t.insertNode(A)}}}x=B.dom.get("__caret");t=y.createRange();t.setStartBefore(x);t.setEndBefore(x);B.setRng(t);B.dom.remove("__caret");try{B.setRng(t)}catch(v){}}else{if(t.item){y.execCommand("Delete",false,null);t=B.getRng()}if(/^\s+/.test(u)){t.pasteHTML('<span id="__mce_tmp">_</span>'+u);B.dom.remove("__mce_tmp")}else{t.pasteHTML(u)}}if(!w.no_events){B.editor.fire("SetContent",w)}},getStart:function(z){var v=this,u=v.getRng(),w,t,y,x;if(u.duplicate||u.item){if(u.item){return u.item(0)}y=u.duplicate();y.collapse(1);w=y.parentElement();if(w.ownerDocument!==v.dom.doc){w=v.dom.getRoot()}t=x=u.parentElement();while((x=x.parentNode)){if(x==w){w=t;break}}return w}else{w=u.startContainer;if(w.nodeType==1&&w.hasChildNodes()){if(!z||!u.collapsed){w=w.childNodes[Math.min(w.childNodes.length-1,u.startOffset)]}}if(w&&w.nodeType==3){return w.parentNode}return w}},getEnd:function(x){var u=this,t=u.getRng(),w,v;if(t.duplicate||t.item){if(t.item){return t.item(0)}t=t.duplicate();t.collapse(0);w=t.parentElement();if(w.ownerDocument!==u.dom.doc){w=u.dom.getRoot()}if(w&&w.nodeName=="BODY"){return w.lastChild||w}return w}else{w=t.endContainer;v=t.endOffset;if(w.nodeType==1&&w.hasChildNodes()){if(!x||!t.collapsed){w=w.childNodes[v>0?v-1:v]}}if(w&&w.nodeType==3){return w.parentNode}return w}},getBookmark:function(t,u){return this.bookmarkManager.getBookmark(t,u)},moveToBookmark:function(t){return this.bookmarkManager.moveToBookmark(t)},select:function(x,w){var v=this,y=v.dom,u=y.createRng(),t;v.lastFocusBookmark=null;if(x){if(!w&&v.controlSelection.controlSelect(x)){return}t=y.nodeIndex(x);u.setStart(x.parentNode,t);u.setEnd(x.parentNode,t+1);if(w){v._moveEndPoint(u,x,true);v._moveEndPoint(u,x)}v.setRng(u)}return x},isCollapsed:function(){var u=this,t=u.getRng(),v=u.getSel();if(!t||t.item){return false}if(t.compareEndPoints){return t.compareEndPoints("StartToEnd",t)===0}return !v||t.collapsed},collapse:function(v){var u=this,t=u.getRng(),w;if(t.item){w=t.item(0);t=u.win.document.body.createTextRange();t.moveToElementText(w)}t.collapse(!!v);u.setRng(t)},getSel:function(){var t=this.win;return t.getSelection?t.getSelection():t.document.selection},getRng:function(z){var C=this,B,t,x,A=C.win.document,v;function y(F,G,D){try{return G.compareBoundaryPoints(F,D)}catch(E){return -1}}if(!z&&C.lastFocusBookmark){var u=C.lastFocusBookmark;if(u.startContainer){t=A.createRange();t.setStart(u.startContainer,u.startOffset);t.setEnd(u.endContainer,u.endOffset)}else{t=u}return t}if(z&&C.tridentSel){return C.tridentSel.getRangeAt(0)}try{if((B=C.getSel())){if(B.rangeCount>0){t=B.getRangeAt(0)}else{t=B.createRange?B.createRange():A.createRange()}}}catch(w){}if(j&&t&&t.setStart&&A.selection){try{v=A.selection.createRange()}catch(w){}if(v&&v.item){x=v.item(0);t=A.createRange();t.setStartBefore(x);t.setEndAfter(x)}}if(!t){t=A.createRange?A.createRange():A.body.createTextRange()}if(t.setStart&&t.startContainer.nodeType===9&&t.collapsed){x=C.dom.getRoot();t.setStart(x,0);t.setEnd(x,0)}if(C.selectedRange&&C.explicitRange){if(y(t.START_TO_START,t,C.selectedRange)===0&&y(t.END_TO_END,t,C.selectedRange)===0){t=C.explicitRange}else{C.selectedRange=null;C.explicitRange=null}}return t},setRng:function(t,v){var u=this,x;if(!t){return}if(t.select){try{t.select()}catch(w){}return}if(!u.tridentSel){x=u.getSel();if(x){u.explicitRange=t;try{x.removeAllRanges();x.addRange(t)}catch(w){}if(v===false&&x.extend){x.collapse(t.endContainer,t.endOffset);x.extend(t.startContainer,t.startOffset)}u.selectedRange=x.rangeCount>0?x.getRangeAt(0):null}}else{if(t.cloneRange){try{u.tridentSel.addRange(t);return}catch(w){}}}},setNode:function(u){var t=this;t.setContent(t.dom.getOuterHTML(u));return u},getNode:function(){var A=this,t=A.getRng(),w;var u=t.startContainer,B=t.endContainer;var x=t.startOffset,y=t.endOffset,z=A.dom.getRoot();function v(D,C){var E=D;while(D&&D.nodeType===3&&D.length===0){D=C?D.nextSibling:D.previousSibling}return D||E}if(!t){return z}if(t.setStart){w=t.commonAncestorContainer;if(!t.collapsed){if(u==B){if(y-x<2){if(u.hasChildNodes()){w=u.childNodes[x]}}}if(u.nodeType===3&&B.nodeType===3){if(u.length===x){u=v(u.nextSibling,true)}else{u=u.parentNode}if(y===0){B=v(B.previousSibling,false)}else{B=B.parentNode}if(u&&u===B){return u}}}if(w&&w.nodeType==3){return w.parentNode}return w}w=t.item?t.item(0):t.parentElement();if(w.ownerDocument!==A.win.document){w=z}return w},getSelectedBlocks:function(w,v){var u=this,A=u.dom,x,t,z=[];t=A.getRoot();w=A.getParent(w||u.getStart(),A.isBlock);v=A.getParent(v||u.getEnd(),A.isBlock);if(w&&w!=t){z.push(w)}if(w&&v&&w!=v){x=w;var y=new q(w,t);while((x=y.next())&&x!=v){if(A.isBlock(x)){z.push(x)}}}if(v&&w!=v&&v!=t){z.push(v)}return z},isForward:function(){var v=this.dom,t=this.getSel(),w,u;if(!t||!t.anchorNode||!t.focusNode){return true}w=v.createRng();w.setStart(t.anchorNode,t.anchorOffset);w.collapse(true);u=v.createRng();u.setStart(t.focusNode,t.focusOffset);u.collapse(true);return w.compareBoundaryPoints(w.START_TO_START,u)<=0},normalize:function(){var u=this,t=u.getRng();if(n.range&&new m(u.dom).normalize(t)){u.setRng(t,u.isForward())}return t},selectorChanged:function(t,w){var u=this,v;if(!u.selectorChangedData){u.selectorChangedData={};v={};u.editor.on("NodeChange",function(A){var z=A.element,B=u.dom,x=B.getParents(z,null,B.getRoot()),y={};p(u.selectorChangedData,function(D,C){p(x,function(E){if(B.is(E,C)){if(!v[C]){p(D,function(F){F(true,{node:E,selector:C,parents:x})});v[C]=D}y[C]=D;return false}})});p(v,function(D,C){if(!y[C]){delete v[C];p(D,function(E){E(false,{node:z,selector:C,parents:x})})}})})}if(!u.selectorChangedData[t]){u.selectorChangedData[t]=[]}u.selectorChangedData[t].push(w);return u},getScrollContainer:function(){var t,u=this.dom.getRoot();while(u&&u.nodeName!="BODY"){if(u.scrollHeight>u.clientHeight){t=u;break}u=u.parentNode}return t},scrollIntoView:function(w){var z,C,D=this,v=D.dom,A=v.getRoot(),t,B;function u(H){var E=0,G=0;var F=H;while(F&&F.nodeType){E+=F.offsetLeft||0;G+=F.offsetTop||0;F=F.offsetParent}return{x:E,y:G}}if(A.nodeName!="BODY"){var x=D.getScrollContainer();if(x){z=u(w).y-u(x).y;B=x.clientHeight;t=x.scrollTop;if(z<t||z+25>t+B){x.scrollTop=z<t?z:z-B+25}return}}C=v.getViewPort(D.editor.getWin());z=v.getPos(w).y;t=C.y;B=C.h;if(z<C.y||z+25>t+B){D.editor.getWin().scrollTo(0,z<t?z:z-B+25)}},placeCaretAt:function(x,w){var y=this.editor.getDoc(),u,t;if(y.caretPositionFromPoint){t=y.caretPositionFromPoint(x,w);u=y.createRange();u.setStart(t.offsetNode,t.offset);u.collapse(true)}else{if(y.caretRangeFromPoint){u=y.caretRangeFromPoint(x,w)}else{if(y.body.createTextRange){u=y.body.createTextRange();try{u.moveToPoint(x,w);u.collapse(true)}catch(v){u.collapse(w<y.body.clientHeight)}}}}this.setRng(u)},_moveEndPoint:function(u,w,y){var t=w,x=new q(w,t);var v=this.dom.schema.getNonEmptyElements();do{if(w.nodeType==3&&k(w.nodeValue).length!==0){if(y){u.setStart(w,0)}else{u.setEnd(w,w.nodeValue.length)}return}if(v[w.nodeName]&&!/^(TD|TH)$/.test(w.nodeName)){if(y){u.setStartBefore(w)}else{if(w.nodeName=="BR"){u.setEndBefore(w)}else{u.setEndAfter(w)}}return}if(n.ie&&n.ie<11&&this.dom.isBlock(w)&&this.dom.isEmpty(w)){if(y){u.setStart(w,0)}else{u.setEnd(w,0)}return}}while((w=(y?x.next():x.prev())));if(t.nodeName=="BODY"){if(y){u.setStart(t,0)}else{u.setEnd(t,t.childNodes.length)}}},destroy:function(){this.win=null;this.controlSelection.destroy()}};return s});h("tinymce/dom/ElementUtils",["tinymce/dom/BookmarkManager","tinymce/util/Tools"],function(i,k){var l=k.each;function j(m){this.compare=function(p,o){if(p.nodeName!=o.nodeName){return false}function n(r){var s={};l(m.getAttribs(r),function(t){var u=t.nodeName.toLowerCase();if(u.indexOf("_")!==0&&u!=="style"&&u!=="data-mce-style"){s[u]=m.getAttrib(r,u)}});return s}function q(u,t){var s,r;for(r in u){if(u.hasOwnProperty(r)){s=t[r];if(typeof s=="undefined"){return false}if(u[r]!=s){return false}delete t[r]}}for(r in t){if(t.hasOwnProperty(r)){return false}}return true}if(!q(n(p),n(o))){return false}if(!q(m.parseStyle(m.getAttrib(p,"style")),m.parseStyle(m.getAttrib(o,"style")))){return false}return !i.isBookmarkNode(p)&&!i.isBookmarkNode(o)}}return j});h("tinymce/fmt/Preview",["tinymce/util/Tools"],function(i){var k=i.each;function j(q,t){var m,n,p=q.dom;var l="",o,s;s=q.settings.preview_styles;if(s===false){return""}if(!s){s="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}function r(u){return u.replace(/%(\w+)/g,"")}if(typeof t=="string"){t=q.formatter.get(t);if(!t){return}t=t[0]}m=t.block||t.inline||"span";n=p.create(m);k(t.styles,function(v,u){v=r(v);if(v){p.setStyle(n,u,v)}});k(t.attributes,function(v,u){v=r(v);if(v){p.setAttrib(n,u,v)}});k(t.classes,function(u){u=r(u);if(!p.hasClass(n,u)){p.addClass(n,u)}});q.fire("PreviewFormats");p.setStyles(n,{position:"absolute",left:-65535});q.getBody().appendChild(n);o=p.getStyle(q.getBody(),"fontSize",true);o=/px$/.test(o)?parseInt(o,10):0;k(s.split(" "),function(u){var v=p.getStyle(n,u,true);if(u=="background-color"&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(v)){v=p.getStyle(q.getBody(),u,true);if(p.toHex(v).toLowerCase()=="#ffffff"){return}}if(u=="color"){if(p.toHex(v).toLowerCase()=="#000000"){return}}if(u=="font-size"){if(/em|%$/.test(v)){if(o===0){return}v=parseFloat(v,10)/(/%$/.test(v)?100:1);v=(v*o)+"px"}}if(u=="border"&&v){l+="padding:0 2px;"}l+=u+":"+v+";"});q.fire("AfterPreviewFormats");p.remove(n);return l}return{getCssText:j}});h("tinymce/Formatter",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/ElementUtils","tinymce/util/Tools","tinymce/fmt/Preview"],function(l,m,i,k,j,n){return function(av){var ah={},p=av.dom,I=av.selection,ae=new m(p),r=av.schema.isValidChild,Y=p.isBlock,B=av.settings.forced_root_block,K=p.nodeIndex,W="\uFEFF",s=/^(src|href|style)$/,ap=false,S=true,ag,T,N=p.getContentEditable,X,z,ab=i.isBookmarkNode;var ak=j.each,at=j.grep,F=j.walk,G=j.extend;function Z(aw){if(aw.nodeType){aw=aw.nodeName}return !!av.schema.getTextBlockElements()[aw.toLowerCase()]}function am(aw){return/^(TH|TD)$/.test(aw.nodeName)}function C(ax,aw){return p.getParents(ax,aw,p.getRoot())}function o(aw){return aw.nodeType===1&&aw.id==="_mce_caret"}function x(){A({valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:false,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:false,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"right"}}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:true},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:true},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:true,remove_similar:true},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:true,remove_similar:true},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:true,deep:true,onmatch:function(){return true},onformat:function(ay,aw,ax){ak(ax,function(aA,az){p.setAttrib(ay,az,aA)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:true,expand:false,block_expand:true,deep:true},{selector:"span",attributes:["style","class"],remove:"empty",split:true,expand:false,deep:true},{selector:"*",attributes:["style","class"],split:false,expand:false,deep:true}]});ak("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),function(aw){A(aw,{block:aw,remove:"all"})});A(av.settings.formats)}function ao(){av.addShortcut("meta+b","bold_desc","Bold");av.addShortcut("meta+i","italic_desc","Italic");av.addShortcut("meta+u","underline_desc","Underline");for(var aw=1;aw<=6;aw++){av.addShortcut("access+"+aw,"",["FormatBlock",false,"h"+aw])}av.addShortcut("access+7","",["FormatBlock",false,"p"]);av.addShortcut("access+8","",["FormatBlock",false,"div"]);av.addShortcut("access+9","",["FormatBlock",false,"address"])}function an(aw){return aw?ah[aw]:ah}function A(aw,ax){if(aw){if(typeof aw!=="string"){ak(aw,function(az,ay){A(ay,az)})}else{ax=ax.length?ax:[ax];ak(ax,function(ay){if(ay.deep===T){ay.deep=!ay.selector}if(ay.split===T){ay.split=!ay.selector||ay.inline}if(ay.remove===T&&ay.selector&&!ay.inline){ay.remove="none"}if(ay.selector&&ay.inline){ay.mixed=true;ay.block_expand=true}if(typeof ay.classes==="string"){ay.classes=ay.classes.split(/\s+/)}});ah[aw]=ax}}}function O(aw){if(aw&&ah[aw]){delete ah[aw]}return ah}function w(ax){var aw;av.dom.getParent(ax,function(ay){aw=av.dom.getStyle(ay,"text-decoration");return aw&&aw!=="none"});return aw}function ac(aw){var ax;if(aw.nodeType===1&&aw.parentNode&&aw.parentNode.nodeType===1){ax=w(aw.parentNode);if(av.dom.getStyle(aw,"color")&&ax){av.dom.setStyle(aw,"text-decoration",ax)}else{if(av.dom.getStyle(aw,"text-decoration")===ax){av.dom.setStyle(aw,"text-decoration",null)}}}}function ar(ay,aE,aA){var aB=an(ay),aF=aB[0],aD,ax,aC=!aA&&I.isCollapsed();function aw(aK,aI){aI=aI||aF;if(aK){if(aI.onformat){aI.onformat(aK,aI,aE,aA)}ak(aI.styles,function(aM,aL){p.setStyle(aK,aL,H(aM,aE))});if(aI.styles){var aJ=p.getAttrib(aK,"style");if(aJ){aK.setAttribute("data-mce-style",aJ)}}ak(aI.attributes,function(aM,aL){p.setAttrib(aK,aL,H(aM,aE))});ak(aI.classes,function(aL){aL=H(aL,aE);if(!p.hasClass(aK,aL)){p.addClass(aK,aL)}})}}function az(){function aK(aQ,aO){var aP=new l(aO);for(aA=aP.current();aA;aA=aP.prev()){if(aA.childNodes.length>1||aA==aQ||aA.tagName=="BR"){return aA}}}var aJ=av.selection.getRng();var aN=aJ.startContainer;var aI=aJ.endContainer;if(aN!=aI&&aJ.endOffset===0){var aM=aK(aN,aI);var aL=aM.nodeType==3?aM.length:aM.childNodes.length;aJ.setEnd(aM,aL)}return aJ}function aG(aJ,aL,aO){var aI=[],aN,aK,aM=true;aN=aF.inline||aF.block;aK=p.create(aN);aw(aK);ae.walk(aJ,function(aP){var aQ;function aR(aS){var aX,aV,aT,aU,aW;aW=aM;aX=aS.nodeName.toLowerCase();aV=aS.parentNode.nodeName.toLowerCase();if(aS.nodeType===1&&N(aS)){aW=aM;aM=N(aS)==="true";aU=true}if(u(aX,"br")){aQ=0;if(aF.block){p.remove(aS)}return}if(aF.wrapper&&P(aS,ay,aE)){aQ=0;return}if(aM&&!aU&&aF.block&&!aF.wrapper&&Z(aX)&&r(aV,aN)){aS=p.rename(aS,aN);aw(aS);aI.push(aS);aQ=0;return}if(aF.selector){ak(aB,function(aY){if("collapsed" in aY&&aY.collapsed!==aC){return}if(p.is(aS,aY.selector)&&!o(aS)){aw(aS,aY);aT=true}});if(!aF.inline||aT){aQ=0;return}}if(aM&&!aU&&r(aN,aX)&&r(aV,aN)&&!(!aO&&aS.nodeType===3&&aS.nodeValue.length===1&&aS.nodeValue.charCodeAt(0)===65279)&&!o(aS)&&(!aF.inline||!Y(aS))){if(!aQ){aQ=p.clone(aK,ap);aS.parentNode.insertBefore(aQ,aS);aI.push(aQ)}aQ.appendChild(aS)}else{aQ=0;ak(at(aS.childNodes),aR);if(aU){aM=aW}aQ=0}}ak(aP,aR)});if(aF.links===true){ak(aI,function(aP){function aQ(aR){if(aR.nodeName==="A"){aw(aR,aF)}ak(at(aR.childNodes),aQ)}aQ(aP)})}ak(aI,function(aR){var aP;function aS(aU){var aT=0;ak(aU.childNodes,function(aV){if(!t(aV)&&!ab(aV)){aT++}});return aT}function aQ(aT){var aV,aU;ak(aT.childNodes,function(aW){if(aW.nodeType==1&&!ab(aW)&&!o(aW)){aV=aW;return ap}});if(aV&&!ab(aV)&&v(aV,aF)){aU=p.clone(aV,ap);aw(aU);p.replace(aU,aT,S);p.remove(aV,1)}return aU||aT}aP=aS(aR);if((aI.length>1||!Y(aR))&&aP===0){p.remove(aR,1);return}if(aF.inline||aF.wrapper){if(!aF.exact&&aP===1){aR=aQ(aR)}ak(aB,function(aT){ak(p.select(aT.inline,aR),function(aU){if(ab(aU)){return}au(aT,aE,aU,aT.exact?aU:null)})});if(P(aR.parentNode,ay,aE)){p.remove(aR,1);aR=0;return S}if(aF.merge_with_parents){p.getParent(aR.parentNode,function(aT){if(P(aT,ay,aE)){p.remove(aR,1);aR=0;return S}})}if(aR&&aF.merge_siblings!==false){aR=L(U(aR),aR);aR=L(aR,U(aR,S))}}})}if(aF){if(aA){if(aA.nodeType){ax=p.createRng();ax.setStartBefore(aA);ax.setEndAfter(aA);aG(E(ax,aB),null,true)}else{aG(aA,null,true)}}else{if(!aC||!aF.inline||p.select("td.mce-item-selected,th.mce-item-selected").length){var aH=av.selection.getNode();if(!B&&aB[0].defaultBlock&&!p.getParent(aH,p.isBlock)){ar(aB[0].defaultBlock)}av.selection.setRng(az());aD=I.getBookmark();aG(E(I.getRng(S),aB),aD);if(aF.styles&&(aF.styles.color||aF.styles.textDecoration)){F(aH,ac,"childNodes");ac(aH)}I.moveToBookmark(aD);ai(I.getRng(S));av.nodeChanged()}else{al("apply",ay,aE)}}}}function R(ay,aH,aA,aD){var aB=an(ay),aJ=aB[0],aF,ax,aG=true;function az(aO){var aN,aM,aL,aQ,aP;if(aO.nodeType===1&&N(aO)){aQ=aG;aG=N(aO)==="true";aP=true}aN=at(aO.childNodes);if(aG&&!aP){for(aM=0,aL=aB.length;aM<aL;aM++){if(au(aB[aM],aH,aO,aO)){break}}}if(aJ.deep){if(aN.length){for(aM=0,aL=aN.length;aM<aL;aM++){az(aN[aM])}if(aP){aG=aQ}}}}function aC(aL){var aM;ak(C(aL.parentNode).reverse(),function(aN){var aO;if(!aM&&aN.id!="_start"&&aN.id!="_end"){aO=P(aN,ay,aH,aD);if(aO&&aO.split!==false){aM=aN}}});return aM}function aw(aP,aL,aQ,aT){var aU,aS,aR,aN,aO,aM;if(aP){aM=aP.parentNode;for(aU=aL.parentNode;aU&&aU!=aM;aU=aU.parentNode){aS=p.clone(aU,ap);for(aO=0;aO<aB.length;aO++){if(au(aB[aO],aH,aS,aS)){aS=0;break}}if(aS){if(aR){aS.appendChild(aR)}if(!aN){aN=aS}aR=aS}}if(aT&&(!aJ.mixed||!Y(aP))){aL=p.split(aP,aL)}if(aR){aQ.parentNode.insertBefore(aR,aQ);aN.appendChild(aQ)}}return aL}function aI(aL){return aw(aC(aL),aL,aL,true)}function aE(aN){var aM=p.get(aN?"_start":"_end"),aL=aM[aN?"firstChild":"lastChild"];if(ab(aL)){aL=aL[aN?"firstChild":"lastChild"]}if(aL.nodeType==3&&aL.data.length===0){aL=aN?aM.previousSibling||aM.nextSibling:aM.nextSibling||aM.previousSibling}p.remove(aM,true);return aL}function aK(aL){var aM,aN;var aO=aL.commonAncestorContainer;aL=E(aL,aB,S);if(aJ.split){aM=ad(aL,S);aN=ad(aL);if(aM!=aN){if(/^(TR|TH|TD)$/.test(aM.nodeName)&&aM.firstChild){if(aM.nodeName=="TR"){aM=aM.firstChild.firstChild||aM}else{aM=aM.firstChild||aM}}if(aO&&/^T(HEAD|BODY|FOOT|R)$/.test(aO.nodeName)&&am(aN)&&aN.firstChild){aN=aN.firstChild||aN}if(p.isChildOf(aM,aN)&&!am(aM)&&!am(aN)){aM=aj(aM,"span",{id:"_start","data-mce-type":"bookmark"});aI(aM);aM=aE(S);return}else{aM=aj(aM,"span",{id:"_start","data-mce-type":"bookmark"});aN=aj(aN,"span",{id:"_end","data-mce-type":"bookmark"});aI(aM);aI(aN);aM=aE(S);aN=aE()}}else{aM=aN=aI(aM)}aL.startContainer=aM.parentNode?aM.parentNode:aM;aL.startOffset=K(aM);aL.endContainer=aN.parentNode?aN.parentNode:aN;aL.endOffset=K(aN)+1}ae.walk(aL,function(aP){ak(aP,function(aQ){az(aQ);if(aQ.nodeType===1&&av.dom.getStyle(aQ,"text-decoration")==="underline"&&aQ.parentNode&&w(aQ.parentNode)==="underline"){au({deep:false,exact:true,inline:"span",styles:{textDecoration:"underline"}},null,aQ)}})})}if(aA){if(aA.nodeType){ax=p.createRng();ax.setStartBefore(aA);ax.setEndAfter(aA);aK(ax)}else{aK(aA)}return}if(!I.isCollapsed()||!aJ.inline||p.select("td.mce-item-selected,th.mce-item-selected").length){aF=I.getBookmark();aK(I.getRng(S));I.moveToBookmark(aF);if(aJ.inline&&y(ay,aH,I.getStart())){ai(I.getRng(true))}av.nodeChanged()}else{al("remove",ay,aH,aD)}}function V(ax,az,ay){var aw=an(ax);if(y(ax,az,ay)&&(!("toggle" in aw[0])||aw[0].toggle)){R(ax,az,ay)}else{ar(ax,az,ay)}}function P(ax,aw,aC,aA){var ay=an(aw),aD,aB,az;function aE(aI,aK,aL){var aH,aJ,aF=aK[aL],aG;if(aK.onmatch){return aK.onmatch(aI,aK,aL)}if(aF){if(aF.length===T){for(aH in aF){if(aF.hasOwnProperty(aH)){if(aL==="attributes"){aJ=p.getAttrib(aI,aH)}else{aJ=af(aI,aH)}if(aA&&!aJ&&!aK.exact){return}if((!aA||aK.exact)&&!u(aJ,J(H(aF[aH],aC),aH))){return}}}}else{for(aG=0;aG<aF.length;aG++){if(aL==="attributes"?p.getAttrib(aI,aF[aG]):af(aI,aF[aG])){return aK}}}}return aK}if(ay&&ax){for(aB=0;aB<ay.length;aB++){aD=ay[aB];if(v(ax,aD)&&aE(ax,aD,"attributes")&&aE(ax,aD,"styles")){if((az=aD.classes)){for(aB=0;aB<az.length;aB++){if(!p.hasClass(ax,az[aB])){return}}}return aD}}}}function y(ay,aA,az){var ax;function aw(aC){var aB=p.getRoot();if(aC===aB){return false}aC=p.getParent(aC,function(aD){return aD.parentNode===aB||!!P(aD,ay,aA,true)});return P(aC,ay,aA)}if(az){return aw(az)}az=I.getNode();if(aw(az)){return S}ax=I.getStart();if(ax!=az){if(aw(ax)){return S}}return ap}function M(aA,az){var ax,ay=[],aw={};ax=I.getStart();p.getParent(ax,function(aD){var aC,aB;for(aC=0;aC<aA.length;aC++){aB=aA[aC];if(!aw[aB]&&P(aD,aB,az)){aw[aB]=true;ay.push(aB)}}},p.getRoot());return ay}function Q(aA){var aC=an(aA),az,ay,aB,ax,aw;if(aC){az=I.getStart();ay=C(az);for(ax=aC.length-1;ax>=0;ax--){aw=aC[ax].selector;if(!aw||aC[ax].defaultBlock){return S}for(aB=ay.length-1;aB>=0;aB--){if(p.is(ay[aB],aw)){return S}}}}return ap}function aa(aw,az,ax){var ay;if(!ag){ag={};ay={};av.on("NodeChange",function(aB){var aA=C(aB.element),aC={};aA=j.grep(aA,function(aD){return aD.nodeType==1&&!aD.getAttribute("data-mce-bogus")});ak(ag,function(aD,aE){ak(aA,function(aF){if(P(aF,aE,{},aD.similar)){if(!ay[aE]){ak(aD,function(aG){aG(true,{node:aF,format:aE,parents:aA})});ay[aE]=aD}aC[aE]=aD;return false}})});ak(ay,function(aD,aE){if(!aC[aE]){delete ay[aE];ak(aD,function(aF){aF(false,{node:aB.element,format:aE,parents:aA})})}})})}ak(aw.split(","),function(aA){if(!ag[aA]){ag[aA]=[];ag[aA].similar=ax}ag[aA].push(az)});return this}function aq(aw){return n.getCssText(av,aw)}G(this,{get:an,register:A,unregister:O,apply:ar,remove:R,toggle:V,match:y,matchAll:M,matchNode:P,canApply:Q,formatChanged:aa,getCssText:aq});x();ao();av.on("BeforeGetContent",function(aw){if(z&&aw.format!="raw"){z()}});av.on("mouseup keydown",function(aw){if(X){X(aw)}});function v(aw,ax){if(u(aw,ax.inline)){return S}if(u(aw,ax.block)){return S}if(ax.selector){return aw.nodeType==1&&p.is(aw,ax.selector)}}function u(ax,aw){ax=ax||"";aw=aw||"";ax=""+(ax.nodeName||ax);aw=""+(aw.nodeName||aw);return ax.toLowerCase()==aw.toLowerCase()}function af(ax,aw){return J(p.getStyle(ax,aw),aw)}function J(ax,aw){if(aw=="color"||aw=="backgroundColor"){ax=p.toHex(ax)}if(aw=="fontWeight"&&ax==700){ax="bold"}if(aw=="fontFamily"){ax=ax.replace(/[\'\"]/g,"").replace(/,\s+/g,",")}return""+ax}function H(aw,ax){if(typeof aw!="string"){aw=aw(ax)}else{if(ax){aw=aw.replace(/%(\w+)/g,function(az,ay){return ax[ay]||az})}}return aw}function t(aw){return aw&&aw.nodeType===3&&/^([\t \r\n]+|)$/.test(aw.nodeValue)}function aj(ay,ax,aw){var az=p.create(ax,aw);ay.parentNode.insertBefore(az,ay);az.appendChild(ay);return az}function E(aw,aH,az){var aI,aC,aG,ay=aw.startContainer,aD=aw.startOffset,aL=aw.endContainer,aF=aw.endOffset;function aJ(aS){var aN,aQ,aP,aO,aM;aN=aQ=aS?ay:aL;aO=aS?"previousSibling":"nextSibling";aM=p.getRoot();function aR(aT){return aT.nodeName=="BR"&&aT.getAttribute("data-mce-bogus")&&!aT.nextSibling}if(aN.nodeType==3&&!t(aN)){if(aS?aD>0:aF<aN.nodeValue.length){return aN}}while(true){if(!aH[0].block_expand&&Y(aQ)){return aQ}for(aP=aQ[aO];aP;aP=aP[aO]){if(!ab(aP)&&!t(aP)&&!aR(aP)){return aQ}}if(aQ.parentNode==aM){aN=aQ;break}aQ=aQ.parentNode}return aN}function aB(aM,aN){if(aN===T){aN=aM.nodeType===3?aM.length:aM.childNodes.length}while(aM&&aM.hasChildNodes()){aM=aM.childNodes[aN];if(aM){aN=aM.nodeType===3?aM.length:aM.childNodes.length}}return{node:aM,offset:aN}}if(ay.nodeType==1&&ay.hasChildNodes()){aI=ay.childNodes.length-1;ay=ay.childNodes[aD>aI?aI:aD];if(ay.nodeType==3){aD=0}}if(aL.nodeType==1&&aL.hasChildNodes()){aI=aL.childNodes.length-1;aL=aL.childNodes[aF>aI?aI:aF-1];if(aL.nodeType==3){aF=aL.nodeValue.length}}function aK(aN){var aM=aN;while(aM){if(aM.nodeType===1&&N(aM)){return N(aM)==="false"?aM:aN}aM=aM.parentNode}return aN}function aE(aN,aR,aT){var aQ,aO,aS,aM;function aP(aV,aX){var aY,aU,aW=aV.nodeValue;if(typeof aX=="undefined"){aX=aT?aW.length:0}if(aT){aY=aW.lastIndexOf(" ",aX);aU=aW.lastIndexOf("\u00a0",aX);aY=aY>aU?aY:aU;if(aY!==-1&&!az){aY++}}else{aY=aW.indexOf(" ",aX);aU=aW.indexOf("\u00a0",aX);aY=aY!==-1&&(aU===-1||aY<aU)?aY:aU}return aY}if(aN.nodeType===3){aS=aP(aN,aR);if(aS!==-1){return{container:aN,offset:aS}}aM=aN}aQ=new l(aN,p.getParent(aN,Y)||av.getBody());while((aO=aQ[aT?"prev":"next"]())){if(aO.nodeType===3){aM=aO;aS=aP(aO);if(aS!==-1){return{container:aO,offset:aS}}}else{if(Y(aO)){break}}}if(aM){if(aT){aR=0}else{aR=aM.length}return{container:aM,offset:aR}}}function aA(aN,aM){var aO,aP,aR,aQ;if(aN.nodeType==3&&aN.nodeValue.length===0&&aN[aM]){aN=aN[aM]}aO=C(aN);for(aP=0;aP<aO.length;aP++){for(aR=0;aR<aH.length;aR++){aQ=aH[aR];if("collapsed" in aQ&&aQ.collapsed!==aw.collapsed){continue}if(p.is(aO[aP],aQ.selector)){return aO[aP]}}}return aN}function ax(aO,aM){var aP,aN=p.getRoot();if(!aH[0].wrapper){aP=p.getParent(aO,aH[0].block,aN)}if(!aP){aP=p.getParent(aO.nodeType==3?aO.parentNode:aO,function(aQ){return aQ!=aN&&Z(aQ)})}if(aP&&aH[0].wrapper){aP=C(aP,"ul,ol").reverse()[0]||aP}if(!aP){aP=aO;while(aP[aM]&&!Y(aP[aM])){aP=aP[aM];if(u(aP,"br")){break}}}return aP||aO}ay=aK(ay);aL=aK(aL);if(ab(ay.parentNode)||ab(ay)){ay=ab(ay)?ay:ay.parentNode;ay=ay.nextSibling||ay;if(ay.nodeType==3){aD=0}}if(ab(aL.parentNode)||ab(aL)){aL=ab(aL)?aL:aL.parentNode;aL=aL.previousSibling||aL;if(aL.nodeType==3){aF=aL.length}}if(aH[0].inline){if(aw.collapsed){aG=aE(ay,aD,true);if(aG){ay=aG.container;aD=aG.offset}aG=aE(aL,aF);if(aG){aL=aG.container;aF=aG.offset}}aC=aB(aL,aF);if(aC.node){while(aC.node&&aC.offset===0&&aC.node.previousSibling){aC=aB(aC.node.previousSibling)}if(aC.node&&aC.offset>0&&aC.node.nodeType===3&&aC.node.nodeValue.charAt(aC.offset-1)===" "){if(aC.offset>1){aL=aC.node;aL.splitText(aC.offset-1)}}}}if(aH[0].inline||aH[0].block_expand){if(!aH[0].inline||(ay.nodeType!=3||aD===0)){ay=aJ(true)}if(!aH[0].inline||(aL.nodeType!=3||aF===aL.nodeValue.length)){aL=aJ()}}if(aH[0].selector&&aH[0].expand!==ap&&!aH[0].inline){ay=aA(ay,"previousSibling");aL=aA(aL,"nextSibling")}if(aH[0].block||aH[0].selector){ay=ax(ay,"previousSibling");aL=ax(aL,"nextSibling");if(aH[0].block){if(!Y(ay)){ay=aJ(true)}if(!Y(aL)){aL=aJ()}}}if(ay.nodeType==1){aD=K(ay);ay=ay.parentNode}if(aL.nodeType==1){aF=K(aL)+1;aL=aL.parentNode}return{startContainer:ay,startOffset:aD,endContainer:aL,endOffset:aF}}function q(aw,ax){return ax.links&&aw.tagName=="A"}function au(aC,aB,az,aw){var ay,ax,aA;if(!v(az,aC)&&!q(az,aC)){return ap}if(aC.remove!="all"){ak(aC.styles,function(aE,aD){aE=J(H(aE,aB),aD);if(typeof aD==="number"){aD=aE;aw=0}if(aC.remove_similar||(!aw||u(af(aw,aD),aE))){p.setStyle(az,aD,"")}aA=1});if(aA&&p.getAttrib(az,"style")===""){az.removeAttribute("style");az.removeAttribute("data-mce-style")}ak(aC.attributes,function(aF,aD){var aE;aF=H(aF,aB);if(typeof aD==="number"){aD=aF;aw=0}if(!aw||u(p.getAttrib(aw,aD),aF)){if(aD=="class"){aF=p.getAttrib(az,aD);if(aF){aE="";ak(aF.split(/\s+/),function(aG){if(/mce\-\w+/.test(aG)){aE+=(aE?" ":"")+aG}});if(aE){p.setAttrib(az,aD,aE);return}}}if(aD=="class"){az.removeAttribute("className")}if(s.test(aD)){az.removeAttribute("data-mce-"+aD)}az.removeAttribute(aD)}});ak(aC.classes,function(aD){aD=H(aD,aB);if(!aw||p.hasClass(aw,aD)){p.removeClass(az,aD)}});ax=p.getAttribs(az);for(ay=0;ay<ax.length;ay++){if(ax[ay].nodeName.indexOf("_")!==0){return ap}}}if(aC.remove!="none"){D(az,aC);return S}}function D(ay,az){var aw=ay.parentNode,ax;function aA(aC,aB,aD){aC=U(aC,aB,aD);return !aC||(aC.nodeName=="BR"||Y(aC))}if(az.block){if(!B){if(Y(ay)&&!Y(aw)){if(!aA(ay,ap)&&!aA(ay.firstChild,S,1)){ay.insertBefore(p.create("br"),ay.firstChild)}if(!aA(ay,S)&&!aA(ay.lastChild,ap,1)){ay.appendChild(p.create("br"))}}}else{if(aw==p.getRoot()){if(!az.list_block||!u(ay,az.list_block)){ak(at(ay.childNodes),function(aB){if(r(B,aB.nodeName.toLowerCase())){if(!ax){ax=aj(aB,B);p.setAttribs(ax,av.settings.forced_root_block_attrs)}else{ax.appendChild(aB)}}else{ax=0}})}}}}if(az.selector&&az.inline&&!u(az.inline,ay)){return}p.remove(ay,1)}function U(ax,aw,ay){if(ax){aw=aw?"nextSibling":"previousSibling";for(ax=ay?ax:ax[aw];ax;ax=ax[aw]){if(ax.nodeType==1||!t(ax)){return ax}}}}function L(aA,az){var ay,ax,aw=new k(p);function aB(aD,aC){for(ay=aD;ay;ay=ay[aC]){if(ay.nodeType==3&&ay.nodeValue.length!==0){return aD}if(ay.nodeType==1&&!ab(ay)){return ay}}return aD}if(aA&&az){aA=aB(aA,"previousSibling");az=aB(az,"nextSibling");if(aw.compare(aA,az)){for(ay=aA.nextSibling;ay&&ay!=az;){ax=ay;ay=ay.nextSibling;aA.appendChild(ax)}p.remove(az);ak(at(az.childNodes),function(aC){aA.appendChild(aC)});return aA}}return az}function ad(ax,aA){var aw,az,ay;aw=ax[aA?"startContainer":"endContainer"];az=ax[aA?"startOffset":"endOffset"];if(aw.nodeType==1){ay=aw.childNodes.length-1;if(!aA&&az){az--}aw=aw.childNodes[az>ay?ay:az]}if(aw.nodeType===3&&aA&&az>=aw.nodeValue.length){aw=new l(aw,av.getBody()).next()||aw}if(aw.nodeType===3&&!aA&&az===0){aw=new l(aw,av.getBody()).prev()||aw}return aw}function al(aG,aw,aE,aA){var aH="_mce_caret",ax=av.settings.caret_debug;function ay(aL){var aK=p.create("span",{id:aH,"data-mce-bogus":true,style:ax?"color:red":""});if(aL){aK.appendChild(av.getDoc().createTextNode(W))}return aK}function aF(aL,aK){while(aL){if((aL.nodeType===3&&aL.nodeValue!==W)||aL.childNodes.length>1){return false}if(aK&&aL.nodeType===1){aK.push(aL)}aL=aL.firstChild}return true}function aC(aK){while(aK){if(aK.id===aH){return aK}aK=aK.parentNode}}function aB(aK){var aL;if(aK){aL=new l(aK,aK);for(aK=aL.current();aK;aK=aL.next()){if(aK.nodeType===3){return aK}}}}function az(aM,aL){var aN,aK;if(!aM){aM=aC(I.getStart());if(!aM){while((aM=p.get(aH))){az(aM,false)}}}else{aK=I.getRng(true);if(aF(aM)){if(aL!==false){aK.setStartBefore(aM);aK.setEndBefore(aM)}p.remove(aM)}else{aN=aB(aM);if(aN.nodeValue.charAt(0)===W){aN.deleteData(0,1);if(aK.startContainer==aN&&aK.startOffset>0){aK.setStart(aN,aK.startOffset-1)}if(aK.endContainer==aN&&aK.endOffset>0){aK.setEnd(aN,aK.endOffset-1)}}p.remove(aM,1)}I.setRng(aK)}}function aD(){var aM,aK,aQ,aP,aN,aL,aO;aM=I.getRng(true);aP=aM.startOffset;aL=aM.startContainer;aO=aL.nodeValue;aK=aC(I.getStart());if(aK){aQ=aB(aK)}if(aO&&aP>0&&aP<aO.length&&/\w/.test(aO.charAt(aP))&&/\w/.test(aO.charAt(aP-1))){aN=I.getBookmark();aM.collapse(true);aM=E(aM,an(aw));aM=ae.split(aM);ar(aw,aE,aM);I.moveToBookmark(aN)}else{if(!aK||aQ.nodeValue!==W){aK=ay(true);aQ=aK.firstChild;aM.insertNode(aK);aP=1;ar(aw,aE,aK)}else{ar(aw,aE,aK)}I.setCursorLocation(aQ,aP)}}function aI(){var aK=I.getRng(true),aL,aO,aR,aQ,aM,aU,aT=[],aP,aS;aL=aK.startContainer;aO=aK.startOffset;aM=aL;if(aL.nodeType==3){if(aO!=aL.nodeValue.length){aQ=true}aM=aM.parentNode}while(aM){if(P(aM,aw,aE,aA)){aU=aM;break}if(aM.nextSibling){aQ=true}aT.push(aM);aM=aM.parentNode}if(!aU){return}if(aQ){aR=I.getBookmark();aK.collapse(true);aK=E(aK,an(aw),true);aK=ae.split(aK);R(aw,aE,aK);I.moveToBookmark(aR)}else{aS=ay();aM=aS;for(aP=aT.length-1;aP>=0;aP--){aM.appendChild(p.clone(aT[aP],false));aM=aM.firstChild}aM.appendChild(p.doc.createTextNode(W));aM=aM.firstChild;var aN=p.getParent(aU,Z);if(aN&&p.isEmpty(aN)){aU.parentNode.replaceChild(aS,aU)}else{p.insertAfter(aS,aU)}I.setCursorLocation(aM,1);if(p.isEmpty(aU)){p.remove(aU)}}}function aJ(){var aK;aK=aC(I.getStart());if(aK&&!p.isEmpty(aK)){F(aK,function(aL){if(aL.nodeType==1&&aL.id!==aH&&!p.isEmpty(aL)){p.setAttrib(aL,"data-mce-bogus",null)}},"childNodes")}}if(!av._hasCaretEvents){z=function(){var aK=[],aL;if(aF(aC(I.getStart()),aK)){aL=aK.length;while(aL--){p.setAttrib(aK[aL],"data-mce-bogus","1")}}};X=function(aL){var aK=aL.keyCode;az();if((aK==8&&I.isCollapsed())||aK==37||aK==39){az(aC(I.getStart()))}aJ()};av.on("SetContent",function(aK){if(aK.selection){aJ()}});av._hasCaretEvents=true}if(aG=="apply"){aD()}else{aI()}}function ai(ax){var aw=ax.startContainer,aD=ax.startOffset,az,aC,aB,ay,aA;if(aw.nodeType==3&&aD>=aw.nodeValue.length){aD=K(aw);aw=aw.parentNode;az=true}if(aw.nodeType==1){ay=aw.childNodes;aw=ay[Math.min(aD,ay.length-1)];aC=new l(aw,p.getParent(aw,p.isBlock));if(aD>ay.length-1||az){aC.next()}for(aB=aC.current();aB;aB=aC.next()){if(aB.nodeType==3&&!t(aB)){aA=p.create("a",{"data-mce-bogus":"all"},W);aB.parentNode.insertBefore(aA,aB);ax.setStart(aB,0);I.setRng(ax);p.remove(aA);return}}}}}});h("tinymce/UndoManager",["tinymce/util/VK","tinymce/Env","tinymce/util/Tools","tinymce/html/SaxParser"],function(n,k,l,j){var i=l.trim,m;m=new RegExp(["<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\\/span>",'\\s?data-mce-selected="[^"]+"'].join("|"),"gi");return function(t){var x=this,u=0,q=[],r,v,w=0;function o(){var D=t.getContent({format:"raw",no_events:1});var B=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g;var y,z,F,E,A,C=t.schema;D=D.replace(m,"");A=C.getShortEndedElements();while((E=B.exec(D))){z=B.lastIndex;F=E[0].length;if(A[E[1]]){y=z}else{y=j.findEndTag(C,D,z)}D=D.substring(0,z-F)+D.substring(y);B.lastIndex=z-F}return i(D)}function s(y){t.isNotDirty=!y}function p(y){x.typing=false;x.add({},y)}t.on("init",function(){x.add()});t.on("BeforeExecCommand",function(z){var y=z.command;if(y!="Undo"&&y!="Redo"&&y!="mceRepaint"){x.beforeChange()}});t.on("ExecCommand",function(z){var y=z.command;if(y!="Undo"&&y!="Redo"&&y!="mceRepaint"){p(z)}});t.on("ObjectResizeStart",function(){x.beforeChange()});t.on("SaveContent ObjectResized blur",p);t.on("DragEnd",p);t.on("KeyUp",function(z){var y=z.keyCode;if((y>=33&&y<=36)||(y>=37&&y<=40)||y==45||y==13||z.ctrlKey){p();t.nodeChanged()}if(y==46||y==8||(k.mac&&(y==91||y==93))){t.nodeChanged()}if(v&&x.typing){if(!t.isDirty()){s(q[0]&&o()!=q[0].content);if(!t.isNotDirty){t.fire("change",{level:q[0],lastLevel:null})}}t.fire("TypingUndo");v=false;t.nodeChanged()}});t.on("KeyDown",function(A){var z=A.keyCode;if((z>=33&&z<=36)||(z>=37&&z<=40)||z==45){if(x.typing){p(A)}return}var y=(A.ctrlKey&&!A.altKey)||A.metaKey;if((z<16||z>20)&&z!=224&&z!=91&&!x.typing&&!y){x.beforeChange();x.typing=true;x.add({},A);v=true}});t.on("MouseDown",function(y){if(x.typing){p(y)}});t.addShortcut("meta+z","","Undo");t.addShortcut("meta+y,meta+shift+z","","Redo");t.on("AddUndo Undo Redo ClearUndos",function(y){if(!y.isDefaultPrevented()){t.nodeChanged()}});x={data:q,typing:false,beforeChange:function(){if(!w){r=t.selection.getBookmark(2,true)}},add:function(D,C){var z,A=t.settings,B;D=D||{};D.content=o();if(w||t.removed){return null}B=q[u];if(t.fire("BeforeAddUndo",{level:D,lastLevel:B,originalEvent:C}).isDefaultPrevented()){return null}if(B&&B.content==D.content){return null}if(q[u]){q[u].beforeBookmark=r}if(A.custom_undo_redo_levels){if(q.length>A.custom_undo_redo_levels){for(z=0;z<q.length-1;z++){q[z]=q[z+1]}q.length--;u=q.length}}D.bookmark=t.selection.getBookmark(2,true);if(u<q.length-1){q.length=u+1}q.push(D);u=q.length-1;var y={level:D,lastLevel:B,originalEvent:C};t.fire("AddUndo",y);if(u>0){s(true);t.fire("change",y)}return D},undo:function(){var y;if(x.typing){x.add();x.typing=false}if(u>0){y=q[--u];if(u===0){s(false)}t.setContent(y.content,{format:"raw"});t.selection.moveToBookmark(y.beforeBookmark);t.fire("undo",{level:y})}return y},redo:function(){var y;if(u<q.length-1){y=q[++u];t.setContent(y.content,{format:"raw"});t.selection.moveToBookmark(y.bookmark);s(true);t.fire("redo",{level:y})}return y},clear:function(){q=[];u=0;x.typing=false;t.fire("ClearUndos")},hasUndo:function(){return u>0||(x.typing&&q[0]&&o()!=q[0].content)},hasRedo:function(){return u<q.length-1&&!this.typing},transact:function(y){x.beforeChange();try{w++;y()}finally{w--}x.add()}};return x}});h("tinymce/EnterKey",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/Env"],function(j,l,i){var k=i.ie&&i.ie<11;return function(r){var o=r.dom,s=r.selection,m=r.settings;var u=r.undoManager,n=r.schema,p=n.getNonEmptyElements(),t=n.getMoveCaretBeforeOnEnterElements();function q(M){var H,R,v,L,G,B,X,N,A,w,z,F,U,J,O;function P(Y){return Y&&o.isBlock(Y)&&!/^(TD|TH|CAPTION|FORM)$/.test(Y.nodeName)&&!/^(fixed|absolute)/i.test(Y.style.position)&&o.getContentEditable(Y)!=="true"}function Q(Z){var Y;if(o.isBlock(Z)){Y=s.getRng();Z.appendChild(o.create("span",null,"\u00a0"));s.select(Z);Z.lastChild.outerHTML="";s.setRng(Y)}}function K(aa){var Z=aa,ab=[],Y;if(!Z){return}while((Z=Z.firstChild)){if(o.isBlock(Z)){return}if(Z.nodeType==1&&!p[Z.nodeName.toLowerCase()]){ab.push(Z)}}Y=ab.length;while(Y--){Z=ab[Y];if(!Z.hasChildNodes()||(Z.firstChild==Z.lastChild&&Z.firstChild.nodeValue==="")){o.remove(Z)}else{if(Z.nodeName=="A"&&(Z.innerText||Z.textContent)===" "){o.remove(Z)}}}}function y(Z){var af,ac,Y,ab=Z,aa;function ae(ag){while(ag){if(ag.nodeType==1||(ag.nodeType==3&&ag.data&&/[\r\n\s]/.test(ag.data))){return ag}ag=ag.nextSibling}}if(!Z){return}if(i.ie&&i.ie<9&&B&&B.firstChild){if(B.firstChild==B.lastChild&&B.firstChild.tagName=="BR"){o.remove(B.firstChild)}}if(/^(LI|DT|DD)$/.test(Z.nodeName)){var ad=ae(Z.firstChild);if(ad&&/^(UL|OL|DL)$/.test(ad.nodeName)){Z.insertBefore(o.doc.createTextNode("\u00a0"),Z.firstChild)}}Y=o.createRng();if(!i.ie){Z.normalize()}if(Z.hasChildNodes()){af=new j(Z,Z);while((ac=af.current())){if(ac.nodeType==3){Y.setStart(ac,0);Y.setEnd(ac,0);break}if(t[ac.nodeName.toLowerCase()]){Y.setStartBefore(ac);Y.setEndBefore(ac);break}ab=ac;ac=af.next()}if(!ac){Y.setStart(ab,0);Y.setEnd(ab,0)}}else{if(Z.nodeName=="BR"){if(Z.nextSibling&&o.isBlock(Z.nextSibling)){if(!X||X<9){aa=o.create("br");Z.parentNode.insertBefore(aa,Z)}Y.setStartBefore(Z);Y.setEndBefore(Z)}else{Y.setStartAfter(Z);Y.setEndAfter(Z)}}else{Y.setStart(Z,0);Y.setEnd(Z,0)}}s.setRng(Y);o.remove(aa);s.scrollIntoView(Z)}function I(Z){var Y=m.forced_root_block;if(Y&&Y.toLowerCase()===Z.tagName.toLowerCase()){o.setAttribs(Z,m.forced_root_block_attrs)}}function D(Z){var ab=L,ad,ac,Y,aa=n.getTextInlineElements();if(Z||F=="TABLE"){ad=o.create(Z||J);I(ad)}else{ad=B.cloneNode(false)}Y=ad;if(m.keep_styles!==false){do{if(aa[ab.nodeName]){if(ab.id=="_mce_caret"){continue}ac=ab.cloneNode(false);o.setAttrib(ac,"id","");if(ad.hasChildNodes()){ac.appendChild(ad.firstChild);ad.appendChild(ac)}else{Y=ac;ad.appendChild(ac)}}}while((ab=ab.parentNode))}if(!k){Y.innerHTML='<br data-mce-bogus="1">'}return ad}function C(ab){var aa,Z,Y;if(L.nodeType==3&&(ab?G>0:G<L.nodeValue.length)){return false}if(L.parentNode==B&&O&&!ab){return true}if(ab&&L.nodeType==1&&L==B.firstChild){return true}if(L.nodeName==="TABLE"||(L.previousSibling&&L.previousSibling.nodeName=="TABLE")){return(O&&!ab)||(!O&&ab)}aa=new j(L,B);if(L.nodeType==3){if(ab&&G===0){aa.prev()}else{if(!ab&&G==L.nodeValue.length){aa.next()}}}while((Z=aa.current())){if(Z.nodeType===1){if(!Z.getAttribute("data-mce-bogus")){Y=Z.nodeName.toLowerCase();if(p[Y]&&Y!=="br"){return false}}}else{if(Z.nodeType===3&&!/^[ \t\r\n]*$/.test(Z.nodeValue)){return false}}if(ab){aa.prev()}else{aa.next()}}return true}function x(Z,ad){var af,aa,ab,ac,ae,Y,ag=J||"P";aa=o.getParent(Z,o.isBlock);Y=r.getBody().nodeName.toLowerCase();if(!aa||!P(aa)){aa=aa||v;if(!aa.hasChildNodes()){af=o.create(ag);I(af);aa.appendChild(af);H.setStart(af,0);H.setEnd(af,0);return af}ac=Z;while(ac.parentNode!=aa){ac=ac.parentNode}while(ac&&!o.isBlock(ac)){ab=ac;ac=ac.previousSibling}if(ab&&n.isValidChild(Y,ag.toLowerCase())){af=o.create(ag);I(af);ab.parentNode.insertBefore(af,ab);ac=ab;while(ac&&!o.isBlock(ac)){ae=ac.nextSibling;af.appendChild(ac);ac=ae}H.setStart(Z,ad);H.setEnd(Z,ad)}}return Z}function S(){function Z(ac){var ab=z[ac?"firstChild":"lastChild"];while(ab){if(ab.nodeType==1){break}ab=ab[ac?"nextSibling":"previousSibling"]}return ab===B}function aa(){var ab=z.parentNode;if(/^(LI|DT|DD)$/.test(ab.nodeName)){return ab}return z}var Y=z.parentNode.nodeName;if(/^(OL|UL|LI)$/.test(Y)){J="LI"}A=J?D(J):o.create("BR");if(Z(true)&&Z()){if(Y=="LI"){o.insertAfter(A,aa())}else{o.replace(A,z)}}else{if(Z(true)){if(Y=="LI"){o.insertAfter(A,aa());A.appendChild(o.doc.createTextNode(" "));A.appendChild(z)}else{z.parentNode.insertBefore(A,z)}}else{if(Z()){o.insertAfter(A,aa());Q(A)}else{z=aa();R=H.cloneRange();R.setStartAfter(B);R.setEndAfter(z);w=R.extractContents();if(J=="LI"&&w.firstChild.nodeName=="LI"){A=w.firstChild;o.insertAfter(w,z)}else{o.insertAfter(w,z);o.insertAfter(A,z)}}}}o.remove(B);y(A);u.add()}function W(){r.execCommand("InsertLineBreak",false,M)}function E(Y){do{if(Y.nodeType===3){Y.nodeValue=Y.nodeValue.replace(/^[\r\n]+/,"")}Y=Y.firstChild}while(Y)}function V(aa){var Y=o.getRoot(),Z,ab;Z=aa;while(Z!==Y&&o.getContentEditable(Z)!=="false"){if(o.getContentEditable(Z)==="true"){ab=Z}Z=Z.parentNode}return Z!==Y?ab:Y}function T(Z){var Y;if(!k){Z.normalize();Y=Z.lastChild;if(!Y||(/^(left|right)$/gi.test(o.getStyle(Y,"float",true)))){o.add(Z,"br")}}}H=s.getRng(true);if(M.isDefaultPrevented()){return}if(!H.collapsed){r.execCommand("Delete");return}new l(o).normalize(H);L=H.startContainer;G=H.startOffset;J=(m.force_p_newlines?"p":"")||m.forced_root_block;J=J?J.toUpperCase():"";X=o.doc.documentMode;N=M.shiftKey;if(L.nodeType==1&&L.hasChildNodes()){O=G>L.childNodes.length-1;L=L.childNodes[Math.min(G,L.childNodes.length-1)]||L;if(O&&L.nodeType==3){G=L.nodeValue.length}else{G=0}}v=V(L);if(!v){return}u.beforeChange();if(!o.isBlock(v)&&v!=o.getRoot()){if(!J||N){W()}return}if((J&&!N)||(!J&&N)){L=x(L,G)}B=o.getParent(L,o.isBlock);z=B?o.getParent(B.parentNode,o.isBlock):null;F=B?B.nodeName.toUpperCase():"";U=z?z.nodeName.toUpperCase():"";if(U=="LI"&&!M.ctrlKey){B=z;F=U}if(/^(LI|DT|DD)$/.test(F)){if(!J&&N){W();return}if(o.isEmpty(B)){S();return}}if(F=="PRE"&&m.br_in_pre!==false){if(!N){W();return}}else{if((!J&&!N&&F!="LI")||(J&&N)){W();return}}if(J&&B===r.getBody()){return}J=J||"P";if(C()){if(/^(H[1-6]|PRE|FIGURE)$/.test(F)&&U!="HGROUP"){A=D(J)}else{A=D()}if(m.end_container_on_empty_block&&P(z)&&o.isEmpty(B)){A=o.split(z,B)}else{o.insertAfter(A,B)}y(A)}else{if(C(true)){A=B.parentNode.insertBefore(D(),B);Q(A);y(B)}else{R=H.cloneRange();R.setEndAfter(B);w=R.extractContents();E(w);A=w.firstChild;o.insertAfter(w,B);K(A);T(B);y(A)}}o.setAttrib(A,"id","");r.fire("NewBlock",{newBlock:A});u.add()}r.on("keydown",function(v){if(v.keyCode==13){if(q(v)!==false){v.preventDefault()}}})}});h("tinymce/ForceBlocks",[],function(){return function(k){var j=k.settings,n=k.dom,i=k.selection;var m=k.schema,l=m.getBlockElements();function o(){var u=i.getStart(),s=k.getBody(),p;var v,A,E,C,t;var w,x=-16777215,B,q;var D,r,z;z=j.forced_root_block;if(!u||u.nodeType!==1||!z){return}while(u&&u!=s){if(l[u.nodeName]){return}u=u.parentNode}p=i.getRng();if(p.setStart){v=p.startContainer;A=p.startOffset;E=p.endContainer;C=p.endOffset;try{q=k.getDoc().activeElement===s}catch(y){}}else{if(p.item){u=p.item(0);p=k.getDoc().body.createTextRange();p.moveToElementText(u)}q=p.parentElement().ownerDocument===k.getDoc();D=p.duplicate();D.collapse(true);A=D.move("character",x)*-1;if(!D.collapsed){D=p.duplicate();D.collapse(false);C=(D.move("character",x)*-1)-A}}u=s.firstChild;r=s.nodeName.toLowerCase();while(u){if(((u.nodeType===3||(u.nodeType==1&&!l[u.nodeName])))&&m.isValidChild(r,z.toLowerCase())){if(u.nodeType===3&&u.nodeValue.length===0){w=u;u=u.nextSibling;n.remove(w);continue}if(!t){t=n.create(z,k.settings.forced_root_block_attrs);u.parentNode.insertBefore(t,u);B=true}w=u;u=u.nextSibling;t.appendChild(w)}else{t=null;u=u.nextSibling}}if(B&&q){if(p.setStart){p.setStart(v,A);p.setEnd(E,C);i.setRng(p)}else{try{p=k.getDoc().body.createTextRange();p.moveToElementText(s);p.collapse(true);p.moveStart("character",A);if(C>0){p.moveEnd("character",C)}p.select()}catch(y){}}k.nodeChanged()}}if(j.forced_root_block){k.on("NodeChange",o)}}});h("tinymce/EditorCommands",["tinymce/html/Serializer","tinymce/Env","tinymce/util/Tools","tinymce/dom/ElementUtils","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker"],function(t,r,m,k,p,w){var v=m.each,s=m.extend;var j=m.map,x=m.inArray,u=m.explode;var i=r.gecko,l=r.ie,o=r.ie&&r.ie<11;var n=true,q=false;return function(B){var M,S,L,E={state:{},exec:{},value:{}},O=B.settings,F;B.on("PreInit",function(){M=B.dom;S=B.selection;O=B.settings;L=B.formatter});function N(aa,Z,Y,T){var V,X,W=0;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(aa)&&(!T||!T.skip_focus)){B.focus()}T=s({},T);T=B.fire("BeforeExecCommand",{command:aa,ui:Z,value:Y});if(T.isDefaultPrevented()){return false}X=aa.toLowerCase();if((V=E.exec[X])){V(X,Z,Y);B.fire("ExecCommand",{command:aa,ui:Z,value:Y});return true}v(B.plugins,function(ab){if(ab.execCommand&&ab.execCommand(aa,Z,Y)){B.fire("ExecCommand",{command:aa,ui:Z,value:Y});W=true;return false}});if(W){return W}if(B.theme&&B.theme.execCommand&&B.theme.execCommand(aa,Z,Y)){B.fire("ExecCommand",{command:aa,ui:Z,value:Y});return true}try{W=B.getDoc().execCommand(aa,Z,Y)}catch(U){}if(W){B.fire("ExecCommand",{command:aa,ui:Z,value:Y});return true}return false}function D(V){var U;if(B._isHidden()){return}V=V.toLowerCase();if((U=E.state[V])){return U(V)}try{return B.getDoc().queryCommandState(V)}catch(T){}return false}function K(V){var U;if(B._isHidden()){return}V=V.toLowerCase();if((U=E.value[V])){return U(V)}try{return B.getDoc().queryCommandValue(V)}catch(T){}}function I(T,U){U=U||"exec";v(T,function(W,V){v(V.toLowerCase().split(","),function(X){E[U][X]=W})})}function H(U,V,T){U=U.toLowerCase();E.exec[U]=function(Z,Y,X,W){return V.call(T||B,Y,X,W)}}function Q(U){U=U.toLowerCase();if(E.exec[U]){return true}try{return B.getDoc().queryCommandSupported(U)}catch(T){}return false}function y(U,V,T){U=U.toLowerCase();E.state[U]=function(){return V.call(T||B)}}function z(U,V,T){U=U.toLowerCase();E.value[U]=function(){return V.call(T||B)}}function A(T){T=T.toLowerCase();return !!E.exec[T]}s(this,{execCommand:N,queryCommandState:D,queryCommandValue:K,queryCommandSupported:Q,addCommands:I,addCommand:H,addQueryStateHandler:y,addQueryValueHandler:z,hasCustomCommand:A});function C(V,U,T){if(U===g){U=q}if(T===g){T=null}return B.getDoc().execCommand(V,U,T)}function P(T){return L.match(T)}function R(T,U){L.toggle(T,U?{value:U}:g);B.nodeChanged()}function J(T){F=S.getBookmark(T)}function G(){S.moveToBookmark(F)}I({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){B.undoManager.add()},"Cut,Copy,Paste":function(X){var V=B.getDoc(),T;try{C(X)}catch(U){T=n}if(T||!V.queryCommandSupported(X)){var W=B.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");if(r.mac){W=W.replace(/Ctrl\+/g,"\u2318+")}B.windowManager.alert(W)}},unlink:function(){if(S.isCollapsed()){var T=S.getNode();if(T.tagName=="A"){B.dom.remove(T,true)}return}L.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(T){var U=T.substring(7);if(U=="full"){U="justify"}v("left,center,right,justify".split(","),function(V){if(U!=V){L.remove("align"+V)}});R("align"+U);N("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(V){var T,U;C(V);T=M.getParent(S.getNode(),"ol,ul");if(T){U=T.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(U.nodeName)){J();M.split(U,T);G()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(T){R(T)},"ForeColor,HiliteColor,FontName":function(V,U,T){R(V,T)},FontSize:function(W,V,U){var T,X;if(U>=1&&U<=7){X=u(O.font_size_style_values);T=u(O.font_size_classes);if(T){U=T[U-1]||U}else{U=X[U-1]||U}}R(W,U)},RemoveFormat:function(T){L.remove(T)},mceBlockQuote:function(){R("blockquote")},FormatBlock:function(V,U,T){return R(T||"p")},mceCleanup:function(){var T=S.getBookmark();B.setContent(B.getContent({cleanup:n}),{cleanup:n});S.moveToBookmark(T)},mceRemoveNode:function(W,V,U){var T=U||S.getNode();if(T!=B.getBody()){J();B.dom.remove(T,n);G()}},mceSelectNodeDepth:function(W,V,U){var T=0;M.getParent(S.getNode(),function(X){if(X.nodeType==1&&T++==U){S.select(X);return q}},B.getBody())},mceSelectNode:function(V,U,T){S.select(T)},mceInsertContent:function(Y,aj,ak){var X,an,ac,ao,U,W;var ab,aa,al,T,ae,Z;var ah=B.schema.getTextInlineElements();function am(au){var at,ar,av;at=S.getRng(true);ar=at.startContainer;av=at.startOffset;function aq(aw){return ar[aw]&&ar[aw].nodeType==3}if(ar.nodeType==3){if(av>0){au=au.replace(/^&nbsp;/," ")}else{if(!aq("previousSibling")){au=au.replace(/^ /,"&nbsp;")}}if(av<ar.length){au=au.replace(/&nbsp;(<br>|)$/," ")}else{if(!aq("nextSibling")){au=au.replace(/(&nbsp;| )(<br>|)$/,"&nbsp;")}}}return au}function V(){var ar,aq,at;ar=S.getRng(true);aq=ar.startContainer;at=ar.startOffset;if(aq.nodeType==3&&ar.collapsed){if(aq.data[at]==="\u00a0"){aq.deleteData(at,1);if(!/[\u00a0| ]$/.test(ak)){ak+=" "}}else{if(aq.data[at-1]==="\u00a0"){aq.deleteData(at-1,1);if(!/[\u00a0| ]$/.test(ak)){ak=" "+ak}}}}}function ad(aq){if(Z){for(al=aq.firstChild;al;al=al.walk(true)){if(ah[al.name]){al.attr("data-mce-new","true")}}}}function ap(){if(Z){var aq=B.getBody(),ar=new k(M);v(M.select("*[data-mce-new]"),function(au){au.removeAttribute("data-mce-new");for(var at=au.parentNode;at&&at!=aq;at=at.parentNode){if(ar.compare(at,au)){M.remove(au,true)}}})}}if(typeof ak!="string"){Z=ak.merge;ak=ak.content}if(/^ | $/.test(ak)){ak=am(ak)}X=B.parser;an=new t({},B.schema);ae='<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;&#x200B;</span>';W={content:ak,format:"html",selection:true};B.fire("BeforeSetContent",W);ak=W.content;if(ak.indexOf("{$caret}")==-1){ak+="{$caret}"}ak=ak.replace(/\{\$caret\}/,ae);aa=S.getRng();var ai=aa.startContainer||(aa.parentElement?aa.parentElement():null);var af=B.getBody();if(ai===af&&S.isCollapsed()){if(M.isBlock(af.firstChild)&&M.isEmpty(af.firstChild)){aa=M.createRng();aa.setStart(af.firstChild,0);aa.setEnd(af.firstChild,0);S.setRng(aa)}}if(!S.isCollapsed()){B.getDoc().execCommand("Delete",false,null);V()}ac=S.getNode();var ag={context:ac.nodeName.toLowerCase()};U=X.parse(ak,ag);ad(U);al=U.lastChild;if(al.attr("id")=="mce_marker"){ab=al;for(al=al.prev;al;al=al.walk(true)){if(al.type==3||!M.isBlock(al.name)){if(B.schema.isValidChild(al.parent.name,"span")){al.parent.insert(ab,al,al.name==="br")}break}}}if(!ag.invalid){ak=an.serialize(U);al=ac.firstChild;T=ac.lastChild;if(!al||(al===T&&al.nodeName==="BR")){M.setHTML(ac,ak)}else{S.setContent(ak)}}else{S.setContent(ae);ac=S.getNode();ao=B.getBody();if(ac.nodeType==9){ac=al=ao}else{al=ac}while(al!==ao){ac=al;al=al.parentNode}ak=ac==ao?ao.innerHTML:M.getOuterHTML(ac);ak=an.serialize(X.parse(ak.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return an.serialize(U)})));if(ac==ao){M.setHTML(ao,ak)}else{M.setOuterHTML(ac,ak)}}ap();ab=M.get("mce_marker");S.scrollIntoView(ab);aa=M.createRng();al=ab.previousSibling;if(al&&al.nodeType==3){aa.setStart(al,al.nodeValue.length);if(!l){T=ab.nextSibling;if(T&&T.nodeType==3){al.appendData(T.data);T.parentNode.removeChild(T)}}}else{aa.setStartBefore(ab);aa.setEndBefore(ab)}M.remove(ab);S.setRng(aa);B.fire("SetContent",W);B.addVisual()},mceInsertRawHTML:function(V,U,T){S.setContent("tiny_mce_marker");B.setContent(B.getContent().replace(/tiny_mce_marker/g,function(){return T}))},mceToggleFormat:function(V,U,T){R(T)},mceSetContent:function(V,U,T){B.setContent(T)},"Indent,Outdent":function(W){var U,T,V;U=O.indentation;T=/[a-z%]+$/i.exec(U);U=parseInt(U,10);if(!D("InsertUnorderedList")&&!D("InsertOrderedList")){if(!O.forced_root_block&&!M.getParent(S.getNode(),M.isBlock)){L.apply("div")}v(S.getSelectedBlocks(),function(Y){if(Y.nodeName!="LI"){var X=B.getParam("indent_use_margin",false)?"margin":"padding";X+=M.getStyle(Y,"direction",true)=="rtl"?"Right":"Left";if(W=="outdent"){V=Math.max(0,parseInt(Y.style[X]||0,10)-U);M.setStyle(Y,X,V?V+T:"")}else{V=(parseInt(Y.style[X]||0,10)+U)+T;M.setStyle(Y,X,V)}}})}else{C(W)}},mceRepaint:function(){if(i){try{J(n);if(S.getSel()){S.getSel().selectAllChildren(B.getBody())}S.collapse(n);G()}catch(T){}}},InsertHorizontalRule:function(){B.execCommand("mceInsertContent",false,"<hr />")},mceToggleVisualAid:function(){B.hasVisual=!B.hasVisual;B.addVisual()},mceReplaceContent:function(V,U,T){B.execCommand("mceInsertContent",false,T.replace(/\{\$selection\}/g,S.getContent({format:"text"})))},mceInsertLink:function(W,V,U){var T;if(typeof U=="string"){U={href:U}}T=M.getParent(S.getNode(),"a");U.href=U.href.replace(" ","%20");if(!T||!U.href){L.remove("link")}if(U.href){L.apply("link",U,T)}},selectAll:function(){var U=M.getRoot(),T;if(S.getRng().setStart){T=M.createRng();T.setStart(U,0);T.setEnd(U,U.childNodes.length);S.setRng(T)}else{T=S.getRng();if(!T.item){T.moveToElementText(U);T.select()}}},"delete":function(){C("Delete");var T=B.getBody();if(M.isEmpty(T)){B.setContent("");if(T.firstChild&&M.isBlock(T.firstChild)){B.selection.setCursorLocation(T.firstChild,0)}else{B.selection.setCursorLocation(T,0)}}},mceNewDocument:function(){B.setContent("")},InsertLineBreak:function(V,af,ah){var ae=ah;var T,ac,aa;var Z=S.getRng(true);new p(M).normalize(Z);var Y=Z.startOffset;var ad=Z.startContainer;if(ad.nodeType==1&&ad.hasChildNodes()){var ai=Y>ad.childNodes.length-1;ad=ad.childNodes[Math.min(Y,ad.childNodes.length-1)]||ad;if(ai&&ad.nodeType==3){Y=ad.nodeValue.length}else{Y=0}}var W=M.getParent(ad,M.isBlock);var X=W?W.nodeName.toUpperCase():"";var U=W?M.getParent(W.parentNode,M.isBlock):null;var aj=U?U.nodeName.toUpperCase():"";var ag=ae&&ae.ctrlKey;if(aj=="LI"&&!ag){W=U;X=aj}function ab(){var an=new w(ad,W),am;var al=B.schema.getNonEmptyElements();while((am=an.next())){if(al[am.nodeName.toLowerCase()]||am.length>0){return true}}}if(ad&&ad.nodeType==3&&Y>=ad.nodeValue.length){if(!o&&!ab()){T=M.create("br");Z.insertNode(T);Z.setStartAfter(T);Z.setEndAfter(T);ac=true}}T=M.create("br");Z.insertNode(T);var ak=M.doc.documentMode;if(o&&X=="PRE"&&(!ak||ak<8)){T.parentNode.insertBefore(M.doc.createTextNode("\r"),T)}aa=M.create("span",{},"&nbsp;");T.parentNode.insertBefore(aa,T);S.scrollIntoView(aa);M.remove(aa);if(!ac){Z.setStartAfter(T);Z.setEndAfter(T)}else{Z.setStartBefore(T);Z.setEndBefore(T)}S.setRng(Z);B.undoManager.add();return n}});I({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(W){var U="align"+W.substring(7);var T=S.isCollapsed()?[M.getParent(S.getNode(),M.isBlock)]:S.getSelectedBlocks();var V=j(T,function(X){return !!L.matchNode(X,U)});return x(V,n)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(T){return P(T)},mceBlockQuote:function(){return P("blockquote")},Outdent:function(){var T;if(O.inline_styles){if((T=M.getParent(S.getStart(),M.isBlock))&&parseInt(T.style.paddingLeft,10)>0){return n}if((T=M.getParent(S.getEnd(),M.isBlock))&&parseInt(T.style.paddingLeft,10)>0){return n}}return(D("InsertUnorderedList")||D("InsertOrderedList")||(!O.inline_styles&&!!M.getParent(S.getNode(),"BLOCKQUOTE")))},"InsertUnorderedList,InsertOrderedList":function(U){var T=M.getParent(S.getNode(),"ul,ol");return T&&(U==="insertunorderedlist"&&T.tagName==="UL"||U==="insertorderedlist"&&T.tagName==="OL")}},"state");I({"FontSize,FontName":function(V){var U=0,T;if((T=M.getParent(S.getNode(),"span"))){if(V=="fontsize"){U=T.style.fontSize}else{U=T.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return U}},"value");I({Undo:function(){B.undoManager.undo()},Redo:function(){B.undoManager.redo()}})}});h("tinymce/util/URI",["tinymce/util/Tools"],function(k){var n=k.each,i=k.trim;var l="source protocol authority userInfo user password host port relative path directory file query anchor".split(" ");var m={ftp:21,http:80,https:443,mailto:25};function j(q,r){var p=this,t,s;q=i(q);r=p.settings=r||{};t=r.base_uri;if(/^([\w\-]+):([^\/]{2})/i.test(q)||/^\s*#/.test(q)){p.source=q;return}var o=q.indexOf("//")===0;if(q.indexOf("/")===0&&!o){q=(t?t.protocol||"http":"http")+"://mce_host"+q}if(!/^[\w\-]*:?\/\//.test(q)){s=r.base_uri?r.base_uri.path:new j(location.href).directory;if(r.base_uri.protocol===""){q="//mce_host"+p.toAbsPath(s,q)}else{q=/([^#?]*)([#?]?.*)/.exec(q);q=((t&&t.protocol)||"http")+"://mce_host"+p.toAbsPath(s,q[1])+q[2]}}q=q.replace(/@@/g,"(mce_at)");q=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(q);n(l,function(u,x){var w=q[x];if(w){w=w.replace(/\(mce_at\)/g,"@@")}p[u]=w});if(t){if(!p.protocol){p.protocol=t.protocol}if(!p.userInfo){p.userInfo=t.userInfo}if(!p.port&&p.host==="mce_host"){p.port=t.port}if(!p.host||p.host==="mce_host"){p.host=t.host}p.source=""}if(o){p.protocol=""}}j.prototype={setPath:function(p){var o=this;p=/^(.*?)\/?(\w+)?$/.exec(p);o.path=p[0];o.directory=p[1];o.file=p[2];o.source="";o.getURI()},toRelative:function(s){var p=this,o;if(s==="./"){return s}s=new j(s,{base_uri:p});if((s.host!="mce_host"&&p.host!=s.host&&s.host)||p.port!=s.port||(p.protocol!=s.protocol&&s.protocol!=="")){return s.getURI()}var q=p.getURI(),r=s.getURI();if(q==r||(q.charAt(q.length-1)=="/"&&q.substr(0,q.length-1)==r)){return q}o=p.toRelPath(p.path,s.path);if(s.query){o+="?"+s.query}if(s.anchor){o+="#"+s.anchor}return o},toAbsolute:function(p,o){p=new j(p,{base_uri:this});return p.getURI(o&&this.isSameOrigin(p))},isSameOrigin:function(o){if(this.host==o.host&&this.protocol==o.protocol){if(this.port==o.port){return true}var p=m[this.protocol];if(p&&((this.port||p)==(o.port||p))){return true}}return false},toRelPath:function(t,u){var p,s=0,q="",r,o;t=t.substring(0,t.lastIndexOf("/"));t=t.split("/");p=u.split("/");if(t.length>=p.length){for(r=0,o=t.length;r<o;r++){if(r>=p.length||t[r]!=p[r]){s=r+1;break}}}if(t.length<p.length){for(r=0,o=p.length;r<o;r++){if(r>=t.length||t[r]!=p[r]){s=r+1;break}}}if(s===1){return u}for(r=0,o=t.length-(s-1);r<o;r++){q+="../"}for(r=s-1,o=p.length;r<o;r++){if(r!=s-1){q+="/"+p[r]}else{q+=p[r]}}return q},toAbsPath:function(s,t){var q,p=0,v=[],r,u;r=/\/$/.test(t)?"/":"";s=s.split("/");t=t.split("/");n(s,function(o){if(o){v.push(o)}});s=v;for(q=t.length-1,v=[];q>=0;q--){if(t[q].length===0||t[q]==="."){continue}if(t[q]===".."){p++;continue}if(p>0){p--;continue}v.push(t[q])}q=s.length-p;if(q<=0){u=v.reverse().join("/")}else{u=s.slice(0,q).join("/")+"/"+v.reverse().join("/")}if(u.indexOf("/")!==0){u="/"+u}if(r&&u.lastIndexOf("/")!==u.length-1){u+=r}return u},getURI:function(q){var p,o=this;if(!o.source||q){p="";if(!q){if(o.protocol){p+=o.protocol+"://"}else{p+="//"}if(o.userInfo){p+=o.userInfo+"@"}if(o.host){p+=o.host}if(o.port){p+=":"+o.port}}if(o.path){p+=o.path}if(o.query){p+="?"+o.query}if(o.anchor){p+="#"+o.anchor}o.source=p}return o.source}};return j});h("tinymce/util/Class",["tinymce/util/Tools"],function(l){var m=l.each,n=l.extend;var k,j;function i(){}i.extend=k=function(o){var w=this,v=w.prototype,u,p,t;function q(){var A,x,z,y=this;if(!j){if(y.init){y.init.apply(y,arguments)}x=y.Mixins;if(x){A=x.length;while(A--){z=x[A];if(z.init){z.init.apply(y,arguments)}}}}}function r(){return this}function s(x,y){return function(){var z=this,B=z._super,A;z._super=v[x];A=y.apply(z,arguments);z._super=B;return A}}j=true;u=new w();j=false;if(o.Mixins){m(o.Mixins,function(x){x=x;for(var y in x){if(y!=="init"){o[y]=x[y]}}});if(v.Mixins){o.Mixins=v.Mixins.concat(o.Mixins)}}if(o.Methods){m(o.Methods.split(","),function(x){o[x]=r})}if(o.Properties){m(o.Properties.split(","),function(x){var y="_"+x;o[x]=function(B){var z=this,A;if(B!==A){z[y]=B;return z}return z[y]}})}if(o.Statics){m(o.Statics,function(y,x){q[x]=y})}if(o.Defaults&&v.Defaults){o.Defaults=n({},v.Defaults,o.Defaults)}for(p in o){t=o[p];if(typeof t=="function"&&v[p]){u[p]=s(p,t)}else{u[p]=t}}q.prototype=u;q.constructor=q;q.extend=k;return q};return i});h("tinymce/util/EventDispatcher",["tinymce/util/Tools"],function(j){var k=j.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchend"," ");function i(q){var w=this,v,m={},t;function o(){return false}function r(){return true}q=q||{};v=q.scope||w;t=q.toggleEvent||o;function n(A,z){var y,B,x,C;A=A.toLowerCase();z=z||{};z.type=A;if(!z.target){z.target=v}if(!z.preventDefault){z.preventDefault=function(){z.isDefaultPrevented=r};z.stopPropagation=function(){z.isPropagationStopped=r};z.stopImmediatePropagation=function(){z.isImmediatePropagationStopped=r};z.isDefaultPrevented=o;z.isPropagationStopped=o;z.isImmediatePropagationStopped=o}if(q.beforeFire){q.beforeFire(z)}y=m[A];if(y){for(B=0,x=y.length;B<x;B++){C=y[B];if(C.once){p(A,C.func)}if(z.isImmediatePropagationStopped()){z.stopPropagation();return z}if(C.func.call(v,z)===false){z.preventDefault();return z}}}return z}function s(A,D,z,x){var y,C,B;if(D===false){D=o}if(D){D={func:D};if(x){j.extend(D,x)}C=A.toLowerCase().split(" ");B=C.length;while(B--){A=C[B];y=m[A];if(!y){y=m[A]=[];t(A,true)}if(z){y.unshift(D)}else{y.push(D)}}}return w}function p(z,D){var A,x,B,C,y;if(z){C=z.toLowerCase().split(" ");A=C.length;while(A--){z=C[A];x=m[z];if(!z){for(B in m){t(B,false);delete m[B]}return w}if(x){if(!D){x.length=0}else{y=x.length;while(y--){if(x[y].func===D){x=x.slice(0,y).concat(x.slice(y+1));m[z]=x}}}if(!x.length){t(z,false);delete m[z]}}}}else{for(z in m){t(z,false)}m={}}return w}function l(y,z,x){return s(y,z,x,{once:true})}function u(x){x=x.toLowerCase();return !(!m[x]||m[x].length===0)}w.fire=n;w.on=s;w.off=p;w.once=l;w.has=u}i.isNative=function(l){return !!k[l.toLowerCase()]};return i});h("tinymce/ui/Selector",["tinymce/util/Class"],function(k){function o(s){var p=[],q=s.length,r;while(q--){r=s[q];if(!r.__checked){p.push(r);r.__checked=1}}q=p.length;while(q--){delete p[q].__checked}return p}var n=/^([\w\\*]+)?(?:#([\w\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i;var i=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,m=/^\s*|\s*$/g,l;var j=k.extend({init:function(q){var s=this.match;function r(y){if(y){y=y.toLowerCase();return function(z){return y==="*"||z.type===y}}}function w(y){if(y){return function(z){return z._name===y}}}function t(y){if(y){y=y.split(".");return function(A){var z=y.length;while(z--){if(!A.hasClass(y[z])){return false}}return true}}}function p(z,A,y){if(z){return function(B){var C=B[z]?B[z]():"";return !A?!!y:A==="="?C===y:A==="*="?C.indexOf(y)>=0:A==="~="?(" "+C+" ").indexOf(" "+y+" ")>=0:A==="!="?C!=y:A==="^="?C.indexOf(y)===0:A==="$="?C.substr(C.length-y.length)===y:false}}}function v(y){var z;if(y){y=/(?:not\((.+)\))|(.+)/i.exec(y);if(!y[1]){y=y[2];return function(C,A,B){return y==="first"?A===0:y==="last"?A===B-1:y==="even"?A%2===0:y==="odd"?A%2===1:C[y]?C[y]():false}}else{z=u(y[1],[]);return function(A){return !s(A,z)}}}}function x(y,z,C){var B;function A(D){if(D){z.push(D)}}B=n.exec(y.replace(m,""));A(r(B[1]));A(w(B[2]));A(t(B[3]));A(p(B[4],B[5],B[6]));A(v(B[7]));z.psuedo=!!B[7];z.direct=C;return z}function u(z,B){var D=[],y,C,A;do{i.exec("");C=i.exec(z);if(C){z=C[3];D.push(C[1]);if(C[2]){y=C[3];break}}}while(C);if(y){u(y,B)}z=[];for(A=0;A<D.length;A++){if(D[A]!=">"){z.push(x(D[A],[],D[A-1]===">"))}}B.push(z);return B}this._selectors=u(q,[])},match:function(u,B){var v,r,w,s,t,D,A,q,y,p,z,x,C;B=B||this._selectors;for(v=0,r=B.length;v<r;v++){t=B[v];s=t.length;C=u;x=0;for(w=s-1;w>=0;w--){q=t[w];while(C){if(q.psuedo){z=C.parent().items();y=p=z.length;while(y--){if(z[y]===C){break}}}for(D=0,A=q.length;D<A;D++){if(!q[D](C,y,p)){D=A+1;break}}if(D===A){x++;break}else{if(w===s-1){break}}C=C.parent()}}if(x===s){return true}}return false},find:function(q){var u=[],s,p,r=this._selectors;function t(A,x,z){var y,w,C,B,D,v=x[z];for(y=0,w=A.length;y<w;y++){D=A[y];for(C=0,B=v.length;C<B;C++){if(!v[C](D,y,w)){C=B+1;break}}if(C===B){if(z==x.length-1){u.push(D)}else{if(D.items){t(D.items(),x,z+1)}}}else{if(v.direct){return}}if(D.items){t(D.items(),x,z)}}}if(q.items){for(s=0,p=r.length;s<p;s++){t(q.items(),r[s],0)}if(p>1){u=o(u)}}if(!l){l=j.Collection}return new l(u)}});return j});h("tinymce/ui/Collection",["tinymce/util/Tools","tinymce/ui/Selector","tinymce/util/Class"],function(l,i,j){var m,n,k=Array.prototype.push,o=Array.prototype.slice;n={length:0,init:function(p){if(p){this.add(p)}},add:function(q){var p=this;if(!l.isArray(q)){if(q instanceof m){p.add(q.toArray())}else{k.call(p,q)}}else{k.apply(p,q)}return p},set:function(r){var q=this,p=q.length,s;q.length=0;q.add(r);for(s=q.length;s<p;s++){delete q[s]}return q},filter:function(p){var r=this,t,q,v=[],u,s;if(typeof p==="string"){p=new i(p);s=function(w){return p.match(w)}}else{s=p}for(t=0,q=r.length;t<q;t++){u=r[t];if(s(u)){v.push(u)}}return new m(v)},slice:function(){return new m(o.apply(this,arguments))},eq:function(p){return p===-1?this.slice(p):this.slice(p,+p+1)},each:function(p){l.each(this,p);return this},toArray:function(){return l.toArray(this)},indexOf:function(r){var p=this,q=p.length;while(q--){if(p[q]===r){break}}return q},reverse:function(){return new m(l.toArray(this).reverse())},hasClass:function(p){return this[0]?this[0].hasClass(p):false},prop:function(q,t){var p=this,r,s;if(t!==r){p.each(function(u){if(u[q]){u[q](t)}});return p}s=p[0];if(s&&s[q]){return s[q]()}},exec:function(r){var p=this,q=l.toArray(arguments).slice(1);p.each(function(s){if(s[r]){s[r].apply(s,q)}});return p},remove:function(){var p=this.length;while(p--){this[p].remove()}return this}};l.each("fire on off show hide addClass removeClass append prepend before after reflow".split(" "),function(p){n[p]=function(){var q=l.toArray(arguments);this.each(function(r){if(p in r){r[p].apply(r,q)}});return this}});l.each("text name disabled active selected checked visible parent value data".split(" "),function(p){n[p]=function(q){return this.prop(p,q)}});m=j.extend(n);i.Collection=m;return m});h("tinymce/ui/DomUtils",["tinymce/util/Tools","tinymce/dom/DOMUtils"],function(i,k){var j=0;return{id:function(){return"mceu_"+(j++)},createFragment:function(l){return k.DOM.createFragment(l)},getWindowSize:function(){return k.DOM.getViewPort()},getSize:function(o){var m,l;if(o.getBoundingClientRect){var n=o.getBoundingClientRect();m=Math.max(n.width||(n.right-n.left),o.offsetWidth);l=Math.max(n.height||(n.bottom-n.bottom),o.offsetHeight)}else{m=o.offsetWidth;l=o.offsetHeight}return{width:m,height:l}},getPos:function(m,l){return k.DOM.getPos(m,l)},getViewPort:function(l){return k.DOM.getViewPort(l)},get:function(l){return document.getElementById(l)},addClass:function(m,l){return k.DOM.addClass(m,l)},removeClass:function(m,l){return k.DOM.removeClass(m,l)},hasClass:function(m,l){return k.DOM.hasClass(m,l)},toggleClass:function(n,l,m){return k.DOM.toggleClass(n,l,m)},css:function(n,l,m){return k.DOM.setStyle(n,l,m)},getRuntimeStyle:function(m,l){return k.DOM.getStyle(m,l,true)},on:function(n,l,o,m){return k.DOM.bind(n,l,o,m)},off:function(m,l,n){return k.DOM.unbind(m,l,n)},fire:function(n,m,l){return k.DOM.fire(n,m,l)},innerHtml:function(m,l){k.DOM.setHTML(m,l)}}});h("tinymce/ui/Control",["tinymce/util/Class","tinymce/util/Tools","tinymce/util/EventDispatcher","tinymce/ui/Collection","tinymce/ui/DomUtils"],function(j,o,m,p,i){var l="onmousewheel" in document;var n=false;var r="mce-";function q(s){if(!s._eventDispatcher){s._eventDispatcher=new m({scope:s,toggleEvent:function(t,u){if(u&&m.isNative(t)){if(!s._nativeEvents){s._nativeEvents={}}s._nativeEvents[t]=true;if(s._rendered){s.bindPendingEvents()}}}})}return s._eventDispatcher}var k=j.extend({Statics:{classPrefix:r},isRtl:function(){return k.rtl},classPrefix:r,init:function(v){var s=this,u,t;s.settings=v=o.extend({},s.Defaults,v);s._id=v.id||i.id();s._text=s._name="";s._width=s._height=0;s._aria={role:v.role};this._elmCache={};u=v.classes;if(u){u=u.split(" ");u.map={};t=u.length;while(t--){u.map[u[t]]=true}}s._classes=u||[];s.visible(true);o.each("title text width height name classes visible disabled active value".split(" "),function(w){var y=v[w],x;if(y!==x){s[w](y)}else{if(s["_"+w]===x){s["_"+w]=false}}});s.on("click",function(){if(s.disabled()){return false}});if(v.classes){o.each(v.classes.split(" "),function(w){s.addClass(w)})}s.settings=v;s._borderBox=s.parseBox(v.border);s._paddingBox=s.parseBox(v.padding);s._marginBox=s.parseBox(v.margin);if(v.hidden){s.hide()}},Properties:"parent,title,text,width,height,disabled,active,name,value",Methods:"renderHtml",getContainerElm:function(){return document.body},getParentCtrl:function(u){var s,t=this.getRoot().controlIdLookup;while(u&&t){s=t[u.id];if(s){break}u=u.parentNode}return s},parseBox:function(u){var s,t=10;if(!u){return}if(typeof u==="number"){u=u||0;return{top:u,left:u,bottom:u,right:u}}u=u.split(" ");s=u.length;if(s===1){u[1]=u[2]=u[3]=u[0]}else{if(s===2){u[2]=u[0];u[3]=u[1]}else{if(s===3){u[3]=u[1]}}}return{top:parseInt(u[0],t)||0,right:parseInt(u[1],t)||0,bottom:parseInt(u[2],t)||0,left:parseInt(u[3],t)||0}},borderBox:function(){return this._borderBox},paddingBox:function(){return this._paddingBox},marginBox:function(){return this._marginBox},measureBox:function(v,t){function s(w){var x=document.defaultView;if(x){w=w.replace(/[A-Z]/g,function(y){return"-"+y});return x.getComputedStyle(v,null).getPropertyValue(w)}return v.currentStyle[w]}function u(w){var x=parseFloat(s(w),10);return isNaN(x)?0:x}return{top:u(t+"TopWidth"),right:u(t+"RightWidth"),bottom:u(t+"BottomWidth"),left:u(t+"LeftWidth")}},initLayoutRect:function(){var I=this,A=I.settings,v,E;var C=I.getEl(),z,G,w,F,y;var s,u,H;v=I._borderBox=I._borderBox||I.measureBox(C,"border");I._paddingBox=I._paddingBox||I.measureBox(C,"padding");I._marginBox=I._marginBox||I.measureBox(C,"margin");H=i.getSize(C);s=A.minWidth;u=A.minHeight;w=s||H.width;F=u||H.height;z=A.width;G=A.height;y=A.autoResize;y=typeof y!="undefined"?y:!z&&!G;z=z||w;G=G||F;var B=v.left+v.right;var t=v.top+v.bottom;var x=A.maxWidth||65535;var D=A.maxHeight||65535;I._layoutRect=E={x:A.x||0,y:A.y||0,w:z,h:G,deltaW:B,deltaH:t,contentW:z-B,contentH:G-t,innerW:z-B,innerH:G-t,startMinWidth:s||0,startMinHeight:u||0,minW:Math.min(w,x),minH:Math.min(F,D),maxW:x,maxH:D,autoResize:y,scrollW:0};I._lastLayoutRect={};return E},layoutRect:function(t){var z=this,v=z._layoutRect,y,A,x,w,s,u;if(!v){v=z.initLayoutRect()}if(t){x=v.deltaW;w=v.deltaH;if(t.x!==s){v.x=t.x}if(t.y!==s){v.y=t.y}if(t.minW!==s){v.minW=t.minW}if(t.minH!==s){v.minH=t.minH}A=t.w;if(A!==s){A=A<v.minW?v.minW:A;A=A>v.maxW?v.maxW:A;v.w=A;v.innerW=A-x}A=t.h;if(A!==s){A=A<v.minH?v.minH:A;A=A>v.maxH?v.maxH:A;v.h=A;v.innerH=A-w}A=t.innerW;if(A!==s){A=A<v.minW-x?v.minW-x:A;A=A>v.maxW-x?v.maxW-x:A;v.innerW=A;v.w=A+x}A=t.innerH;if(A!==s){A=A<v.minH-w?v.minH-w:A;A=A>v.maxH-w?v.maxH-w:A;v.innerH=A;v.h=A+w}if(t.contentW!==s){v.contentW=t.contentW}if(t.contentH!==s){v.contentH=t.contentH}y=z._lastLayoutRect;if(y.x!==v.x||y.y!==v.y||y.w!==v.w||y.h!==v.h){u=k.repaintControls;if(u){if(u.map&&!u.map[z._id]){u.push(z);u.map[z._id]=true}}y.x=v.x;y.y=v.y;y.w=v.w;y.h=v.h}return z}return v},repaint:function(){var A=this,t,v,w,s,y=0,u=0,x,z;z=!document.createRange?Math.round:function(B){return B};t=A.getEl().style;w=A._layoutRect;x=A._lastRepaintRect||{};s=A._borderBox;y=s.left+s.right;u=s.top+s.bottom;if(w.x!==x.x){t.left=z(w.x)+"px";x.x=w.x}if(w.y!==x.y){t.top=z(w.y)+"px";x.y=w.y}if(w.w!==x.w){t.width=z(w.w-y)+"px";x.w=w.w}if(w.h!==x.h){t.height=z(w.h-u)+"px";x.h=w.h}if(A._hasBody&&w.innerW!==x.innerW){v=A.getEl("body").style;v.width=z(w.innerW)+"px";x.innerW=w.innerW}if(A._hasBody&&w.innerH!==x.innerH){v=v||A.getEl("body").style;v.height=z(w.innerH)+"px";x.innerH=w.innerH}A._lastRepaintRect=x;A.fire("repaint",{},false)},on:function(u,v){var t=this;function s(w){var y,x;if(typeof w!="string"){return w}return function(z){if(!y){t.parentsAndSelf().each(function(B){var A=B.settings.callbacks;if(A&&(y=A[w])){x=B;return false}})}return y.call(x,z)}}q(t).on(u,s(v));return t},off:function(s,t){q(this).off(s,t);return this},fire:function(v,u,s){var t=this;u=u||{};if(!u.control){u.control=t}u=q(t).fire(v,u);if(s!==false&&t.parent){var w=t.parent();while(w&&!u.isPropagationStopped()){w.fire(v,u,false);w=w.parent()}}return u},hasEventListeners:function(s){return q(this).has(s)},parents:function(s){var t=this,v,u=new p();for(v=t.parent();v;v=v.parent()){u.add(v)}if(s){u=u.filter(s)}return u},parentsAndSelf:function(s){return new p(this).add(this.parents(s))},next:function(){var s=this.parent().items();return s[s.indexOf(this)+1]},prev:function(){var s=this.parent().items();return s[s.indexOf(this)-1]},findCommonAncestor:function(s,u){var t;while(s){t=u;while(t&&s!=t){t=t.parent()}if(s==t){break}s=s.parent()}return s},hasClass:function(s,u){var t=this._classes[u||"control"];s=this.classPrefix+s;return t&&!!t.map[s]},addClass:function(s,v){var t=this,u,w;s=this.classPrefix+s;u=t._classes[v||"control"];if(!u){u=[];u.map={};t._classes[v||"control"]=u}if(!u.map[s]){u.map[s]=s;u.push(s);if(t._rendered){w=t.getEl(v);if(w){w.className=u.join(" ")}}}return t},removeClass:function(s,w){var t=this,v,u,x;s=this.classPrefix+s;v=t._classes[w||"control"];if(v&&v.map[s]){delete v.map[s];u=v.length;while(u--){if(v[u]===s){v.splice(u,1)}}}if(t._rendered){x=t.getEl(w);if(x){x.className=v.join(" ")}}return t},toggleClass:function(s,u,v){var t=this;if(u){t.addClass(s,v)}else{t.removeClass(s,v)}return t},classes:function(t){var s=this._classes[t||"control"];return s?s.join(" "):""},innerHtml:function(s){i.innerHtml(this.getEl(),s);return this},getEl:function(s){var t=s?this._id+"-"+s:this._id;if(!this._elmCache[t]){this._elmCache[t]=i.get(t)}return this._elmCache[t]},visible:function(u){var t=this,s;if(typeof u!=="undefined"){if(t._visible!==u){if(t._rendered){t.getEl().style.display=u?"":"none"}t._visible=u;s=t.parent();if(s){s._lastRect=null}t.fire(u?"show":"hide")}return t}return t._visible},show:function(){return this.visible(true)},hide:function(){return this.visible(false)},focus:function(){try{this.getEl().focus()}catch(s){}return this},blur:function(){this.getEl().blur();return this},aria:function(t,u){var s=this,v=s.getEl(s.ariaTarget);if(typeof u==="undefined"){return s._aria[t]}else{s._aria[t]=u}if(s._rendered){v.setAttribute(t=="role"?t:"aria-"+t,u)}return s},encode:function(t,s){if(s!==false){t=this.translate(t)}return(t||"").replace(/[&<>"]/g,function(u){return"&#"+u.charCodeAt(0)+";"})},translate:function(s){return k.translate?k.translate(s):s},before:function(t){var s=this,u=s.parent();if(u){u.insert(t,u.items().indexOf(s),true)}return s},after:function(t){var s=this,u=s.parent();if(u){u.insert(t,u.items().indexOf(s))}return s},remove:function(){var t=this,y=t.getEl(),w=t.parent(),u,v;if(t.items){var s=t.items().toArray();v=s.length;while(v--){s[v].remove()}}if(w&&w.items){u=[];w.items().each(function(z){if(z!==t){u.push(z)}});w.items().set(u);w._lastRect=null}if(t._eventsRoot&&t._eventsRoot==t){i.off(y)}var x=t.getRoot().controlIdLookup;if(x){delete x[t._id]}if(y&&y.parentNode){y.parentNode.removeChild(y)}t._rendered=false;return t},renderBefore:function(t){var s=this;t.parentNode.insertBefore(i.createFragment(s.renderHtml()),t);s.postRender();return s},renderTo:function(t){var s=this;t=t||s.getContainerElm();t.appendChild(i.createFragment(s.renderHtml()));s.postRender();return s},postRender:function(){var A=this,t=A.settings,v,u,y,s,x;for(s in t){if(s.indexOf("on")===0){A.on(s.substr(2),t[s])}}if(A._eventsRoot){for(y=A.parent();!x&&y;y=y.parent()){x=y._eventsRoot}if(x){for(s in x._nativeEvents){A._nativeEvents[s]=true}}}A.bindPendingEvents();if(t.style){v=A.getEl();if(v){v.setAttribute("style",t.style);v.style.cssText=t.style}}if(!A._visible){i.css(A.getEl(),"display","none")}if(A.settings.border){u=A.borderBox();i.css(A.getEl(),{"border-top-width":u.top,"border-right-width":u.right,"border-bottom-width":u.bottom,"border-left-width":u.left})}var w=A.getRoot();if(!w.controlIdLookup){w.controlIdLookup={}}w.controlIdLookup[A._id]=A;for(var z in A._aria){A.aria(z,A._aria[z])}A.fire("postrender",{},false)},scrollIntoView:function(u){function E(J,H){var F,I,G=J;F=I=0;while(G&&G!=H&&G.nodeType){F+=G.offsetLeft||0;I+=G.offsetTop||0;G=G.offsetParent}return{x:F,y:I}}var w=this.getEl(),v=w.parentNode;var B,A,s,D,C,t;var z=E(w,v);B=z.x;A=z.y;s=w.offsetWidth;D=w.offsetHeight;C=v.clientWidth;t=v.clientHeight;if(u=="end"){B-=C-s;A-=t-D}else{if(u=="center"){B-=(C/2)-(s/2);A-=(t/2)-(D/2)}}v.scrollLeft=B;v.scrollTop=A;return this},bindPendingEvents:function(){var D=this,x,v,B,u,z,t;function A(F){var E=D.getParentCtrl(F.target);if(E){E.fire(F.type,F)}}function w(){var E=u._lastHoverCtrl;if(E){E.fire("mouseleave",{target:E.getEl()});E.parents().each(function(F){F.fire("mouseleave",{target:F.getEl()})});u._lastHoverCtrl=null}}function C(J){var I=D.getParentCtrl(J.target),H=u._lastHoverCtrl,E=0,G,F,K;if(I!==H){u._lastHoverCtrl=I;F=I.parents().toArray().reverse();F.push(I);if(H){K=H.parents().toArray().reverse();K.push(H);for(E=0;E<K.length;E++){if(F[E]!==K[E]){break}}for(G=K.length-1;G>=E;G--){H=K[G];H.fire("mouseleave",{target:H.getEl()})}}for(G=E;G<F.length;G++){I=F[G];I.fire("mouseenter",{target:I.getEl()})}}}function s(E){E.preventDefault();if(E.type=="mousewheel"){E.deltaY=-1/40*E.wheelDelta;if(E.wheelDeltaX){E.deltaX=-1/40*E.wheelDeltaX}}else{E.deltaX=0;E.deltaY=E.detail}E=D.fire("wheel",E)}D._rendered=true;z=D._nativeEvents;if(z){B=D.parents().toArray();B.unshift(D);for(x=0,v=B.length;!u&&x<v;x++){u=B[x]._eventsRoot}if(!u){u=B[B.length-1]||D}D._eventsRoot=u;for(v=x,x=0;x<v;x++){B[x]._eventsRoot=u}var y=u._delegates;if(!y){y=u._delegates={}}for(t in z){if(!z){return false}if(t==="wheel"&&!n){if(l){i.on(D.getEl(),"mousewheel",s)}else{i.on(D.getEl(),"DOMMouseScroll",s)}continue}if(t==="mouseenter"||t==="mouseleave"){if(!u._hasMouseEnter){i.on(u.getEl(),"mouseleave",w);i.on(u.getEl(),"mouseover",C);u._hasMouseEnter=1}}else{if(!y[t]){i.on(u.getEl(),t,A);y[t]=true}}z[t]=false}}},getRoot:function(){var v=this,u,s=[];while(v){if(v.rootControl){u=v.rootControl;break}s.push(v);u=v;v=v.parent()}if(!u){u=this}var t=s.length;while(t--){s[t].rootControl=u}return u},reflow:function(){this.repaint();return this}});return k});h("tinymce/ui/Factory",[],function(){var i={},j;return{add:function(k,l){i[k.toLowerCase()]=l},has:function(k){return !!i[k.toLowerCase()]},create:function(o,n){var k,l,m;if(!j){m=tinymce.ui;for(l in m){i[l.toLowerCase()]=m[l]}j=true}if(typeof o=="string"){n=n||{};n.type=o}else{n=o;o=n.type}o=o.toLowerCase();k=i[o];if(!k){throw new Error("Could not find control by type: "+o)}k=new k(n);k.type=o;return k}}});h("tinymce/ui/KeyboardNavigation",[],function(){return function(A){var w=A.root,i,p;try{i=document.activeElement}catch(z){i=document.body}p=w.getParentCtrl(i);function t(E){E=E||i;return E&&E.getAttribute("role")}function D(G){var F,E=G||i;while((E=E.parentNode)){if((F=t(E))){return F}}}function v(E){var F=i;if(F){return F.getAttribute("aria-"+E)}}function u(F){var E=F.tagName.toUpperCase();return E=="INPUT"||E=="TEXTAREA"}function j(E){if(u(E)&&!E.hidden){return true}if(/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell)$/.test(t(E))){return true}return false}function o(G){var F=[];function E(I){if(I.nodeType!=1||I.style.display=="none"){return}if(j(I)){F.push(I)}for(var H=0;H<I.childNodes.length;H++){E(I.childNodes[H])}}E(G||w.getEl());return F}function n(H){var F,E;H=H||p;E=H.parents().toArray();E.unshift(H);for(var G=0;G<E.length;G++){F=E[G];if(F.settings.ariaRoot){break}}return F}function x(G){var E=n(G);var F=o(E.getEl());if(E.settings.ariaRemember&&"lastAriaIndex" in E){r(E.lastAriaIndex,F)}else{r(0,F)}}function r(E,F){if(E<0){E=F.length-1}else{if(E>=F.length){E=0}}if(F[E]){F[E].focus()}return E}function C(G,I){var E=-1,F=n();I=I||o(F.getEl());for(var H=0;H<I.length;H++){if(I[H]===i){E=H}}E+=G;F.lastAriaIndex=r(E,I)}function m(){var E=D();if(E=="tablist"){C(-1,o(i.parentNode))}else{if(p.parent().submenu){l()}else{C(-1)}}}function B(){var F=t(),E=D();if(E=="tablist"){C(1,o(i.parentNode))}else{if(F=="menuitem"&&E=="menu"&&v("haspopup")){y()}else{C(1)}}}function q(){C(-1)}function s(){var F=t(),E=D();if(F=="menuitem"&&E=="menubar"){y()}else{if(F=="button"&&v("haspopup")){y({key:"down"})}else{C(1)}}}function k(F){var E=D();if(E=="tablist"){var G=o(p.getEl("body"))[0];if(G){G.focus()}}else{C(F.shiftKey?-1:1)}}function l(){p.fire("cancel")}function y(E){E=E||{};p.fire("click",{target:i,aria:E})}w.on("keydown",function(F){function E(H,G){if(u(i)){return}if(G(H)!==false){H.preventDefault()}}if(F.isDefaultPrevented()){return}switch(F.keyCode){case 37:E(F,m);break;case 39:E(F,B);break;case 38:E(F,q);break;case 40:E(F,s);break;case 27:l();break;case 14:case 13:case 32:E(F,y);break;case 9:if(k(F)!==false){F.preventDefault()}break}});w.on("focusin",function(E){i=E.target;p=E.control});return{focusFirst:x}}});h("tinymce/ui/Container",["tinymce/ui/Control","tinymce/ui/Collection","tinymce/ui/Selector","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/util/Tools","tinymce/ui/DomUtils"],function(p,o,k,i,n,m,j){var l={};return p.extend({layout:"",innerClass:"container-inner",init:function(r){var q=this;q._super(r);r=q.settings;q._fixed=r.fixed;q._items=new o();if(q.isRtl()){q.addClass("rtl")}q.addClass("container");q.addClass("container-body","body");if(r.containerCls){q.addClass(r.containerCls)}q._layout=i.create((r.layout||q.layout)+"layout");if(q.settings.items){q.add(q.settings.items)}q._hasBody=true},items:function(){return this._items},find:function(q){q=l[q]=l[q]||new k(q);return q.find(this)},add:function(r){var q=this;q.items().add(q.create(r)).parent(q);return q},focus:function(q){var s=this,u,t,r;if(q){t=s.keyboardNav||s.parents().eq(-1)[0].keyboardNav;if(t){t.focusFirst(s);return}}r=s.find("*");if(s.statusbar){r.add(s.statusbar.items())}r.each(function(v){if(v.settings.autofocus){u=null;return false}if(v.canFocus){u=u||v}});if(u){u.focus()}return s},replace:function(u,t){var s,q=this.items(),r=q.length;while(r--){if(q[r]===u){q[r]=t;break}}if(r>=0){s=t.getEl();if(s){s.parentNode.removeChild(s)}s=u.getEl();if(s){s.parentNode.removeChild(s)}}t.parent(this)},create:function(r){var q=this,t,s=[];if(!m.isArray(r)){r=[r]}m.each(r,function(u){if(u){if(!(u instanceof p)){if(typeof u=="string"){u={type:u}}t=m.extend({},q.settings.defaults,u);u.type=t.type=t.type||u.type||q.settings.defaultType||(t.defaults?t.defaults.type:null);u=i.create(t)}s.push(u)}});return s},renderNew:function(){var q=this;q.items().each(function(t,s){var u,r;t.parent(q);if(!t._rendered){u=q.getEl("body");r=j.createFragment(t.renderHtml());if(u.hasChildNodes()&&s<=u.childNodes.length-1){u.insertBefore(r,u.childNodes[s])}else{u.appendChild(r)}t.postRender()}});q._layout.applyClasses(q);q._lastRect=null;return q},append:function(q){return this.add(q).renderNew()},prepend:function(r){var q=this;q.items().set(q.create(r).concat(q.items().toArray()));return q.renderNew()},insert:function(s,u,w){var r=this,t,q,v;s=r.create(s);t=r.items();if(!w&&u<t.length-1){u+=1}if(u>=0&&u<t.length){q=t.slice(0,u).toArray();v=t.slice(u).toArray();t.set(q.concat(s,v))}return r.renderNew()},fromJSON:function(s){var q=this;for(var r in s){q.find("#"+r).value(s[r])}return q},toJSON:function(){var q=this,r={};q.find("*").each(function(u){var s=u.name(),t=u.value();if(s&&typeof t!="undefined"){r[s]=t}});return r},preRender:function(){},renderHtml:function(){var q=this,r=q._layout,s=this.settings.role;q.preRender();r.preRender(q);return('<div id="'+q._id+'" class="'+q.classes()+'"'+(s?' role="'+this.settings.role+'"':"")+'><div id="'+q._id+'-body" class="'+q.classes("body")+'">'+(q.settings.html||"")+r.renderHtml(q)+"</div></div>")},postRender:function(){var q=this,r;q.items().exec("postRender");q._super();q._layout.postRender(q);q._rendered=true;if(q.settings.style){j.css(q.getEl(),q.settings.style)}if(q.settings.border){r=q.borderBox();j.css(q.getEl(),{"border-top-width":r.top,"border-right-width":r.right,"border-bottom-width":r.bottom,"border-left-width":r.left})}if(!q.parent()){q.keyboardNav=new n({root:q})}return q},initLayoutRect:function(){var q=this,r=q._super();q._layout.recalc(q);return r},recalc:function(){var q=this,s=q._layoutRect,r=q._lastRect;if(!r||r.w!=s.w||r.h!=s.h){q._layout.recalc(q);s=q.layoutRect();q._lastRect={x:s.x,y:s.y,w:s.w,h:s.h};return true}},reflow:function(){var q;if(this.visible()){p.repaintControls=[];p.repaintControls.map={};this.recalc();q=p.repaintControls.length;while(q--){p.repaintControls[q].repaint()}if(this.settings.layout!=="flow"&&this.settings.layout!=="stack"){this.repaint()}p.repaintControls=[]}return this}})});h("tinymce/ui/DragHelper",["tinymce/ui/DomUtils"],function(i){function j(){var r=document,s,n,l,q;var o,t,m,k,p=Math.max;s=r.documentElement;n=r.body;l=p(s.scrollWidth,n.scrollWidth);q=p(s.clientWidth,n.clientWidth);o=p(s.offsetWidth,n.offsetWidth);t=p(s.scrollHeight,n.scrollHeight);m=p(s.clientHeight,n.clientHeight);k=p(s.offsetHeight,n.offsetHeight);return{width:l<o?q:l,height:t<k?m:t}}return function(l,n){var u,t=document,k,m,s,q,p,o;n=n||{};function r(){return t.getElementById(n.handle||l)}m=function(w){var y=j(),v,x;w.preventDefault();k=w.button;v=r();p=w.screenX;o=w.screenY;if(window.getComputedStyle){x=window.getComputedStyle(v,null).getPropertyValue("cursor")}else{x=v.runtimeStyle.cursor}u=t.createElement("div");i.css(u,{position:"absolute",top:0,left:0,width:y.width,height:y.height,zIndex:2147483647,opacity:0.0001,cursor:x});t.body.appendChild(u);i.on(t,"mousemove",q);i.on(t,"mouseup",s);n.start(w)};q=function(v){if(v.button!==k){return s(v)}v.deltaX=v.screenX-p;v.deltaY=v.screenY-o;v.preventDefault();n.drag(v)};s=function(v){i.off(t,"mousemove",q);i.off(t,"mouseup",s);u.parentNode.removeChild(u);if(n.stop){n.stop(v)}};this.destroy=function(){i.off(r())};i.on(r(),"mousedown",m)}});h("tinymce/ui/Scrollable",["tinymce/ui/DomUtils","tinymce/ui/DragHelper"],function(i,j){return{init:function(){var k=this;k.on("repaint",k.renderScroll)},renderScroll:function(){var l=this,m=2;function n(){var r,q,p;function o(w,v,y,E,D,u){var x,B,A;var t,s,z,C;var F,G;B=l.getEl("scroll"+w);if(B){F=v.toLowerCase();G=y.toLowerCase();if(l.getEl("absend")){i.css(l.getEl("absend"),F,l.layoutRect()[E]-1)}if(!D){i.css(B,"display","none");return}i.css(B,"display","block");x=l.getEl("body");A=l.getEl("scroll"+w+"t");t=x["client"+y]-(m*2);t-=r&&q?B["client"+u]:0;s=x["scroll"+y];z=t/s;C={};C[F]=x["offset"+v]+m;C[G]=t;i.css(B,C);C={};C[F]=x["scroll"+v]*z;C[G]=t*z;i.css(A,C)}}p=l.getEl("body");r=p.scrollWidth>p.clientWidth;q=p.scrollHeight>p.clientHeight;o("h","Left","Width","contentW",r,"Height");o("v","Top","Height","contentH",q,"Width")}function k(){function o(v,r,p,w,t){var u,q=l._id+"-scroll"+v,s=l.classPrefix;l.getEl().appendChild(i.createFragment('<div id="'+q+'" class="'+s+"scrollbar "+s+"scrollbar-"+v+'"><div id="'+q+'t" class="'+s+'scrollbar-thumb"></div></div>'));l.draghelper=new j(q+"t",{start:function(){u=l.getEl("body")["scroll"+r];i.addClass(i.get(q),s+"active")},drag:function(A){var x,C,z,B,y=l.layoutRect();C=y.contentW>y.innerW;z=y.contentH>y.innerH;B=l.getEl("body")["client"+p]-(m*2);B-=C&&z?l.getEl("scroll"+v)["client"+t]:0;x=B/l.getEl("body")["scroll"+p];l.getEl("body")["scroll"+r]=u+(A["delta"+w]/x)},stop:function(){i.removeClass(i.get(q),s+"active")}})}l.addClass("scroll");o("v","Top","Height","Y","Width");o("h","Left","Width","X","Height")}if(l.settings.autoScroll){if(!l._hasScroll){l._hasScroll=true;k();l.on("wheel",function(p){var o=l.getEl("body");o.scrollLeft+=(p.deltaX||0)*10;o.scrollTop+=p.deltaY*10;n()});i.on(l.getEl("body"),"scroll",n)}n()}}}});h("tinymce/ui/Panel",["tinymce/ui/Container","tinymce/ui/Scrollable"],function(j,i){return j.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[i],renderHtml:function(){var l=this,m=l._layout,k=l.settings.html;l.preRender();m.preRender(l);if(typeof k=="undefined"){k=('<div id="'+l._id+'-body" class="'+l.classes("body")+'">'+m.renderHtml(l)+"</div>")}else{if(typeof k=="function"){k=k.call(l)}l._hasBody=false}return('<div id="'+l._id+'" class="'+l.classes()+'" hidefocus="1" tabindex="-1" role="group">'+(l._preBodyHtml||"")+k+"</div>")}})});h("tinymce/ui/Movable",["tinymce/ui/DomUtils"],function(i){function j(k,s,v){var u,o,r,p,t,m,q,l,n,w;n=i.getViewPort();o=i.getPos(s);r=o.x;p=o.y;if(k._fixed&&i.getRuntimeStyle(document.body,"position")=="static"){r-=n.x;p-=n.y}u=k.getEl();w=i.getSize(u);t=w.width;m=w.height;w=i.getSize(s);q=w.width;l=w.height;v=(v||"").split("");if(v[0]==="b"){p+=l}if(v[1]==="r"){r+=q}if(v[0]==="c"){p+=Math.round(l/2)}if(v[1]==="c"){r+=Math.round(q/2)}if(v[3]==="b"){p-=m}if(v[4]==="r"){r-=t}if(v[3]==="c"){p-=Math.round(m/2)}if(v[4]==="c"){r-=Math.round(t/2)}return{x:r,y:p,w:t,h:m}}return{testMoveRel:function(o,l){var k=i.getViewPort();for(var m=0;m<l.length;m++){var n=j(this,o,l[m]);if(this._fixed){if(n.x>0&&n.x+n.w<k.w&&n.y>0&&n.y+n.h<k.h){return l[m]}}else{if(n.x>k.x&&n.x+n.w<k.w+k.x&&n.y>k.y&&n.y+n.h<k.h+k.y){return l[m]}}}return l[0]},moveRel:function(m,k){if(typeof k!="string"){k=this.testMoveRel(m,k)}var l=j(this,m,k);return this.moveTo(l.x,l.y)},moveBy:function(m,k){var l=this,n=l.layoutRect();l.moveTo(n.x+m,n.y+k);return l},moveTo:function(k,p){var m=this;function l(s,q,r){if(s<0){return 0}if(s+r>q){s=q-r;return s<0?0:s}return s}if(m.settings.constrainToViewport){var n=i.getViewPort(window);var o=m.layoutRect();k=l(k,n.w+n.x,o.w);p=l(p,n.h+n.y,o.h)}if(m._rendered){m.layoutRect({x:k,y:p}).repaint()}else{m.settings.x=k;m.settings.y=p}m.fire("move",{x:k,y:p});return m}}});h("tinymce/ui/Resizable",["tinymce/ui/DomUtils"],function(i){return{resizeToContent:function(){this._layoutRect.autoResize=true;this._lastRect=null;this.reflow()},resizeTo:function(j,k){if(j<=1||k<=1){var l=i.getWindowSize();j=j<=1?j*l.w:j;k=k<=1?k*l.h:k}this._layoutRect.autoResize=false;return this.layoutRect({minW:j,minH:k,w:j,h:k}).reflow()},resizeBy:function(k,m){var j=this,l=j.layoutRect();return j.resizeTo(l.w+k,l.h+m)}}});h("tinymce/ui/FloatPanel",["tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/DomUtils"],function(w,t,k,i){var q,l,j,x=[];var o=[],y;function u(){function z(B,A){while(B){if(B==A){return true}B=B.parent()}}if(!q){q=function(D){if(D.button==2){return}var C=x.length;while(C--){var B=x[C],A=B.getParentCtrl(D.target);if(B.settings.autohide){if(A){if(z(A,B)||B.parent()===A){continue}}D=B.fire("autohide",{target:D.target});if(!D.isDefaultPrevented()){B.hide()}}}};i.on(document,"click",q)}}function n(){if(!l){l=function(){var z;z=x.length;while(z--){p(x[z])}};i.on(window,"scroll",l)}}function m(){if(!j){var A=document.documentElement,B=A.clientWidth,z=A.clientHeight;j=function(){if(!document.all||B!=A.clientWidth||z!=A.clientHeight){B=A.clientWidth;z=A.clientHeight;r.hideAll()}};i.on(window,"resize",j)}}function p(z){var A=i.getViewPort().y;function B(F,C){var E;for(var D=0;D<x.length;D++){if(x[D]!=z){E=x[D].parent();while(E&&(E=E.parent())){if(E==z){x[D].fixed(F).moveBy(0,C).repaint()}}}}}if(z.settings.autofix){if(!z._fixed){z._autoFixY=z.layoutRect().y;if(z._autoFixY<A){z.fixed(true).layoutRect({y:0}).repaint();B(true,A-z._autoFixY)}}else{if(z._autoFixY>A){z.fixed(false).layoutRect({y:z._autoFixY}).repaint();B(false,z._autoFixY-A)}}}}function v(D,B){var z,E=r.zIndex||65535,A;if(D){o.push(B)}else{z=o.length;while(z--){if(o[z]===B){o.splice(z,1)}}}if(o.length){for(z=0;z<o.length;z++){if(o[z].modal){E++;A=o[z]}o[z].getEl().style.zIndex=E;o[z].zIndex=E;E++}}var C=document.getElementById(B.classPrefix+"modal-block");if(A){i.css(C,"z-index",A.zIndex-1)}else{if(C){C.parentNode.removeChild(C);y=false}}r.currentZIndex=E}var r=w.extend({Mixins:[t,k],init:function(A){var z=this;z._super(A);z._eventsRoot=z;z.addClass("floatpanel");if(A.autohide){u();m();x.push(z)}if(A.autofix){n();z.on("move",function(){p(this)})}z.on("postrender show",function(D){if(D.control==z){var C,B=z.classPrefix;if(z.modal&&!y){C=i.createFragment('<div id="'+B+'modal-block" class="'+B+"reset "+B+'fade"></div>');C=C.firstChild;z.getContainerElm().appendChild(C);setTimeout(function(){i.addClass(C,B+"in");i.addClass(z.getEl(),B+"in")},0);y=true}v(true,z)}});z.on("show",function(){z.parents().each(function(B){if(B._fixed){z.fixed(true);return false}})});if(A.popover){z._preBodyHtml='<div class="'+z.classPrefix+'arrow"></div>';z.addClass("popover").addClass("bottom").addClass(z.isRtl()?"end":"start")}},fixed:function(B){var A=this;if(A._fixed!=B){if(A._rendered){var z=i.getViewPort();if(B){A.layoutRect().y-=z.y}else{A.layoutRect().y+=z.y}}A.toggleClass("fixed",B);A._fixed=B}return A},show:function(){var z=this,A,B=z._super();A=x.length;while(A--){if(x[A]===z){break}}if(A===-1){x.push(z)}return B},hide:function(){s(this);v(false,this);return this._super()},hideAll:function(){r.hideAll()},close:function(){var z=this;if(!z.fire("close").isDefaultPrevented()){z.remove();v(false,z)}return z},remove:function(){s(this);this._super()},postRender:function(){var z=this;if(z.settings.bodyRole){this.getEl("body").setAttribute("role",z.settings.bodyRole)}return z._super()}});r.hideAll=function(){var A=x.length;while(A--){var z=x[A];if(z&&z.settings.autohide){z.hide();x.splice(A,1)}}};function s(z){var A;A=x.length;while(A--){if(x[A]===z){x.splice(A,1)}}A=o.length;while(A--){if(o[A]===z){o.splice(A,1)}}}return r});h("tinymce/ui/Window",["tinymce/ui/FloatPanel","tinymce/ui/Panel","tinymce/ui/DomUtils","tinymce/ui/DragHelper"],function(m,l,i,k){var j=m.extend({modal:true,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(o){var n=this;n._super(o);if(n.isRtl()){n.addClass("rtl")}n.addClass("window");n._fixed=true;if(o.buttons){n.statusbar=new l({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:n.isRtl()?"start":"end",defaults:{type:"button"},items:o.buttons});n.statusbar.addClass("foot");n.statusbar.parent(n)}n.on("click",function(p){if(p.target.className.indexOf(n.classPrefix+"close")!=-1){n.close()}});n.on("cancel",function(){n.close()});n.aria("describedby",n.describedBy||n._id+"-none");n.aria("label",o.title);n._fullscreen=false},recalc:function(){var o=this,r=o.statusbar,q,p,n,s;if(o._fullscreen){o.layoutRect(i.getWindowSize());o.layoutRect().contentH=o.layoutRect().innerH}o._super();q=o.layoutRect();if(o.settings.title&&!o._fullscreen){p=q.headerW;if(p>q.w){n=q.x-Math.max(0,p/2);o.layoutRect({w:p,x:n});s=true}}if(r){r.layoutRect({w:o.layoutRect().innerW}).recalc();p=r.layoutRect().minW+q.deltaW;if(p>q.w){n=q.x-Math.max(0,p-q.w);o.layoutRect({w:p,x:n});s=true}}if(s){o.recalc()}},initLayoutRect:function(){var n=this,r=n._super(),q=0,s;if(n.settings.title&&!n._fullscreen){s=n.getEl("head");var o=i.getSize(s);r.headerW=o.width;r.headerH=o.height;q+=r.headerH}if(n.statusbar){q+=n.statusbar.layoutRect().h}r.deltaH+=q;r.minH+=q;r.h+=q;var p=i.getWindowSize();r.x=Math.max(0,p.w/2-r.w/2);r.y=Math.max(0,p.h/2-r.h/2);return r},renderHtml:function(){var o=this,r=o._layout,u=o._id,s=o.classPrefix;var q=o.settings,n="",t="",p=q.html;o.preRender();r.preRender(o);if(q.title){n=('<div id="'+u+'-head" class="'+s+'window-head"><div id="'+u+'-title" class="'+s+'title">'+o.encode(q.title)+'</div><button type="button" class="'+s+'close" aria-hidden="true">\u00d7</button><div id="'+u+'-dragh" class="'+s+'dragh"></div></div>')}if(q.url){p='<iframe src="'+q.url+'" tabindex="-1"></iframe>'}if(typeof p=="undefined"){p=r.renderHtml(o)}if(o.statusbar){t=o.statusbar.renderHtml()}return('<div id="'+u+'" class="'+o.classes()+'" hidefocus="1"><div class="'+o.classPrefix+'reset" role="application">'+n+'<div id="'+u+'-body" class="'+o.classes("body")+'">'+p+"</div>"+t+"</div></div>")},fullscreen:function(t){var n=this,s=document.documentElement,o,r=n.classPrefix,q;if(t!=n._fullscreen){i.on(window,"resize",function(){var v;if(n._fullscreen){if(!o){v=new Date().getTime();var u=i.getWindowSize();n.moveTo(0,0).resizeTo(u.w,u.h);if((new Date().getTime())-v>50){o=true}}else{if(!n._timer){n._timer=setTimeout(function(){var w=i.getWindowSize();n.moveTo(0,0).resizeTo(w.w,w.h);n._timer=0},50)}}}});q=n.layoutRect();n._fullscreen=t;if(!t){n._borderBox=n.parseBox(n.settings.border);n.getEl("head").style.display="";q.deltaH+=q.headerH;i.removeClass(s,r+"fullscreen");i.removeClass(document.body,r+"fullscreen");n.removeClass("fullscreen");n.moveTo(n._initial.x,n._initial.y).resizeTo(n._initial.w,n._initial.h)}else{n._initial={x:q.x,y:q.y,w:q.w,h:q.h};n._borderBox=n.parseBox("0");n.getEl("head").style.display="none";q.deltaH-=q.headerH+2;i.addClass(s,r+"fullscreen");i.addClass(document.body,r+"fullscreen");n.addClass("fullscreen");var p=i.getWindowSize();n.moveTo(0,0).resizeTo(p.w,p.h)}}return n.reflow()},postRender:function(){var n=this,o;setTimeout(function(){n.addClass("in")},0);n._super();if(n.statusbar){n.statusbar.postRender()}n.focus();this.dragHelper=new k(n._id+"-dragh",{start:function(){o={x:n.layoutRect().x,y:n.layoutRect().y}},drag:function(p){n.moveTo(o.x+p.deltaX,o.y+p.deltaY)}});n.on("submit",function(p){if(!p.isDefaultPrevented()){n.close()}})},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var n=this,o=n.classPrefix;n.dragHelper.destroy();n._super();if(n.statusbar){this.statusbar.remove()}if(n._fullscreen){i.removeClass(document.documentElement,o+"fullscreen");i.removeClass(document.body,o+"fullscreen")}},getContentWindow:function(){var n=this.getEl().getElementsByTagName("iframe")[0];return n?n.contentWindow:null}});return j});h("tinymce/ui/MessageBox",["tinymce/ui/Window"],function(j){var i=j.extend({init:function(k){k={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:true,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:true,maxWidth:500,maxHeight:200}};this._super(k)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(l){var m,n=l.callback||function(){};function k(q,o,p){return{type:"button",text:q,subtype:p?"primary":"",onClick:function(r){r.control.parents()[1].close();n(o)}}}switch(l.buttons){case i.OK_CANCEL:m=[k("Ok",true,true),k("Cancel",false)];break;case i.YES_NO:case i.YES_NO_CANCEL:m=[k("Yes",1,true),k("No",0)];if(l.buttons==i.YES_NO_CANCEL){m.push(k("Cancel",-1))}break;default:m=[k("Ok",true,true)];break}return new j({padding:20,x:l.x,y:l.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:m,title:l.title,role:"alertdialog",items:{type:"label",multiline:true,maxWidth:500,maxHeight:200,text:l.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:l.onClose,onCancel:function(){n(false)}}).renderTo(document.body).reflow()},alert:function(k,l){if(typeof k=="string"){k={text:k}}k.callback=l;return i.msgBox(k)},confirm:function(k,l){if(typeof k=="string"){k={text:k}}k.callback=l;k.buttons=i.OK_CANCEL;return i.msgBox(k)}}});return i});h("tinymce/WindowManager",["tinymce/ui/Window","tinymce/ui/MessageBox"],function(j,i){return function(m){var l=this,n=[];function k(){if(n.length){return n[n.length-1]}}l.windows=n;m.on("remove",function(){var o=n.length;while(o--){n[o].close()}});l.open=function(o,q){var p;m.editorManager.setActive(m);o.title=o.title||" ";o.url=o.url||o.file;if(o.url){o.width=parseInt(o.width||320,10);o.height=parseInt(o.height||240,10)}if(o.body){o.items={defaults:o.defaults,type:o.bodyType||"form",items:o.body}}if(!o.url&&!o.buttons){o.buttons=[{text:"Ok",subtype:"primary",onclick:function(){p.find("form")[0].submit()}},{text:"Cancel",onclick:function(){p.close()}}]}p=new j(o);n.push(p);p.on("close",function(){var r=n.length;while(r--){if(n[r]===p){n.splice(r,1)}}if(!n.length){m.focus()}});if(o.data){p.on("postRender",function(){this.find("*").each(function(s){var r=s.name();if(r in o.data){s.value(o.data[r])}})})}p.features=o||{};p.params=q||{};if(n.length===1){m.nodeChanged()}return p.renderTo().reflow()};l.alert=function(p,q,o){i.alert(p,function(){if(q){q.call(o||this)}else{m.focus()}})};l.confirm=function(p,q,o){i.confirm(p,function(r){q.call(o||this,r)})};l.close=function(){if(k()){k().close()}};l.getParams=function(){return k()?k().params:null};l.setParams=function(o){if(k()){k().params=o}};l.getWindows=function(){return n}}});h("tinymce/util/Quirks",["tinymce/util/VK","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/html/Node","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools"],function(n,m,l,k,o,i,j){return function(p){var aj=j.each,W=p.$;var s=n.BACKSPACE,E=n.DELETE,r=p.dom,G=p.selection,an=p.settings,V=p.parser,L=p.serializer;var u=i.gecko,C=i.ie,ag=i.webkit;var ab="data:text/mce-internal,";var t=C?"Text":"URL";function aa(au,at){try{p.getDoc().execCommand(au,false,at)}catch(ar){}}function J(){var ar=p.getDoc().documentMode;return ar?ar:6}function Z(ar){return ar.isDefaultPrevented()}function Q(at){var ar;if(at.dataTransfer){if(p.selection.isCollapsed()&&at.target.tagName=="IMG"){G.select(at.target)}ar=p.selection.getContent();if(ar.length>0){at.dataTransfer.setData(t,ab+escape(ar))}}}function K(at){var au,ar;if(at.dataTransfer){au=at.dataTransfer.getData(t);if(au&&au.indexOf(ab)>=0){ar=unescape(au.substr(ab.length))}}return ar}function R(ar){if(p.queryCommandSupported("mceInsertClipboardContent")){p.execCommand("mceInsertClipboardContent",false,{content:ar})}else{p.execCommand("mceInsertContent",false,ar)}}function ap(){var aD=p.getDoc(),ax=p.dom,aE=p.selection;var at=window.MutationObserver,ay,aC;if(!at){ay=true;at=function(){var aF=[],aI;function aH(aK){var aJ=aK.relatedNode||aK.target;aF.push({target:aJ,addedNodes:[aJ]})}function aG(aK){var aJ=aK.relatedNode||aK.target;aF.push({target:aJ,attributeName:aK.attrName})}this.observe=function(aJ){aI=aJ;aI.addEventListener("DOMSubtreeModified",aH,false);aI.addEventListener("DOMNodeInsertedIntoDocument",aH,false);aI.addEventListener("DOMNodeInserted",aH,false);aI.addEventListener("DOMAttrModified",aG,false)};this.disconnect=function(){aI.removeEventListener("DOMSubtreeModified",aH,false);aI.removeEventListener("DOMNodeInsertedIntoDocument",aH,false);aI.removeEventListener("DOMNodeInserted",aH,false);aI.removeEventListener("DOMAttrModified",aG,false)};this.takeRecords=function(){return aF}}}function ar(aH){var aG=ax.schema.getBlockElements(),aF=p.getBody();if(aH.nodeName!="BR"){return false}for(aH=aH;aH!=aF&&!aG[aH.nodeName];aH=aH.parentNode){if(aH.nextSibling){return false}}return true}function au(aG,aF){var aH;for(aH=aG.nextSibling;aH&&aH!=aF;aH=aH.nextSibling){if(aH.nodeType==3&&W.trim(aH.data).length===0){continue}if(aH!==aF){return false}}return aH===aF}function az(aI,aH,aG){var aK,aJ,aF;aF=ax.schema.getNonEmptyElements();aK=new l(aG||aI,aI);while((aJ=aK[aH?"next":"prev"]())){if(aF[aJ.nodeName]&&!ar(aJ)){return aJ}if(aJ.nodeType==3&&aJ.data.length>0){return aJ}}}function aB(aG){var aJ,aH,aF,aI,aK;if(aG.collapsed){return}aJ=ax.getParent(m.getNode(aG.startContainer,aG.startOffset),ax.isBlock);aH=ax.getParent(m.getNode(aG.endContainer,aG.endOffset),ax.isBlock);aK=p.schema.getTextBlockElements();if(aJ==aH){return}if(!aK[aJ.nodeName]||!aK[aH.nodeName]){return}if(ax.getContentEditable(aJ)==="false"||ax.getContentEditable(aH)==="false"){return}aG.deleteContents();aF=az(aJ,false);aI=az(aH,true);if(!ax.isEmpty(aH)){W(aJ).append(aH.childNodes)}W(aH).remove();if(aF){if(aF.nodeType==1){if(aF.nodeName=="BR"){aG.setStartBefore(aF);aG.setEndBefore(aF)}else{aG.setStartAfter(aF);aG.setEndAfter(aF)}}else{aG.setStart(aF,aF.data.length);aG.setEnd(aF,aF.data.length)}}else{if(aI){if(aI.nodeType==1){aG.setStartBefore(aI);aG.setEndBefore(aI)}else{aG.setStart(aI,0);aG.setEnd(aI,0)}}}aE.setRng(aG);return true}function aw(aG,aL){var aI,aK,aH,aJ,aF,aM;if(!aG.collapsed){return aG}aF=aG.startContainer;aM=aG.startOffset;if(aF.nodeType==3){if(aL){if(aM<aF.data.length){return aG}}else{if(aM>0){return aG}}}aI=m.getNode(aG.startContainer,aG.startOffset);aH=ax.getParent(aI,ax.isBlock);aK=az(p.getBody(),aL,aI);aJ=ax.getParent(aK,ax.isBlock);if(!aI||!aK){return aG}if(aJ&&aH!=aJ){if(!aL){if(!au(aJ,aH)){return aG}if(aK.nodeType==1){if(aK.nodeName=="BR"){aG.setStartBefore(aK)}else{aG.setStartAfter(aK)}}else{aG.setStart(aK,aK.data.length)}if(aI.nodeType==1){aG.setEnd(aI,0)}else{aG.setEndBefore(aI)}}else{if(!au(aH,aJ)){return aG}if(aI.nodeType==1){if(aI.nodeName=="BR"){aG.setStartBefore(aI)}else{aG.setStartAfter(aI)}}else{aG.setStart(aI,aI.data.length)}if(aK.nodeType==1){aG.setEnd(aK,0)}else{aG.setEndBefore(aK)}}}return aG}function av(aG){var aF=aE.getRng();aF=aw(aF,aG);if(aB(aF)){return true}}function aA(aH){var aG,aF,aI;if(av(aH)){return}j.each(p.getBody().getElementsByTagName("*"),function(aJ){if(aJ.tagName=="SPAN"){aJ.setAttribute("mce-data-marked",1)}if(!aJ.hasAttribute("data-mce-style")&&aJ.hasAttribute("style")){p.dom.setAttrib(aJ,"style",p.dom.getAttrib(aJ,"style"))}});aG=new at(function(){});aG.observe(p.getDoc(),{childList:true,attributes:true,subtree:true,attributeFilter:["style"]});p.getDoc().execCommand(aH?"ForwardDelete":"Delete",false,null);aF=p.selection.getRng();aI=aF.startContainer.parentNode;j.each(aG.takeRecords(),function(aJ){if(!ax.isChildOf(aJ.target,p.getBody())){return}if(aJ.attributeName=="style"){var aK=aJ.target.getAttribute("data-mce-style");if(aK){aJ.target.setAttribute("style",aK)}else{aJ.target.removeAttribute("style")}}j.each(aJ.addedNodes,function(aM){if(aM.nodeName=="SPAN"&&!aM.getAttribute("mce-data-marked")){var aN,aL;if(aM==aI){aN=aF.startOffset;aL=aM.firstChild}ax.remove(aM,true);if(aL){aF.setStart(aL,aN);aF.setEnd(aL,aN);p.selection.setRng(aF)}}})});aG.disconnect();j.each(p.dom.select("span[mce-data-marked]"),function(aJ){aJ.removeAttribute("mce-data-marked")})}p.on("keydown",function(aJ){var aI=aJ.keyCode==E,aF=aJ.ctrlKey||aJ.metaKey;if(!Z(aJ)&&(aI||aJ.keyCode==s)){var aH=p.selection.getRng(),aG=aH.startContainer,aK=aH.startOffset;if(!aF&&aH.collapsed&&aG.nodeType==3){if(aI?aK<aG.data.length:aK>0){return}}aJ.preventDefault();if(aF){p.selection.getSel().modify("extend",aI?"forward":"backward",aJ.metaKey?"lineboundary":"word")}aA(aI)}});p.on("keypress",function(aK){if(!Z(aK)&&!aE.isCollapsed()&&aK.charCode&&!n.metaKeyPressed(aK)){var aF,aL,aJ,aG,aH,aI;aF=p.selection.getRng();aI=String.fromCharCode(aK.charCode);aK.preventDefault();aL=W(aF.startContainer).parents().filter(function(aM,aN){return !!p.schema.getTextInlineElements()[aN.nodeName]});aA(true);aL=aL.filter(function(aM,aN){return !W.contains(p.getBody(),aN)});if(aL.length){aJ=ax.createFragment();aL.each(function(aM,aN){aN=aN.cloneNode(false);if(aJ.hasChildNodes()){aN.appendChild(aJ.firstChild);aJ.appendChild(aN)}else{aH=aN;aJ.appendChild(aN)}aJ.appendChild(aN)});aH.appendChild(p.getDoc().createTextNode(aI));aG=ax.getParent(aF.startContainer,ax.isBlock);if(ax.isEmpty(aG)){W(aG).empty().append(aJ)}else{aF.insertNode(aJ)}aF.setStart(aH.firstChild,1);aF.setEnd(aH.firstChild,1);p.selection.setRng(aF)}else{p.selection.setContent(aI)}}});p.addCommand("Delete",function(){aA()});p.addCommand("ForwardDelete",function(){aA(true)});if(ay){return}p.on("dragstart",function(aF){aC=aE.getRng();Q(aF)});p.on("drop",function(aF){if(!Z(aF)){var aG=K(aF);if(aG){aF.preventDefault();window.setTimeout(function(){var aH=m.getCaretRangeFromPoint(aF.x,aF.y,aD);if(aC){aE.setRng(aC);aC=null}aA();aE.setRng(aH);R(aG)},0)}}});p.on("cut",function(aF){if(!Z(aF)&&aF.clipboardData){aF.preventDefault();aF.clipboardData.clearData();aF.clipboardData.setData("text/html",p.selection.getContent());aF.clipboardData.setData("text/plain",p.selection.getContent({format:"text"}));aA(true)}})}function P(){function ar(av){var au=r.create("body");var aw=av.cloneContents();au.appendChild(aw);return G.serializer.serialize(au,{format:"html"})}function at(au){if(!au.setStart){if(au.item){return false}var ay=au.duplicate();ay.moveToElementText(p.getBody());return m.compareRanges(au,ay)}var aw=ar(au);var ax=r.createRng();ax.selectNode(p.getBody());var av=ar(ax);return aw===av}p.on("keydown",function(ax){var aw=ax.keyCode,av,au;if(!Z(ax)&&(aw==E||aw==s)){av=p.selection.isCollapsed();au=p.getBody();if(av&&!r.isEmpty(au)){return}if(!av&&!at(p.selection.getRng())){return}ax.preventDefault();p.setContent("");if(au.firstChild&&r.isBlock(au.firstChild)){p.selection.setCursorLocation(au.firstChild,0)}else{p.selection.setCursorLocation(au,0)}p.nodeChanged()}})}function ao(){p.shortcuts.add("meta+a",null,"SelectAll")}function aq(){if(!p.settings.content_editable){r.bind(p.getDoc(),"focusin",function(){G.setRng(G.getRng())});r.bind(p.getDoc(),"mousedown mouseup",function(ar){if(ar.target==p.getDoc().documentElement){p.getBody().focus();if(ar.type=="mousedown"){G.placeCaretAt(ar.clientX,ar.clientY)}else{G.setRng(G.getRng())}}})}}function ad(){p.on("keydown",function(au){if(!Z(au)&&au.keyCode===s){if(!p.getBody().getElementsByTagName("hr").length){return}if(G.isCollapsed()&&G.getRng(true).startOffset===0){var at=G.getNode();var ar=at.previousSibling;if(at.nodeName=="HR"){r.remove(at);au.preventDefault();return}if(ar&&ar.nodeName&&ar.nodeName.toLowerCase()==="hr"){r.remove(ar);au.preventDefault()}}}})}function Y(){if(!window.Range.prototype.getClientRects){p.on("mousedown",function(at){if(!Z(at)&&at.target.nodeName==="HTML"){var ar=p.getBody();ar.blur();setTimeout(function(){ar.focus()},0)}})}}function x(){p.on("click",function(at){var ar=at.target;if(/^(IMG|HR)$/.test(ar.nodeName)){at.preventDefault();G.getSel().setBaseAndExtent(ar,0,ar,1);p.nodeChanged()}if(ar.nodeName=="A"&&r.hasClass(ar,"mce-item-anchor")){at.preventDefault();G.select(ar)}})}function ak(){function at(){var au=r.getAttribs(G.getStart().cloneNode(false));return function(){var av=G.getStart();if(av!==p.getBody()){r.setAttrib(av,"style",null);aj(au,function(aw){av.setAttributeNode(aw.cloneNode(true))})}}}function ar(){return !G.isCollapsed()&&r.getParent(G.getStart(),r.isBlock)!=r.getParent(G.getEnd(),r.isBlock)}p.on("keypress",function(av){var au;if(!Z(av)&&(av.keyCode==8||av.keyCode==46)&&ar()){au=at();p.getDoc().execCommand("delete",false,null);au();av.preventDefault();return false}});r.bind(p.getDoc(),"cut",function(av){var au;if(!Z(av)&&ar()){au=at();setTimeout(function(){au()},0)}})}function X(){document.body.setAttribute("role","application")}function U(){p.on("keydown",function(at){if(!Z(at)&&at.keyCode===s){if(G.isCollapsed()&&G.getRng(true).startOffset===0){var ar=G.getNode().previousSibling;if(ar&&ar.nodeName&&ar.nodeName.toLowerCase()==="table"){at.preventDefault();return false}}}})}function ah(){if(J()>7){return}aa("RespectVisibilityInDesign",true);p.contentStyles.push(".mceHideBrInPre pre br {display: none}");r.addClass(p.getBody(),"mceHideBrInPre");V.addNodeFilter("pre",function(ar){var au=ar.length,aw,at,ax,av;while(au--){aw=ar[au].getAll("br");at=aw.length;while(at--){ax=aw[at];av=ax.prev;if(av&&av.type===3&&av.value.charAt(av.value-1)!="\n"){av.value+="\n"}else{ax.parent.insert(new k("#text",3),ax,true).value="\n"}}}});L.addNodeFilter("pre",function(ar){var au=ar.length,aw,at,ax,av;while(au--){aw=ar[au].getAll("br");at=aw.length;while(at--){ax=aw[at];av=ax.prev;if(av&&av.type==3){av.value=av.value.replace(/\r?\n$/,"")}}}})}function w(){r.bind(p.getBody(),"mouseup",function(){var at,ar=G.getNode();if(ar.nodeName=="IMG"){if((at=r.getStyle(ar,"width"))){r.setAttrib(ar,"width",at.replace(/[^0-9%]+/g,""));r.setStyle(ar,"width","")}if((at=r.getStyle(ar,"height"))){r.setAttrib(ar,"height",at.replace(/[^0-9%]+/g,""));r.setStyle(ar,"height","")}}})}function am(){p.on("keydown",function(aw){var au,at,ax,ar,av;if(Z(aw)||aw.keyCode!=n.BACKSPACE){return}au=G.getRng();at=au.startContainer;ax=au.startOffset;ar=r.getRoot();av=at;if(!au.collapsed||ax!==0){return}while(av&&av.parentNode&&av.parentNode.firstChild==av&&av.parentNode!=ar){av=av.parentNode}if(av.tagName==="BLOCKQUOTE"){p.formatter.toggle("blockquote",null,av);au=r.createRng();au.setStart(at,0);au.setEnd(at,0);G.setRng(au)}})}function al(){function ar(){p._refreshContentEditable();aa("StyleWithCSS",false);aa("enableInlineTableEditing",false);if(!an.object_resizing){aa("enableObjectResizing",false)}}if(!an.readonly){p.on("BeforeExecCommand MouseDown",ar)}}function T(){function ar(){aj(r.select("a"),function(av){var at=av.parentNode,au=r.getRoot();if(at.lastChild===av){while(at&&!r.isBlock(at)){if(at.parentNode.lastChild!==at||at===au){return}at=at.parentNode}r.add(at,"br",{"data-mce-bogus":1})}})}p.on("SetContent ExecCommand",function(at){if(at.type=="setcontent"||at.command==="mceInsertLink"){ar()}})}function H(){if(an.forced_root_block){p.on("init",function(){aa("DefaultParagraphSeparator",an.forced_root_block)})}}function N(){p.on("Undo Redo SetContent",function(ar){if(!ar.initial){p.execCommand("mceRepaint")}})}function y(){p.on("keydown",function(at){var ar;if(!Z(at)&&at.keyCode==s){ar=p.getDoc().selection.createRange();if(ar&&ar.item){at.preventDefault();p.undoManager.beforeChange();r.remove(ar.item(0));p.undoManager.add()}}})}function S(){var ar;if(J()>=10){ar="";aj("p div h1 h2 h3 h4 h5 h6".split(" "),function(at,au){ar+=(au>0?",":"")+at+":empty"});p.contentStyles.push(ar+"{padding-right: 1px !important}")}}function ai(){if(J()<9){V.addNodeFilter("noscript",function(ar){var at=ar.length,au,av;while(at--){au=ar[at];av=au.firstChild;if(av){au.attr("data-mce-innertext",av.value)}}});L.addNodeFilter("noscript",function(ar){var at=ar.length,au,aw,av;while(at--){au=ar[at];aw=ar[at].firstChild;if(aw){aw.value=o.decode(aw.value)}else{av=au.attributes.map["data-mce-innertext"];if(av){au.attr("data-mce-innertext",null);aw=new k("#text",3);aw.value=av;aw.raw=true;au.append(aw)}}}})}}function O(){var ay=r.doc,at=ay.body,av,aw,az;function ax(aA,aD){var aB=at.createTextRange();try{aB.moveToPoint(aA,aD)}catch(aC){aB=null}return aB}function au(aB){var aA;if(aB.button){aA=ax(aB.x,aB.y);if(aA){if(aA.compareEndPoints("StartToStart",aw)>0){aA.setEndPoint("StartToStart",aw)}else{aA.setEndPoint("EndToEnd",aw)}aA.select()}}else{ar()}}function ar(){var aA=ay.selection.createRange();if(aw&&!aA.item&&aA.compareEndPoints("StartToEnd",aA)===0){aw.select()}r.unbind(ay,"mouseup",ar);r.unbind(ay,"mousemove",au);aw=av=0}ay.documentElement.unselectable=true;r.bind(ay,"mousedown contextmenu",function(aA){if(aA.target.nodeName==="HTML"){if(av){ar()}az=ay.documentElement;if(az.scrollHeight>az.clientHeight){return}av=1;aw=ax(aA.x,aA.y);if(aw){r.bind(ay,"mouseup",ar);r.bind(ay,"mousemove",au);r.getRoot().focus();aw.select()}}})}function af(){p.on("keyup focusin mouseup",function(ar){if(ar.keyCode!=65||!n.metaKeyPressed(ar)){G.normalize()}},true)}function A(){p.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")}function B(){if(!p.inline){p.on("keydown",function(){if(document.activeElement==document.body){p.getWin().focus()}})}}function F(){if(!p.inline){p.contentStyles.push("body {min-height: 150px}");p.on("click",function(at){if(at.target.nodeName=="HTML"){var ar;ar=p.selection.getRng();p.getBody().focus();p.selection.setRng(ar);p.selection.normalize();p.nodeChanged()}})}}function D(){if(i.mac){p.on("keydown",function(ar){if(n.metaKeyPressed(ar)&&(ar.keyCode==37||ar.keyCode==39)){ar.preventDefault();p.selection.getSel().modify("move",ar.keyCode==37?"backward":"forward","lineboundary")}})}}function ac(){aa("AutoUrlDetect",false)}function I(){if(!p.inline){p.on("focus blur beforegetcontent",function(){var ar=p.dom.create("br");p.getBody().appendChild(ar);ar.parentNode.removeChild(ar)},true)}}function z(){p.on("click",function(ar){var at=ar.target;do{if(at.tagName==="A"){ar.preventDefault();return}}while((at=at.parentNode))});p.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")}function q(){p.on("touchstart",function(av){var aw,au,at,ar;aw=av.target;au=new Date().getTime();ar=av.changedTouches;if(!ar||ar.length>1){return}at=ar[0];p.once("touchend",function(az){var ay=az.changedTouches[0],ax;if(new Date().getTime()-au>500){return}if(Math.abs(at.clientX-ay.clientX)>5){return}if(Math.abs(at.clientY-ay.clientY)>5){return}ax={target:aw};aj("pageX pageY clientX clientY screenX screenY".split(" "),function(aA){ax[aA]=ay[aA]});ax=p.fire("click",ax);if(!ax.isDefaultPrevented()){p.selection.placeCaretAt(ay.clientX,ay.clientY);p.nodeChanged()}})})}function M(){p.on("init",function(){p.dom.bind(p.getBody(),"submit",function(ar){ar.preventDefault()})})}function ae(){V.addNodeFilter("br",function(ar){var at=ar.length;while(at--){if(ar[at].attr("class")=="Apple-interchange-newline"){ar[at].remove()}}})}function v(){p.on("dragstart",function(ar){Q(ar)});p.on("drop",function(at){if(!Z(at)){var au=K(at);if(au){at.preventDefault();var ar=m.getCaretRangeFromPoint(at.x,at.y,p.getDoc());G.setRng(ar);R(au)}}})}am();P();af();if(ag){ap();aq();x();H();M();U();ae();q();if(i.iOS){B();F();z()}else{ao()}}if(C&&i.ie<11){ad();X();ah();w();y();S();ai();O()}if(i.ie>=11){F();I();U()}if(i.ie){ao();ac();v()}if(u){ad();Y();ak();al();T();N();A();D();U()}}});h("tinymce/util/Observable",["tinymce/util/EventDispatcher"],function(j){function i(k){if(!k._eventDispatcher){k._eventDispatcher=new j({scope:k,toggleEvent:function(l,m){if(j.isNative(l)&&k.toggleNativeEvent){k.toggleNativeEvent(l,m)}}})}return k._eventDispatcher}return{fire:function(n,m,k){var l=this;if(l.removed&&n!=="remove"){return m}m=i(l).fire(n,m,k);if(k!==false&&l.parent){var o=l.parent();while(o&&!m.isPropagationStopped()){o.fire(n,m,false);o=o.parent()}}return m},on:function(l,m,k){return i(this).on(l,m,k)},off:function(k,l){return i(this).off(k,l)},once:function(k,l){return i(this).once(k,l)},hasEventListeners:function(k){return i(this).has(k)}}});h("tinymce/EditorObservable",["tinymce/util/Observable","tinymce/dom/DOMUtils","tinymce/util/Tools"],function(i,n,k){var l=n.DOM,j;function o(r,q){if(q=="selectionchange"){return r.getDoc()}if(!r.inline&&/^mouse|click|contextmenu|drop|dragover|dragend/.test(q)){return r.getDoc().documentElement}if(r.settings.event_root){if(!r.eventRoot){r.eventRoot=l.select(r.settings.event_root)[0]}return r.eventRoot}return r.getBody()}function m(s,q){var t=o(s,q),r;if(!s.delegates){s.delegates={}}if(s.delegates[q]){return}if(s.settings.event_root){if(!j){j={};s.editorManager.on("removeEditor",function(){var u;if(!s.editorManager.activeEditor){if(j){for(u in j){s.dom.unbind(o(s,u))}j=null}}})}if(j[q]){return}r=function(y){var x=y.target,w=s.editorManager.editors,v=w.length;while(v--){var u=w[v].getBody();if(u===x||l.isChildOf(x,u)){if(!w[v].hidden){w[v].fire(q,y)}}}};j[q]=r;l.bind(t,q,r)}else{r=function(u){if(!s.hidden){s.fire(q,u)}};l.bind(t,q,r);s.delegates[q]=r}}var p={bindPendingEventDelegates:function(){var q=this;k.each(q._pendingNativeEvents,function(r){m(q,r)})},toggleNativeEvent:function(r,s){var q=this;if(q.settings.readonly){return}if(r=="focus"||r=="blur"){return}if(s){if(q.initialized){m(q,r)}else{if(!q._pendingNativeEvents){q._pendingNativeEvents=[r]}else{q._pendingNativeEvents.push(r)}}}else{if(q.initialized){q.dom.unbind(o(q,r),r,q.delegates[r]);delete q.delegates[r]}}},unbindAllNativeEvents:function(){var q=this,r;if(q.delegates){for(r in q.delegates){q.dom.unbind(o(q,r),r,q.delegates[r])}delete q.delegates}if(!q.inline){q.getBody().onload=null;q.dom.unbind(q.getWin());q.dom.unbind(q.getDoc())}q.dom.unbind(q.getBody());q.dom.unbind(q.getContainer())}};p=k.extend({},i,p);return p});h("tinymce/Shortcuts",["tinymce/util/Tools","tinymce/Env"],function(k,j){var n=k.each,m=k.explode;var i={f9:120,f10:121,f11:122};var l=k.makeMap("alt,ctrl,shift,meta,access");return function(r){var q=this,o={};function p(w,x,v,u){var y,t,s;s={func:v,scope:u||r,desc:r.translate(x)};n(m(w,"+"),function(z){if(z in l){s[z]=true}else{if(/^[0-9]{2,}$/.test(z)){s.keyCode=parseInt(z,10)}else{s.charCode=z.charCodeAt(0);s.keyCode=i[z]||z.toUpperCase().charCodeAt(0)}}});y=[s.keyCode];for(t in l){if(s[t]){y.push(t)}else{s[t]=false}}s.id=y.join(",");if(s.access){s.alt=true;if(j.mac){s.ctrl=true}else{s.shift=true}}if(s.meta){if(j.mac){s.meta=true}else{s.ctrl=true;s.meta=false}}return s}r.on("keyup keypress keydown",function(s){if((s.altKey||s.ctrlKey||s.metaKey)&&!s.isDefaultPrevented()){n(o,function(t){if(t.ctrl!=s.ctrlKey||t.meta!=s.metaKey){return}if(t.alt!=s.altKey||t.shift!=s.shiftKey){return}if(s.keyCode==t.keyCode||(s.charCode&&s.charCode==t.charCode)){s.preventDefault();if(s.type=="keydown"){t.func.call(t.scope)}return true}})}});q.add=function(v,w,t,s){var u;u=t;if(typeof t==="string"){t=function(){r.execCommand(u,false,null)}}else{if(k.isArray(u)){t=function(){r.execCommand(u[0],u[1],u[2])}}}n(m(v.toLowerCase()),function(y){var x=p(y,w,t,s);o[x.id]=x});return true};q.remove=function(t){var s=p(t);if(o[s.id]){delete o[s.id];return true}return false}}});h("tinymce/Editor",["tinymce/dom/DOMUtils","tinymce/dom/DomQuery","tinymce/AddOnManager","tinymce/NodeChange","tinymce/html/Node","tinymce/dom/Serializer","tinymce/html/Serializer","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/dom/ScriptLoader","tinymce/dom/EventUtils","tinymce/WindowManager","tinymce/html/Schema","tinymce/html/DomParser","tinymce/util/Quirks","tinymce/Env","tinymce/util/Tools","tinymce/EditorObservable","tinymce/Shortcuts"],function(S,A,C,m,x,K,I,E,y,n,J,G,v,D,s,t,M,o,j,B,N,q,k,P){var z=S.DOM,O=C.ThemeManager,R=C.PluginManager;var p=q.extend,L=q.each,r=q.explode;var Q=q.inArray,i=q.trim,u=q.resolve;var H=t.Event;var l=N.gecko,F=N.ie;function w(Y,V,X){var U=this,T,W;T=U.documentBaseUrl=X.documentBaseURL;W=X.baseURI;U.settings=V=p({id:Y,theme:"modern",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:T,add_form_submit_trigger:true,submit_patch:true,add_unload_trigger:true,convert_urls:true,relative_urls:true,remove_script_host:true,object_resizing:true,doctype:"<!DOCTYPE html>",visual:true,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:true,padd_empty_editor:true,render_ui:true,indentation:"30px",inline_styles:true,convert_fonts_to_spans:true,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:true,entity_encoding:"named",url_converter:U.convertURL,url_converter_scope:U,ie7_compat:true},V);C.language=V.language||"en";C.languageLoad=V.language_load;C.baseURL=X.baseURL;U.id=V.id=Y;U.isNotDirty=true;U.plugins={};U.documentBaseURI=new D(V.document_base_url||T,{base_uri:W});U.baseURI=W;U.contentCSS=[];U.contentStyles=[];U.shortcuts=new P(U);U.loadedCSS={};U.editorCommands=new v(U);if(V.target){U.targetElm=V.target}U.suffix=X.suffix;U.editorManager=X;U.inline=V.inline;if(V.cache_suffix){N.cacheSuffix=V.cache_suffix.replace(/^[\?\&]+/,"")}X.fire("SetupEditor",U);U.execCallback("setup",U);U.$=A.overrideDefaults(function(){return{context:U.inline?U.getBody():U.getDoc(),element:U.getBody()}})}w.prototype={render:function(){var T=this,W=T.settings,Z=T.id,Y=T.suffix;function V(){z.unbind(window,"ready",V);T.render()}if(!H.domLoaded){z.bind(window,"ready",V);return}if(!T.getElement()){return}if(!N.contentEditable){return}if(!W.inline){T.orgVisibility=T.getElement().style.visibility;T.getElement().style.visibility="hidden"}else{T.inline=true}var X=T.getElement().form||z.getParent(Z,"form");if(X){T.formElement=X;if(W.hidden_input&&!/TEXTAREA|INPUT/i.test(T.getElement().nodeName)){z.insertAfter(z.create("input",{type:"hidden",name:Z}),Z);T.hasHiddenInput=true}T.formEventDelegate=function(aa){T.fire(aa.type,aa)};z.bind(X,"submit reset",T.formEventDelegate);T.on("reset",function(){T.setContent(T.startContent,{format:"raw"})});if(W.submit_patch&&!X.submit.nodeType&&!X.submit.length&&!X._mceOldSubmit){X._mceOldSubmit=X.submit;X.submit=function(){T.editorManager.triggerSave();T.isNotDirty=true;return X._mceOldSubmit(X)}}}T.windowManager=new M(T);if(W.encoding=="xml"){T.on("GetContent",function(aa){if(aa.save){aa.content=z.encode(aa.content)}})}if(W.add_form_submit_trigger){T.on("submit",function(){if(T.initialized){T.save()}})}if(W.add_unload_trigger){T._beforeUnload=function(){if(T.initialized&&!T.destroyed&&!T.isHidden()){T.save({format:"raw",no_events:true,set_dirty:false})}};T.editorManager.on("BeforeUnload",T._beforeUnload)}function U(){var ab=s.ScriptLoader;if(W.language&&W.language!="en"&&!W.language_url){W.language_url=T.editorManager.baseURL+"/langs/"+W.language+".js"}if(W.language_url){ab.add(W.language_url)}if(W.theme&&typeof W.theme!="function"&&W.theme.charAt(0)!="-"&&!O.urls[W.theme]){var aa=W.theme_url;if(aa){aa=T.documentBaseURI.toAbsolute(aa)}else{aa="themes/"+W.theme+"/theme"+Y+".js"}O.load(W.theme,aa)}if(q.isArray(W.plugins)){W.plugins=W.plugins.join(" ")}L(W.external_plugins,function(ad,ac){R.load(ac,ad);W.plugins+=" "+ac});L(W.plugins.split(/[ ,]/),function(ac){ac=i(ac);if(ac&&!R.urls[ac]){if(ac.charAt(0)=="-"){ac=ac.substr(1,ac.length);var ad=R.dependencies(ac);L(ad,function(af){var ae={prefix:"plugins/",resource:af,suffix:"/plugin"+Y+".js"};af=R.createUrl(ae,af);R.load(af.resource,af)})}else{R.load(ac,{prefix:"plugins/",resource:ac,suffix:"/plugin"+Y+".js"})}}});ab.loadQueue(function(){if(!T.removed){T.init()}})}U()},init:function(){var ab=this,ak=ab.settings,X=ab.getElement();var Z,ai,W,ae,ac,T,U,am,ah,ad,ag,V=[];this.editorManager.i18n.setCode(ak.language);ab.rtl=this.editorManager.i18n.rtl;ab.editorManager.add(ab);ak.aria_label=ak.aria_label||z.getAttrib(X,"aria-label",ab.getLang("aria.rich_text_area"));if(ak.theme){if(typeof ak.theme!="function"){ak.theme=ak.theme.replace(/-/,"");T=O.get(ak.theme);ab.theme=new T(ab,O.urls[ak.theme]);if(ab.theme.init){ab.theme.init(ab,O.urls[ak.theme]||ab.documentBaseUrl.replace(/\/$/,""),ab.$)}}else{ab.theme=ak.theme}}function al(aq){var ap=R.get(aq),ao,an;ao=R.urls[aq]||ab.documentBaseUrl.replace(/\/$/,"");aq=i(aq);if(ap&&Q(V,aq)===-1){L(R.dependencies(aq),function(ar){al(ar)});an=new ap(ab,ao,ab.$);ab.plugins[aq]=an;if(an.init){an.init(ab,ao);V.push(aq)}}}L(ak.plugins.replace(/\-/g,"").split(/[ ,]/),al);if(ak.render_ui&&ab.theme){ab.orgDisplay=X.style.display;if(typeof ak.theme!="function"){Z=ak.width||X.style.width||X.offsetWidth;ai=ak.height||X.style.height||X.offsetHeight;W=ak.min_height||100;ad=/^[0-9\.]+(|px)$/i;if(ad.test(""+Z)){Z=Math.max(parseInt(Z,10),100)}if(ad.test(""+ai)){ai=Math.max(parseInt(ai,10),W)}ac=ab.theme.renderUI({targetNode:X,width:Z,height:ai,deltaWidth:ak.delta_width,deltaHeight:ak.delta_height});if(!ak.content_editable){ai=(ac.iframeHeight||ai)+(typeof ai=="number"?(ac.deltaHeight||0):"");if(ai<W){ai=W}}}else{ac=ak.theme(ab,X);if(ac.editorContainer.nodeType){ac.editorContainer=ac.editorContainer.id=ac.editorContainer.id||ab.id+"_parent"}if(ac.iframeContainer.nodeType){ac.iframeContainer=ac.iframeContainer.id=ac.iframeContainer.id||ab.id+"_iframecontainer"}ai=ac.iframeHeight||X.offsetHeight}ab.editorContainer=ac.editorContainer}if(ak.content_css){L(r(ak.content_css),function(an){ab.contentCSS.push(ab.documentBaseURI.toAbsolute(an))})}if(ak.content_style){ab.contentStyles.push(ak.content_style)}if(ak.content_editable){X=ae=ac=null;return ab.initContentBody()}ab.iframeHTML=ak.doctype+"<html><head>";if(ak.document_base_url!=ab.documentBaseUrl){ab.iframeHTML+='<base href="'+ab.documentBaseURI.getURI()+'" />'}if(!N.caretAfter&&ak.ie7_compat){ab.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'}ab.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';for(ag=0;ag<ab.contentCSS.length;ag++){var af=ab.contentCSS[ag];ab.iframeHTML+=('<link type="text/css" rel="stylesheet" href="'+q._addCacheSuffix(af)+'" />');ab.loadedCSS[af]=true}am=ak.body_id||"tinymce";if(am.indexOf("=")!=-1){am=ab.getParam("body_id","","hash");am=am[ab.id]||am}ah=ak.body_class||"";if(ah.indexOf("=")!=-1){ah=ab.getParam("body_class","","hash");ah=ah[ab.id]||""}if(ak.content_security_policy){ab.iframeHTML+='<meta http-equiv="Content-Security-Policy" content="'+ak.content_security_policy+'" />'}ab.iframeHTML+='</head><body id="'+am+'" class="mce-content-body '+ah+'" data-id="'+ab.id+'"><br></body></html>';var aa='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+ab.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';if(document.domain!=location.hostname){U=aa}var Y=z.create("iframe",{id:ab.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:ab.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:ai,display:"block"}});Y.onload=function(){Y.onload=null;ab.fire("load")};z.setAttrib(Y,"src",U||'javascript:""');ab.contentAreaContainer=ac.iframeContainer;ab.iframeElement=Y;ae=z.add(ac.iframeContainer,Y);if(F){try{ab.getDoc()}catch(aj){ae.src=U=aa}}if(ac.editorContainer){z.get(ac.editorContainer).style.display=ab.orgDisplay;ab.hidden=z.isHidden(ac.editorContainer)}ab.getElement().style.display="none";z.setAttrib(ab.id,"aria-hidden",true);if(!U){ab.initContentBody()}X=ae=ac=null},initContentBody:function(U){var V=this,W=V.settings,X=V.getElement(),Y=V.getDoc(),T,Z;if(!W.inline){V.getElement().style.visibility=V.orgVisibility}if(!U&&!W.content_editable){Y.open();Y.write(V.iframeHTML);Y.close()}if(W.content_editable){V.on("remove",function(){var aa=this.getBody();z.removeClass(aa,"mce-content-body");z.removeClass(aa,"mce-edit-focus");z.setAttrib(aa,"contentEditable",null)});z.addClass(X,"mce-content-body");V.contentDocument=Y=W.content_document||document;V.contentWindow=W.content_window||window;V.bodyElement=X;W.content_document=W.content_window=null;W.root_name=X.nodeName.toLowerCase()}T=V.getBody();T.disabled=true;if(!W.readonly){if(V.inline&&z.getStyle(T,"position",true)=="static"){T.style.position="relative"}T.contentEditable=V.getParam("content_editable_state",true)}T.disabled=false;V.schema=new o(W);V.dom=new S(Y,{keep_values:true,url_converter:V.convertURL,url_converter_scope:V,hex_colors:W.force_hex_style_colors,class_filter:W.class_filter,update_styles:true,root_element:V.inline?V.getBody():null,collect:W.content_editable,schema:V.schema,onSetAttrib:function(aa){V.fire("SetAttrib",aa)}});V.parser=new j(W,V.schema);V.parser.addAttributeFilter("src,href,style,tabindex",function(aa,ab){var ac=aa.length,ae,ag=V.dom,af,ad;while(ac--){ae=aa[ac];af=ae.attr(ab);ad="data-mce-"+ab;if(!ae.attributes.map[ad]){if(ab==="style"){af=ag.serializeStyle(ag.parseStyle(af),ae.name);if(!af.length){af=null}ae.attr(ad,af);ae.attr(ab,af)}else{if(ab==="tabindex"){ae.attr(ad,af);ae.attr(ab,null)}else{ae.attr(ad,V.convertURL(af,ab,ae.name))}}}}});V.parser.addNodeFilter("script",function(aa){var ab=aa.length,ac;while(ab--){ac=aa[ab];ac.attr("type","mce-"+(ac.attr("type")||"no/type"))}});V.parser.addNodeFilter("#cdata",function(aa){var ab=aa.length,ac;while(ab--){ac=aa[ab];ac.type=8;ac.name="#comment";ac.value="[CDATA["+ac.value+"]]"}});V.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(ab){var ac=ab.length,ad,aa=V.schema.getNonEmptyElements();while(ac--){ad=ab[ac];if(ad.isEmpty(aa)){ad.append(new x("br",1)).shortEnded=true}}});V.serializer=new K(W,V);V.selection=new E(V.dom,V.getWin(),V.serializer,V);V.formatter=new y(V);V.undoManager=new n(V);V.forceBlocks=new G(V);V.enterKey=new J(V);V._nodeChangeDispatcher=new m(V);V.fire("PreInit");if(!W.browser_spellcheck&&!W.gecko_spellcheck){Y.body.spellcheck=false;z.setAttrib(T,"spellcheck","false")}V.fire("PostRender");V.quirks=new B(V);if(W.directionality){T.dir=W.directionality}if(W.nowrap){T.style.whiteSpace="nowrap"}if(W.protect){V.on("BeforeSetContent",function(aa){L(W.protect,function(ab){aa.content=aa.content.replace(ab,function(ac){return"<!--mce:protected "+escape(ac)+"-->"})})})}V.on("SetContent",function(){V.addVisual(V.getBody())});if(W.padd_empty_editor){V.on("PostProcess",function(aa){aa.content=aa.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")})}V.load({initial:true,format:"html"});V.startContent=V.getContent({format:"raw"});V.initialized=true;V.bindPendingEventDelegates();V.fire("init");V.focus(true);V.nodeChanged({initial:true});V.execCallback("init_instance_callback",V);if(V.contentStyles.length>0){Z="";L(V.contentStyles,function(aa){Z+=aa+"\r\n"});V.dom.addStyle(Z)}L(V.contentCSS,function(aa){if(!V.loadedCSS[aa]){V.dom.loadCSS(aa);V.loadedCSS[aa]=true}});if(W.auto_focus){setTimeout(function(){var aa;if(W.auto_focus===true){aa=V}else{aa=V.editorManager.get(W.auto_focus)}if(!aa.destroyed){aa.focus()}},100)}X=Y=T=null},focus:function(U){var ab=this,aa=ab.selection,X=ab.settings.content_editable,T;var Y,Z=ab.getDoc(),V;if(!U){T=aa.getRng();if(T.item){Y=T.item(0)}ab._refreshContentEditable();if(!X){if(!N.opera){ab.getBody().focus()}ab.getWin().focus()}if(l||X){V=ab.getBody();if(V.setActive){try{V.setActive()}catch(W){V.focus()}}else{V.focus()}if(X){aa.normalize()}}if(Y&&Y.ownerDocument==Z){T=Z.body.createControlRange();T.addElement(Y);T.select()}}ab.editorManager.setActive(ab)},execCallback:function(U){var T=this,W=T.settings[U],V;if(!W){return}if(T.callbackLookup&&(V=T.callbackLookup[U])){W=V.func;V=V.scope}if(typeof W==="string"){V=W.replace(/\.\w+$/,"");V=V?u(V):0;W=u(W);T.callbackLookup=T.callbackLookup||{};T.callbackLookup[U]={func:W,scope:V}}return W.apply(V||T,Array.prototype.slice.call(arguments,1))},translate:function(V){var U=this.settings.language||"en",T=this.editorManager.i18n;if(!V){return""}return T.data[U+"."+V]||V.replace(/\{\#([^\}]+)\}/g,function(X,W){return T.data[U+"."+W]||"{#"+W+"}"})},getLang:function(T,U){return(this.editorManager.i18n.data[(this.settings.language||"en")+"."+T]||(U!==g?U:"{#"+T+"}"))},getParam:function(U,X,V){var W=U in this.settings?this.settings[U]:X,T;if(V==="hash"){T={};if(typeof W==="string"){L(W.indexOf("=")>0?W.split(/[;,](?![^=;,]*(?:[;,]|$))/):W.split(","),function(Y){Y=Y.split("=");if(Y.length>1){T[i(Y[0])]=i(Y[1])}else{T[i(Y[0])]=i(Y)}})}else{T=W}return T}return W},nodeChanged:function(T){this._nodeChangeDispatcher.nodeChanged(T)},addButton:function(U,V){var T=this;if(V.cmd){V.onclick=function(){T.execCommand(V.cmd)}}if(!V.text&&!V.icon){V.icon=U}T.buttons=T.buttons||{};V.tooltip=V.tooltip||V.title;T.buttons[U]=V},addMenuItem:function(U,V){var T=this;if(V.cmd){V.onclick=function(){T.execCommand(V.cmd)}}T.menuItems=T.menuItems||{};T.menuItems[U]=V},addCommand:function(T,V,U){this.editorCommands.addCommand(T,V,U)},addQueryStateHandler:function(T,V,U){this.editorCommands.addQueryStateHandler(T,V,U)},addQueryValueHandler:function(T,V,U){this.editorCommands.addQueryValueHandler(T,V,U)},addShortcut:function(V,W,U,T){this.shortcuts.add(V,W,U,T)},execCommand:function(W,V,U,T){return this.editorCommands.execCommand(W,V,U,T)},queryCommandState:function(T){return this.editorCommands.queryCommandState(T)},queryCommandValue:function(T){return this.editorCommands.queryCommandValue(T)},queryCommandSupported:function(T){return this.editorCommands.queryCommandSupported(T)},show:function(){var T=this;if(T.hidden){T.hidden=false;if(T.inline){T.getBody().contentEditable=true}else{z.show(T.getContainer());z.hide(T.id)}T.load();T.fire("show")}},hide:function(){var T=this,U=T.getDoc();if(!T.hidden){if(F&&U&&!T.inline){U.execCommand("SelectAll")}T.save();if(T.inline){T.getBody().contentEditable=false;if(T==T.editorManager.focusedEditor){T.editorManager.focusedEditor=null}}else{z.hide(T.getContainer());z.setStyle(T.id,"display",T.orgDisplay)}T.hidden=true;T.fire("hide")}},isHidden:function(){return !!this.hidden},setProgressState:function(T,U){this.fire("ProgressState",{state:T,time:U})},load:function(U){var T=this,W=T.getElement(),V;if(W){U=U||{};U.load=true;V=T.setContent(W.value!==g?W.value:W.innerHTML,U);U.element=W;if(!U.no_events){T.fire("LoadContent",U)}U.element=W=null;return V}},save:function(U){var T=this,X=T.getElement(),V,W;if(!X||!T.initialized){return}U=U||{};U.save=true;U.element=X;V=U.content=T.getContent(U);if(!U.no_events){T.fire("SaveContent",U)}V=U.content;if(!/TEXTAREA|INPUT/i.test(X.nodeName)){if(!T.inline){X.innerHTML=V}if((W=z.getParent(T.id,"form"))){L(W.elements,function(Y){if(Y.name==T.id){Y.value=V;return false}})}}else{X.value=V}U.element=X=null;if(U.set_dirty!==false){T.isNotDirty=true}return V},setContent:function(X,V){var U=this,T=U.getBody(),W;V=V||{};V.format=V.format||"html";V.set=true;V.content=X;if(!V.no_events){U.fire("BeforeSetContent",V)}X=V.content;if(X.length===0||/^\s+$/.test(X)){W=U.settings.forced_root_block;if(W&&U.schema.isValidChild(T.nodeName.toLowerCase(),W.toLowerCase())){X=F&&F<11?"":'<br data-mce-bogus="1">';X=U.dom.createHTML(W,U.settings.forced_root_block_attrs,X)}else{if(!F){X='<br data-mce-bogus="1">'}}U.dom.setHTML(T,X);U.fire("SetContent",V)}else{if(V.format!=="raw"){X=new I({},U.schema).serialize(U.parser.parse(X,{isRootContent:true}))}V.content=i(X);U.dom.setHTML(T,V.content);if(!V.no_events){U.fire("SetContent",V)}}return V.content},getContent:function(V){var U=this,W,T=U.getBody();V=V||{};V.format=V.format||"html";V.get=true;V.getInner=true;if(!V.no_events){U.fire("BeforeGetContent",V)}if(V.format=="raw"){W=T.innerHTML}else{if(V.format=="text"){W=T.innerText||T.textContent}else{W=U.serializer.serialize(T,V)}}if(V.format!="text"){V.content=i(W)}else{V.content=W}if(!V.no_events){U.fire("GetContent",V)}return V.content},insertContent:function(U,T){if(T){U=p({content:U},T)}this.execCommand("mceInsertContent",false,U)},isDirty:function(){return !this.isNotDirty},getContainer:function(){var T=this;if(!T.container){T.container=z.get(T.editorContainer||T.id+"_parent")}return T.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){if(!this.targetElm){this.targetElm=z.get(this.id)}return this.targetElm},getWin:function(){var T=this,U;if(!T.contentWindow){U=T.iframeElement;if(U){T.contentWindow=U.contentWindow}}return T.contentWindow},getDoc:function(){var T=this,U;if(!T.contentDocument){U=T.getWin();if(U){T.contentDocument=U.document}}return T.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(V,U,X){var T=this,W=T.settings;if(W.urlconverter_callback){return T.execCallback("urlconverter_callback",V,X,true,U)}if(!W.convert_urls||(X&&X.nodeName=="LINK")||V.indexOf("file:")===0||V.length===0){return V}if(W.relative_urls){return T.documentBaseURI.toRelative(V)}V=T.documentBaseURI.toAbsolute(V,W.remove_script_host);return V},addVisual:function(X){var U=this,V=U.settings,W=U.dom,T;X=X||U.getBody();if(U.hasVisual===g){U.hasVisual=V.visual}L(W.select("table,a",X),function(Z){var Y;switch(Z.nodeName){case"TABLE":T=V.visual_table_class||"mce-item-table";Y=W.getAttrib(Z,"border");if((!Y||Y=="0")&&U.hasVisual){W.addClass(Z,T)}else{W.removeClass(Z,T)}return;case"A":if(!W.getAttrib(Z,"href",false)){Y=W.getAttrib(Z,"name")||Z.id;T=V.visual_anchor_class||"mce-item-anchor";if(Y&&U.hasVisual){W.addClass(Z,T)}else{W.removeClass(Z,T)}}return}});U.fire("VisualAid",{element:X,hasVisual:U.hasVisual})},remove:function(){var T=this;if(!T.removed){T.save();T.removed=1;T.unbindAllNativeEvents();if(T.hasHiddenInput){z.remove(T.getElement().nextSibling)}if(!T.inline){if(F&&F<10){T.getDoc().execCommand("SelectAll",false,null)}z.setStyle(T.id,"display",T.orgDisplay);T.getBody().onload=null}T.fire("remove");T.editorManager.remove(T);z.remove(T.getContainer());T.destroy()}},destroy:function(V){var T=this,U;if(T.destroyed){return}if(!V&&!T.removed){T.remove();return}if(!V){T.editorManager.off("beforeunload",T._beforeUnload);if(T.theme&&T.theme.destroy){T.theme.destroy()}T.selection.destroy();T.dom.destroy()}U=T.formElement;if(U){if(U._mceOldSubmit){U.submit=U._mceOldSubmit;U._mceOldSubmit=null}z.unbind(U,"submit reset",T.formEventDelegate)}T.contentAreaContainer=T.formElement=T.container=T.editorContainer=null;T.bodyElement=T.contentDocument=T.contentWindow=null;T.iframeElement=T.targetElm=null;if(T.selection){T.selection=T.selection.win=T.selection.dom=T.selection.dom.doc=null}T.destroyed=1},_refreshContentEditable:function(){var U=this,T,V;if(U._isHidden()){T=U.getBody();V=T.parentNode;V.removeChild(T);V.appendChild(T);T.focus()}},_isHidden:function(){var T;if(!l){return 0}T=this.selection.getSel();return(!T||!T.rangeCount||T.rangeCount===0)}};p(w.prototype,k);return w});h("tinymce/util/I18n",[],function(){var j={},i="en";return{setCode:function(k){if(k){i=k;this.rtl=this.data[k]?this.data[k]._dir==="rtl":false}},getCode:function(){return i},rtl:false,add:function(n,l){var k=j[n];if(!k){j[n]=k={}}for(var m in l){k[m]=l[m]}this.setCode(n)},translate:function(m){var k;k=j[i];if(!k){k={}}if(typeof m=="undefined"){return m}if(typeof m!="string"&&m.raw){return m.raw}if(m.push){var l=m.slice(1);m=(k[m[0]]||m[0]).replace(/\{([0-9]+)\}/g,function(o,n){return l[n]})}return(k[m]||m).replace(/{context:\w+}$/,"")},data:j}});h("tinymce/FocusManager",["tinymce/dom/DOMUtils","tinymce/Env"],function(o,j){var k,m,l,n=o.DOM;function i(v){function q(){try{return document.activeElement}catch(w){return document.body}}function u(x,w){if(w&&w.startContainer){if(!x.isChildOf(w.startContainer,x.getRoot())||!x.isChildOf(w.endContainer,x.getRoot())){return}return{startContainer:w.startContainer,startOffset:w.startOffset,endContainer:w.endContainer,endOffset:w.endOffset}}return w}function p(y,x){var w;if(x.startContainer){w=y.getDoc().createRange();w.setStart(x.startContainer,x.startOffset);w.setEnd(x.endContainer,x.endOffset)}else{w=x}return w}function t(w){return !!n.getParent(w,i.isEditorUIElement)}function r(x){var w=x.editor;w.on("init",function(){if(w.inline||j.ie){if("onbeforedeactivate" in document&&j.ie<9){w.dom.bind(w.getBody(),"beforedeactivate",function(z){if(z.target!=w.getBody()){return}try{w.lastRng=w.selection.getRng()}catch(y){}})}else{w.on("nodechange mouseup keyup",function(z){var y=q();if(z.type=="nodechange"&&z.selectionChange){return}if(y&&y.id==w.id+"_ifr"){y=w.getBody()}if(w.dom.isChildOf(y,w.getBody())){w.lastRng=w.selection.getRng()}})}if(j.webkit&&!k){k=function(){var z=v.activeEditor;if(z&&z.selection){var y=z.selection.getRng();if(y&&!y.collapsed){w.lastRng=y}}};n.bind(document,"selectionchange",k)}}});w.on("setcontent",function(){w.lastRng=null});w.on("mousedown",function(){w.selection.lastFocusBookmark=null});w.on("focusin",function(){var y=v.focusedEditor;if(w.selection.lastFocusBookmark){w.selection.setRng(p(w,w.selection.lastFocusBookmark));w.selection.lastFocusBookmark=null}if(y!=w){if(y){y.fire("blur",{focusedEditor:w})}v.setActive(w);v.focusedEditor=w;w.fire("focus",{blurredEditor:y});w.focus(true)}w.lastRng=null});w.on("focusout",function(){window.setTimeout(function(){var y=v.focusedEditor;if(!t(q())&&y==w){w.fire("blur",{focusedEditor:null});v.focusedEditor=null;if(w.selection){w.selection.lastFocusBookmark=null}}},0)});if(!m){m=function(z){var y=v.activeEditor;if(y&&z.target.ownerDocument==document){if(y.selection&&z.target!=y.getBody()){y.selection.lastFocusBookmark=u(y.dom,y.lastRng)}if(z.target!=document.body&&!t(z.target)&&v.focusedEditor==y){y.fire("blur",{focusedEditor:null});v.focusedEditor=null}}};n.bind(document,"focusin",m)}if(w.inline&&!l){l=function(A){var z=v.activeEditor;if(z.inline&&!z.dom.isChildOf(A.target,z.getBody())){var y=z.selection.getRng();if(!y.collapsed){z.lastRng=y}}};n.bind(document,"mouseup",l)}}function s(w){if(v.focusedEditor==w.editor){v.focusedEditor=null}if(!v.activeEditor){n.unbind(document,"selectionchange",k);n.unbind(document,"focusin",m);n.unbind(document,"mouseup",l);k=m=l=null}}v.on("AddEditor",r);v.on("RemoveEditor",s)}i.isEditorUIElement=function(p){return p.className.toString().indexOf("mce-")!==-1};return i});h("tinymce/EditorManager",["tinymce/Editor","tinymce/dom/DomQuery","tinymce/dom/DOMUtils","tinymce/util/URI","tinymce/Env","tinymce/util/Tools","tinymce/util/Observable","tinymce/util/I18n","tinymce/FocusManager"],function(s,k,w,n,j,i,p,t,m){var y=w.DOM;var u=i.explode,l=i.each,x=i.extend;var z=0,q,r;function v(C){var D=r.editors,B;delete D[C.id];for(var A=0;A<D.length;A++){if(D[A]==C){D.splice(A,1);B=true;break}}if(r.activeEditor==C){r.activeEditor=D[0]}if(r.focusedEditor==C){r.focusedEditor=null}return B}function o(A){if(A&&!(A.getContainer()||A.getBody()).parentNode){v(A);A.unbindAllNativeEvents();A.destroy(true);A=null}return A}r={$:k,majorVersion:"4",minorVersion:"1.10",releaseDate:"2015-05-05",editors:[],i18n:t,activeEditor:null,setup:function(){var D=this,F,B,G="",C,H;B=document.location.href;if(/^[^:]+:\/\/\/?[^\/]+\//.test(B)){B=B.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(B)){B+="/"}}C=window.tinymce||window.tinyMCEPreInit;if(C){F=C.base||C.baseURL;G=C.suffix}else{var A=document.getElementsByTagName("script");for(var E=0;E<A.length;E++){H=A[E].src;if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(H)){if(H.indexOf(".min")!=-1){G=".min"}F=H.substring(0,H.lastIndexOf("/"));break}}if(!F&&document.currentScript){H=document.currentScript.src;if(H.indexOf(".min")!=-1){G=".min"}F=H.substring(0,H.lastIndexOf("/"))}}D.baseURL=new n(B).toAbsolute(F);D.documentBaseURL=B;D.baseURI=new n(D.baseURL);D.suffix=G;D.focusManager=new m(D)},init:function(F){var A=this,G=[];function E(J){var I=J.id;if(!I){I=J.name;if(I&&!y.get(I)){I=J.name}else{I=y.uniqueId()}J.setAttribute("id",I)}return I}function C(L,J,K){if(!o(A.get(L))){var I=new s(L,J,A);I.targetElm=I.targetElm||K;G.push(I);I.render()}}function H(I){var J=F[I];if(!J){return}return J.apply(A,Array.prototype.slice.call(arguments,2))}function D(J,I){return I.constructor===RegExp?I.test(J.className):y.hasClass(J,I)}function B(){var I,J;y.unbind(window,"ready",B);H("onpageload");if(F.types){l(F.types,function(K){l(y.select(K.selector),function(L){C(E(L),x({},F,K),L)})});return}else{if(F.selector){l(y.select(F.selector),function(K){C(E(K),F,K)});return}else{if(F.target){C(E(F.target),F)}}}switch(F.mode){case"exact":I=F.elements||"";if(I.length>0){l(u(I),function(L){var K;if((K=y.get(L))){C(L,F,K)}else{l(document.forms,function(M){l(M.elements,function(N){if(N.name===L){L="mce_editor_"+z++;y.setAttrib(N,"id",L);C(L,F,N)}})})}})}break;case"textareas":case"specific_textareas":l(y.select("textarea"),function(K){if(F.editor_deselector&&D(K,F.editor_deselector)){return}if(!F.editor_selector||D(K,F.editor_selector)){C(E(K),F,K)}});break}if(F.oninit){I=J=0;l(G,function(K){J++;if(!K.initialized){K.on("init",function(){I++;if(I==J){H("oninit")}})}else{I++}if(I==J){H("oninit")}})}}A.settings=F;y.bind(window,"ready",B)},get:function(A){if(!arguments.length){return this.editors}return A in this.editors?this.editors[A]:null},add:function(B){var A=this,C=A.editors;C[B.id]=B;C.push(B);A.activeEditor=B;A.fire("AddEditor",{editor:B});if(!q){q=function(){A.fire("BeforeUnload")};y.bind(window,"beforeunload",q)}return B},createEditor:function(B,A){return this.add(new s(B,A,this))},remove:function(A){var B=this,C,E=B.editors,D;if(!A){for(C=E.length-1;C>=0;C--){B.remove(E[C])}return}if(typeof A=="string"){A=A.selector||A;l(y.select(A),function(F){D=E[F.id];if(D){B.remove(D)}});return}D=A;if(!E[D.id]){return null}if(v(D)){B.fire("RemoveEditor",{editor:D})}if(!E.length){y.unbind(window,"beforeunload",q)}D.remove();return D},execCommand:function(E,D,C){var A=this,B=A.get(C);switch(E){case"mceAddEditor":if(!A.get(C)){new s(C,A.settings,A).render()}return true;case"mceRemoveEditor":if(B){B.remove()}return true;case"mceToggleEditor":if(!B){A.execCommand("mceAddEditor",0,C);return true}if(B.isHidden()){B.show()}else{B.hide()}return true}if(A.activeEditor){return A.activeEditor.execCommand(E,D,C)}return false},triggerSave:function(){l(this.editors,function(A){A.save()})},addI18n:function(B,A){t.add(B,A)},translate:function(A){return t.translate(A)},setActive:function(A){var B=this.activeEditor;if(this.activeEditor!=A){if(B){B.fire("deactivate",{relatedTarget:A})}A.fire("activate",{relatedTarget:B})}this.activeEditor=A}};x(r,p);r.setup();window.tinymce=window.tinyMCE=r;return r});h("tinymce/LegacyInput",["tinymce/EditorManager","tinymce/util/Tools"],function(j,i){var l=i.each,k=i.explode;j.on("AddEditor",function(n){var m=n.editor;m.on("preInit",function(){var q,t,s,p=m.settings;function o(v,u){l(u,function(x,w){if(x){s.setStyle(v,w,x)}});s.rename(v,"span")}function r(u){s=m.dom;if(p.convert_fonts_to_spans){l(s.select("font,u,strike",u.node),function(v){q[v.nodeName.toLowerCase()](s,v)})}}if(p.inline_styles){t=k(p.font_size_legacy_values);q={font:function(v,u){o(u,{backgroundColor:u.style.backgroundColor,color:u.color,fontFamily:u.face,fontSize:t[parseInt(u.size,10)-1]})},u:function(v,u){if(m.settings.schema==="html4"){o(u,{textDecoration:"underline"})}},strike:function(v,u){o(u,{textDecoration:"line-through"})}};m.on("PreProcess SetContent",r)}})})});h("tinymce/util/XHR",["tinymce/util/Observable","tinymce/util/Tools"],function(i,j){var k={send:function(m){var o,n=0;function l(){if(!m.async||o.readyState==4||n++>10000){if(m.success&&n<10000&&o.status==200){m.success.call(m.success_scope,""+o.responseText,o,m)}else{if(m.error){m.error.call(m.error_scope,n>10000?"TIMED_OUT":"GENERAL",o,m)}}o=null}else{setTimeout(l,10)}}m.scope=m.scope||this;m.success_scope=m.success_scope||m.scope;m.error_scope=m.error_scope||m.scope;m.async=m.async===false?false:true;m.data=m.data||"";o=new XMLHttpRequest();if(o){if(o.overrideMimeType){o.overrideMimeType(m.content_type)}o.open(m.type||(m.data?"POST":"GET"),m.url,m.async);if(m.crossDomain){o.withCredentials=true}if(m.content_type){o.setRequestHeader("Content-Type",m.content_type)}o.setRequestHeader("X-Requested-With","XMLHttpRequest");o=k.fire("beforeSend",{xhr:o,settings:m}).xhr;o.send(m.data);if(!m.async){return l()}setTimeout(l,10)}}};j.extend(k,i);return k});h("tinymce/util/JSON",[],function(){function i(p,k){var n,j,m,l;k=k||'"';if(p===null){return"null"}m=typeof p;if(m=="string"){j="\bb\tt\nn\ff\rr\"\"''\\\\";return k+p.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(q,o){if(k==='"'&&q==="'"){return q}n=j.indexOf(o);if(n+1){return"\\"+j.charAt(n+1)}q=o.charCodeAt().toString(16);return"\\u"+"0000".substring(q.length)+q})+k}if(m=="object"){if(p.hasOwnProperty&&Object.prototype.toString.call(p)==="[object Array]"){for(n=0,j="[";n<p.length;n++){j+=(n>0?",":"")+i(p[n],k)}return j+"]"}j="{";for(l in p){if(p.hasOwnProperty(l)){j+=typeof p[l]!="function"?(j.length>1?","+k:k)+l+k+":"+i(p[l],k):""}}return j+"}"}return""+p}return{serialize:i,parse:function(k){try{return window[String.fromCharCode(101)+"val"]("("+k+")")}catch(j){}}}});h("tinymce/util/JSONRequest",["tinymce/util/JSON","tinymce/util/XHR","tinymce/util/Tools"],function(l,k,j){var m=j.extend;function i(n){this.settings=m({},n);this.count=0}i.sendRPC=function(n){return new i().send(n)};i.prototype={send:function(p){var o=p.error,n=p.success;p=m(this.settings,p);p.success=function(r,q){r=l.parse(r);if(typeof r=="undefined"){r={error:"JSON Parse error."}}if(r.error){o.call(p.error_scope||p.scope,r.error,q)}else{n.call(p.success_scope||p.scope,r.result)}};p.error=function(r,q){if(o){o.call(p.error_scope||p.scope,r,q)}};p.data=l.serialize({id:p.id||"c"+(this.count++),method:p.method,params:p.params});p.content_type="application/json";k.send(p)}};return i});h("tinymce/util/JSONP",["tinymce/dom/DOMUtils"],function(i){return{callbacks:{},count:0,send:function(k){var j=this,m=i.DOM,l=k.count!==g?k.count:j.count;var n="tinymce_jsonp_"+l;j.callbacks[l]=function(o){m.remove(n);delete j.callbacks[l];k.callback(o)};m.add(m.doc.body,"script",{id:n,src:k.url,type:"text/javascript"});j.count++}}});h("tinymce/util/LocalStorage",[],function(){var l,k,o,q,r,j;try{if(window.localStorage){return localStorage}}catch(n){}r="tinymce";k=document.documentElement;j=!!k.addBehavior;if(j){k.addBehavior("#default#userData")}function i(){q=[];for(var s in o){q.push(s)}l.length=q.length}function p(){var s,v,u,x=0;o={};if(!j){return}function t(y){var A,z;z=y!==g?x+y:v.indexOf(",",x);if(z===-1||z>v.length){return null}A=v.substring(x,z);x=z+1;return A}k.load(r);v=k.getAttribute(r)||"";do{var w=t();if(w===null){break}s=t(parseInt(w,32)||0);if(s!==null){w=t();if(w===null){break}u=t(parseInt(w,32)||0);if(s){o[s]=u}}}while(s!==null);i()}function m(){var v,u="";if(!j){return}for(var t in o){v=o[t];u+=(u?",":"")+t.length.toString(32)+","+t+","+v.length.toString(32)+","+v}k.setAttribute(r,u);try{k.save(r)}catch(s){}i()}l={key:function(s){return q[s]},getItem:function(s){return s in o?o[s]:null},setItem:function(s,t){o[s]=""+t;m()},removeItem:function(s){delete o[s];m()},clear:function(){o={};m()}};p();return l});h("tinymce/Compat",["tinymce/dom/DOMUtils","tinymce/dom/EventUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/util/Tools","tinymce/Env"],function(m,o,n,l,j,i){var k=window.tinymce;k.DOM=m.DOM;k.ScriptLoader=n.ScriptLoader;k.PluginManager=l.PluginManager;k.ThemeManager=l.ThemeManager;k.dom=k.dom||{};k.dom.Event=o.Event;j.each(j,function(q,p){k[p]=q});j.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(p){k[p]=i[p.substr(2).toLowerCase()]});return{}});h("tinymce/ui/Layout",["tinymce/util/Class","tinymce/util/Tools"],function(i,j){return i.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(k){this.settings=j.extend({},this.Defaults,k)},preRender:function(k){k.addClass(this.settings.containerClass,"body")},applyClasses:function(k){var m=this,p=m.settings,l,o,n;l=k.items().filter(":visible");o=p.firstControlClass;n=p.lastControlClass;l.each(function(q){q.removeClass(o).removeClass(n);if(p.controlClass){q.addClass(p.controlClass)}});l.eq(0).addClass(o);l.eq(-1).addClass(n)},renderHtml:function(k){var m=this,o=m.settings,l,n="";l=k.items();l.eq(0).addClass(o.firstControlClass);l.eq(-1).addClass(o.lastControlClass);l.each(function(p){if(o.controlClass){p.addClass(o.controlClass)}n+=p.renderHtml()});return n},recalc:function(){},postRender:function(){}})});h("tinymce/ui/AbsoluteLayout",["tinymce/ui/Layout"],function(i){return i.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(j){j.items().filter(":visible").each(function(l){var k=l.settings;l.layoutRect({x:k.x,y:k.y,w:k.w,h:k.h});if(l.recalc){l.recalc()}})},renderHtml:function(j){return'<div id="'+j._id+'-absend" class="'+j.classPrefix+'abs-end"></div>'+this._super(j)}})});h("tinymce/ui/Tooltip",["tinymce/ui/Control","tinymce/ui/Movable"],function(j,i){return j.extend({Mixins:[i],Defaults:{classes:"widget tooltip tooltip-n"},text:function(l){var k=this;if(typeof l!="undefined"){k._value=l;if(k._rendered){k.getEl().lastChild.innerHTML=k.encode(l)}return k}return k._value},renderHtml:function(){var k=this,l=k.classPrefix;return('<div id="'+k._id+'" class="'+k.classes()+'" role="presentation"><div class="'+l+'tooltip-arrow"></div><div class="'+l+'tooltip-inner">'+k.encode(k._text)+"</div></div>")},repaint:function(){var k=this,l,m;l=k.getEl().style;m=k._layoutRect;l.left=m.x+"px";l.top=m.y+"px";l.zIndex=65535+65535}})});h("tinymce/ui/Widget",["tinymce/ui/Control","tinymce/ui/Tooltip"],function(k,i){var l;var j=k.extend({init:function(n){var m=this;m._super(n);n=m.settings;m.canFocus=true;if(n.tooltip&&j.tooltips!==false){m.on("mouseenter",function(q){var p=m.tooltip().moveTo(-65535);if(q.control==m){var o=p.text(n.tooltip).show().testMoveRel(m.getEl(),["bc-tc","bc-tl","bc-tr"]);p.toggleClass("tooltip-n",o=="bc-tc");p.toggleClass("tooltip-nw",o=="bc-tl");p.toggleClass("tooltip-ne",o=="bc-tr");p.moveRel(m.getEl(),o)}else{p.hide()}});m.on("mouseleave mousedown click",function(){m.tooltip().hide()})}m.aria("label",n.ariaLabel||n.tooltip)},tooltip:function(){if(!l){l=new i({type:"tooltip"});l.renderTo()}return l},active:function(o){var m=this,n;if(o!==n){m.aria("pressed",o);m.toggleClass("active",o)}return m._super(o)},disabled:function(o){var m=this,n;if(o!==n){m.aria("disabled",o);m.toggleClass("disabled",o)}return m._super(o)},postRender:function(){var m=this,n=m.settings;m._rendered=true;m._super();if(!m.parent()&&(n.width||n.height)){m.initLayoutRect();m.repaint()}if(n.autofocus){m.focus()}},remove:function(){this._super();if(l){l.remove();l=null}}});return j});h("tinymce/ui/Button",["tinymce/ui/Widget"],function(i){return i.extend({Defaults:{classes:"widget btn",role:"button"},init:function(l){var j=this,k;j.on("click mousedown",function(m){m.preventDefault()});j._super(l);k=l.size;if(l.subtype){j.addClass(l.subtype)}if(k){j.addClass("btn-"+k)}},icon:function(m){var l=this,n=l.classPrefix;if(typeof m=="undefined"){return l.settings.icon}l.settings.icon=m;m=m?n+"ico "+n+"i-"+l.settings.icon:"";if(l._rendered){var j=l.getEl().firstChild,k=j.getElementsByTagName("i")[0];if(m){if(!k||k!=j.firstChild){k=document.createElement("i");j.insertBefore(k,j.firstChild)}k.className=m}else{if(k){j.removeChild(k)}}l.text(l._text)}return l},repaint:function(){var j=this.getEl().firstChild.style;j.width=j.height="100%";this._super()},text:function(l){var j=this;if(j._rendered){var k=j.getEl().lastChild.lastChild;if(k){k.data=j.translate(l)}}return j._super(l)},renderHtml:function(){var j=this,n=j._id,l=j.classPrefix;var k=j.settings.icon,m;m=j.settings.image;if(m){k="none";if(typeof m!="string"){m=window.getSelection?m[0]:m[1]}m=" style=\"background-image: url('"+m+"')\""}else{m=""}k=j.settings.icon?l+"ico "+l+"i-"+k:"";return('<div id="'+n+'" class="'+j.classes()+'" tabindex="-1" aria-labelledby="'+n+'"><button role="presentation" type="button" tabindex="-1">'+(k?'<i class="'+k+'"'+m+"></i>":"")+(j._text?(k?"\u00a0":"")+j.encode(j._text):"")+"</button></div>")}})});h("tinymce/ui/ButtonGroup",["tinymce/ui/Container"],function(i){return i.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var j=this,k=j._layout;j.addClass("btn-group");j.preRender();k.preRender(j);return('<div id="'+j._id+'" class="'+j.classes()+'"><div id="'+j._id+'-body">'+(j.settings.html||"")+k.renderHtml(j)+"</div></div>")}})});h("tinymce/ui/Checkbox",["tinymce/ui/Widget"],function(i){return i.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:false},init:function(k){var j=this;j._super(k);j.on("click mousedown",function(l){l.preventDefault()});j.on("click",function(l){l.preventDefault();if(!j.disabled()){j.checked(!j.checked())}});j.checked(j.settings.checked)},checked:function(k){var j=this;if(typeof k!="undefined"){if(k){j.addClass("checked")}else{j.removeClass("checked")}j._checked=k;j.aria("checked",k);return j}return j._checked},value:function(j){return this.checked(j)},renderHtml:function(){var j=this,l=j._id,k=j.classPrefix;return('<div id="'+l+'" class="'+j.classes()+'" unselectable="on" aria-labelledby="'+l+'-al" tabindex="-1"><i class="'+k+"ico "+k+'i-checkbox"></i><span id="'+l+'-al" class="'+k+'label">'+j.encode(j._text)+"</span></div>")}})});h("tinymce/ui/ComboBox",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/ui/DomUtils"],function(k,i,j){return k.extend({init:function(m){var l=this;l._super(m);l.addClass("combobox");l.subinput=true;l.ariaTarget="inp";m=l.settings;m.menu=m.menu||m.values;if(m.menu){m.icon="caret"}l.on("click",function(o){var p=o.target,n=l.getEl();while(p&&p!=n){if(p.id&&p.id.indexOf("-open")!=-1){l.fire("action");if(m.menu){l.showMenu();if(o.aria){l.menu.items()[0].focus()}}}p=p.parentNode}});l.on("keydown",function(n){if(n.target.nodeName=="INPUT"&&n.keyCode==13){l.parents().reverse().each(function(o){n.preventDefault();l.fire("change");if(o.hasEventListeners("submit")&&o.toJSON){o.fire("submit",{data:o.toJSON()});return false}})}});if(m.placeholder){l.addClass("placeholder");l.on("focusin",function(){if(!l._hasOnChange){j.on(l.getEl("inp"),"change",function(){l.fire("change")});l._hasOnChange=true}if(l.hasClass("placeholder")){l.getEl("inp").value="";l.removeClass("placeholder")}});l.on("focusout",function(){if(l.value().length===0){l.getEl("inp").value=m.placeholder;l.addClass("placeholder")}})}},showMenu:function(){var l=this,m=l.settings,n;if(!l.menu){n=m.menu||[];if(n.length){n={type:"menu",items:n}}else{n.type=n.type||"menu"}l.menu=i.create(n).parent(l).renderTo(l.getContainerElm());l.fire("createmenu");l.menu.reflow();l.menu.on("cancel",function(o){if(o.control===l.menu){l.focus()}});l.menu.on("show hide",function(o){o.control.items().each(function(p){p.active(p.value()==l.value())})}).fire("show");l.menu.on("select",function(o){l.value(o.control.value())});l.on("focusin",function(o){if(o.target.tagName.toUpperCase()=="INPUT"){l.menu.hide()}});l.aria("expanded",true)}l.menu.show();l.menu.layoutRect({w:l.layoutRect().w});l.menu.moveRel(l.getEl(),l.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},value:function(m){var l=this;if(typeof m!="undefined"){l._value=m;l.removeClass("placeholder");if(l._rendered){l.getEl("inp").value=m}return l}if(l._rendered){m=l.getEl("inp").value;if(m!=l.settings.placeholder){return m}return""}return l._value},disabled:function(m){var l=this;if(l._rendered&&typeof m!="undefined"){l.getEl("inp").disabled=m}return l._super(m)},focus:function(){this.getEl("inp").focus()},repaint:function(){var m=this,r=m.getEl(),l=m.getEl("open"),p=m.layoutRect();var o,n;if(l){o=p.w-j.getSize(l).width-10}else{o=p.w-10}var q=document;if(q.all&&(!q.documentMode||q.documentMode<=8)){n=(m.layoutRect().h-2)+"px"}j.css(r.firstChild,{width:o,lineHeight:n});m._super();return m},postRender:function(){var l=this;j.on(this.getEl("inp"),"change",function(){l.fire("change")});return l._super()},remove:function(){j.off(this.getEl("inp"));this._super()},renderHtml:function(){var t=this,l=t._id,m=t.settings,n=t.classPrefix;var q=m.value||m.placeholder||"";var p,s,o="",r="";if("spellcheck" in m){r+=' spellcheck="'+m.spellcheck+'"'}if(m.maxLength){r+=' maxlength="'+m.maxLength+'"'}if(m.size){r+=' size="'+m.size+'"'}if(m.subtype){r+=' type="'+m.subtype+'"'}if(t.disabled()){r+=' disabled="disabled"'}p=m.icon;if(p&&p!="caret"){p=n+"ico "+n+"i-"+m.icon}s=t._text;if(p||s){o=('<div id="'+l+'-open" class="'+n+"btn "+n+'open" tabIndex="-1" role="button"><button id="'+l+'-action" type="button" hidefocus="1" tabindex="-1">'+(p!="caret"?'<i class="'+p+'"></i>':'<i class="'+n+'caret"></i>')+(s?(p?" ":"")+s:"")+"</button></div>");t.addClass("has-open")}return('<div id="'+l+'" class="'+t.classes()+'"><input id="'+l+'-inp" class="'+n+"textbox "+n+'placeholder" value="'+q+'" hidefocus="1"'+r+" />"+o+"</div>")}})});h("tinymce/ui/ColorBox",["tinymce/ui/ComboBox"],function(i){return i.extend({init:function(k){var j=this;k.spellcheck=false;if(k.onaction){k.icon="none"}j._super(k);j.addClass("colorbox");j.on("change keyup postrender",function(){j.repaintColor(j.value())})},repaintColor:function(k){var l=this.getEl().getElementsByTagName("i")[0];if(l){try{l.style.background=k}catch(j){}}},value:function(k){var j=this;if(typeof k!="undefined"){if(j._rendered){j.repaintColor(k)}}return j._super(k)}})});h("tinymce/ui/PanelButton",["tinymce/ui/Button","tinymce/ui/FloatPanel"],function(i,j){return i.extend({showPanel:function(){var k=this,l=k.settings;k.active(true);if(!k.panel){var m=l.panel;if(m.type){m={layout:"grid",items:m}}m.role=m.role||"dialog";m.popover=true;m.autohide=true;m.ariaRoot=true;k.panel=new j(m).on("hide",function(){k.active(false)}).on("cancel",function(n){n.stopPropagation();k.focus();k.hidePanel()}).parent(k).renderTo(k.getContainerElm());k.panel.fire("show");k.panel.reflow()}else{k.panel.show()}k.panel.moveRel(k.getEl(),l.popoverAlign||(k.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var k=this;if(k.panel){k.panel.hide()}},postRender:function(){var k=this;k.aria("haspopup",true);k.on("click",function(l){if(l.control===k){if(k.panel&&k.panel.visible()){k.hidePanel()}else{k.showPanel();k.panel.focus(!!l.aria)}}});return k._super()},remove:function(){if(this.panel){this.panel.remove();this.panel=null}return this._super()}})});h("tinymce/ui/ColorButton",["tinymce/ui/PanelButton","tinymce/dom/DOMUtils"],function(j,i){var k=i.DOM;return j.extend({init:function(l){this._super(l);this.addClass("colorbutton")},color:function(l){if(l){this._color=l;this.getEl("preview").style.backgroundColor=l;return this}return this._color},resetColor:function(){this._color=null;this.getEl("preview").style.backgroundColor=null;return this},renderHtml:function(){var l=this,p=l._id,n=l.classPrefix;var m=l.settings.icon?n+"ico "+n+"i-"+l.settings.icon:"";var o=l.settings.image?" style=\"background-image: url('"+l.settings.image+"')\"":"";return('<div id="'+p+'" class="'+l.classes()+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(m?'<i class="'+m+'"'+o+"></i>":"")+'<span id="'+p+'-preview" class="'+n+'preview"></span>'+(l._text?(m?" ":"")+(l._text):"")+'</button><button type="button" class="'+n+'open" hidefocus="1" tabindex="-1"> <i class="'+n+'caret"></i></button></div>')},postRender:function(){var l=this,m=l.settings.onclick;l.on("click",function(n){if(n.aria&&n.aria.key=="down"){return}if(n.control==l&&!k.getParent(n.target,"."+l.classPrefix+"open")){n.stopImmediatePropagation();m.call(l,n)}});delete l.settings.onclick;return l._super()}})});h("tinymce/util/Color",[],function(){var k=Math.min,i=Math.max,j=Math.round;function l(w){var x=this,m=0,t=0,v=0;function p(y,A,C){var z,G,E,B,D,F;z=0;G=0;E=0;y=y/255;A=A/255;C=C/255;D=k(y,k(A,C));F=i(y,i(A,C));if(D==F){E=D;return{h:0,s:0,v:E*100}}B=(y==D)?A-C:((C==D)?y-A:C-y);z=(y==D)?3:((C==D)?1:5);z=60*(z-B/(F-D));G=(F-D)/F;E=F;return{h:j(z),s:j(G*100),v:j(E*100)}}function q(y,C,D){var B,A,r,z;y=(parseInt(y,10)||0)%360;C=parseInt(C,10)/100;D=parseInt(D,10)/100;C=i(0,k(C,1));D=i(0,k(D,1));if(C===0){m=t=v=j(255*D);return}B=y/60;A=D*C;r=A*(1-Math.abs(B%2-1));z=D-A;switch(Math.floor(B)){case 0:m=A;t=r;v=0;break;case 1:m=r;t=A;v=0;break;case 2:m=0;t=A;v=r;break;case 3:m=0;t=r;v=A;break;case 4:m=r;t=0;v=A;break;case 5:m=A;t=0;v=r;break;default:m=t=v=0}m=j(255*(m+z));t=j(255*(t+z));v=j(255*(v+z))}function n(){function r(y){y=parseInt(y,10).toString(16);return y.length>1?y:"0"+y}return"#"+r(m)+r(t)+r(v)}function u(){return{r:m,g:t,b:v}}function s(){return p(m,t,v)}function o(y){var r;if(typeof y=="object"){if("r" in y){m=y.r;t=y.g;v=y.b}else{if("v" in y){q(y.h,y.s,y.v)}}}else{if((r=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(y))){m=parseInt(r[1],10);t=parseInt(r[2],10);v=parseInt(r[3],10)}else{if((r=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(y))){m=parseInt(r[1],16);t=parseInt(r[2],16);v=parseInt(r[3],16)}else{if((r=/#([0-F])([0-F])([0-F])/gi.exec(y))){m=parseInt(r[1]+r[1],16);t=parseInt(r[2]+r[2],16);v=parseInt(r[3]+r[3],16)}}}}m=m<0?0:(m>255?255:m);t=t<0?0:(t>255?255:t);v=v<0?0:(v>255?255:v);return x}if(w){o(w)}x.toRgb=u;x.toHsv=s;x.toHex=n;x.parse=o}return l});h("tinymce/ui/ColorPicker",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils","tinymce/util/Color"],function(k,j,i,l){return k.extend({Defaults:{classes:"widget colorpicker"},init:function(m){this._super(m)},postRender:function(){var w=this,q=w.color(),r,t,s,v,o;t=w.getEl("h");s=w.getEl("hp");v=w.getEl("sv");o=w.getEl("svp");function p(D,A){var C=i.getPos(D),z,B;z=A.pageX-C.x;B=A.pageY-C.y;z=Math.max(0,Math.min(z/D.clientWidth,1));B=Math.max(0,Math.min(B/D.clientHeight,1));return{x:z,y:B}}function n(z,y){var x=(360-z.h)/360;i.css(s,{top:(x*100)+"%"});if(!y){i.css(o,{left:z.s+"%",top:(100-z.v)+"%"})}v.style.background=new l({s:100,v:100,h:z.h}).toHex();w.color().parse({s:z.s,v:z.v,h:z.h})}function m(x){var y;y=p(v,x);r.s=y.x*100;r.v=(1-y.y)*100;n(r);w.fire("change")}function u(x){var y;y=p(t,x);r=q.toHsv();r.h=(1-y.y)*360;n(r,true);w.fire("change")}w._repaint=function(){r=q.toHsv();n(r)};w._super();w._svdraghelper=new j(w._id+"-sv",{start:m,drag:m});w._hdraghelper=new j(w._id+"-h",{start:u,drag:u});w._repaint()},rgb:function(){return this.color().toRgb()},value:function(n){var m=this;if(arguments.length){m.color().parse(n);if(m._rendered){m._repaint()}}else{return m.color().toHex()}},color:function(){if(!this._color){this._color=new l()}return this._color},renderHtml:function(){var m=this,s=m._id,q=m.classPrefix,o;var p="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000";function n(){var w,u,v="",t,x;t="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=";x=p.split(",");for(w=0,u=x.length-1;w<u;w++){v+=('<div class="'+q+'colorpicker-h-chunk" style="height:'+(100/u)+"%;"+t+x[w]+",endColorstr="+x[w+1]+");-ms-"+t+x[w]+",endColorstr="+x[w+1]+')"></div>')}return v}var r=("background: -ms-linear-gradient(top,"+p+");background: linear-gradient(to bottom,"+p+");");o=('<div id="'+s+'-h" class="'+q+'colorpicker-h" style="'+r+'">'+n()+'<div id="'+s+'-hp" class="'+q+'colorpicker-h-marker"></div></div>');return('<div id="'+s+'" class="'+m.classes()+'"><div id="'+s+'-sv" class="'+q+'colorpicker-sv"><div class="'+q+'colorpicker-overlay1"><div class="'+q+'colorpicker-overlay2"><div id="'+s+'-svp" class="'+q+'colorpicker-selector1"><div class="'+q+'colorpicker-selector2"></div></div></div></div></div>'+o+"</div>")}})});h("tinymce/ui/Path",["tinymce/ui/Widget"],function(i){return i.extend({init:function(k){var j=this;if(!k.delimiter){k.delimiter="\u00BB"}j._super(k);j.addClass("path");j.canFocus=true;j.on("click",function(n){var l,m=n.target;if((l=m.getAttribute("data-index"))){j.fire("select",{value:j.data()[l],index:l})}})},focus:function(){var j=this;j.getEl().firstChild.focus();return j},data:function(k){var j=this;if(typeof k!=="undefined"){j._data=k;j.update();return j}return j._data},update:function(){this.innerHtml(this._getPathHtml())},postRender:function(){var j=this;j._super();j.data(j.settings.data)},renderHtml:function(){var j=this;return('<div id="'+j._id+'" class="'+j.classes()+'">'+j._getPathHtml()+"</div>")},_getPathHtml:function(){var k=this,p=k._data||[],n,j,m="",o=k.classPrefix;for(n=0,j=p.length;n<j;n++){m+=((n>0?'<div class="'+o+'divider" aria-hidden="true"> '+k.settings.delimiter+" </div>":"")+'<div role="button" class="'+o+"path-item"+(n==j-1?" "+o+"last":"")+'" data-index="'+n+'" tabindex="-1" id="'+k._id+"-"+n+'" aria-level="'+n+'">'+p[n].name+"</div>")}if(!m){m='<div class="'+o+'path-item">\u00a0</div>'}return m}})});h("tinymce/ui/ElementPath",["tinymce/ui/Path","tinymce/EditorManager"],function(j,i){return j.extend({postRender:function(){var k=this,m=i.activeEditor;function l(n){if(n.nodeType===1){if(n.nodeName=="BR"||!!n.getAttribute("data-mce-bogus")){return true}if(n.getAttribute("data-mce-type")==="bookmark"){return true}}return false}if(m.settings.elementpath!==false){k.on("select",function(n){m.focus();m.selection.select(this.data()[n.index].element);m.nodeChanged()});m.on("nodeChange",function(r){var n=[],p=r.parents,q=p.length;while(q--){if(p[q].nodeType==1&&!l(p[q])){var o=m.fire("ResolveName",{name:p[q].nodeName.toLowerCase(),target:p[q]});if(!o.isDefaultPrevented()){n.push({name:o.name,element:p[q]})}if(o.isPropagationStopped()){break}}}k.data(n)})}return k._super()}})});h("tinymce/ui/FormItem",["tinymce/ui/Container"],function(i){return i.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var j=this,k=j._layout,l=j.classPrefix;j.addClass("formitem");k.preRender(j);return('<div id="'+j._id+'" class="'+j.classes()+'" hidefocus="1" tabindex="-1">'+(j.settings.title?('<div id="'+j._id+'-title" class="'+l+'title">'+j.settings.title+"</div>"):"")+'<div id="'+j._id+'-body" class="'+j.classes("body")+'">'+(j.settings.html||"")+k.renderHtml(j)+"</div></div>")}})});h("tinymce/ui/Form",["tinymce/ui/Container","tinymce/ui/FormItem","tinymce/util/Tools"],function(i,k,j){return i.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var m=this,l=m.items();if(!m.settings.formItemDefaults){m.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}}l.each(function(p){var o,n=p.settings.label;if(n){o=new k(j.extend({items:{type:"label",id:p._id+"-l",text:n,flex:0,forId:p._id,disabled:p.disabled()}},m.settings.formItemDefaults));o.type="formitem";p.aria("labelledby",p._id+"-l");if(typeof p.settings.flex=="undefined"){p.settings.flex=1}m.replace(p,o);o.add(p)}})},recalcLabels:function(){var m=this,p=0,q=[],n,o,l;if(m.settings.labelGapCalc===false){return}if(m.settings.labelGapCalc=="children"){l=m.find("formitem")}else{l=m.items()}l.filter("formitem").each(function(t){var s=t.items()[0],r=s.getEl().clientWidth;p=r>p?r:p;q.push(s)});o=m.settings.labelGap||0;n=q.length;while(n--){q[n].settings.minWidth=p+o}},visible:function(l){var m=this._super(l);if(l===true&&this._rendered){this.recalcLabels()}return m},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var l=this;l._super();l.recalcLabels();l.fromJSON(l.settings.data)}})});h("tinymce/ui/FieldSet",["tinymce/ui/Form"],function(i){return i.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var j=this,k=j._layout,l=j.classPrefix;j.preRender();k.preRender(j);return('<fieldset id="'+j._id+'" class="'+j.classes()+'" hidefocus="1" tabindex="-1">'+(j.settings.title?('<legend id="'+j._id+'-title" class="'+l+'fieldset-title">'+j.settings.title+"</legend>"):"")+'<div id="'+j._id+'-body" class="'+j.classes("body")+'">'+(j.settings.html||"")+k.renderHtml(j)+"</div></fieldset>")}})});h("tinymce/ui/FilePicker",["tinymce/ui/ComboBox","tinymce/util/Tools"],function(j,i){return j.extend({init:function(o){var m=this,n=tinymce.activeEditor,l=n.settings;var k,q,p;o.spellcheck=false;p=l.file_picker_types||l.file_browser_callback_types;if(p){p=i.makeMap(p,/[, ]/)}if(!p||p[o.filetype]){q=l.file_picker_callback;if(q&&(!p||p[o.filetype])){k=function(){var r=m.fire("beforecall").meta;r=i.extend({filetype:o.filetype},r);q.call(n,function(s,t){m.value(s).fire("change",{meta:t})},m.value(),r)}}else{q=l.file_browser_callback;if(q&&(!p||p[o.filetype])){k=function(){q(m.getEl("inp").id,m.value(),o.filetype,window)}}}}if(k){o.icon="browse";o.onaction=k}m._super(o)}})});h("tinymce/ui/FitLayout",["tinymce/ui/AbsoluteLayout"],function(i){return i.extend({recalc:function(k){var j=k.layoutRect(),l=k.paddingBox();k.items().filter(":visible").each(function(m){m.layoutRect({x:l.left,y:l.top,w:j.innerW-l.right-l.left,h:j.innerH-l.top-l.bottom});if(m.recalc){m.recalc()}})}})});h("tinymce/ui/FlexLayout",["tinymce/ui/AbsoluteLayout"],function(i){return i.extend({recalc:function(L){var X,S,y,V,t,B,R,w,m,Y,n,u;var T,k,o,q,s=[],r,E,P,I,J,W;var O,D,v,p,aa,M,x,N;var F,j,C,Q,H,U;var K,G;var z=Math.max,Z=Math.min;y=L.items().filter(":visible");V=L.layoutRect();t=L._paddingBox;B=L.settings;u=L.isRtl()?(B.direction||"row-reversed"):B.direction;R=B.align;w=L.isRtl()?(B.pack||"end"):B.pack;m=B.spacing||0;if(u=="row-reversed"||u=="column-reverse"){y=y.set(y.toArray().reverse());u=u.split("-")[0]}if(u=="column"){v="y";O="h";D="minH";p="maxH";M="innerH";aa="top";x="deltaH";N="contentH";H="left";C="w";F="x";j="innerW";Q="minW";U="right";K="deltaW";G="contentW"}else{v="x";O="w";D="minW";p="maxW";M="innerW";aa="left";x="deltaW";N="contentW";H="top";C="h";F="y";j="innerH";Q="minH";U="bottom";K="deltaH";G="contentH"}n=V[M]-t[aa]-t[aa];W=Y=0;for(X=0,S=y.length;X<S;X++){T=y[X];k=T.layoutRect();o=T.settings;q=o.flex;n-=(X<S-1?m:0);if(q>0){Y+=q;if(k[p]){s.push(T)}k.flex=q}n-=k[D];r=t[H]+k[Q]+t[U];if(r>W){W=r}}I={};if(n<0){I[D]=V[D]-n+V[x]}else{I[D]=V[M]-n+V[x]}I[Q]=W+V[K];I[N]=V[M]-n;I[G]=W;I.minW=Z(I.minW,V.maxW);I.minH=Z(I.minH,V.maxH);I.minW=z(I.minW,V.startMinWidth);I.minH=z(I.minH,V.startMinHeight);if(V.autoResize&&(I.minW!=V.minW||I.minH!=V.minH)){I.w=I.minW;I.h=I.minH;L.layoutRect(I);this.recalc(L);if(L._lastRect===null){var A=L.parent();if(A){A._lastRect=null;A.recalc()}}return}P=n/Y;for(X=0,S=s.length;X<S;X++){T=s[X];k=T.layoutRect();E=k[p];r=k[D]+k.flex*P;if(r>E){n-=(k[p]-k[D]);Y-=k.flex;k.flex=0;k.maxFlexSize=E}else{k.maxFlexSize=0}}P=n/Y;J=t[aa];I={};if(Y===0){if(w=="end"){J=n+t[aa]}else{if(w=="center"){J=Math.round((V[M]/2)-((V[M]-n)/2))+t[aa];if(J<0){J=t[aa]}}else{if(w=="justify"){J=t[aa];m=Math.floor(n/(y.length-1))}}}}I[F]=t[H];for(X=0,S=y.length;X<S;X++){T=y[X];k=T.layoutRect();r=k.maxFlexSize||k[D];if(R==="center"){I[F]=Math.round((V[j]/2)-(k[C]/2))}else{if(R==="stretch"){I[C]=z(k[Q]||0,V[j]-t[H]-t[U]);I[F]=t[H]}else{if(R==="end"){I[F]=V[j]-k[C]-t.top}}}if(k.flex>0){r+=k.flex*P}I[O]=r;I[v]=J;T.layoutRect(I);if(T.recalc){T.recalc()}J+=r+m}}})});h("tinymce/ui/FlowLayout",["tinymce/ui/Layout"],function(i){return i.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(j){j.items().filter(":visible").each(function(k){if(k.recalc){k.recalc()}})}})});h("tinymce/ui/FormatControls",["tinymce/ui/Control","tinymce/ui/Widget","tinymce/ui/FloatPanel","tinymce/util/Tools","tinymce/EditorManager","tinymce/Env"],function(n,m,p,j,l,i){var o=j.each;l.on("AddEditor",function(q){if(q.editor.rtl){n.rtl=true}k(q.editor)});n.translate=function(q){return l.translate(q)};m.tooltips=!i.iOS;function k(v){var q;function w(y,z){return function(){var A=this;v.on("nodeChange",function(D){var B=v.formatter;var C=null;o(D.parents,function(E){o(y,function(F){if(z){if(B.matchNode(E,z,{value:F.value})){C=F.value}}else{if(B.matchNode(E,F.value)){C=F.value}}if(C){return false}});if(C){return false}});A.value(C)})}}function t(y){y=y.replace(/;$/,"").split(";");var z=y.length;while(z--){y[z]=y[z].split("=")}return y}function s(){var C=0,B=[];var A=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];function y(D){var E=[];if(!D){return}o(D,function(H){var G={text:H.title,icon:H.icon};if(H.items){G.menu=y(H.items)}else{var F=H.format||"custom"+C++;if(!H.format){H.name=F;B.push(H)}G.format=F;G.cmd=H.cmd}E.push(G)});return E}function z(){var D;if(v.settings.style_formats_merge){if(v.settings.style_formats){D=y(A.concat(v.settings.style_formats))}else{D=y(A)}}else{D=y(v.settings.style_formats||A)}return D}v.on("init",function(){o(B,function(D){v.formatter.register(D.name,D)})});return{type:"menu",items:z(),onPostRender:function(D){v.fire("renderFormatsMenu",{control:D.control})},itemDefaults:{preview:true,textStyle:function(){if(this.settings.format){return v.formatter.getCssText(this.settings.format)}},onPostRender:function(){var D=this;D.parent().on("show",function(){var E,F;E=D.settings.format;if(E){D.disabled(!v.formatter.canApply(E));D.active(v.formatter.match(E))}F=D.settings.cmd;if(F){D.active(v.queryCommandState(F))}})},onclick:function(){if(this.settings.format){r(this.settings.format)}if(this.settings.cmd){v.execCommand(this.settings.cmd)}}}}}q=s();o({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(z,y){v.addButton(y,{tooltip:z,onPostRender:function(){var A=this;if(v.formatter){v.formatter.formatChanged(y,function(B){A.active(B)})}else{v.on("init",function(){v.formatter.formatChanged(y,function(B){A.active(B)})})}},onclick:function(){r(y)}})});o({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(z,y){v.addButton(y,{tooltip:z[0],cmd:z[1]})});o({blockquote:["Blockquote","mceBlockQuote"],numlist:["Numbered list","InsertOrderedList"],bullist:["Bullet list","InsertUnorderedList"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"]},function(z,y){v.addButton(y,{tooltip:z[0],cmd:z[1],onPostRender:function(){var A=this;if(v.formatter){v.formatter.formatChanged(y,function(B){A.active(B)})}else{v.on("init",function(){v.formatter.formatChanged(y,function(B){A.active(B)})})}}})});function u(y){return function(){var z=this;y=y=="redo"?"hasRedo":"hasUndo";function A(){return v.undoManager?v.undoManager[y]():false}z.disabled(!A());v.on("Undo Redo AddUndo TypingUndo ClearUndos",function(){z.disabled(!A())})}}function x(){var y=this;v.on("VisualAid",function(z){y.active(z.hasVisual)});y.active(v.hasVisual)}v.addButton("undo",{tooltip:"Undo",onPostRender:u("undo"),cmd:"undo"});v.addButton("redo",{tooltip:"Redo",onPostRender:u("redo"),cmd:"redo"});v.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"});v.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:u("undo"),cmd:"undo"});v.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:u("redo"),cmd:"redo"});v.addMenuItem("visualaid",{text:"Visual aids",selectable:true,onPostRender:x,cmd:"mceToggleVisualAid"});o({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(z,y){v.addMenuItem(y,{text:z[0],icon:y,shortcut:z[2],cmd:z[1]})});v.on("mousedown",function(){p.hideAll()});function r(y){if(y.control){y=y.control.value()}if(y){v.execCommand("mceToggleFormat",false,y)}}v.addButton("styleselect",{type:"menubutton",text:"Formats",menu:q});v.addButton("formatselect",function(){var y=[],z=t(v.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");o(z,function(A){y.push({text:A[0],value:A[1],textStyle:function(){return v.formatter.getCssText(A[1])}})});return{type:"listbox",text:z[0][0],values:y,fixedWidth:true,onselect:r,onPostRender:w(y)}});v.addButton("fontselect",function(){var z="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats";var y=[],A=t(v.settings.font_formats||z);o(A,function(B){y.push({text:{raw:B[0]},value:B[1],textStyle:B[1].indexOf("dings")==-1?"font-family:"+B[1]:""})});return{type:"listbox",text:"Font Family",tooltip:"Font Family",values:y,fixedWidth:true,onPostRender:w(y,"fontname"),onselect:function(B){if(B.control.settings.value){v.execCommand("FontName",false,B.control.settings.value)}}}});v.addButton("fontsizeselect",function(){var y=[],A="8pt 10pt 12pt 14pt 18pt 24pt 36pt";var z=v.settings.fontsize_formats||A;o(z.split(" "),function(C){var E=C,D=C;var B=C.split("=");if(B.length>1){E=B[0];D=B[1]}y.push({text:E,value:D})});return{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:y,fixedWidth:true,onPostRender:w(y,"fontsize"),onclick:function(B){if(B.control.settings.value){v.execCommand("FontSize",false,B.control.settings.value)}}}});v.addMenuItem("formats",{text:"Formats",menu:q})}});h("tinymce/ui/GridLayout",["tinymce/ui/AbsoluteLayout"],function(i){return i.extend({recalc:function(F){var T=F.settings,S,v,w,P,k,o,D,n,O,K,J,H,G,q,s,N,t,p,m,Q,A,z,M=[],j=[],B,U,r,u,I,V;T=F.settings;w=F.items().filter(":visible");P=F.layoutRect();v=T.columns||Math.ceil(Math.sqrt(w.length));S=Math.ceil(w.length/v);t=T.spacingH||T.spacing||0;p=T.spacingV||T.spacing||0;m=T.alignH||T.align;Q=T.alignV||T.align;s=F._paddingBox;I="reverseRows" in T?T.reverseRows:F.isRtl();if(m&&typeof m=="string"){m=[m]}if(Q&&typeof Q=="string"){Q=[Q]}for(K=0;K<v;K++){M.push(0)}for(J=0;J<S;J++){j.push(0)}for(J=0;J<S;J++){for(K=0;K<v;K++){O=w[J*v+K];if(!O){break}n=O.layoutRect();B=n.minW;U=n.minH;M[K]=B>M[K]?B:M[K];j[J]=U>j[J]?U:j[J]}}r=P.innerW-s.left-s.right;for(A=0,K=0;K<v;K++){A+=M[K]+(K>0?t:0);r-=(K>0?t:0)+M[K]}u=P.innerH-s.top-s.bottom;for(z=0,J=0;J<S;J++){z+=j[J]+(J>0?p:0);u-=(J>0?p:0)+j[J]}A+=s.left+s.right;z+=s.top+s.bottom;D={};D.minW=A+(P.w-P.innerW);D.minH=z+(P.h-P.innerH);D.contentW=D.minW-P.deltaW;D.contentH=D.minH-P.deltaH;D.minW=Math.min(D.minW,P.maxW);D.minH=Math.min(D.minH,P.maxH);D.minW=Math.max(D.minW,P.startMinWidth);D.minH=Math.max(D.minH,P.startMinHeight);if(P.autoResize&&(D.minW!=P.minW||D.minH!=P.minH)){D.w=D.minW;D.h=D.minH;F.layoutRect(D);this.recalc(F);if(F._lastRect===null){var C=F.parent();if(C){C._lastRect=null;C.recalc()}}return}if(P.autoResize){D=F.layoutRect(D);D.contentW=D.minW-P.deltaW;D.contentH=D.minH-P.deltaH}var E;if(T.packV=="start"){E=0}else{E=u>0?Math.floor(u/S):0}var R=0;var l=T.flexWidths;if(l){for(K=0;K<l.length;K++){R+=l[K]}}else{R=v}var L=r/R;for(K=0;K<v;K++){M[K]+=l?l[K]*L:L}G=s.top;for(J=0;J<S;J++){H=s.left;o=j[J]+E;for(K=0;K<v;K++){if(I){V=J*v+v-1-K}else{V=J*v+K}O=w[V];if(!O){break}q=O.settings;n=O.layoutRect();k=Math.max(M[K],n.startMinWidth);n.x=H;n.y=G;N=q.alignH||(m?(m[K]||m[0]):null);if(N=="center"){n.x=H+(k/2)-(n.w/2)}else{if(N=="right"){n.x=H+k-n.w}else{if(N=="stretch"){n.w=k}}}N=q.alignV||(Q?(Q[K]||Q[0]):null);if(N=="center"){n.y=G+(o/2)-(n.h/2)}else{if(N=="bottom"){n.y=G+o-n.h}else{if(N=="stretch"){n.h=o}}}O.layoutRect(n);H+=k+t;if(O.recalc){O.recalc()}}G+=o+p}}})});h("tinymce/ui/Iframe",["tinymce/ui/Widget"],function(i){return i.extend({renderHtml:function(){var j=this;j.addClass("iframe");j.canFocus=false;return('<iframe id="'+j._id+'" class="'+j.classes()+'" tabindex="-1" src="'+(j.settings.url||"javascript:''")+'" frameborder="0"></iframe>')},src:function(j){this.getEl().src=j},html:function(l,m){var k=this,j=this.getEl().contentWindow.document.body;if(!j){setTimeout(function(){k.html(l)},0)}else{j.innerHTML=l;if(m){m()}}return this}})});h("tinymce/ui/Label",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(j,i){return j.extend({init:function(l){var k=this;k._super(l);k.addClass("widget");k.addClass("label");k.canFocus=false;if(l.multiline){k.addClass("autoscroll")}if(l.strong){k.addClass("strong")}},initLayoutRect:function(){var k=this,m=k._super();if(k.settings.multiline){var l=i.getSize(k.getEl());if(l.width>m.maxW){m.minW=m.maxW;k.addClass("multiline")}k.getEl().style.width=m.minW+"px";m.startMinH=m.h=m.minH=Math.min(m.maxH,i.getSize(k.getEl()).height)}return m},repaint:function(){var k=this;if(!k.settings.multiline){k.getEl().style.lineHeight=k.layoutRect().h+"px"}return k._super()},text:function(l){var k=this;if(k._rendered&&l){this.innerHtml(k.encode(l))}return k._super(l)},renderHtml:function(){var l=this,k=l.settings.forId;return('<label id="'+l._id+'" class="'+l.classes()+'"'+(k?' for="'+k+'"':"")+">"+l.encode(l._text)+"</label>")}})});h("tinymce/ui/Toolbar",["tinymce/ui/Container"],function(i){return i.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(k){var j=this;j._super(k);j.addClass("toolbar")},postRender:function(){var j=this;j.items().addClass("toolbar-item");return j._super()}})});h("tinymce/ui/MenuBar",["tinymce/ui/Toolbar"],function(i){return i.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:true,defaults:{type:"menubutton"}}})});h("tinymce/ui/MenuButton",["tinymce/ui/Button","tinymce/ui/Factory","tinymce/ui/MenuBar"],function(l,j,k){function i(o,n){while(o){if(n===o){return true}o=o.parentNode}return false}var m=l.extend({init:function(o){var n=this;n._renderOpen=true;n._super(o);n.addClass("menubtn");if(o.fixedWidth){n.addClass("fixed-width")}n.aria("haspopup",true);n.hasPopup=true},showMenu:function(){var n=this,o=n.settings,p;if(n.menu&&n.menu.visible()){return n.hideMenu()}if(!n.menu){p=o.menu||[];if(p.length){p={type:"menu",items:p}}else{p.type=p.type||"menu"}n.menu=j.create(p).parent(n).renderTo();n.fire("createmenu");n.menu.reflow();n.menu.on("cancel",function(q){if(q.control.parent()===n.menu){q.stopPropagation();n.focus();n.hideMenu()}});n.menu.on("select",function(){n.focus()});n.menu.on("show hide",function(q){if(q.control==n.menu){n.activeMenu(q.type=="show")}n.aria("expanded",q.type=="show")}).fire("show")}n.menu.show();n.menu.layoutRect({w:n.layoutRect().w});n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},hideMenu:function(){var n=this;if(n.menu){n.menu.items().each(function(o){if(o.hideMenu){o.hideMenu()}});n.menu.hide()}},activeMenu:function(n){this.toggleClass("active",n)},renderHtml:function(){var n=this,r=n._id,p=n.classPrefix;var o=n.settings.icon,q;q=n.settings.image;if(q){o="none";if(typeof q!="string"){q=window.getSelection?q[0]:q[1]}q=" style=\"background-image: url('"+q+"')\""}else{q=""}o=n.settings.icon?p+"ico "+p+"i-"+o:"";n.aria("role",n.parent() instanceof k?"menuitem":"button");return('<div id="'+r+'" class="'+n.classes()+'" tabindex="-1" aria-labelledby="'+r+'"><button id="'+r+'-open" role="presentation" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+q+"></i>":"")+"<span>"+(n._text?(o?"\u00a0":"")+n.encode(n._text):"")+'</span> <i class="'+p+'caret"></i></button></div>')},postRender:function(){var n=this;n.on("click",function(o){if(o.control===n&&i(o.target,n.getEl())){n.showMenu();if(o.aria){n.menu.items()[0].focus()}}});n.on("mouseenter",function(r){var o=r.control,q=n.parent(),p;if(o&&q&&o instanceof m&&o.parent()==q){q.items().filter("MenuButton").each(function(s){if(s.hideMenu&&s!=o){if(s.menu&&s.menu.visible()){p=true}s.hideMenu()}});if(p){o.focus();o.showMenu()}}});return n._super()},text:function(q){var n=this,p,o;if(n._rendered){o=n.getEl("open").getElementsByTagName("span");for(p=0;p<o.length;p++){o[p].innerHTML=(n.settings.icon&&q?"\u00a0":"")+n.encode(q)}}return this._super(q)},remove:function(){this._super();if(this.menu){this.menu.remove()}}});return m});h("tinymce/ui/ListBox",["tinymce/ui/MenuButton"],function(i){return i.extend({init:function(n){var l=this,k,m,p,j;function o(q){for(var r=0;r<q.length;r++){m=q[r].selected||n.value===q[r].value;if(m){p=p||q[r].text;l._value=q[r].value;break}if(q[r].menu){o(q[r].menu)}}}l._values=k=n.values;if(k){o(k);if(!m&&k.length>0){p=k[0].text;l._value=k[0].value}n.menu=k}n.text=n.text||p||k[0].text;l._super(n);l.addClass("listbox");l.on("select",function(r){var q=r.control;if(j){r.lastControl=j}if(n.multiple){q.active(!q.active())}else{l.value(r.control.settings.value)}j=q})},value:function(l){var j=this,m,p,o;function n(r,q){r.items().each(function(s){m=s.value()===q;if(m){p=p||s.text()}s.active(m);if(s.menu){n(s.menu,q)}})}function k(q){for(var r=0;r<q.length;r++){m=q[r].value==l;if(m){p=p||q[r].text}q[r].active=m;if(q[r].menu){k(q[r].menu)}}}if(typeof l!="undefined"){if(j.menu){n(j.menu,l)}else{o=j.settings.menu;k(o)}j.text(p||this.settings.text)}return j._super(l)}})});h("tinymce/ui/MenuItem",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/Env"],function(k,i,j){return k.extend({Defaults:{border:0,role:"menuitem"},init:function(m){var l=this;l.hasPopup=true;l._super(m);m=l.settings;l.addClass("menu-item");if(m.menu){l.addClass("menu-item-expand")}if(m.preview){l.addClass("menu-item-preview")}if(l._text==="-"||l._text==="|"){l.addClass("menu-item-sep");l.aria("role","separator");l._text="-"}if(m.selectable){l.aria("role","menuitemcheckbox");l.addClass("menu-item-checkbox");m.icon="selected"}if(!m.preview&&!m.selectable){l.addClass("menu-item-normal")}l.on("mousedown",function(n){n.preventDefault()});if(m.menu&&!m.ariaHideMenu){l.aria("haspopup",true)}},hasMenus:function(){return !!this.settings.menu},showMenu:function(){var m=this,o=m.settings,p,n=m.parent();n.items().each(function(q){if(q!==m){q.hideMenu()}});if(o.menu){p=m.menu;if(!p){p=o.menu;if(p.length){p={type:"menu",items:p}}else{p.type=p.type||"menu"}if(n.settings.itemDefaults){p.itemDefaults=n.settings.itemDefaults}p=m.menu=i.create(p).parent(m).renderTo();p.reflow();p.on("cancel",function(q){q.stopPropagation();m.focus();p.hide()});p.on("show hide",function(q){q.control.items().each(function(r){r.active(r.settings.selected)})}).fire("show");p.on("hide",function(q){if(q.control===p){m.removeClass("selected")}});p.submenu=true}else{p.show()}p._parentMenu=n;p.addClass("menu-sub");var l=p.testMoveRel(m.getEl(),m.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);p.moveRel(m.getEl(),l);p.rel=l;l="menu-sub-"+l;p.removeClass(p._lastRel);p.addClass(l);p._lastRel=l;m.addClass("selected");m.aria("expanded",true)}},hideMenu:function(){var l=this;if(l.menu){l.menu.items().each(function(m){if(m.hideMenu){m.hideMenu()}});l.menu.hide();l.aria("expanded",false)}return l},renderHtml:function(){var t=this,l=t._id,o=t.settings,q=t.classPrefix,s=t.encode(t._text);var r=t.settings.icon,n="",p=o.shortcut;function m(u){var w,x,v={};if(j.mac){v={alt:"&#x2325;",ctrl:"&#x2318;",shift:"&#x21E7;",meta:"&#x2318;"}}else{v={meta:"Ctrl"}}u=u.split("+");for(w=0;w<u.length;w++){x=v[u[w].toLowerCase()];if(x){u[w]=x}}return u.join("+")}if(r){t.parent().addClass("menu-has-icons")}if(o.image){r="none";n=" style=\"background-image: url('"+o.image+"')\""}if(p){p=m(p)}r=q+"ico "+q+"i-"+(t.settings.icon||"none");return('<div id="'+l+'" class="'+t.classes()+'" tabindex="-1">'+(s!=="-"?'<i class="'+r+'"'+n+"></i>\u00a0":"")+(s!=="-"?'<span id="'+l+'-text" class="'+q+'text">'+s+"</span>":"")+(p?'<div id="'+l+'-shortcut" class="'+q+'menu-shortcut">'+p+"</div>":"")+(o.menu?'<div class="'+q+'caret"></div>':"")+"</div>")},postRender:function(){var m=this,n=m.settings;var o=n.textStyle;if(typeof o=="function"){o=o.call(this)}if(o){var l=m.getEl("text");if(l){l.setAttribute("style",o)}}m.on("mouseenter click",function(p){if(p.control===m){if(!n.menu&&p.type==="click"){m.fire("select");m.parent().hideAll()}else{m.showMenu();if(p.aria){m.menu.focus(true)}}}});m._super();return m},active:function(l){if(typeof l!="undefined"){this.aria("checked",l)}return this._super(l)},remove:function(){this._super();if(this.menu){this.menu.remove()}}})});h("tinymce/ui/Menu",["tinymce/ui/FloatPanel","tinymce/ui/MenuItem","tinymce/util/Tools"],function(l,k,i){var j=l.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:true},init:function(p){var n=this;p.autohide=true;p.constrainToViewport=true;if(p.itemDefaults){var m=p.items,o=m.length;while(o--){m[o]=i.extend({},p.itemDefaults,m[o])}}n._super(p);n.addClass("menu")},repaint:function(){this.toggleClass("menu-align",true);this._super();this.getEl().style.height="";this.getEl("body").style.height="";return this},cancel:function(){var m=this;m.hideAll();m.fire("select")},hideAll:function(){var m=this;this.find("menuitem").exec("hideMenu");return m._super()},preRender:function(){var m=this;m.items().each(function(o){var n=o.settings;if(n.icon||n.selectable){m._hasIcons=true;return false}});return m._super()}});return j});h("tinymce/ui/Radio",["tinymce/ui/Checkbox"],function(i){return i.extend({Defaults:{classes:"radio",role:"radio"}})});h("tinymce/ui/ResizeHandle",["tinymce/ui/Widget","tinymce/ui/DragHelper"],function(j,i){return j.extend({renderHtml:function(){var k=this,l=k.classPrefix;k.addClass("resizehandle");if(k.settings.direction=="both"){k.addClass("resizehandle-both")}k.canFocus=false;return('<div id="'+k._id+'" class="'+k.classes()+'"><i class="'+l+"ico "+l+'i-resize"></i></div>')},postRender:function(){var k=this;k._super();k.resizeDragHelper=new i(this._id,{start:function(){k.fire("ResizeStart")},drag:function(l){if(k.settings.direction!="both"){l.deltaX=0}k.fire("Resize",l)},stop:function(){k.fire("ResizeEnd")}})},remove:function(){if(this.resizeDragHelper){this.resizeDragHelper.destroy()}return this._super()}})});h("tinymce/ui/Spacer",["tinymce/ui/Widget"],function(i){return i.extend({renderHtml:function(){var j=this;j.addClass("spacer");j.canFocus=false;return'<div id="'+j._id+'" class="'+j.classes()+'"></div>'}})});h("tinymce/ui/SplitButton",["tinymce/ui/MenuButton","tinymce/ui/DomUtils"],function(j,i){return j.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var k=this,o=k.getEl(),m=k.layoutRect(),l,n;k._super();l=o.firstChild;n=o.lastChild;i.css(l,{width:m.w-i.getSize(n).width,height:m.h-2});i.css(n,{height:m.h-2});return k},activeMenu:function(l){var k=this;i.toggleClass(k.getEl().lastChild,k.classPrefix+"active",l)},renderHtml:function(){var k=this,o=k._id,m=k.classPrefix,n;var l=k.settings.icon;n=k.settings.image;if(n){l="none";if(typeof n!="string"){n=window.getSelection?n[0]:n[1]}n=" style=\"background-image: url('"+n+"')\""}else{n=""}l=k.settings.icon?m+"ico "+m+"i-"+l:"";return('<div id="'+o+'" class="'+k.classes()+'" role="button" tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(l?'<i class="'+l+'"'+n+"></i>":"")+(k._text?(l?" ":"")+k._text:"")+'</button><button type="button" class="'+m+'open" hidefocus="1" tabindex="-1">'+(k._menuBtnText?(l?"\u00a0":"")+k._menuBtnText:"")+' <i class="'+m+'caret"></i></button></div>')},postRender:function(){var k=this,l=k.settings.onclick;k.on("click",function(n){var m=n.target;if(n.control==this){while(m){if((n.aria&&n.aria.key!="down")||(m.nodeName=="BUTTON"&&m.className.indexOf("open")==-1)){n.stopImmediatePropagation();l.call(this,n);return}m=m.parentNode}}});delete k.settings.onclick;return k._super()}})});h("tinymce/ui/StackLayout",["tinymce/ui/FlowLayout"],function(i){return i.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"}})});h("tinymce/ui/TabPanel",["tinymce/ui/Panel","tinymce/ui/DomUtils"],function(j,i){return j.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(k){var l;if(this.activeTabId){l=this.getEl(this.activeTabId);i.removeClass(l,this.classPrefix+"active");l.setAttribute("aria-selected","false")}this.activeTabId="t"+k;l=this.getEl("t"+k);l.setAttribute("aria-selected","true");i.addClass(l,this.classPrefix+"active");this.items()[k].show().fire("showtab");this.reflow();this.items().each(function(n,m){if(k!=m){n.hide()}})},renderHtml:function(){var l=this,m=l._layout,k="",n=l.classPrefix;l.preRender();m.preRender(l);l.items().each(function(p,o){var q=l._id+"-t"+o;p.aria("role","tabpanel");p.aria("labelledby",q);k+=('<div id="'+q+'" class="'+n+'tab" unselectable="on" role="tab" aria-controls="'+p._id+'" aria-selected="false" tabIndex="-1">'+l.encode(p.settings.title)+"</div>")});return('<div id="'+l._id+'" class="'+l.classes()+'" hidefocus="1" tabindex="-1"><div id="'+l._id+'-head" class="'+n+'tabs" role="tablist">'+k+'</div><div id="'+l._id+'-body" class="'+l.classes("body")+'">'+m.renderHtml(l)+"</div></div>")},postRender:function(){var k=this;k._super();k.settings.activeTab=k.settings.activeTab||0;k.activateTab(k.settings.activeTab);this.on("click",function(n){var m=n.target.parentNode;if(n.target.parentNode.id==k._id+"-head"){var l=m.childNodes.length;while(l--){if(m.childNodes[l]==n.target){k.activateTab(l)}}}})},initLayoutRect:function(){var l=this,o,k,n;k=i.getSize(l.getEl("head")).width;k=k<0?0:k;n=0;l.items().each(function(p){k=Math.max(k,p.layoutRect().minW);n=Math.max(n,p.layoutRect().minH)});l.items().each(function(p){p.settings.x=0;p.settings.y=0;p.settings.w=k;p.settings.h=n;p.layoutRect({x:0,y:0,w:k,h:n})});var m=i.getSize(l.getEl("head")).height;l.settings.minWidth=k;l.settings.minHeight=n+m;o=l._super();o.deltaH+=m;o.innerH=o.h-o.deltaH;return o}})});h("tinymce/ui/TextBox",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(j,i){return j.extend({init:function(l){var k=this;k._super(l);k._value=l.value||"";k.addClass("textbox");if(l.multiline){k.addClass("multiline")}else{k.on("keydown",function(m){if(m.keyCode==13){k.parents().reverse().each(function(n){m.preventDefault();if(n.hasEventListeners("submit")&&n.toJSON){n.fire("submit",{data:n.toJSON()});return false}})}})}},disabled:function(l){var k=this;if(k._rendered&&typeof l!="undefined"){k.getEl().disabled=l}return k._super(l)},value:function(l){var k=this;if(typeof l!="undefined"){k._value=l;if(k._rendered){k.getEl().value=l}return k}if(k._rendered){return k.getEl().value}return k._value},repaint:function(){var l=this,n,o,r,m=0,p=0,k;n=l.getEl().style;o=l._layoutRect;k=l._lastRepaintRect||{};var q=document;if(!l.settings.multiline&&q.all&&(!q.documentMode||q.documentMode<=8)){n.lineHeight=(o.h-p)+"px"}r=l._borderBox;m=r.left+r.right+8;p=r.top+r.bottom+(l.settings.multiline?8:0);if(o.x!==k.x){n.left=o.x+"px";k.x=o.x}if(o.y!==k.y){n.top=o.y+"px";k.y=o.y}if(o.w!==k.w){n.width=(o.w-m)+"px";k.w=o.w}if(o.h!==k.h){n.height=(o.h-p)+"px";k.h=o.h}l._lastRepaintRect=k;l.fire("repaint",{},false);return l},renderHtml:function(){var k=this,o=k._id,l=k.settings,n=k.encode(k._value,false),m="";if("spellcheck" in l){m+=' spellcheck="'+l.spellcheck+'"'}if(l.maxLength){m+=' maxlength="'+l.maxLength+'"'}if(l.size){m+=' size="'+l.size+'"'}if(l.subtype){m+=' type="'+l.subtype+'"'}if(k.disabled()){m+=' disabled="disabled"'}if(l.multiline){return('<textarea id="'+o+'" class="'+k.classes()+'" '+(l.rows?' rows="'+l.rows+'"':"")+' hidefocus="1"'+m+">"+n+"</textarea>")}return'<input id="'+o+'" class="'+k.classes()+'" value="'+n+'" hidefocus="1"'+m+" />"},postRender:function(){var k=this;i.on(k.getEl(),"change",function(l){k.fire("change",l)});return k._super()},remove:function(){i.off(this.getEl());this._super()}})});h("tinymce/ui/Throbber",["tinymce/ui/DomUtils","tinymce/ui/Control"],function(i,j){return function(o,n){var l=this,m,k=j.classPrefix;l.show=function(p){l.hide();m=true;window.setTimeout(function(){if(m){o.appendChild(i.createFragment('<div class="'+k+"throbber"+(n?" "+k+"throbber-inline":"")+'"></div>'))}},p||0);return l};l.hide=function(){var p=o.lastChild;if(p&&p.className.indexOf("throbber")!=-1){p.parentNode.removeChild(p)}m=false;return l}}});a(["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/Env","tinymce/util/Tools","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/dom/DOMUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/dom/RangeUtils","tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/html/DomParser","tinymce/html/Writer","tinymce/html/Serializer","tinymce/dom/Serializer","tinymce/dom/TridentSelection","tinymce/util/VK","tinymce/dom/ControlSelection","tinymce/dom/BookmarkManager","tinymce/dom/Selection","tinymce/dom/ElementUtils","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/util/Class","tinymce/util/EventDispatcher","tinymce/ui/Selector","tinymce/ui/Collection","tinymce/ui/DomUtils","tinymce/ui/Control","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/ui/Container","tinymce/ui/DragHelper","tinymce/ui/Scrollable","tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/FloatPanel","tinymce/ui/Window","tinymce/ui/MessageBox","tinymce/WindowManager","tinymce/util/Quirks","tinymce/util/Observable","tinymce/EditorObservable","tinymce/Shortcuts","tinymce/Editor","tinymce/util/I18n","tinymce/FocusManager","tinymce/EditorManager","tinymce/LegacyInput","tinymce/util/XHR","tinymce/util/JSON","tinymce/util/JSONRequest","tinymce/util/JSONP","tinymce/util/LocalStorage","tinymce/Compat","tinymce/ui/Layout","tinymce/ui/AbsoluteLayout","tinymce/ui/Tooltip","tinymce/ui/Widget","tinymce/ui/Button","tinymce/ui/ButtonGroup","tinymce/ui/Checkbox","tinymce/ui/ComboBox","tinymce/ui/ColorBox","tinymce/ui/PanelButton","tinymce/ui/ColorButton","tinymce/util/Color","tinymce/ui/ColorPicker","tinymce/ui/Path","tinymce/ui/ElementPath","tinymce/ui/FormItem","tinymce/ui/Form","tinymce/ui/FieldSet","tinymce/ui/FilePicker","tinymce/ui/FitLayout","tinymce/ui/FlexLayout","tinymce/ui/FlowLayout","tinymce/ui/FormatControls","tinymce/ui/GridLayout","tinymce/ui/Iframe","tinymce/ui/Label","tinymce/ui/Toolbar","tinymce/ui/MenuBar","tinymce/ui/MenuButton","tinymce/ui/ListBox","tinymce/ui/MenuItem","tinymce/ui/Menu","tinymce/ui/Radio","tinymce/ui/ResizeHandle","tinymce/ui/Spacer","tinymce/ui/SplitButton","tinymce/ui/StackLayout","tinymce/ui/TabPanel","tinymce/ui/TextBox","tinymce/ui/Throbber"])})(this);
\ No newline at end of file
+!function(e,t){"use strict";function n(e,t){for(var n,i=[],a=0;a<e.length;++a){if(!(n=o[e[a]]||r(e[a])))throw"module definition dependecy not found: "+e[a];i.push(n)}t.apply(null,i)}function i(e,i,r){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(i===t)throw"invalid module definition, dependencies must be specified";if(r===t)throw"invalid module definition, definition function must be specified";n(i,function(){o[e]=r.apply(null,arguments)})}function r(t){for(var n=e,i=t.split(/[.\/]/),r=0;r<i.length;++r){if(!n[i[r]])return;n=n[i[r]]}return n}var o={};i("tinymce/dom/EventUtils",[],function(){function e(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)}function t(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i||!1):e.detachEvent&&e.detachEvent("on"+t,n)}function n(e,t){function n(){return!1}function i(){return!0}var r,o=t||{};for(r in e)s[r]||(o[r]=e[r]);if(o.target||(o.target=o.srcElement||document),e&&a.test(e.type)&&void 0===e.pageX&&void 0!==e.clientX){var l=o.target.ownerDocument||document,c=l.documentElement,u=l.body;o.pageX=e.clientX+(c&&c.scrollLeft||u&&u.scrollLeft||0)-(c&&c.clientLeft||u&&u.clientLeft||0),o.pageY=e.clientY+(c&&c.scrollTop||u&&u.scrollTop||0)-(c&&c.clientTop||u&&u.clientTop||0)}return o.preventDefault=function(){o.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},o.stopPropagation=function(){o.isPropagationStopped=i,e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)},o.stopImmediatePropagation=function(){o.isImmediatePropagationStopped=i,o.stopPropagation()},o.isDefaultPrevented||(o.isDefaultPrevented=n,o.isPropagationStopped=n,o.isImmediatePropagationStopped=n),o}function i(n,i,r){function o(){r.domLoaded||(r.domLoaded=!0,i(c))}function a(){("complete"===l.readyState||"interactive"===l.readyState&&l.body)&&(t(l,"readystatechange",a),o())}function s(){try{l.documentElement.doScroll("left")}catch(e){return void setTimeout(s,0)}o()}var l=n.document,c={type:"ready"};r.domLoaded?i(c):(l.addEventListener?"complete"===l.readyState?o():e(n,"DOMContentLoaded",o):(e(l,"readystatechange",a),l.documentElement.doScroll&&n.self===n.top&&s()),e(n,"load",o))}function r(){function r(e,t){var n,i,r,o,a=f[t];if(n=a&&a[e.type])for(i=0,r=n.length;i<r;i++)if((o=n[i])&&!1===o.func.call(o.scope,e)&&e.preventDefault(),e.isImmediatePropagationStopped())return}var a,s,l,c,u,d=this,f={};s=o+(+new Date).toString(32),c="onmouseenter"in document.documentElement,l="onfocusin"in document.documentElement,u={mouseenter:"mouseover",mouseleave:"mouseout"},a=1,d.domLoaded=!1,d.events=f,d.bind=function(t,o,m,p){var h,g,v,y,b,C,x,w=window;if(t&&3!==t.nodeType&&8!==t.nodeType){for(t[s]?h=t[s]:(h=a++,t[s]=h,f[h]={}),p=p||t,v=(o=o.split(" ")).length;v--;)C=function(e){r(n(e||w.event),h)},b=x=!1,"DOMContentLoaded"===(y=o[v])&&(y="ready"),d.domLoaded&&"ready"===y&&"complete"==t.readyState?m.call(p,n({type:y})):(c||(b=u[y])&&(C=function(e){var t,i;if(t=e.currentTarget,(i=e.relatedTarget)&&t.contains)i=t.contains(i);else for(;i&&i!==t;)i=i.parentNode;i||((e=n(e||w.event)).type="mouseout"===e.type?"mouseleave":"mouseenter",e.target=t,r(e,h))}),l||"focusin"!==y&&"focusout"!==y||(x=!0,b="focusin"===y?"focus":"blur",C=function(e){(e=n(e||w.event)).type="focus"===e.type?"focusin":"focusout",r(e,h)}),(g=f[h][y])?"ready"===y&&d.domLoaded?m({type:y}):g.push({func:m,scope:p}):(f[h][y]=g=[{func:m,scope:p}],g.fakeName=b,g.capture=x,g.nativeHandler=C,"ready"===y?i(t,C,d):e(t,b||y,C,x)));return t=g=0,m}},d.unbind=function(e,n,i){var r,o,a,l,c,u;if(!e||3===e.nodeType||8===e.nodeType)return d;if(r=e[s]){if(u=f[r],n){for(a=(n=n.split(" ")).length;a--;)if(c=n[a],o=u[c]){if(i)for(l=o.length;l--;)if(o[l].func===i){var m=o.nativeHandler,p=o.fakeName,h=o.capture;(o=o.slice(0,l).concat(o.slice(l+1))).nativeHandler=m,o.fakeName=p,o.capture=h,u[c]=o}i&&0!==o.length||(delete u[c],t(e,o.fakeName||c,o.nativeHandler,o.capture))}}else{for(c in u)o=u[c],t(e,o.fakeName||c,o.nativeHandler,o.capture);u={}}for(c in u)return d;delete f[r];try{delete e[s]}catch(t){e[s]=null}}return d},d.fire=function(e,t,i){var o;if(!e||3===e.nodeType||8===e.nodeType)return d;(i=n(null,i)).type=t,i.target=e;do{(o=e[s])&&r(i,o),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!i.isPropagationStopped());return d},d.clean=function(e){var t,n,i=d.unbind;if(!e||3===e.nodeType||8===e.nodeType)return d;if(e[s]&&i(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName)for(i(e),t=(n=e.getElementsByTagName("*")).length;t--;)(e=n[t])[s]&&i(e);return d},d.destroy=function(){f={}},d.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}}var o="mce-data-",a=/^(?:mouse|contextmenu)|click/,s={keyLocation:1,layerX:1,layerY:1,returnValue:1};return(r.Event=new r).bind(window,"ready",function(){}),r}),i("tinymce/dom/Sizzle",[],function(){function e(e,t,n,i){var r,o,a,s,c,d,f,m,p,h;if((t?t.ownerDocument||t:I)!==A&&R(t),t=t||A,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(D&&!i){if(r=he.exec(e))if(a=r[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&H(t,o)&&o.id===a)return n.push(o),n}else{if(r[2])return J.apply(n,t.getElementsByTagName(e)),n;if((a=r[3])&&b.getElementsByClassName)return J.apply(n,t.getElementsByClassName(a)),n}if(b.qsa&&(!M||!M.test(e))){if(m=f=O,p=t,h=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(d=_(e),(f=t.getAttribute("id"))?m=f.replace(ve,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",c=d.length;c--;)d[c]=m+u(d[c]);p=ge.test(e)&&l(t.parentNode)||t,h=d.join(",")}if(h)try{return J.apply(n,p.querySelectorAll(h)),n}catch(e){}finally{f||t.removeAttribute("id")}}}return N(e.replace(oe,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[O]=!0,e}function r(e){var t=A.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=e.length;i--;)C.attrHandle[n[i]]=t}function a(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function l(e){return e&&typeof e.getElementsByTagName!==q&&e}function c(){}function u(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function d(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=z++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,a){var s,l,c=[F,o];if(a){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(l=t[O]||(t[O]={}),(s=l[i])&&s[0]===F&&s[1]===o)return c[2]=s[2];if(l[i]=c,c[2]=e(t,n,a))return!0}}}function f(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function m(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}function p(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),c&&t.push(s)));return a}function h(e,t,n,r,o,a){return r&&!r[O]&&(r=h(r)),o&&!o[O]&&(o=h(o,a)),i(function(i,a,s,l){var c,u,d,f=[],h=[],g=a.length,v=i||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?v:p(v,f,e,s,l),b=n?o||(i?e:g||r)?[]:a:y;if(n&&n(y,b,s,l),r)for(c=p(b,h),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[h[u]]=!(y[h[u]]=d));if(i){if(o||e){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?Z.call(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else b=p(b===a?b.splice(g,b.length):b),o?o(null,a,b,l):J.apply(a,b)})}function g(e){for(var t,n,i,r=e.length,o=C.relative[e[0].type],a=o||C.relative[" "],s=o?1:0,l=d(function(e){return e===t},a,!0),c=d(function(e){return Z.call(t,e)>-1},a,!0),m=[function(e,n,i){return!o&&(i||n!==S)||((t=n).nodeType?l(e,n,i):c(e,n,i))}];s<r;s++)if(n=C.relative[e[s].type])m=[d(f(m),n)];else{if((n=C.filter[e[s].type].apply(null,e[s].matches))[O]){for(i=++s;i<r&&!C.relative[e[i].type];i++);return h(s>1&&f(m),s>1&&u(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<i&&g(e.slice(s,i)),i<r&&g(e=e.slice(i)),i<r&&u(e))}m.push(n)}return f(m)}function v(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,c){var u,d,f,m=0,h="0",g=i&&[],v=[],y=S,b=i||o&&C.find.TAG("*",c),x=F+=null==y?1:Math.random()||.1,w=b.length;for(c&&(S=a!==A&&a);h!==w&&null!=(u=b[h]);h++){if(o&&u){for(d=0;f=t[d++];)if(f(u,a,s)){l.push(u);break}c&&(F=x)}r&&((u=!f&&u)&&m--,i&&g.push(u))}if(m+=h,r&&h!==m){for(d=0;f=n[d++];)f(g,v,a,s);if(i){if(m>0)for(;h--;)g[h]||v[h]||(v[h]=G.call(l));v=p(v)}J.apply(l,v),c&&!i&&v.length>0&&m+n.length>1&&e.uniqueSort(l)}return c&&(F=x,S=y),g};return r?i(a):a}var y,b,C,x,w,_,E,N,S,k,T,R,A,B,D,M,L,P,H,O="sizzle"+-new Date,I=window.document,F=0,z=0,W=n(),U=n(),V=n(),$=function(e,t){return e===t&&(T=!0),0},q=typeof t,j=1<<31,K={}.hasOwnProperty,Y=[],G=Y.pop,X=Y.push,J=Y.push,Q=Y.slice,Z=Y.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",te="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+te+"*("+ne+")(?:"+te+"*([*^$|!~]?=)"+te+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+te+"*\\]",re=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",oe=new RegExp("^"+te+"+|((?:^|[^\\\\])(?:\\\\.)*)"+te+"+$","g"),ae=new RegExp("^"+te+"*,"+te+"*"),se=new RegExp("^"+te+"*([>+~]|"+te+")"+te+"*"),le=new RegExp("="+te+"*([^\\]'\"]*?)"+te+"*\\]","g"),ce=new RegExp(re),ue=new RegExp("^"+ne+"$"),de={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,pe=/^[^{]+\{\s*\[native \w/,he=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ve=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+te+"?|("+te+")|.)","ig"),be=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{J.apply(Y=Q.call(I.childNodes),I.childNodes),Y[I.childNodes.length].nodeType}catch(e){J={apply:Y.length?function(e,t){X.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}b=e.support={},w=e.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},R=e.setDocument=function(e){var t,n=e?e.ownerDocument||e:I,i=n.defaultView;return n!==A&&9===n.nodeType&&n.documentElement?(A=n,B=n.documentElement,D=!w(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){R()},!1):i.attachEvent&&i.attachEvent("onunload",function(){R()})),b.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=r(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=pe.test(n.getElementsByClassName),b.getById=r(function(e){return B.appendChild(e).id=O,!n.getElementsByName||!n.getElementsByName(O).length}),b.getById?(C.find.ID=function(e,t){if(typeof t.getElementById!==q&&D){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},C.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=typeof e.getAttributeNode!==q&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=b.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==q)return t.getElementsByTagName(e)}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},C.find.CLASS=b.getElementsByClassName&&function(e,t){if(D)return t.getElementsByClassName(e)},L=[],M=[],(b.qsa=pe.test(n.querySelectorAll))&&(r(function(e){e.innerHTML="<select msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll(":checked").length||M.push(":checked")}),r(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+te+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(b.matchesSelector=pe.test(P=B.matches||B.webkitMatchesSelector||B.mozMatchesSelector||B.oMatchesSelector||B.msMatchesSelector))&&r(function(e){b.disconnectedMatch=P.call(e,"div"),P.call(e,"[s!='']:x"),L.push("!=",re)}),M=M.length&&new RegExp(M.join("|")),L=L.length&&new RegExp(L.join("|")),t=pe.test(B.compareDocumentPosition),H=t||pe.test(B.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},$=t?function(e,t){if(e===t)return T=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!b.sortDetached&&t.compareDocumentPosition(e)===i?e===n||e.ownerDocument===I&&H(I,e)?-1:t===n||t.ownerDocument===I&&H(I,t)?1:k?Z.call(k,e)-Z.call(k,t):0:4&i?-1:1)}:function(e,t){if(e===t)return T=!0,0;var i,r=0,o=e.parentNode,s=t.parentNode,l=[e],c=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:k?Z.call(k,e)-Z.call(k,t):0;if(o===s)return a(e,t);for(i=e;i=i.parentNode;)l.unshift(i);for(i=t;i=i.parentNode;)c.unshift(i);for(;l[r]===c[r];)r++;return r?a(l[r],c[r]):l[r]===I?-1:c[r]===I?1:0},n):A},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==A&&R(t),n=n.replace(le,"='$1']"),b.matchesSelector&&D&&(!L||!L.test(n))&&(!M||!M.test(n)))try{var i=P.call(t,n);if(i||b.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(e){}return e(n,A,null,[t]).length>0},e.contains=function(e,t){return(e.ownerDocument||e)!==A&&R(e),H(e,t)},e.attr=function(e,n){(e.ownerDocument||e)!==A&&R(e);var i=C.attrHandle[n.toLowerCase()],r=i&&K.call(C.attrHandle,n.toLowerCase())?i(e,n,!D):t;return r!==t?r:b.attributes||!D?e.getAttribute(n):(r=e.getAttributeNode(n))&&r.specified?r.value:null},e.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},e.uniqueSort=function(e){var t,n=[],i=0,r=0;if(T=!b.detectDuplicates,k=!b.sortStable&&e.slice(0),e.sort($),T){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return k=null,e},x=e.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=x(t);return n},(C=e.selectors={cacheLength:50,createPseudo:i,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=_(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==q&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,m,p,h=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;h;){for(d=t;d=d[h];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(m=(c=(u=g[O]||(g[O]={}))[e]||[])[0]===F&&c[1],f=c[0]===F&&c[2],d=m&&g.childNodes[m];d=++m&&d&&d[h]||(f=m=0)||p.pop();)if(1===d.nodeType&&++f&&d===t){u[e]=[F,m,f];break}}else if(y&&(c=(t[O]||(t[O]={}))[e])&&c[0]===F)f=c[1];else for(;(d=++m&&d&&d[h]||(f=m=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[O]||(d[O]={}))[e]=[F,f]),d!==t)););return(f-=r)===i||f%i==0&&f/i>=0}}},PSEUDO:function(t,n){var r,o=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[O]?o(n):o.length>1?(r=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?i(function(e,t){for(var i,r=o(e,n),a=r.length;a--;)e[i=Z.call(e,r[a])]=!(t[i]=r[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=E(e.replace(oe,"$1"));return r[O]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(e){return e=e.replace(ye,be),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:i(function(t){return ue.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(ye,be).toLowerCase(),function(e){var n;do{if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===B},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:s(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=C.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})C.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return c.prototype=C.filters=C.pseudos,C.setFilters=new c,_=e.tokenize=function(t,n){var i,r,o,a,s,l,c,u=U[t+" "];if(u)return n?0:u.slice(0);for(s=t,l=[],c=C.preFilter;s;){i&&!(r=ae.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=se.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(oe," ")}),s=s.slice(i.length));for(a in C.filter)!(r=de[a].exec(s))||c[a]&&!(r=c[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):U(t,l).slice(0)},E=e.compile=function(e,t){var n,i=[],r=[],o=V[e+" "];if(!o){for(t||(t=_(e)),n=t.length;n--;)(o=g(t[n]))[O]?i.push(o):r.push(o);(o=V(e,v(r,i))).selector=e}return o},N=e.select=function(e,t,n,i){var r,o,a,s,c,d="function"==typeof e&&e,f=!i&&_(e=d.selector||e);if(n=n||[],1===f.length){if((o=f[0]=f[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&b.getById&&9===t.nodeType&&D&&C.relative[o[1].type]){if(!(t=(C.find.ID(a.matches[0].replace(ye,be),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=de.needsContext.test(e)?0:o.length;r--&&(a=o[r],!C.relative[s=a.type]);)if((c=C.find[s])&&(i=c(a.matches[0].replace(ye,be),ge.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&u(o)))return J.apply(n,i),n;break}}return(d||E(e,f))(i,t,!D,n,ge.test(e)&&l(t.parentNode)||t),n},b.sortStable=O.split("").sort($).join("")===O,b.detectDuplicates=!!T,R(),b.sortDetached=r(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(ee,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),e}),i("tinymce/Env",[],function(){var e,t,n,i,r,o,a,s,l,c=navigator,u=c.userAgent;return e=window.opera&&window.opera.buildNumber,l=/Android/.test(u),n=(n=!(t=/WebKit/.test(u))&&!e&&/MSIE/gi.test(u)&&/Explorer/gi.test(c.appName))&&/MSIE (\w+)\./.exec(u)[1],i=-1!=u.indexOf("Trident/")&&(-1!=u.indexOf("rv:")||-1!=c.appName.indexOf("Netscape"))&&11,r=!(!document.msElementsFromPoint||n||i)&&12,n=n||i||r,o=!t&&!i&&/Gecko/.test(u),a=-1!=u.indexOf("Mac"),s=/(iPad|iPhone)/.test(u),r&&(t=!1),{opera:e,webkit:t,ie:n,gecko:o,mac:a,iOS:s,android:l,contentEditable:!s||u.match(/AppleWebKit\/(\d*)/)[1]>=534,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=n,range:window.getSelection&&"Range"in window,documentMode:n&&!r?document.documentMode||7:10}}),i("tinymce/util/Tools",["tinymce/Env"],function(e){function n(e){return null===e||e===t?"":(""+e).replace(s,"")}function i(e,n){return n?!("array"!=n||!l(e))||typeof e==n:e!==t}function r(e,n,i){var r,o;if(!e)return 0;if(i=i||e,e.length!==t){for(r=0,o=e.length;r<o;r++)if(!1===n.call(i,e[r],r,e))return 0}else for(r in e)if(e.hasOwnProperty(r)&&!1===n.call(i,e[r],r,e))return 0;return 1}function o(e,t){var n=[];return r(e,function(e){n.push(t(e))}),n}function a(e,t,n,i){i=i||this,e&&(n&&(e=e[n]),r(e,function(e,r){if(!1===t.call(i,e,r,n))return!1;a(e,t,n,i)}))}var s=/^\s*|\s*$/g,l=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return{trim:n,isArray:l,is:i,toArray:function(e){var t,n,i=e;if(!l(e))for(i=[],t=0,n=e.length;t<n;t++)i[t]=e[t];return i},makeMap:function(e,t,n){var i;for(e=e||[],t=t||",","string"==typeof e&&(e=e.split(t)),n=n||{},i=e.length;i--;)n[e[i]]={};return n},each:r,map:o,grep:function(e,t){var n=[];return r(e,function(e){t&&!t(e)||n.push(e)}),n},inArray:function(e,t){var n,i;if(e)for(n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},extend:function(e,n){var i,r,o,a,s=arguments;for(i=1,r=s.length;i<r;i++){n=s[i];for(o in n)n.hasOwnProperty(o)&&(a=n[o])!==t&&(e[o]=a)}return e},create:function(e,t,n){var i,r,o,a,s,l=this,c=0;if(e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e),o=e[3].match(/(^|\.)(\w+)$/i)[2],!(r=l.createNS(e[3].replace(/\.\w+$/,""),n))[o]){if("static"==e[2])return r[o]=t,void(this.onCreate&&this.onCreate(e[2],e[3],r[o]));t[o]||(t[o]=function(){},c=1),r[o]=t[o],l.extend(r[o].prototype,t),e[5]&&(i=l.resolve(e[5]).prototype,a=e[5].match(/\.(\w+)$/i)[1],s=r[o],r[o]=c?function(){return i[a].apply(this,arguments)}:function(){return this.parent=i[a],s.apply(this,arguments)},r[o].prototype[o]=r[o],l.each(i,function(e,t){r[o].prototype[t]=i[t]}),l.each(t,function(e,t){i[t]?r[o].prototype[t]=function(){return this.parent=i[t],e.apply(this,arguments)}:t!=o&&(r[o].prototype[t]=e)})),l.each(t.static,function(e,t){r[o][t]=e})}},walk:a,createNS:function(e,t){var n,i;for(t=t||window,e=e.split("."),n=0;n<e.length;n++)t[i=e[n]]||(t[i]={}),t=t[i];return t},resolve:function(e,t){var n,i;for(t=t||window,n=0,i=(e=e.split(".")).length;n<i&&(t=t[e[n]]);n++);return t},explode:function(e,t){return!e||i(e,"array")?e:o(e.split(t||","),n)},_addCacheSuffix:function(t){var n=e.cacheSuffix;return n&&(t+=(-1===t.indexOf("?")?"?":"&")+n),t}}}),i("tinymce/dom/DomQuery",["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/Env"],function(e,n,i,r){function o(e){return void 0!==e}function a(e){return"string"==typeof e}function s(e){return e&&e==e.window}function l(e,t){var n,i,r;for(r=(t=t||w).createElement("div"),n=t.createDocumentFragment(),r.innerHTML=e;i=r.firstChild;)n.appendChild(i);return n}function c(e,t,n,i){var r;if(a(t))t=l(t,g(e[0]));else if(t.length&&!t.nodeType){if(t=f.makeArray(t),i)for(r=t.length-1;r>=0;r--)c(e,t[r],n,i);else for(r=0;r<t.length;r++)c(e,t[r],n,i);return e}if(t.nodeType)for(r=e.length;r--;)n.call(e[r],t);return e}function u(e,t){return e&&t&&-1!==(" "+e.className+" ").indexOf(" "+t+" ")}function d(e,t,n){var i,r;return t=f(t)[0],e.each(function(){var e=this;n&&i==e.parentNode?r.appendChild(e):(i=e.parentNode,r=t.cloneNode(!1),e.parentNode.insertBefore(r,e),r.appendChild(e))}),e}function f(e,t){return new f.fn.init(e,t)}function m(e){return null===e||e===x?"":(""+e).replace(M,"")}function p(e,t){var n,i,r,o;if(e)if(void 0===(n=e.length)){for(i in e)if(e.hasOwnProperty(i)&&(o=e[i],!1===t.call(o,i,o)))break}else for(r=0;r<n&&(o=e[r],!1!==t.call(o,r,o));r++);return e}function h(e,t){var n=[];return p(e,function(e,i){t(i,e)&&n.push(i)}),n}function g(e){return e?9==e.nodeType?e:e.ownerDocument:w}function v(e,n,i){var r=[],o=e[n];for("string"!=typeof i&&i instanceof f&&(i=i[0]);o&&9!==o.nodeType;){if(i!==t){if(o===i)break;if("string"==typeof i&&f(o).is(i))break}1===o.nodeType&&r.push(o),o=o[n]}return r}function y(e,n,i,r){var o=[];for(r instanceof f&&(r=r[0]);e;e=e[n])if(!i||e.nodeType===i){if(r!==t){if(e===r)break;if("string"==typeof r&&f(e).is(r))break}o.push(e)}return o}function b(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType==n)return e;return null}function C(e,t,n){p(n,function(n,i){e[n]=e[n]||{},e[n][t]=i})}var x,w=document,_=Array.prototype.push,E=Array.prototype.slice,N=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,S=e.Event,k=i.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),T=i.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),R={for:"htmlFor",class:"className",readonly:"readOnly"},A={float:"cssFloat"},B={},D={},M=/^\s*|\s*$/g;return f.fn=f.prototype={constructor:f,selector:"",context:null,length:0,init:function(e,t){var n,i,r=this;if(!e)return r;if(e.nodeType)return r.context=r[0]=e,r.length=1,r;if(t&&t.nodeType)r.context=t;else{if(t)return f(e).attr(t);r.context=t=document}if(a(e)){if(r.selector=e,!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e)))return f(t).find(e);if(n[1])for(i=l(e,g(t)).firstChild;i;)_.call(r,i),i=i.nextSibling;else{if(!(i=g(t).getElementById(n[2])))return r;if(i.id!==n[2])return r.find(e);r.length=1,r[0]=i}}else this.add(e,!1);return r},toArray:function(){return i.toArray(this)},add:function(e,t){var n,i,r=this;if(a(e))return r.add(f(e));if(!1!==t)for(n=f.unique(r.toArray().concat(f.makeArray(e))),r.length=n.length,i=0;i<n.length;i++)r[i]=n[i];else _.apply(r,f.makeArray(e));return r},attr:function(e,t){var n,i=this;if("object"==typeof e)p(e,function(e,t){i.attr(e,t)});else{if(!o(t)){if(i[0]&&1===i[0].nodeType){if((n=B[e])&&n.get)return n.get(i[0],e);if(T[e])return i.prop(e)?e:x;null===(t=i[0].getAttribute(e,2))&&(t=x)}return t}this.each(function(){var n;if(1===this.nodeType){if((n=B[e])&&n.set)return void n.set(this,t);null===t?this.removeAttribute(e,2):this.setAttribute(e,t,2)}})}return i},removeAttr:function(e){return this.attr(e,null)},prop:function(e,t){var n=this;if("object"==typeof(e=R[e]||e))p(e,function(e,t){n.prop(e,t)});else{if(!o(t))return n[0]&&n[0].nodeType&&e in n[0]?n[0][e]:t;this.each(function(){1==this.nodeType&&(this[e]=t)})}return n},css:function(e,t){function n(e){return e.replace(/-(\D)/g,function(e,t){return t.toUpperCase()})}function i(e){return e.replace(/[A-Z]/g,function(e){return"-"+e})}var r,a,s=this;if("object"==typeof e)p(e,function(e,t){s.css(e,t)});else if(o(t))e=n(e),"number"!=typeof t||k[e]||(t+="px"),s.each(function(){var n=this.style;if((a=D[e])&&a.set)a.set(this,t);else{try{this.style[A[e]||e]=t}catch(e){}null!==t&&""!==t||(n.removeProperty?n.removeProperty(i(e)):n.removeAttribute(e))}});else{if(r=s[0],(a=D[e])&&a.get)return a.get(r);if(r.ownerDocument.defaultView)try{return r.ownerDocument.defaultView.getComputedStyle(r,null).getPropertyValue(i(e))}catch(e){return x}else if(r.currentStyle)return r.currentStyle[n(e)]}return s},remove:function(){for(var e,t=this,n=this.length;n--;)e=t[n],S.clean(e),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var e,t=this,n=this.length;n--;)for(e=t[n];e.firstChild;)e.removeChild(e.firstChild);return this},html:function(e){var t,n=this;if(o(e)){t=n.length;try{for(;t--;)n[t].innerHTML=e}catch(i){f(n[t]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var t,n=this;if(o(e)){for(t=n.length;t--;)"innerText"in n[t]?n[t].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return c(this,arguments,function(e){1===this.nodeType&&this.appendChild(e)})},prepend:function(){return c(this,arguments,function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)},!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?c(e,arguments,function(e){this.parentNode.insertBefore(e,this)}):e},after:function(){var e=this;return e[0]&&e[0].parentNode?c(e,arguments,function(e){this.parentNode.insertBefore(e,this.nextSibling)},!0):e},appendTo:function(e){return f(e).append(this),this},prependTo:function(e){return f(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return d(this,e)},wrapAll:function(e){return d(this,e,!0)},wrapInner:function(e){return this.each(function(){f(this).contents().wrapAll(e)}),this},unwrap:function(){return this.parent().each(function(){f(this).replaceWith(this.childNodes)})},clone:function(){var e=[];return this.each(function(){e.push(this.cloneNode(!0))}),f(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,t){var n=this;return"string"!=typeof e?n:(-1!==e.indexOf(" ")?p(e.split(" "),function(){n.toggleClass(this,t)}):n.each(function(n,i){var r,o;(o=u(i,e))!==t&&(r=i.className,o?i.className=m((" "+r+" ").replace(" "+e+" "," ")):i.className+=r?" "+e:e)}),n)},hasClass:function(e){return u(this[0],e)},each:function(e){return p(this,e)},on:function(e,t){return this.each(function(){S.bind(this,e,t)})},off:function(e,t){return this.each(function(){S.unbind(this,e,t)})},trigger:function(e){return this.each(function(){"object"==typeof e?S.fire(this,e.type,e):S.fire(this,e)})},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new f(E.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var t,n,i=[];for(t=0,n=this.length;t<n;t++)f.find(e,this[t],i);return f(i)},filter:function(e){return f("function"==typeof e?h(this.toArray(),function(t,n){return e(n,t)}):f.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof f&&(e=e[0]),this.each(function(n,i){for(;i;){if("string"==typeof e&&f(i).is(e)){t.push(i);break}if(i==e){t.push(i);break}i=i.parentNode}}),f(t)},offset:function(e){var t,n,i,r,o=0,a=0;return e?this.css(e):((t=this[0])&&(i=(n=t.ownerDocument).documentElement,t.getBoundingClientRect&&(o=(r=t.getBoundingClientRect()).left+(i.scrollLeft||n.body.scrollLeft)-i.clientLeft,a=r.top+(i.scrollTop||n.body.scrollTop)-i.clientTop)),{left:o,top:a})},push:_,sort:[].sort,splice:[].splice},i.extend(f,{extend:i.extend,makeArray:function(e){return s(e)||e.nodeType?[e]:i.toArray(e)},inArray:function(e,t){var n;if(t.indexOf)return t.indexOf(e);for(n=t.length;n--;)if(t[n]===e)return n;return-1},isArray:i.isArray,each:p,trim:m,grep:h,find:n,expr:n.selectors,unique:n.uniqueSort,text:n.getText,contains:n.contains,filter:function(e,t,n){var i=t.length;for(n&&(e=":not("+e+")");i--;)1!=t[i].nodeType&&t.splice(i,1);return t=1===t.length?f.find.matchesSelector(t[0],e)?[t[0]]:[]:f.find.matches(e,t)}}),p({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return v(e,"parentNode")},next:function(e){return b(e,"nextSibling",1)},prev:function(e){return b(e,"previousSibling",1)},children:function(e){return y(e.firstChild,"nextSibling",1)},contents:function(e){return i.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},function(e,t){f.fn[e]=function(n){var i=[];return this.each(function(){var e=t.call(i,this,n,i);e&&(f.isArray(e)?i.push.apply(i,e):i.push(e))}),this.length>1&&(i=f.unique(i),0===e.indexOf("parents")&&(i=i.reverse())),i=f(i),n?i.filter(n):i}}),p({parentsUntil:function(e,t){return v(e,"parentNode",t)},nextUntil:function(e,t){return y(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return y(e,"previousSibling",1,t).slice(1)}},function(e,t){f.fn[e]=function(n,i){var r=[];return this.each(function(){var e=t.call(r,this,n,r);e&&(f.isArray(e)?r.push.apply(r,e):r.push(e))}),this.length>1&&(r=f.unique(r),0!==e.indexOf("parents")&&"prevUntil"!==e||(r=r.reverse())),r=f(r),i?r.filter(i):r}}),f.fn.is=function(e){return!!e&&this.filter(e).length>0},f.fn.init.prototype=f.fn,f.overrideDefaults=function(e){function t(i,r){return n=n||e(),0===arguments.length&&(i=n.element),r||(r=n.context),new t.fn.init(i,r)}var n;return f.extend(t,this),t},r.ie&&r.ie<8&&(C(B,"get",{maxlength:function(e){var t=e.maxLength;return 2147483647===t?x:t},size:function(e){var t=e.size;return 20===t?x:t},class:function(e){return e.className},style:function(e){var t=e.style.cssText;return 0===t.length?x:t}}),C(B,"set",{class:function(e,t){e.className=t},style:function(e,t){e.style.cssText=t}})),r.ie&&r.ie<9&&(A.float="styleFloat",C(D,"set",{opacity:function(e,t){var n=e.style;null===t||""===t?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*t+")")}})),f.attrHooks=B,f.cssHooks=D,f}),i("tinymce/html/Styles",[],function(){return function(e,t){function n(e,t,n,i){function r(e){return(e=parseInt(e,10).toString(16)).length>1?e:"0"+e}return"#"+r(t)+r(n)+r(i)}var i,r,o,a,s,l=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,c=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,u=/\s*([^:]+):\s*([^;]+);?/g,d=/\s+$/,f={};for(e=e||{},t&&(a=t.getValidStyles(),s=t.getInvalidStyles()),o="\\\" \\' \\; \\: ; : \ufeff".split(" "),r=0;r<o.length;r++)f[o[r]]="\ufeff"+r,f["\ufeff"+r]=o[r];return{toHex:function(e){return e.replace(l,n)},parse:function(t){function i(e,t,n){var i,o,a,s;if((i=v[e+"-top"+t])&&(o=v[e+"-right"+t])&&(a=v[e+"-bottom"+t])&&(s=v[e+"-left"+t])){var l=[i,o,a,s];for(r=l.length-1;r--&&l[r]===l[r+1];);r>-1&&n||(v[e+t]=-1==r?l[0]:l.join(" "),delete v[e+"-top"+t],delete v[e+"-right"+t],delete v[e+"-bottom"+t],delete v[e+"-left"+t])}}function o(e){var t,n=v[e];if(n){for(t=(n=n.split(" ")).length;t--;)if(n[t]!==n[0])return!1;return v[e]=n[0],!0}}function a(e){return g=!0,f[e]}function s(e,t){return g&&(e=e.replace(/\uFEFF[0-9]/g,function(e){return f[e]})),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e}var m,p,h,g,v={},y=e.url_converter,b=e.url_converter_scope||this;if(t){for(t=(t=t.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,a).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(e){return e.replace(/[;:]/g,a)});m=u.exec(t);){if(p=m[1].replace(d,"").toLowerCase(),h=m[2].replace(d,""),h=h.replace(/\\[0-9a-f]+/g,function(e){return String.fromCharCode(parseInt(e.substr(1),16))}),p&&h.length>0){if(!e.allow_script_urls&&("behavior"==p||/expression\s*\(|\/\*|\*\//.test(h)))continue;"font-weight"===p&&"700"===h?h="bold":"color"!==p&&"background-color"!==p||(h=h.toLowerCase()),h=(h=h.replace(l,n)).replace(c,function(t,n,i,r,o,a){if(o=o||a)return"'"+(o=s(o)).replace(/\'/g,"\\'")+"'";if(n=s(n||i||r),!e.allow_script_urls){var l=n.replace(/[\s\r\n]+/,"");if(/(java|vb)script:/i.test(l))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(l))return""}return y&&(n=y.call(b,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"}),v[p]=g?s(h,!0):h}u.lastIndex=m.index+m[0].length}i("border","",!0),i("border","-width"),i("border","-color"),i("border","-style"),i("padding",""),i("margin",""),function(e,t,n,i){o(t)&&o(n)&&o(i)&&(v[e]=v[t]+" "+v[n]+" "+v[i],delete v[t],delete v[n],delete v[i])}("border","border-width","border-style","border-color"),"medium none"===v.border&&delete v.border,"none"===v["border-image"]&&delete v["border-image"]}return v},serialize:function(e,t){function n(t){var n,r,o,s;if(n=a[t])for(r=0,o=n.length;r<o;r++)t=n[r],(s=e[t])!==i&&s.length>0&&(l+=(l.length>0?" ":"")+t+": "+s+";")}var r,o,l="";if(t&&a)n("*"),n(t);else for(r in e)(o=e[r])!==i&&o.length>0&&(s&&!function(e,t){var n;return!((n=s["*"])&&n[e]||(n=s[t])&&n[e])}(r,t)||(l+=(l.length>0?" ":"")+r+": "+o+";"));return l}}}}),i("tinymce/dom/TreeWalker",[],function(){return function(e,t){function n(e,n,i,r){var o,a;if(e){if(!r&&e[n])return e[n];if(e!=t){if(o=e[i])return o;for(a=e.parentNode;a&&a!=t;a=a.parentNode)if(o=a[i])return o}}}var i=e;this.current=function(){return i},this.next=function(e){return i=n(i,"firstChild","nextSibling",e)},this.prev=function(e){return i=n(i,"lastChild","previousSibling",e)}}}),i("tinymce/dom/Range",["tinymce/util/Tools"],function(e){function t(n){function i(){return _.createDocumentFragment()}function r(e,t){f(k,e,t)}function o(e,t){f(T,e,t)}function a(e){r(e.parentNode,L(e))}function s(e){o(e.parentNode,L(e)+1)}function l(){return m(N)}function c(e,t){var n;if(3==e.nodeType)return e;if(t<0)return e;for(n=e.firstChild;n&&t>0;)--t,n=n.nextSibling;return n||e}function u(){return w[A]==w[B]&&w[R]==w[D]}function d(e,t,i,r){var o,a,s,l,c,u;if(e==i)return t==r?0:t<r?-1:1;for(o=i;o&&o.parentNode!=e;)o=o.parentNode;if(o){for(a=0,s=e.firstChild;s!=o&&a<t;)a++,s=s.nextSibling;return t<=a?-1:1}for(o=e;o&&o.parentNode!=i;)o=o.parentNode;if(o){for(a=0,s=i.firstChild;s!=o&&a<r;)a++,s=s.nextSibling;return a<r?-1:1}for(l=n.findCommonAncestor(e,i),c=e;c&&c.parentNode!=l;)c=c.parentNode;for(c||(c=l),u=i;u&&u.parentNode!=l;)u=u.parentNode;if(u||(u=l),c==u)return 0;for(s=l.firstChild;s;){if(s==c)return-1;if(s==u)return 1;s=s.nextSibling}}function f(e,t,i){var r,o;for(e?(w[A]=t,w[R]=i):(w[B]=t,w[D]=i),r=w[B];r.parentNode;)r=r.parentNode;for(o=w[A];o.parentNode;)o=o.parentNode;o==r?d(w[A],w[R],w[B],w[D])>0&&w.collapse(e):w.collapse(e),w.collapsed=u(),w.commonAncestorContainer=n.findCommonAncestor(w[A],w[B])}function m(e){var t,n,i,r,o,a,s,l=0,c=0;if(w[A]==w[B])return p(e);for(n=(t=w[B]).parentNode;n;t=n,n=n.parentNode){if(n==w[A])return h(t,e);++l}for(n=(t=w[A]).parentNode;n;t=n,n=n.parentNode){if(n==w[B])return g(t,e);++c}for(i=c-l,r=w[A];i>0;)r=r.parentNode,i--;for(o=w[B];i<0;)o=o.parentNode,i++;for(a=r.parentNode,s=o.parentNode;a!=s;a=a.parentNode,s=s.parentNode)r=a,o=s;return v(r,o,e)}function p(e){var t,n,r,o,a,s,l,u,d;if(e!=S&&(t=i()),w[R]==w[D])return t;if(3==w[A].nodeType){if(n=w[A].nodeValue,r=n.substring(w[R],w[D]),e!=N&&(o=w[A],u=w[R],d=w[D]-w[R],0===u&&d>=o.nodeValue.length-1?o.parentNode.removeChild(o):o.deleteData(u,d),w.collapse(k)),e==S)return;return r.length>0&&t.appendChild(_.createTextNode(r)),t}for(o=c(w[A],w[R]),a=w[D]-w[R];o&&a>0;)s=o.nextSibling,l=x(o,e),t&&t.appendChild(l),--a,o=s;return e!=N&&w.collapse(k),t}function h(e,t){var n,r,o,a,s,l;if(t!=S&&(n=i()),r=y(e,t),n&&n.appendChild(r),o=L(e),(a=o-w[R])<=0)return t!=N&&(w.setEndBefore(e),w.collapse(T)),n;for(r=e.previousSibling;a>0;)s=r.previousSibling,l=x(r,t),n&&n.insertBefore(l,n.firstChild),--a,r=s;return t!=N&&(w.setEndBefore(e),w.collapse(T)),n}function g(e,t){var n,r,o,a,s,l;for(t!=S&&(n=i()),o=b(e,t),n&&n.appendChild(o),r=L(e),++r,a=w[D]-r,o=e.nextSibling;o&&a>0;)s=o.nextSibling,l=x(o,t),n&&n.appendChild(l),--a,o=s;return t!=N&&(w.setStartAfter(e),w.collapse(k)),n}function v(e,t,n){var r,o,a,s,l,c;for(n!=S&&(o=i()),r=b(e,n),o&&o.appendChild(r),a=L(e),s=L(t)-++a,l=e.nextSibling;s>0;)c=l.nextSibling,r=x(l,n),o&&o.appendChild(r),l=c,--s;return r=y(t,n),o&&o.appendChild(r),n!=N&&(w.setStartAfter(e),w.collapse(k)),o}function y(e,t){var n,i,r,o,a,s=c(w[B],w[D]-1),l=s!=w[B];if(s==e)return C(s,l,T,t);for(i=C(n=s.parentNode,T,T,t);n;){for(;s;)r=s.previousSibling,o=C(s,l,T,t),t!=S&&i.insertBefore(o,i.firstChild),l=k,s=r;if(n==e)return i;s=n.previousSibling,a=C(n=n.parentNode,T,T,t),t!=S&&a.appendChild(i),i=a}}function b(e,t){var n,i,r,o,a,s=c(w[A],w[R]),l=s!=w[A];if(s==e)return C(s,l,k,t);for(i=C(n=s.parentNode,T,k,t);n;){for(;s;)r=s.nextSibling,o=C(s,l,k,t),t!=S&&i.appendChild(o),l=k,s=r;if(n==e)return i;s=n.nextSibling,a=C(n=n.parentNode,T,k,t),t!=S&&a.appendChild(i),i=a}}function C(e,t,i,r){var o,a,s,l,c;if(t)return x(e,r);if(3==e.nodeType){if(o=e.nodeValue,i?(l=w[R],a=o.substring(l),s=o.substring(0,l)):(l=w[D],a=o.substring(0,l),s=o.substring(l)),r!=N&&(e.nodeValue=s),r==S)return;return c=n.clone(e,T),c.nodeValue=a,c}if(r!=S)return n.clone(e,T)}function x(e,t){if(t!=S)return t==N?n.clone(e,k):e;e.parentNode.removeChild(e)}var w=this,_=n.doc,E=0,N=1,S=2,k=!0,T=!1,R="startOffset",A="startContainer",B="endContainer",D="endOffset",M=e.extend,L=n.nodeIndex;return M(w,{startContainer:_,startOffset:0,endContainer:_,endOffset:0,collapsed:k,commonAncestorContainer:_,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:r,setEnd:o,setStartBefore:a,setStartAfter:function(e){r(e.parentNode,L(e)+1)},setEndBefore:function(e){o(e.parentNode,L(e))},setEndAfter:s,collapse:function(e){e?(w[B]=w[A],w[D]=w[R]):(w[A]=w[B],w[R]=w[D]),w.collapsed=k},selectNode:function(e){a(e),s(e)},selectNodeContents:function(e){r(e,0),o(e,1===e.nodeType?e.childNodes.length:e.nodeValue.length)},compareBoundaryPoints:function(e,t){var n=w[A],i=w[R],r=w[B],o=w[D],a=t.startContainer,s=t.startOffset,l=t.endContainer,c=t.endOffset;return 0===e?d(n,i,a,s):1===e?d(r,o,a,s):2===e?d(r,o,l,c):3===e?d(n,i,l,c):void 0},deleteContents:function(){m(S)},extractContents:function(){return m(E)},cloneContents:l,insertNode:function(e){var t,i,r=this[A],o=this[R];3!==r.nodeType&&4!==r.nodeType||!r.nodeValue?(r.childNodes.length>0&&(i=r.childNodes[o]),i?r.insertBefore(e,i):3==r.nodeType?n.insertAfter(e,r):r.appendChild(e)):o?o>=r.nodeValue.length?n.insertAfter(e,r):(t=r.splitText(o),r.parentNode.insertBefore(e,t)):r.parentNode.insertBefore(e,r)},surroundContents:function(e){var t=w.extractContents();w.insertNode(e),e.appendChild(t),w.selectNode(e)},cloneRange:function(){return M(new t(n),{startContainer:w[A],startOffset:w[R],endContainer:w[B],endOffset:w[D],collapsed:w.collapsed,commonAncestorContainer:w.commonAncestorContainer})},toStringIE:function(){return n.create("body",null,l()).outerText}}),w}return t.prototype.toString=function(){return this.toStringIE()},t}),i("tinymce/html/Entities",["tinymce/util/Tools"],function(e){function t(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.textContent||t.innerText||e}function n(e,t){var n,i,o,a={};if(e){for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)i=String.fromCharCode(parseInt(e[n],t)),r[i]||(o="&"+e[n+1]+";",a[i]=o,a[o]=i);return a}}var i,r,o,a=e.makeMap,s=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[<>&\"\']/g,u=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,d={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};r={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;","`":"&#96;"},o={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"},i=n("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var f={encodeRaw:function(e,t){return e.replace(t?s:l,function(e){return r[e]||e})},encodeAllRaw:function(e){return(""+e).replace(c,function(e){return r[e]||e})},encodeNumeric:function(e,t){return e.replace(t?s:l,function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":r[e]||"&#"+e.charCodeAt(0)+";"})},encodeNamed:function(e,t,n){return n=n||i,e.replace(t?s:l,function(e){return r[e]||n[e]||e})},getEncodeFunc:function(e,t){return t=n(t)||i,(e=a(e.replace(/\+/g,","))).named&&e.numeric?function(e,n){return e.replace(n?s:l,function(e){return r[e]||t[e]||"&#"+e.charCodeAt(0)+";"||e})}:e.named?t?function(e,n){return f.encodeNamed(e,n,t)}:f.encodeNamed:e.numeric?f.encodeNumeric:f.encodeRaw},decode:function(e){return e.replace(u,function(e,n){return n?(n="x"===n.charAt(0).toLowerCase()?parseInt(n.substr(1),16):parseInt(n,10))>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):d[n]||String.fromCharCode(n):o[e]||i[e]||t(e)})}};return f}),i("tinymce/dom/StyleSheetLoader",["tinymce/util/Tools"],function(e){return function(t,n){function i(e){t.getElementsByTagName("head")[0].appendChild(e)}var r,o=0,a={};r=(n=n||{}).maxLoadTime||5e3,this.load=function(n,s,l){function c(){for(var e=v.passed,t=e.length;t--;)e[t]();v.status=2,v.passed=[],v.failed=[]}function u(){for(var e=v.failed,t=e.length;t--;)e[t]();v.status=3,v.passed=[],v.failed=[]}function d(e,t){e()||((new Date).getTime()-g<r?window.setTimeout(t,0):u())}function f(){d(function(){for(var e,n,i=t.styleSheets,r=i.length;r--;)if(e=i[r],(n=e.ownerNode?e.ownerNode:e.owningElement)&&n.id===p.id)return c(),!0},f)}function m(){d(function(){try{var e=h.sheet.cssRules;return c(),!!e}catch(e){}},m)}var p,h,g,v;if(n=e._addCacheSuffix(n),a[n]?v=a[n]:(v={passed:[],failed:[]},a[n]=v),s&&v.passed.push(s),l&&v.failed.push(l),1!=v.status)if(2!=v.status)if(3!=v.status){if(v.status=1,p=t.createElement("link"),p.rel="stylesheet",p.type="text/css",p.id="u"+o++,p.async=!1,p.defer=!1,g=(new Date).getTime(),"onload"in p&&!function(){var e=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(e&&e[1]<536)}())p.onload=f,p.onerror=u;else{if(navigator.userAgent.indexOf("Firefox")>0)return h=t.createElement("style"),h.textContent='@import "'+n+'"',m(),void i(h);f()}i(p),p.href=n}else u();else c()}}}),i("tinymce/dom/DOMUtils",["tinymce/dom/Sizzle","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/EventUtils","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/dom/StyleSheetLoader"],function(e,n,i,r,o,a,s,l,c,u){function d(e,t){var n,i={},r=t.keep_values;return n={set:function(n,i,r){t.url_converter&&(i=t.url_converter.call(t.url_converter_scope||e,i,r,n[0])),n.attr("data-mce-"+r,i).attr(r,i)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},i={style:{set:function(e,t){null===t||"object"!=typeof t?(r&&e.attr("data-mce-style",t),e.attr("style",t)):e.css(t)},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serializeStyle(e.parseStyle(n),t[0].nodeName)}}},r&&(i.href=i.src=n),i}function f(e,t){var o,a=this;a.doc=e,a.win=window,a.files={},a.counter=0,a.stdMode=!v||e.documentMode>=8,a.boxModel=!v||"CSS1Compat"==e.compatMode||a.stdMode,a.styleSheetLoader=new u(e),a.boundEvents=[],a.settings=t=t||{},a.schema=t.schema,a.styles=new i({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),a.fixDoc(e),a.events=t.ownEvents?new r(t.proxy):r.Event,a.attrHooks=d(a,t),o=t.schema?t.schema.getBlockElements():{},a.$=n.overrideDefaults(function(){return{context:e,element:a.getRoot()}}),a.isBlock=function(e){if(!e)return!1;var t=e.nodeType;return t?!(1!==t||!o[e.nodeName]):!!o[e]}}var m=c.each,p=c.is,h=c.grep,g=c.trim,v=l.ie,y=/^([a-z0-9],?)+$/i,b=/^[ \t\r\n]*$/;return f.prototype={$$:function(e){return"string"==typeof e&&(e=this.get(e)),this.$(e)},root:null,fixDoc:function(e){var t,n=this.settings;if(v&&n.schema){"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(t){e.createElement(t)});for(t in n.schema.getCustomElements())e.createElement(t)}},clone:function(e,t){var n,i,r=this;return!v||1!==e.nodeType||t?e.cloneNode(t):(i=r.doc,t?n.firstChild:(n=i.createElement(e.nodeName),m(r.getAttribs(e),function(t){r.setAttrib(n,t.nodeName,r.getAttrib(e,t.nodeName))}),n))},getRoot:function(){var e=this;return e.settings.root_element||e.doc.body},getViewPort:function(e){var t,n;return e=e||this.win,t=e.document,n=this.boxModel?t.documentElement:t.body,{x:e.pageXOffset||n.scrollLeft,y:e.pageYOffset||n.scrollTop,w:e.innerWidth||n.clientWidth,h:e.innerHeight||n.clientHeight}},getRect:function(e){var t,n,i=this;return e=i.get(e),t=i.getPos(e),n=i.getSize(e),{x:t.x,y:t.y,w:n.w,h:n.h}},getSize:function(e){var t,n,i=this;return e=i.get(e),t=i.getStyle(e,"width"),n=i.getStyle(e,"height"),-1===t.indexOf("px")&&(t=0),-1===n.indexOf("px")&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},getParent:function(e,t,n){return this.getParents(e,t,n,!1)},getParents:function(e,n,i,r){var o,a=this,s=[];for(e=a.get(e),r=r===t,i=i||("BODY"!=a.getRoot().nodeName?a.getRoot().parentNode:null),p(n,"string")&&(o=n,n="*"===n?function(e){return 1==e.nodeType}:function(e){return a.is(e,o)});e&&e!=i&&e.nodeType&&9!==e.nodeType;){if(!n||n(e)){if(!r)return e;s.push(e)}e=e.parentNode}return r?s:null},get:function(e){var t;return e&&this.doc&&"string"==typeof e&&(t=e,(e=this.doc.getElementById(e))&&e.id!==t)?this.doc.getElementsByName(t)[1]:e},getNext:function(e,t){return this._findSib(e,t,"nextSibling")},getPrev:function(e,t){return this._findSib(e,t,"previousSibling")},select:function(t,n){var i=this;return e(t,i.get(n)||i.settings.root_element||i.doc,[])},is:function(n,i){var r;if(n.length===t){if("*"===i)return 1==n.nodeType;if(y.test(i)){for(i=i.toLowerCase().split(/,/),n=n.nodeName.toLowerCase(),r=i.length-1;r>=0;r--)if(i[r]==n)return!0;return!1}}if(n.nodeType&&1!=n.nodeType)return!1;var o=n.nodeType?[n]:n;return e(i,o[0].ownerDocument||o[0],null,o).length>0},add:function(e,t,n,i,r){var o=this;return this.run(e,function(e){var a;return a=p(t,"string")?o.doc.createElement(t):t,o.setAttribs(a,n),i&&(i.nodeType?a.appendChild(i):o.setHTML(a,i)),r?a:e.appendChild(a)})},create:function(e,t,n){return this.add(this.doc.createElement(e),e,t,n,1)},createHTML:function(e,t,n){var i,r="";r+="<"+e;for(i in t)t.hasOwnProperty(i)&&null!==t[i]&&void 0!==t[i]&&(r+=" "+i+'="'+this.encode(t[i])+'"');return void 0!==n?r+">"+n+"</"+e+">":r+" />"},createFragment:function(e){var t,n,i,r=this.doc;for(i=r.createElement("div"),t=r.createDocumentFragment(),e&&(i.innerHTML=e);n=i.firstChild;)t.appendChild(n);return t},remove:function(e,t){return e=this.$$(e),t?e.each(function(){for(var e;e=this.firstChild;)3==e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)}).remove():e.remove(),e.length>1?e.toArray():e[0]},setStyle:function(e,t,n){e=this.$$(e).css(t,n),this.settings.update_styles&&e.attr("data-mce-style",null)},getStyle:function(e,n,i){return e=this.$$(e),i?e.css(n):("float"==(n=n.replace(/-(\D)/g,function(e,t){return t.toUpperCase()}))&&(n=v?"styleFloat":"cssFloat"),e[0]&&e[0].style?e[0].style[n]:t)},setStyles:function(e,t){e=this.$$(e).css(t),this.settings.update_styles&&e.attr("data-mce-style",null)},removeAllAttribs:function(e){return this.run(e,function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))})},setAttrib:function(e,t,n){var i,r,o=this,a=o.settings;""===n&&(n=null),i=(e=o.$$(e)).attr(t),e.length&&((r=o.attrHooks[t])&&r.set?r.set(e,n,t):e.attr(t,n),i!=n&&a.onSetAttrib&&a.onSetAttrib({attrElm:e,attrName:t,attrValue:n}))},setAttribs:function(e,t){var n=this;n.$$(e).each(function(e,i){m(t,function(e,t){n.setAttrib(i,t,e)})})},getAttrib:function(e,t,n){var i,r,o=this;return(e=o.$$(e)).length&&(r=(i=o.attrHooks[t])&&i.get?i.get(e,t):e.attr(t)),void 0===r&&(r=n||""),r},getPos:function(e,t){var i,r,o=this,a=0,s=0,l=o.doc,c=l.body;if(e=o.get(e),t=t||c,e){if(t===c&&e.getBoundingClientRect&&"static"===n(c).css("position"))return r=e.getBoundingClientRect(),t=o.boxModel?l.documentElement:c,a=r.left+(l.documentElement.scrollLeft||c.scrollLeft)-t.clientLeft,s=r.top+(l.documentElement.scrollTop||c.scrollTop)-t.clientTop,{x:a,y:s};for(i=e;i&&i!=t&&i.nodeType;)a+=i.offsetLeft||0,s+=i.offsetTop||0,i=i.offsetParent;for(i=e.parentNode;i&&i!=t&&i.nodeType;)a-=i.scrollLeft||0,s-=i.scrollTop||0,i=i.parentNode}return{x:a,y:s}},parseStyle:function(e){return this.styles.parse(e)},serializeStyle:function(e,t){return this.styles.serialize(e,t)},addStyle:function(e){var t,n,i=this,r=i.doc;if(i!==f.DOM&&r===document){var o=f.DOM.addedStyles;if((o=o||[])[e])return;o[e]=!0,f.DOM.addedStyles=o}(n=r.getElementById("mceDefaultStyles"))||((n=r.createElement("style")).id="mceDefaultStyles",n.type="text/css",(t=r.getElementsByTagName("head")[0]).firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(r.createTextNode(e))},loadCSS:function(e){var t,n=this,i=n.doc;n===f.DOM||i!==document?(e||(e=""),t=i.getElementsByTagName("head")[0],m(e.split(","),function(e){var r;e=c._addCacheSuffix(e),n.files[e]||(n.files[e]=!0,r=n.create("link",{rel:"stylesheet",href:e}),v&&i.documentMode&&i.recalc&&(r.onload=function(){i.recalc&&i.recalc(),r.onload=null}),t.appendChild(r))})):f.DOM.loadCSS(e)},addClass:function(e,t){this.$$(e).addClass(t)},removeClass:function(e,t){this.toggleClass(e,t,!1)},hasClass:function(e,t){return this.$$(e).hasClass(t)},toggleClass:function(e,t,i){this.$$(e).toggleClass(t,i).each(function(){""===this.className&&n(this).attr("class",null)})},show:function(e){this.$$(e).show()},hide:function(e){this.$$(e).hide()},isHidden:function(e){return"none"==this.$$(e).css("display")},uniqueId:function(e){return(e||"mce_")+this.counter++},setHTML:function(e,t){e=this.$$(e),v?e.each(function(e,i){if(!1!==i.canHaveHTML){for(;i.firstChild;)i.removeChild(i.firstChild);try{i.innerHTML="<br>"+t,i.removeChild(i.firstChild)}catch(e){n("<div>").html("<br>"+t).contents().slice(1).appendTo(i)}return t}}):e.html(t)},getOuterHTML:function(e){return 1==(e=this.get(e)).nodeType&&"outerHTML"in e?e.outerHTML:n("<div>").append(n(e).clone()).html()},setOuterHTML:function(e,t){var i=this;i.$$(e).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}i.remove(n(this).html(t),!0)})},decode:s.decode,encode:s.encodeAllRaw,insertAfter:function(e,t){return t=this.get(t),this.run(e,function(e){var n,i;return n=t.parentNode,(i=t.nextSibling)?n.insertBefore(e,i):n.appendChild(e),e})},replace:function(e,t,n){return this.run(t,function(t){return p(t,"array")&&(e=e.cloneNode(!0)),n&&m(h(t.childNodes),function(t){e.appendChild(t)}),t.parentNode.replaceChild(e,t)})},rename:function(e,t){var n,i=this;return e.nodeName!=t.toUpperCase()&&(n=i.create(t),m(i.getAttribs(e),function(t){i.setAttrib(n,t.nodeName,i.getAttrib(e,t.nodeName))}),i.replace(n,e,1)),n||e},findCommonAncestor:function(e,t){for(var n,i=e;i;){for(n=t;n&&i!=n;)n=n.parentNode;if(i==n)break;i=i.parentNode}return!i&&e.ownerDocument?e.ownerDocument.documentElement:i},toHex:function(e){return this.styles.toHex(c.trim(e))},run:function(e,t,n){var i,r=this;return"string"==typeof e&&(e=r.get(e)),!!e&&(n=n||this,e.nodeType||!e.length&&0!==e.length?t.call(n,e):(i=[],m(e,function(e,o){e&&("string"==typeof e&&(e=r.get(e)),i.push(t.call(n,e,o)))}),i))},getAttribs:function(e){var t;if(!(e=this.get(e)))return[];if(v){if(t=[],"OBJECT"==e.nodeName)return e.attributes;"OPTION"===e.nodeName&&this.getAttrib(e,"selected")&&t.push({specified:1,nodeName:"selected"});return e.cloneNode(!1).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(e){t.push({specified:1,nodeName:e})}),t}return e.attributes},isEmpty:function(e,t){var n,i,r,a,s,l=this,c=0;if(e=e.firstChild){a=new o(e,e.parentNode),t=t||(l.schema?l.schema.getNonEmptyElements():null);do{if(1===(r=e.nodeType)){if(e.getAttribute("data-mce-bogus"))continue;if(s=e.nodeName.toLowerCase(),t&&t[s]){if("br"===s){c++;continue}return!1}for(n=(i=l.getAttribs(e)).length;n--;)if("name"===(s=i[n].nodeName)||"data-mce-bookmark"===s)return!1}if(8==r)return!1;if(3===r&&!b.test(e.nodeValue))return!1}while(e=a.next())}return c<=1},createRng:function(){var e=this.doc;return e.createRange?e.createRange():new a(this)},nodeIndex:function(e,t){var n,i,r=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)i=e.nodeType,(!t||3!=i||i!=n&&e.nodeValue.length)&&(r++,n=i);return r},split:function(e,t,n){function i(e){var t,n=e.childNodes,r=e.nodeType;if(1!=r||"bookmark"!=e.getAttribute("data-mce-type")){for(t=n.length-1;t>=0;t--)i(n[t]);if(9!=r){if(3==r&&e.nodeValue.length>0){var o=g(e.nodeValue).length;if(!s.isBlock(e.parentNode)||o>0||0===o&&function(e){var t=e.previousSibling&&"SPAN"==e.previousSibling.nodeName,n=e.nextSibling&&"SPAN"==e.nextSibling.nodeName;return t&&n}(e))return}else if(1==r&&(1==(n=e.childNodes).length&&n[0]&&1==n[0].nodeType&&"bookmark"==n[0].getAttribute("data-mce-type")&&e.parentNode.insertBefore(n[0],e),n.length||/^(br|hr|input|img)$/i.test(e.nodeName)))return;s.remove(e)}return e}}var r,o,a,s=this,l=s.createRng();if(e&&t)return l.setStart(e.parentNode,s.nodeIndex(e)),l.setEnd(t.parentNode,s.nodeIndex(t)),r=l.extractContents(),(l=s.createRng()).setStart(t.parentNode,s.nodeIndex(t)+1),l.setEnd(e.parentNode,s.nodeIndex(e)+1),o=l.extractContents(),(a=e.parentNode).insertBefore(i(r),e),n?a.replaceChild(n,t):a.insertBefore(t,e),a.insertBefore(i(o),e),s.remove(e),n||t},bind:function(e,t,n,i){var r=this;if(c.isArray(e)){for(var o=e.length;o--;)e[o]=r.bind(e[o],t,n,i);return e}return!r.settings.collect||e!==r.doc&&e!==r.win||r.boundEvents.push([e,t,n,i]),r.events.bind(e,t,n,i||r)},unbind:function(e,t,n){var i,r=this;if(c.isArray(e)){for(i=e.length;i--;)e[i]=r.unbind(e[i],t,n);return e}if(r.boundEvents&&(e===r.doc||e===r.win))for(i=r.boundEvents.length;i--;){var o=r.boundEvents[i];e!=o[0]||t&&t!=o[1]||n&&n!=o[2]||this.events.unbind(o[0],o[1],o[2])}return this.events.unbind(e,t,n)},fire:function(e,t,n){return this.events.fire(e,t,n)},getContentEditable:function(e){var t;return e&&1==e.nodeType?(t=e.getAttribute("data-mce-contenteditable"))&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null:null},getContentEditableParent:function(e){for(var t=this.getRoot(),n=null;e&&e!==t&&null===(n=this.getContentEditable(e));e=e.parentNode);return n},destroy:function(){var t=this;if(t.boundEvents){for(var n=t.boundEvents.length;n--;){var i=t.boundEvents[n];this.events.unbind(i[0],i[1],i[2])}t.boundEvents=null}e.setDocument&&e.setDocument(),t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_findSib:function(e,t,n){var i=this,r=t;if(e)for("string"==typeof r&&(r=function(e){return i.is(e,t)}),e=e[n];e;e=e[n])if(r(e))return e;return null}},f.DOM=new f(document),f}),i("tinymce/dom/ScriptLoader",["tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,t){function n(){function e(e,n){function r(){s.remove(a),o&&(o.onreadystatechange=o.onload=o=null),n()}var o,a,s=i;a=s.uniqueId(),(o=document.createElement("script")).id=a,o.type="text/javascript",o.src=t._addCacheSuffix(e),"onreadystatechange"in o?o.onreadystatechange=function(){/loaded|complete/.test(o.readyState)&&r()}:o.onload=r,o.onerror=function(){"undefined"!=typeof console&&console.log&&console.log("Failed to load: "+e)},(document.getElementsByTagName("head")[0]||document.body).appendChild(o)}var n,a={},s=[],l={},c=[],u=0;this.isDone=function(e){return 2==a[e]},this.markDone=function(e){a[e]=2},this.add=this.load=function(e,t,i){a[e]==n&&(s.push(e),a[e]=0),t&&(l[e]||(l[e]=[]),l[e].push({func:t,scope:i||this}))},this.loadQueue=function(e,t){this.loadScripts(s,e,t)},this.loadScripts=function(t,i,s){function d(e){r(l[e],function(e){e.func.call(e.scope)}),l[e]=n}var f;c.push({func:i,scope:s||this}),(f=function(){var n=o(t);t.length=0,r(n,function(t){2!=a[t]?1!=a[t]&&(a[t]=1,u++,e(t,function(){a[t]=2,u--,d(t),f()})):d(t)}),u||(r(c,function(e){e.func.call(e.scope)}),c.length=0)})()}}var i=e.DOM,r=t.each,o=t.grep;return n.ScriptLoader=new n,n}),i("tinymce/AddOnManager",["tinymce/dom/ScriptLoader","tinymce/util/Tools"],function(e,n){function i(){var e=this;e.items=[],e.urls={},e.lookup={}}var r=n.each;return i.prototype={get:function(e){return this.lookup[e]?this.lookup[e].instance:t},dependencies:function(e){var t;return this.lookup[e]&&(t=this.lookup[e].dependencies),t||[]},requireLangPack:function(t,n){var r=i.language;if(r&&!1!==i.languageLoad){if(n)if(-1!=(n=","+n+",").indexOf(","+r.substr(0,2)+","))r=r.substr(0,2);else if(-1==n.indexOf(","+r+","))return;e.ScriptLoader.add(this.urls[t]+"/langs/"+r+".js")}},add:function(e,t,n){return this.items.push(t),this.lookup[e]={instance:t,dependencies:n},t},createUrl:function(e,t){return"object"==typeof t?t:{prefix:e.prefix,resource:t,suffix:e.suffix}},addComponents:function(t,n){var i=this.urls[t];r(n,function(t){e.ScriptLoader.add(i+"/"+t)})},load:function(n,o,a,s){function l(){var i=c.dependencies(n);r(i,function(e){var n=c.createUrl(o,e);c.load(n.resource,n,t,t)}),a&&(s?a.call(s):a.call(e))}var c=this,u=o;c.urls[n]||("object"==typeof o&&(u=o.prefix+o.resource+o.suffix),0!==u.indexOf("/")&&-1==u.indexOf("://")&&(u=i.baseURL+"/"+u),c.urls[n]=u.substring(0,u.lastIndexOf("/")),c.lookup[n]?l():e.ScriptLoader.add(u,l,s))}},i.PluginManager=new i,i.ThemeManager=new i,i}),i("tinymce/dom/RangeUtils",["tinymce/util/Tools","tinymce/dom/TreeWalker"],function(e,t){function n(e,t){var n=e.childNodes;return--t>n.length-1?t=n.length-1:t<0&&(t=0),n[t]||e}function i(e){this.walk=function(t,i){function o(e){var t;return 3===(t=e[0]).nodeType&&t===g&&v>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===b&&e.length>0&&t===y&&3===t.nodeType&&e.splice(e.length-1,1),e}function a(e,t,n){for(var i=[];e&&e!=n;e=e[t])i.push(e);return i}function s(e,t){do{if(e.parentNode==t)return e;e=e.parentNode}while(e)}function l(e,t,n){var r=n?"nextSibling":"previousSibling";for(m=(f=e).parentNode;f&&f!=t;f=m)m=f.parentNode,(p=a(f==e?f:f[r],r)).length&&(n||p.reverse(),i(o(p)))}var c,u,d,f,m,p,h,g=t.startContainer,v=t.startOffset,y=t.endContainer,b=t.endOffset;if((h=e.select("td.mce-item-selected,th.mce-item-selected")).length>0)r(h,function(e){i([e])});else{if(1==g.nodeType&&g.hasChildNodes()&&(g=g.childNodes[v]),1==y.nodeType&&y.hasChildNodes()&&(y=n(y,b)),g==y)return i(o([g]));for(c=e.findCommonAncestor(g,y),f=g;f;f=f.parentNode){if(f===y)return l(g,c,!0);if(f===c)break}for(f=y;f;f=f.parentNode){if(f===g)return l(y,c);if(f===c)break}u=s(g,c)||g,d=s(y,c)||y,l(g,u,!0),(p=a(u==g?u:u.nextSibling,"nextSibling",d==y?d.nextSibling:d)).length&&i(o(p)),l(y,d)}},this.split=function(e){function t(e,t){return e.splitText(t)}var n=e.startContainer,i=e.startOffset,r=e.endContainer,o=e.endOffset;return n==r&&3==n.nodeType?i>0&&i<n.nodeValue.length&&(n=(r=t(n,i)).previousSibling,o>i?(n=r=t(r,o-=i).previousSibling,o=r.nodeValue.length,i=0):o=0):(3==n.nodeType&&i>0&&i<n.nodeValue.length&&(n=t(n,i),i=0),3==r.nodeType&&o>0&&o<r.nodeValue.length&&(o=(r=t(r,o).previousSibling).nodeValue.length)),{startContainer:n,startOffset:i,endContainer:r,endOffset:o}},this.normalize=function(n){function i(i){function a(n,i){for(var r=new t(n,e.getParent(n.parentNode,e.isBlock)||h);n=r[i?"prev":"next"]();)if("BR"===n.nodeName)return!0}function s(n,i){var a,s,u;if(i=i||l,u=e.getParent(i.parentNode,e.isBlock)||h,n&&"BR"==i.nodeName&&p&&e.isEmpty(u))return l=i.parentNode,c=e.nodeIndex(i),void(r=!0);for(a=new t(i,u);d=a[n?"prev":"next"]();){if("false"===e.getContentEditableParent(d))return;if(3===d.nodeType&&d.nodeValue.length>0)return l=d,c=n?d.nodeValue.length:0,void(r=!0);if(e.isBlock(d)||f[d.nodeName.toLowerCase()])return;s=d}o&&s&&(l=s,r=!0,c=0)}var l,c,u,d,f,m,p,h=e.getRoot();if(l=n[(i?"start":"end")+"Container"],c=n[(i?"start":"end")+"Offset"],p=1==l.nodeType&&c===l.childNodes.length,f=e.schema.getNonEmptyElements(),m=i,1==l.nodeType&&c>l.childNodes.length-1&&(m=!1),9===l.nodeType&&(l=e.getRoot(),c=0),l===h){if(m&&(d=l.childNodes[c>0?c-1:0])&&(f[d.nodeName]||"TABLE"==d.nodeName))return;if(l.hasChildNodes()&&(c=Math.min(!m&&c>0?c-1:c,l.childNodes.length-1),l=l.childNodes[c],c=0,l.hasChildNodes()&&!/TABLE/.test(l.nodeName))){d=l,u=new t(l,h);do{if(3===d.nodeType&&d.nodeValue.length>0){c=m?0:d.nodeValue.length,l=d,r=!0;break}if(f[d.nodeName.toLowerCase()]){c=e.nodeIndex(d),l=d.parentNode,"IMG"!=d.nodeName||m||c++,r=!0;break}}while(d=m?u.next():u.prev())}}o&&(3===l.nodeType&&0===c&&s(!0),1===l.nodeType&&((d=l.childNodes[c])||(d=l.childNodes[c-1]),!d||"BR"!==d.nodeName||function(e,t){return e.previousSibling&&e.previousSibling.nodeName==t}(d,"A")||a(d)||a(d,!0)||s(!0,d))),m&&!o&&3===l.nodeType&&c===l.nodeValue.length&&s(!1),r&&n["set"+(i?"Start":"End")](l,c)}var r,o;return o=n.collapsed,i(!0),o||i(),r&&o&&n.collapse(!0),r}}var r=e.each;return i.compareRanges=function(e,t){if(e&&t){if(!e.item&&!e.duplicate)return e.startContainer==t.startContainer&&e.startOffset==t.startOffset;if(e.item&&t.item&&e.item(0)===t.item(0))return!0;if(e.isEqual&&t.isEqual&&t.isEqual(e))return!0}return!1},i.getCaretRangeFromPoint=function(e,t,n){var i,r;if(n.caretPositionFromPoint)r=n.caretPositionFromPoint(e,t),(i=n.createRange()).setStart(r.offsetNode,r.offset),i.collapse(!0);else if(n.caretRangeFromPoint)i=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){i=n.body.createTextRange();try{i.moveToPoint(e,t),i.collapse(!0)}catch(e){i.collapse(t<n.body.clientHeight)}}return i},i.getNode=function(e,t){return 1==e.nodeType&&e.hasChildNodes()&&(t>=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},i}),i("tinymce/NodeChange",["tinymce/dom/RangeUtils","tinymce/Env"],function(e,t){return function(n){function i(e){var t,i;if((i=n.$(e).parentsUntil(n.getBody()).add(e)).length===o.length){for(t=i.length;t>=0&&i[t]===o[t];t--);if(-1===t)return o=i,!0}return o=i,!1}var r,o=[];"onselectionchange"in n.getDoc()||n.on("NodeChange Click MouseUp KeyUp Focus",function(t){var i,o;o={startContainer:(i=n.selection.getRng()).startContainer,startOffset:i.startOffset,endContainer:i.endContainer,endOffset:i.endOffset},"nodechange"!=t.type&&e.compareRanges(o,r)||n.fire("SelectionChange"),r=o}),n.on("contextmenu",function(){n.fire("SelectionChange")}),n.on("SelectionChange",function(){var e=n.selection.getStart(!0);!t.range&&n.selection.isCollapsed()||!i(e)&&n.dom.isChildOf(e,n.getBody())&&n.nodeChanged({selectionChange:!0})}),n.on("MouseUp",function(e){e.isDefaultPrevented()||("IMG"==n.selection.getNode().nodeName?setTimeout(function(){n.nodeChanged()},0):n.nodeChanged())}),this.nodeChanged=function(e){var t,i,r,o=n.selection;n.initialized&&o&&!n.settings.disable_nodechange&&!n.settings.readonly&&(r=n.getBody(),"IMG"==(t=(t=o.getStart()||r).ownerDocument!=n.getDoc()?n.getBody():t).nodeName&&o.isCollapsed()&&(t=t.parentNode),i=[],n.dom.getParent(t,function(e){if(e===r)return!0;i.push(e)}),(e=e||{}).element=t,e.parents=i,n.fire("NodeChange",e))}}}),i("tinymce/html/Node",[],function(){function e(e,t,n){var i,r,o=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[o])return e[o];if(e!==t){if(i=e[a])return i;for(r=e.parent;r&&r!==t;r=r.parent)if(i=r[a])return i}}function t(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}var n=/^[ \t\r\n]*$/,i={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return t.prototype={replace:function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},attr:function(e,t){var n,i,r=this;if("string"!=typeof e){for(i in e)r.attr(i,e[i]);return r}if(n=r.attributes){if(void 0!==t){if(null===t){if(e in n.map)for(delete n.map[e],i=n.length;i--;)if(n[i].name===e)return n=n.splice(i,1),r;return r}if(e in n.map){for(i=n.length;i--;)if(n[i].name===e){n[i].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,r}return n.map[e]}},clone:function(){var e,n,i,r,o,a=this,s=new t(a.name,a.type);if(i=a.attributes){for((o=[]).map={},e=0,n=i.length;e<n;e++)"id"!==(r=i[e]).name&&(o[o.length]={name:r.name,value:r.value},o.map[r.name]=r.value);s.attributes=o}return s.value=a.value,s.shortEnded=a.shortEnded,s},wrap:function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},unwrap:function(){var e,t,n=this;for(e=n.firstChild;e;)t=e.next,n.insert(e,n,!0),e=t;n.remove()},remove:function(){var e=this,t=e.parent,n=e.next,i=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):i.next=n,t.lastChild===e?(t.lastChild=i,i&&(i.next=null)):n.prev=i,e.parent=e.next=e.prev=null),e},append:function(e){var t,n=this;return e.parent&&e.remove(),(t=n.lastChild)?(t.next=e,e.prev=t,n.lastChild=e):n.lastChild=n.firstChild=e,e.parent=n,e},insert:function(e,t,n){var i;return e.parent&&e.remove(),i=t.parent||this,n?(t===i.firstChild?i.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===i.lastChild?i.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=i,e},getAll:function(t){var n,i=this,r=[];for(n=i.firstChild;n;n=e(n,i))n.name===t&&r.push(n);return r},empty:function(){var t,n,i,r=this;if(r.firstChild){for(t=[],i=r.firstChild;i;i=e(i,r))t.push(i);for(n=t.length;n--;)(i=t[n]).parent=i.firstChild=i.lastChild=i.next=i.prev=null}return r.firstChild=r.lastChild=null,r},isEmpty:function(t){var i,r,o=this,a=o.firstChild;if(a)do{if(1===a.type){if(a.attributes.map["data-mce-bogus"])continue;if(t[a.name])return!1;for(i=a.attributes.length;i--;)if("name"===(r=a.attributes[i].name)||0===r.indexOf("data-mce-bookmark"))return!1}if(8===a.type)return!1;if(3===a.type&&!n.test(a.value))return!1}while(a=e(a,o));return!0},walk:function(t){return e(this,null,t)}},t.create=function(e,n){var r,o;if(r=new t(e,i[e]||1),n)for(o in n)r.attr(o,n[o]);return r},t}),i("tinymce/html/Schema",["tinymce/util/Tools"],function(e){function t(e,t){return e?e.split(t||" "):[]}function n(e){function n(e,n,i){function r(e,t){var n,i,r={};for(n=0,i=e.length;n<i;n++)r[e[n]]=t||{};return r}var s,l,c,u=arguments;for(i=i||[],n=n||"","string"==typeof i&&(i=t(i)),l=3;l<u.length;l++)"string"==typeof u[l]&&(u[l]=t(u[l])),i.push.apply(i,u[l]);for(s=(e=t(e)).length;s--;)c=[].concat(a,t(n)),m[e[s]]={attributes:r(c),attributesOrder:c,children:r(i,o)}}function i(e,n){var i,r,o,a;for(i=(e=t(e)).length,n=t(n);i--;)for(r=m[e[i]],o=0,a=n.length;o<a;o++)r.attributes[n[o]]={},r.attributesOrder.push(n[o])}var a,l,c,u,d,f,m={};return r[e]?r[e]:(a=t("id accesskey class dir lang style tabindex title"),l=t("address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul"),c=t("a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment"),"html4"!=e&&(a.push.apply(a,t("contenteditable contextmenu draggable dropzone hidden spellcheck translate")),l.push.apply(l,t("article aside details dialog figure header footer hgroup section nav")),c.push.apply(c,t("audio canvas command datalist mark meter output progress time wbr video ruby bdi keygen"))),"html5-strict"!=e&&(a.push("xml:lang"),f=t("acronym applet basefont big font strike tt"),c.push.apply(c,f),s(f,function(e){n(e,"",c)}),d=t("center dir isindex noframes"),l.push.apply(l,d),u=[].concat(l,c),s(d,function(e){n(e,"",u)})),u=u||[].concat(l,c),n("html","manifest","head body"),n("head","","base command link meta noscript script style title"),n("title hr noscript br"),n("base","href target"),n("link","href rel media hreflang type sizes hreflang"),n("meta","name http-equiv content charset"),n("style","media type scoped"),n("script","src async defer type charset"),n("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",u),n("address dt dd div caption","",u),n("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",c),n("blockquote","cite",u),n("ol","reversed start type","li"),n("ul","","li"),n("li","value",u),n("dl","","dt dd"),n("a","href target rel media hreflang type",c),n("q","cite",c),n("ins del","cite datetime",u),n("img","src sizes srcset alt usemap ismap width height"),n("iframe","src name width height",u),n("embed","src type width height"),n("object","data type typemustmatch name usemap form width height",u,"param"),n("param","name value"),n("map","name",u,"area"),n("area","alt coords shape href target rel media hreflang type"),n("table","border","caption colgroup thead tfoot tbody tr"+("html4"==e?" col":"")),n("colgroup","span","col"),n("col","span"),n("tbody thead tfoot","","tr"),n("tr","","td th"),n("td","colspan rowspan headers",u),n("th","colspan rowspan headers scope abbr",u),n("form","accept-charset action autocomplete enctype method name novalidate target",u),n("fieldset","disabled form name",u,"legend"),n("label","form for",c),n("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),n("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"==e?u:c),n("select","disabled form multiple name required size","option optgroup"),n("optgroup","disabled label","option"),n("option","disabled label selected value"),n("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),n("menu","type label",u,"li"),n("noscript","",u),"html4"!=e&&(n("wbr"),n("ruby","",c,"rt rp"),n("figcaption","",u),n("mark rt rp summary bdi","",c),n("canvas","width height",u),n("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",u,"track source"),n("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",u,"track source"),n("picture","","img source"),n("source","src srcset type media sizes"),n("track","kind src srclang label default"),n("datalist","",c,"option"),n("article section nav aside header footer","",u),n("hgroup","","h1 h2 h3 h4 h5 h6"),n("figure","",u,"figcaption"),n("time","datetime",c),n("dialog","open",u),n("command","type label icon disabled checked radiogroup command"),n("output","for form name",c),n("progress","value max",c),n("meter","value min max low high optimum",c),n("details","open",u,"summary"),n("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!=e&&(i("script","language xml:space"),i("style","xml:space"),i("object","declare classid code codebase codetype archive standby align border hspace vspace"),i("embed","align name hspace vspace"),i("param","valuetype type"),i("a","charset name rev shape coords"),i("br","clear"),i("applet","codebase archive code object alt name width height align hspace vspace"),i("img","name longdesc align border hspace vspace"),i("iframe","longdesc frameborder marginwidth marginheight scrolling align"),i("font basefont","size color face"),i("input","usemap align"),i("select","onchange"),i("textarea"),i("h1 h2 h3 h4 h5 h6 div p legend caption","align"),i("ul","type compact"),i("li","type"),i("ol dl menu dir","compact"),i("pre","width xml:space"),i("hr","align noshade size width"),i("isindex","prompt"),i("table","summary width frame rules cellspacing cellpadding align bgcolor"),i("col","width align char charoff valign"),i("colgroup","width align char charoff valign"),i("thead","align char charoff valign"),i("tr","align char charoff valign bgcolor"),i("th","axis align char charoff valign nowrap bgcolor width height"),i("form","accept"),i("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),i("tfoot","align char charoff valign"),i("tbody","align char charoff valign"),i("area","nohref"),i("body","background bgcolor text link vlink alink")),"html4"!=e&&(i("input button select textarea","autofocus"),i("input textarea","placeholder"),i("a","download"),i("link script img","crossorigin"),i("iframe","sandbox seamless allowfullscreen")),s(t("a form meter progress dfn"),function(e){m[e]&&delete m[e].children[e]}),delete m.caption.children.table,r[e]=m,m)}function i(e,t){var n;return e&&(n={},"string"==typeof e&&(e={"*":e}),s(e,function(e,i){n[i]=n[i.toUpperCase()]="map"==t?a(e,/[, ]/):c(e,/[, ]/)})),n}var r={},o={},a=e.makeMap,s=e.each,l=e.extend,c=e.explode,u=e.inArray;return function(e){function o(t,n,i){var o=e[t];return o?o=a(o,/[, ]/,a(o.toUpperCase(),/[, ]/)):(o=r[t])||(o=a(n," ",a(n.toUpperCase()," ")),o=l(o,i),r[t]=o),o}function d(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")}function f(e){var n,i,r,o,s,l,c,f,m,p,h,g,v,y,b,C,x,w,_,E=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,N=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,S=/[*?+]/;if(e)for(e=t(e,","),B["@"]&&(C=B["@"].attributes,x=B["@"].attributesOrder),n=0,i=e.length;n<i;n++)if(s=E.exec(e[n])){if(y=s[1],m=s[2],b=s[3],f=s[5],g={},v=[],l={attributes:g,attributesOrder:v},"#"===y&&(l.paddEmpty=!0),"-"===y&&(l.removeEmpty=!0),"!"===s[4]&&(l.removeEmptyAttrs=!0),C){for(w in C)g[w]=C[w];v.push.apply(v,x)}if(f)for(r=0,o=(f=t(f,"|")).length;r<o;r++)if(s=N.exec(f[r])){if(c={},h=s[1],p=s[2].replace(/::/g,":"),y=s[3],_=s[4],"!"===h&&(l.attributesRequired=l.attributesRequired||[],l.attributesRequired.push(p),c.required=!0),"-"===h){delete g[p],v.splice(u(v,p),1);continue}y&&("="===y&&(l.attributesDefault=l.attributesDefault||[],l.attributesDefault.push({name:p,value:_}),c.defaultValue=_),":"===y&&(l.attributesForced=l.attributesForced||[],l.attributesForced.push({name:p,value:_}),c.forcedValue=_),"<"===y&&(c.validValues=a(_,"?"))),S.test(p)?(l.attributePatterns=l.attributePatterns||[],c.pattern=d(p),l.attributePatterns.push(c)):(g[p]||v.push(p),g[p]=c)}C||"@"!=m||(C=g,x=v),b&&(l.outputName=m,B[b]=l),S.test(m)?(l.pattern=d(m),M.push(l)):B[m]=l}}function m(e){B={},M=[],f(e),s(b,function(e,t){D[t]=e.children})}function p(e){var n=/^(~)?(.+)$/;e&&(r.text_block_elements=r.block_elements=null,s(t(e,","),function(e){var t=n.exec(e),i="~"===t[1],r=i?"span":"div",o=t[2];if(D[o]=D[r],L[o]=r,i||(N[o.toUpperCase()]={},N[o]={}),!B[o]){var a=B[r];delete(a=l({},a)).removeEmptyAttrs,delete a.removeEmpty,B[o]=a}s(D,function(e,t){e[r]&&(D[t]=e=l({},D[t]),e[o]=e[r])})}))}function h(e){var n=/^([+\-]?)(\w+)\[([^\]]+)\]$/;e&&s(t(e,","),function(e){var i,r,o=n.exec(e);o&&(r=o[1],i=r?D[o[2]]:D[o[2]]={"#comment":{}},i=D[o[2]],s(t(o[3],"|"),function(e){"-"===r?(D[o[2]]=i=l({},D[o[2]]),delete i[e]):i[e]={}}))})}function g(e){var t,n=B[e];if(n)return n;for(t=M.length;t--;)if((n=M[t]).pattern.test(e))return n}var v,y,b,C,x,w,_,E,N,S,k,T,R,A=this,B={},D={},M=[],L={},P={};b=n((e=e||{}).schema),!1===e.verify_html&&(e.valid_elements="*[*]"),v=i(e.valid_styles),y=i(e.invalid_styles,"map"),E=i(e.valid_classes,"map"),C=o("whitespace_elements","pre script noscript style textarea video audio iframe object"),x=o("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),w=o("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),_=o("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),S=o("non_empty_elements","td th iframe video audio object script",w),k=o("move_caret_before_on_enter_elements","table",S),T=o("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure"),N=o("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup",T),R=o("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),s((e.special||"script noscript style textarea").split(" "),function(e){P[e]=new RegExp("</"+e+"[^>]*>","gi")}),e.valid_elements?m(e.valid_elements):(s(b,function(e,t){B[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},D[t]=e.children}),"html5"!=e.schema&&s(t("strong/b em/i"),function(e){e=t(e,"/"),B[e[1]].outputName=e[0]}),B.img.attributesDefault=[{name:"alt",value:""}],s(t("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(e){B[e]&&(B[e].removeEmpty=!0)}),s(t("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(e){B[e].paddEmpty=!0}),s(t("span"),function(e){B[e].removeEmptyAttrs=!0})),p(e.custom_elements),h(e.valid_children),f(e.extended_valid_elements),h("+ol[ul|ol],+ul[ul|ol]"),e.invalid_elements&&s(c(e.invalid_elements),function(e){B[e]&&delete B[e]}),g("span")||f("span[!data-mce-type|*]"),A.children=D,A.getValidStyles=function(){return v},A.getInvalidStyles=function(){return y},A.getValidClasses=function(){return E},A.getBoolAttrs=function(){return _},A.getBlockElements=function(){return N},A.getTextBlockElements=function(){return T},A.getTextInlineElements=function(){return R},A.getShortEndedElements=function(){return w},A.getSelfClosingElements=function(){return x},A.getNonEmptyElements=function(){return S},A.getMoveCaretBeforeOnEnterElements=function(){return k},A.getWhiteSpaceElements=function(){return C},A.getSpecialElements=function(){return P},A.isValidChild=function(e,t){var n=D[e];return!(!n||!n[t])},A.isValid=function(e,t){var n,i,r=g(e);if(r){if(!t)return!0;if(r.attributes[t])return!0;if(n=r.attributePatterns)for(i=n.length;i--;)if(n[i].pattern.test(e))return!0}return!1},A.getElementRule=g,A.getCustomElements=function(){return L},A.addValidElements=f,A.setValidElements=m,A.addCustomElements=p,A.addValidChildren=h,A.elements=B}}),i("tinymce/html/SaxParser",["tinymce/html/Schema","tinymce/html/Entities","tinymce/util/Tools"],function(e,t,n){function i(e,t,n){var i,r,o,a,s=1;for(a=e.getShortEndedElements(),(o=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g).lastIndex=i=n;r=o.exec(t);){if(i=o.lastIndex,"/"===r[1])s--;else if(!r[1]){if(r[2]in a)continue;s++}if(0===s)break}return i}function r(r,a){function s(){}var l=this;r=r||{},l.schema=a=a||new e,!1!==r.fix_self_closing&&(r.fix_self_closing=!0),o("comment cdata text start end pi doctype".split(" "),function(e){e&&(l[e]=r[e]||s)}),l.parse=function(e){function o(e){var t,n;for(t=O.length;t--&&O[t].name!==e;);if(t>=0){for(n=O.length-1;n>=t;n--)(e=O[n]).valid&&P.end(e.name);O.length=t}}var s,l,c,u,d,f,m,p,h,g,v,y,b,C,x,w,_,E,N,S,k,T,R,A,B,D,M,L,P=this,H=0,O=[],I=0,F=t.decode,z=n.makeMap("src,href,data,background,formaction,poster"),W=/((java|vb)script|mhtml):/i,U=/^data:/i;for(A=new RegExp("<(?:(?:!--([\\w\\W]*?)--\x3e)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),B=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,g=a.getShortEndedElements(),R=r.self_closing_elements||a.getSelfClosingElements(),v=a.getBoolAttrs(),b=r.validate,h=r.remove_internals,L=r.fix_self_closing,D=a.getSpecialElements();s=A.exec(e);){if(H<s.index&&P.text(F(e.substr(H,s.index-H))),l=s[6])":"===(l=l.toLowerCase()).charAt(0)&&(l=l.substr(1)),o(l);else if(l=s[7]){if(":"===(l=l.toLowerCase()).charAt(0)&&(l=l.substr(1)),y=l in g,L&&R[l]&&O.length>0&&O[O.length-1].name===l&&o(l),!b||(C=a.getElementRule(l))){if(x=!0,b&&(E=C.attributes,N=C.attributePatterns),(_=s[8])?((p=-1!==_.indexOf("data-mce-type"))&&h&&(x=!1),(u=[]).map={},_.replace(B,function(e,t,n,i,o){var a,s;if(t=t.toLowerCase(),n=t in v?t:F(n||i||o||""),b&&!p&&0!==t.indexOf("data-")){if(!(a=E[t])&&N){for(s=N.length;s--&&!(a=N[s]).pattern.test(t););-1===s&&(a=null)}if(!a)return;if(a.validValues&&!(n in a.validValues))return}if(z[t]&&!r.allow_script_urls){var l=n.replace(/[\s\u0000-\u001F]+/g,"");try{l=decodeURIComponent(l)}catch(e){l=unescape(l)}if(W.test(l))return;if(!r.allow_html_data_urls&&U.test(l)&&!/^data:image\//i.test(l))return}u.map[t]=n,u.push({name:t,value:n})})):(u=[]).map={},b&&!p){if(S=C.attributesRequired,k=C.attributesDefault,T=C.attributesForced,C.removeEmptyAttrs&&!u.length&&(x=!1),T)for(d=T.length;d--;)m=(w=T[d]).name,"{$uid}"===(M=w.value)&&(M="mce_"+I++),u.map[m]=M,u.push({name:m,value:M});if(k)for(d=k.length;d--;)(m=(w=k[d]).name)in u.map||("{$uid}"===(M=w.value)&&(M="mce_"+I++),u.map[m]=M,u.push({name:m,value:M}));if(S){for(d=S.length;d--&&!(S[d]in u.map););-1===d&&(x=!1)}if(w=u.map["data-mce-bogus"]){if("all"===w){H=i(a,e,A.lastIndex),A.lastIndex=H;continue}x=!1}}x&&P.start(l,u,y)}else x=!1;if(c=D[l]){c.lastIndex=H=s.index+s[0].length,(s=c.exec(e))?(x&&(f=e.substr(H,s.index-H)),H=s.index+s[0].length):(f=e.substr(H),H=e.length),x&&(f.length>0&&P.text(f,!0),P.end(l)),A.lastIndex=H;continue}y||(_&&_.indexOf("/")==_.length-1?x&&P.end(l):O.push({name:l,valid:x}))}else(l=s[1])?(">"===l.charAt(0)&&(l=" "+l),r.allow_conditional_comments||"[if"!==l.substr(0,3)||(l=" "+l),P.comment(l)):(l=s[2])?P.cdata(l):(l=s[3])?P.doctype(l):(l=s[4])&&P.pi(l,s[5]);H=s.index+s[0].length}for(H<e.length&&P.text(F(e.substr(H))),d=O.length-1;d>=0;d--)(l=O[d]).valid&&P.end(l.name)}}var o=n.each;return r.findEndTag=i,r}),i("tinymce/html/DomParser",["tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/util/Tools"],function(e,t,n,i){var r=i.makeMap,o=i.each,a=i.explode,s=i.extend;return function(i,l){function c(t){var n,i,o,a,s,c,d,f,m,p,h,g,v,y;for(h=r("tr,td,th,tbody,thead,tfoot,table"),p=l.getNonEmptyElements(),g=l.getTextBlockElements(),n=0;n<t.length;n++)if((i=t[n]).parent&&!i.fixed)if(g[i.name]&&"li"==i.parent.name){for(v=i.next;v&&g[v.name];)v.name="li",v.fixed=!0,i.parent.insert(v,i.parent),v=v.next;i.unwrap(i)}else{for(a=[i],o=i.parent;o&&!l.isValidChild(o.name,i.name)&&!h[o.name];o=o.parent)a.push(o);if(o&&a.length>1){for(a.reverse(),s=c=u.filterNode(a[0].clone()),m=0;m<a.length-1;m++){for(l.isValidChild(c.name,a[m].name)?(d=u.filterNode(a[m].clone()),c.append(d)):d=c,f=a[m].firstChild;f&&f!=a[m+1];)y=f.next,d.append(f),f=y;c=d}s.isEmpty(p)?o.insert(i,a[0],!0):(o.insert(s,a[0],!0),o.insert(i,s)),((o=a[0]).isEmpty(p)||o.firstChild===o.lastChild&&"br"===o.firstChild.name)&&o.empty().remove()}else if(i.parent){if("li"===i.name){if((v=i.prev)&&("ul"===v.name||"ul"===v.name)){v.append(i);continue}if((v=i.next)&&("ul"===v.name||"ul"===v.name)){v.insert(i,v.firstChild,!0);continue}i.wrap(u.filterNode(new e("ul",1)));continue}l.isValidChild(i.parent.name,"div")&&l.isValidChild("div",i.name)?i.wrap(u.filterNode(new e("div",1))):"style"===i.name||"script"===i.name?i.empty().remove():i.unwrap()}}}var u=this,d={},f=[],m={},p={};(i=i||{}).validate=!("validate"in i)||i.validate,i.root_name=i.root_name||"body",u.schema=l=l||new t,u.filterNode=function(e){var t,n,i;n in d&&((i=m[n])?i.push(e):m[n]=[e]),t=f.length;for(;t--;)(n=f[t].name)in e.attributes.map&&((i=p[n])?i.push(e):p[n]=[e]);return e},u.addNodeFilter=function(e,t){o(a(e),function(e){var n=d[e];n||(d[e]=n=[]),n.push(t)})},u.addAttributeFilter=function(e,t){o(a(e),function(e){var n;for(n=0;n<f.length;n++)if(f[n].name===e)return void f[n].callbacks.push(t);f.push({name:e,callbacks:[t]})})},u.parse=function(t,o){function a(t,n){var i,r=new e(t,n);return t in d&&((i=m[t])?i.push(r):m[t]=[r]),r}function u(e){var t,n,i;for(t=e.prev;t&&3===t.type;)(n=t.value.replace(R,"")).length>0?(t.value=n,t=t.prev):(i=t.prev,t.remove(),t=i)}var h,g,v,y,b,C,x,w,_,E,N,S,k,T,R,A,B,D,M,L,P,H=[];if(o=o||{},m={},p={},S=s(r("script,style,head,html,body,title,meta,param"),l.getBlockElements()),L=l.getNonEmptyElements(),M=l.children,N=i.validate,P="forced_root_block"in o?o.forced_root_block:i.forced_root_block,D=l.getWhiteSpaceElements(),k=/^[ \t\r\n]+/,R=/[ \t\r\n]+$/,A=/[ \t\r\n]+/g,B=/^[ \t\r\n]+$/,h=new n({validate:N,allow_script_urls:i.allow_script_urls,allow_conditional_comments:i.allow_conditional_comments,self_closing_elements:function(e){var t,n={};for(t in e)"li"!==t&&"p"!=t&&(n[t]=e[t]);return n}(l.getSelfClosingElements()),cdata:function(e){v.append(a("#cdata",4)).value=e},text:function(e,t){var n;T||(e=e.replace(A," "),v.lastChild&&S[v.lastChild.name]&&(e=e.replace(k,""))),0!==e.length&&((n=a("#text",3)).raw=!!t,v.append(n).value=e)},comment:function(e){v.append(a("#comment",8)).value=e},pi:function(e,t){v.append(a(e,7)).value=t,u(v)},doctype:function(e){v.append(a("#doctype",10)).value=e,u(v)},start:function(e,t,n){var i,r,o,s,c;if(o=N?l.getElementRule(e):{}){for((i=a(o.outputName||e,1)).attributes=t,i.shortEnded=n,v.append(i),(c=M[v.name])&&M[i.name]&&!c[i.name]&&H.push(i),r=f.length;r--;)(s=f[r].name)in t.map&&((_=p[s])?_.push(i):p[s]=[i]);S[e]&&u(i),n||(v=i),!T&&D[e]&&(T=!0)}},end:function(t){var n,i,r,o,a;if(i=N?l.getElementRule(t):{}){if(S[t]&&!T){if((n=v.firstChild)&&3===n.type)if((r=n.value.replace(k,"")).length>0)n.value=r,n=n.next;else for(o=n.next,n.remove(),n=o;n&&3===n.type;)r=n.value,o=n.next,(0===r.length||B.test(r))&&(n.remove(),n=o),n=o;if((n=v.lastChild)&&3===n.type)if((r=n.value.replace(R,"")).length>0)n.value=r,n=n.prev;else for(o=n.prev,n.remove(),n=o;n&&3===n.type;)r=n.value,o=n.prev,(0===r.length||B.test(r))&&(n.remove(),n=o),n=o}if(T&&D[t]&&(T=!1),(i.removeEmpty||i.paddEmpty)&&v.isEmpty(L))if(i.paddEmpty)v.empty().append(new e("#text","3")).value=" ";else if(!v.attributes.map.name&&!v.attributes.map.id)return a=v.parent,S[v.name]?v.empty().remove():v.unwrap(),void(v=a);v=v.parent}}},l),g=v=new e(o.context||i.root_name,11),h.parse(t),N&&H.length&&(o.context?o.invalid=!0:c(H)),P&&("body"==g.name||o.isRootContent)&&function(){function e(e){e&&((r=e.firstChild)&&3==r.type&&(r.value=r.value.replace(k,"")),(r=e.lastChild)&&3==r.type&&(r.value=r.value.replace(R,"")))}var t,n,r=g.firstChild;if(l.isValidChild(g.name,P.toLowerCase())){for(;r;)t=r.next,3==r.type||1==r.type&&"p"!==r.name&&!S[r.name]&&!r.attr("data-mce-type")?n?n.append(r):((n=a(P,1)).attr(i.forced_root_block_attrs),g.insert(n,r),n.append(r)):(e(n),n=null),r=t;e(n)}}(),!o.invalid){for(E in m){for(_=d[E],x=(y=m[E]).length;x--;)y[x].parent||y.splice(x,1);for(b=0,C=_.length;b<C;b++)_[b](y,E,o)}for(b=0,C=f.length;b<C;b++)if((_=f[b]).name in p){for(x=(y=p[_.name]).length;x--;)y[x].parent||y.splice(x,1);for(x=0,w=_.callbacks.length;x<w;x++)_.callbacks[x](y,_.name,o)}}return g},i.remove_trailing_brs&&u.addNodeFilter("br",function(t){var n,i,r,o,a,c,u,d,f=t.length,m=s({},l.getBlockElements()),p=l.getNonEmptyElements();for(m.body=1,n=0;n<f;n++)if(i=t[n],r=i.parent,m[i.parent.name]&&i===r.lastChild){for(a=i.prev;a;){if("span"!==(c=a.name)||"bookmark"!==a.attr("data-mce-type")){if("br"!==c)break;if("br"===c){i=null;break}}a=a.prev}i&&(i.remove(),r.isEmpty(p)&&(u=l.getElementRule(r.name))&&(u.removeEmpty?r.remove():u.paddEmpty&&(r.empty().append(new e("#text",3)).value=" ")))}else{for(o=i;r&&r.firstChild===o&&r.lastChild===o&&(o=r,!m[r.name]);)r=r.parent;o===r&&((d=new e("#text",3)).value=" ",i.replace(d))}}),i.allow_html_in_named_anchor||u.addAttributeFilter("id,name",function(e){for(var t,n,i,r,o=e.length;o--;)if("a"===(r=e[o]).name&&r.firstChild&&!r.attr("href")){i=r.parent,t=r.lastChild;do{n=t.prev,i.insert(t,r),t=n}while(t)}}),i.validate&&l.getValidClasses()&&u.addAttributeFilter("class",function(e){for(var t,n,i,r,o,a,s,c=e.length,u=l.getValidClasses();c--;){for(n=(t=e[c]).attr("class").split(" "),o="",i=0;i<n.length;i++)r=n[i],s=!1,(a=u["*"])&&a[r]&&(s=!0),a=u[t.name],!s&&a&&a[r]&&(s=!0),s&&(o&&(o+=" "),o+=r);o.length||(o=null),t.attr("class",o)}})}}),i("tinymce/html/Writer",["tinymce/html/Entities","tinymce/util/Tools"],function(e,t){var n=t.makeMap;return function(t){var i,r,o,a,s,l=[];return t=t||{},i=t.indent,r=n(t.indent_before||""),o=n(t.indent_after||""),a=e.getEncodeFunc(t.entity_encoding||"raw",t.entities),s="html"==t.element_format,{start:function(e,t,n){var c,u,d,f;if(i&&r[e]&&l.length>0&&(f=l[l.length-1]).length>0&&"\n"!==f&&l.push("\n"),l.push("<",e),t)for(c=0,u=t.length;c<u;c++)d=t[c],l.push(" ",d.name,'="',a(d.value,!0),'"');l[l.length]=!n||s?">":" />",n&&i&&o[e]&&l.length>0&&(f=l[l.length-1]).length>0&&"\n"!==f&&l.push("\n")},end:function(e){var t;l.push("</",e,">"),i&&o[e]&&l.length>0&&(t=l[l.length-1]).length>0&&"\n"!==t&&l.push("\n")},text:function(e,t){e.length>0&&(l[l.length]=t?e:a(e))},cdata:function(e){l.push("<![CDATA[",e,"]]>")},comment:function(e){l.push("\x3c!--",e,"--\x3e")},pi:function(e,t){t?l.push("<?",e," ",a(t),"?>"):l.push("<?",e,"?>"),i&&l.push("\n")},doctype:function(e){l.push("<!DOCTYPE",e,">",i?"\n":"")},reset:function(){l.length=0},getContent:function(){return l.join("").replace(/\n$/,"")}}}}),i("tinymce/html/Serializer",["tinymce/html/Writer","tinymce/html/Schema"],function(e,t){return function(n,i){var r=this,o=new e(n);(n=n||{}).validate=!("validate"in n)||n.validate,r.schema=i=i||new t,r.writer=o,r.serialize=function(e){function t(e){var n,s,l,c,u,d,f,m,p,h=r[e.type];if(h)h(e);else{if(n=e.name,s=e.shortEnded,l=e.attributes,a&&l&&l.length>1){for((d=[]).map={},f=0,m=(p=i.getElementRule(e.name)).attributesOrder.length;f<m;f++)(c=p.attributesOrder[f])in l.map&&(u=l.map[c],d.map[c]=u,d.push({name:c,value:u}));for(f=0,m=l.length;f<m;f++)(c=l[f].name)in d.map||(u=l.map[c],d.map[c]=u,d.push({name:c,value:u}));l=d}if(o.start(e.name,l,s),!s){if(e=e.firstChild)do{t(e)}while(e=e.next);o.end(n)}}}var r,a;return a=n.validate,r={3:function(e){o.text(e.value,e.raw)},8:function(e){o.comment(e.value)},7:function(e){o.pi(e.name,e.value)},10:function(e){o.doctype(e.value)},4:function(e){o.cdata(e.value)},11:function(e){if(e=e.firstChild)do{t(e)}while(e=e.next)}},o.reset(),1!=e.type||n.inner?r[11](e):t(e),o.getContent()}}}),i("tinymce/dom/Serializer",["tinymce/dom/DOMUtils","tinymce/html/DomParser","tinymce/html/Entities","tinymce/html/Serializer","tinymce/html/Node","tinymce/html/Schema","tinymce/Env","tinymce/util/Tools"],function(e,t,n,i,r,o,a,s){var l=s.each,c=s.trim,u=e.DOM;return function(e,r){var s,d,f;return r&&(s=r.dom,d=r.schema),s=s||u,d=d||new o(e),e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs,(f=new t(e,d)).addAttributeFilter("data-mce-tabindex",function(e,t){for(var n,i=e.length;i--;)(n=e[i]).attr("tabindex",n.attributes.map["data-mce-tabindex"]),n.attr(t,null)}),f.addAttributeFilter("src,href,style",function(t,n){for(var i,r,o=t.length,a="data-mce-"+n,l=e.url_converter,c=e.url_converter_scope;o--;)void 0!==(r=(i=t[o]).attributes.map[a])?(i.attr(n,r.length>0?r:null),i.attr(a,null)):(r=i.attributes.map[n],"style"===n?r=s.serializeStyle(s.parseStyle(r),i.name):l&&(r=l.call(c,r,n,i.name)),i.attr(n,r.length>0?r:null))}),f.addAttributeFilter("class",function(e){for(var t,n,i=e.length;i--;)(n=(t=e[i]).attr("class"))&&(n=t.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),t.attr("class",n.length>0?n:null))}),f.addAttributeFilter("data-mce-type",function(e,t,n){for(var i,r=e.length;r--;)"bookmark"!==(i=e[r]).attributes.map["data-mce-type"]||n.cleanup||i.remove()}),f.addNodeFilter("noscript",function(e){for(var t,i=e.length;i--;)(t=e[i].firstChild)&&(t.value=n.decode(t.value))}),f.addNodeFilter("script,style",function(e,t){function n(e){return e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}for(var i,r,o,a=e.length;a--;)r=(i=e[a]).firstChild?i.firstChild.value:"","script"===t?((o=i.attr("type"))&&i.attr("type","mce-no/type"==o?null:o.replace(/^mce\-/,"")),r.length>0&&(i.firstChild.value="// <![CDATA[\n"+n(r)+"\n// ]]>")):r.length>0&&(i.firstChild.value="\x3c!--\n"+n(r)+"\n--\x3e")}),f.addNodeFilter("#comment",function(e){for(var t,n=e.length;n--;)0===(t=e[n]).value.indexOf("[CDATA[")?(t.name="#cdata",t.type=4,t.value=t.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===t.value.indexOf("mce:protected ")&&(t.name="#text",t.type=3,t.raw=!0,t.value=unescape(t.value).substr(14))}),f.addNodeFilter("xml:namespace,input",function(e,t){for(var n,i=e.length;i--;)7===(n=e[i]).type?n.remove():1===n.type&&("input"!==t||"type"in n.attributes.map||n.attr("type","text"))}),e.fix_list_elements&&f.addNodeFilter("ul,ol",function(e){for(var t,n,i=e.length;i--;)"ul"!==(n=(t=e[i]).parent).name&&"ol"!==n.name||t.prev&&"li"===t.prev.name&&t.prev.append(t)}),f.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),{schema:d,addNodeFilter:f.addNodeFilter,addAttributeFilter:f.addAttributeFilter,serialize:function(t,n){var r,o,u,m,p,h=this;return a.ie&&s.select("script,style,select,map").length>0?(p=t.innerHTML,t=t.cloneNode(!1),s.setHTML(t,p)):t=t.cloneNode(!0),(r=t.ownerDocument.implementation).createHTMLDocument&&(o=r.createHTMLDocument(""),l("BODY"==t.nodeName?t.childNodes:[t],function(e){o.body.appendChild(o.importNode(e,!0))}),t="BODY"!=t.nodeName?o.body.firstChild:o.body,u=s.doc,s.doc=o),n=n||{},n.format=n.format||"html",n.selection&&(n.forced_root_block=""),n.no_events||(n.node=t,h.onPreProcess(n)),m=new i(e,d),n.content=m.serialize(f.parse(c(n.getInner?t.innerHTML:s.getOuterHTML(t)),n)),n.cleanup||(n.content=n.content.replace(/\uFEFF/g,"")),n.no_events||h.onPostProcess(n),u&&(s.doc=u),n.node=null,n.content},addRules:function(e){d.addValidElements(e)},setRules:function(e){d.setValidElements(e)},onPreProcess:function(e){r&&r.fire("PreProcess",e)},onPostProcess:function(e){r&&r.fire("PostProcess",e)}}}}),i("tinymce/dom/TridentSelection",[],function(){return function(e){function t(t,n){var i,r,o,a,s,l,c,u,d=0,f=-1;if((i=t.duplicate()).collapse(n),(u=i.parentElement()).ownerDocument===e.dom.doc){for(;"false"===u.contentEditable;)u=u.parentNode;if(!u.hasChildNodes())return{node:u,inside:1};for(r=(a=u.children).length-1;d<=r;)if(c=Math.floor((d+r)/2),s=a[c],i.moveToElementText(s),(f=i.compareEndPoints(n?"StartToStart":"EndToEnd",t))>0)r=c-1;else{if(!(f<0))return{node:s};d=c+1}if(f<0)for(s?i.collapse(!1):(i.moveToElementText(u),i.collapse(!0),s=u,o=!0),l=0;0!==i.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==i.move("character",1)&&u==i.parentElement();)l++;else for(i.collapse(!0),l=0;0!==i.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==i.move("character",-1)&&u==i.parentElement();)l++;return{node:s,position:f,offset:l,inside:o}}}var n=this,i=e.dom,r=!1;this.getBookmark=function(n){function r(e){var t,n,r,o,a=[];for(t=e.parentNode,n=i.getRoot().parentNode;t!=n&&9!==t.nodeType;){for(o=(r=t.children).length;o--;)if(e===r[o]){a.push(o);break}e=t,t=t.parentNode}return a}function o(e){var n;if(n=t(a,e))return{position:n.position,offset:n.offset,indexes:r(n.node),inside:n.inside}}var a=e.getRng(),s={};return 2===n&&(a.item?s.start={ctrl:!0,indexes:r(a.item(0))}:(s.start=o(!0),e.isCollapsed()||(s.end=o()))),s},this.moveToBookmark=function(e){function t(e){var t,n,r,o;for(t=i.getRoot(),n=e.length-1;n>=0;n--)o=t.children,(r=e[n])<=o.length-1&&(t=o[r]);return t}function n(n){var i,a,s,l=e[n?"start":"end"];l&&(i=l.position>0,(a=o.createTextRange()).moveToElementText(t(l.indexes)),void 0!==(s=l.offset)?(a.collapse(l.inside||i),a.moveStart("character",i?-s:s)):a.collapse(n),r.setEndPoint(n?"StartToStart":"EndToStart",a),n&&r.collapse(!0))}var r,o=i.doc.body;e.start&&(e.start.ctrl?((r=o.createControlRange()).addElement(t(e.start.indexes)),r.select()):(r=o.createTextRange(),n(!0),n(),r.select()))},this.addRange=function(t){function n(e){var t,n,a,d,f;a=i.create("a"),t=e?s:c,n=e?l:u,d=o.duplicate(),t!=p&&t!=p.documentElement||(t=h,n=0),3==t.nodeType?(t.parentNode.insertBefore(a,t),d.moveToElementText(a),d.moveStart("character",n),i.remove(a),o.setEndPoint(e?"StartToStart":"EndToEnd",d)):((f=t.childNodes).length?(n>=f.length?i.insertAfter(a,f[f.length-1]):t.insertBefore(a,f[n]),d.moveToElementText(a)):t.canHaveHTML&&(t.innerHTML="<span>&#xFEFF;</span>",a=t.firstChild,d.moveToElementText(a),d.collapse(r)),o.setEndPoint(e?"StartToStart":"EndToEnd",d),i.remove(a))}var o,a,s,l,c,u,d,f,m,p=e.dom.doc,h=p.body;if(s=t.startContainer,l=t.startOffset,c=t.endContainer,u=t.endOffset,o=h.createTextRange(),s==c&&1==s.nodeType){if(l==u&&!s.hasChildNodes()){if(s.canHaveHTML)return(d=s.previousSibling)&&!d.hasChildNodes()&&i.isBlock(d)?d.innerHTML="&#xFEFF;":d=null,s.innerHTML="<span>&#xFEFF;</span><span>&#xFEFF;</span>",o.moveToElementText(s.lastChild),o.select(),i.doc.selection.clear(),s.innerHTML="",void(d&&(d.innerHTML=""));l=i.nodeIndex(s),s=s.parentNode}if(l==u-1)try{if(m=s.childNodes[l],(a=h.createControlRange()).addElement(m),a.select(),(f=e.getRng()).item&&m===f.item(0))return}catch(e){}}n(!0),n(),o.select()},this.getRangeAt=function(){function r(e){var n,i,r,o,a=t(u,e),s=0;if(n=a.node,i=a.offset,!a.inside||n.hasChildNodes())if(void 0!==i){if(a.position<0){if(!(r=a.inside?n.firstChild:n.nextSibling))return void d[e?"setStartAfter":"setEndAfter"](n);if(!i)return void(3==r.nodeType?d[e?"setStart":"setEnd"](r,0):d[e?"setStartBefore":"setEndBefore"](r));for(;r;){if(3==r.nodeType&&(o=r.nodeValue,(s+=o.length)>=i)){n=r,s-=i,s=o.length-s;break}r=r.nextSibling}}else{if(!(r=n.previousSibling))return d[e?"setStartBefore":"setEndBefore"](n);if(!i)return void(3==n.nodeType?d[e?"setStart":"setEnd"](r,n.nodeValue.length):d[e?"setStartAfter":"setEndAfter"](r));for(;r;){if(3==r.nodeType&&(s+=r.nodeValue.length)>=i){n=r,s-=i;break}r=r.previousSibling}}d[e?"setStart":"setEnd"](n,s)}else d[e?"setStartBefore":"setEndAfter"](n);else d[e?"setStart":"setEnd"](n,0)}var o,a,s,l,c,u=e.getRng(),d=i.createRng();if((o=u.item?u.item(0):u.parentElement()).ownerDocument!=i.doc)return d;if(a=e.isCollapsed(),u.item)return d.setStart(o.parentNode,i.nodeIndex(o)),d.setEnd(d.startContainer,d.startOffset+1),d;try{r(!0),a||r()}catch(t){if(-2147024809!=t.number)throw t;c=n.getBookmark(2),(s=u.duplicate()).collapse(!0),o=s.parentElement(),a||((s=u.duplicate()).collapse(!1),(l=s.parentElement()).innerHTML=l.innerHTML),o.innerHTML=o.innerHTML,n.moveToBookmark(c),u=e.getRng(),r(!0),a||r()}return d}}}),i("tinymce/util/VK",["tinymce/Env"],function(e){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||this.metaKeyPressed(e)},metaKeyPressed:function(t){return e.mac?t.metaKey:t.ctrlKey&&!t.altKey}}}),i("tinymce/dom/ControlSelection",["tinymce/util/VK","tinymce/util/Tools","tinymce/Env"],function(e,t,n){return function(i,r){function o(e){var t=r.settings.object_resizing;return!1!==t&&!n.iOS&&("string"!=typeof t&&(t="table,img,div"),"false"!==e.getAttribute("data-mce-resize")&&r.dom.is(e,t))}function a(t){var n,i,o,a;n=t.screenX-N,i=t.screenY-S,M=n*_[2]+R,L=i*_[3]+A,M=M<5?5:M,L=L<5?5:L,("IMG"==b.nodeName&&!1!==r.settings.resize_img_proportional?!e.modifierPressed(t):e.modifierPressed(t)||"IMG"==b.nodeName&&_[2]*_[3]!=0)&&(U(n)>U(i)?(L=V(M*B),M=V(L/B)):(M=V(L/B),L=V(M*B))),O.setStyles(C,{width:M,height:L}),o=_.startPos.x+n,a=_.startPos.y+i,o=o>0?o:0,a=a>0?a:0,O.setStyles(x,{left:o,top:a,display:"block"}),x.innerHTML=M+" &times; "+L,_[2]<0&&C.clientWidth<=M&&O.setStyle(C,"left",k+(R-M)),_[3]<0&&C.clientHeight<=L&&O.setStyle(C,"top",T+(A-L)),(n=$.scrollWidth-P)+(i=$.scrollHeight-H)!==0&&O.setStyles(x,{left:o-n,top:a-i}),D||(r.fire("ObjectResizeStart",{target:b,width:R,height:A}),D=!0)}function s(){function e(e,t){t&&(b.style[e]||!r.schema.isValid(b.nodeName.toLowerCase(),e)?O.setStyle(b,e,t):O.setAttrib(b,e,t))}D=!1,e("width",M),e("height",L),O.unbind(F,"mousemove",a),O.unbind(F,"mouseup",s),z!=F&&(O.unbind(z,"mousemove",a),O.unbind(z,"mouseup",s)),O.remove(C),O.remove(x),W&&"TABLE"!=b.nodeName||l(b),r.fire("ObjectResized",{target:b,width:M,height:L}),O.setAttrib(b,"style",O.getAttrib(b,"style")),r.nodeChanged()}function l(e,t,i){var l,u,d,f,m;g(),l=O.getPos(e,$),k=l.x,T=l.y,m=e.getBoundingClientRect(),u=m.width||m.right-m.left,d=m.height||m.bottom-m.top,b!=e&&(h(),b=e,M=L=0),f=r.fire("ObjectSelected",{target:e}),o(e)&&!f.isDefaultPrevented()?I(w,function(e,r){function o(t){N=t.screenX,S=t.screenY,R=b.clientWidth,A=b.clientHeight,B=A/R,_=e,e.startPos={x:u*e[0]+k,y:d*e[1]+T},P=$.scrollWidth,H=$.scrollHeight,C=b.cloneNode(!0),O.addClass(C,"mce-clonedresizable"),O.setAttrib(C,"data-mce-bogus","all"),C.contentEditable=!1,C.unSelectabe=!0,O.setStyles(C,{left:k,top:T,margin:0}),C.removeAttribute("data-mce-selected"),$.appendChild(C),O.bind(F,"mousemove",a),O.bind(F,"mouseup",s),z!=F&&(O.bind(z,"mousemove",a),O.bind(z,"mouseup",s)),x=O.add($,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},R+" &times; "+A)}var l,c;t?r==t&&o(i):((l=O.get("mceResizeHandle"+r))?O.show(l):(c=$,l=O.add(c,"div",{id:"mceResizeHandle"+r,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+r+"-resize; margin:0; padding:0"}),n.ie&&(l.contentEditable=!1)),e.elm||(O.bind(l,"mousedown",function(e){e.stopImmediatePropagation(),e.preventDefault(),o(e)}),e.elm=l),O.setStyles(l,{left:u*e[0]+k-l.offsetWidth/2,top:d*e[1]+T-l.offsetHeight/2}))}):c(),b.setAttribute("data-mce-selected","1")}function c(){var e,t;g(),b&&b.removeAttribute("data-mce-selected");for(e in w)(t=O.get("mceResizeHandle"+e))&&(O.unbind(t),O.remove(t))}function u(e){function t(e,t){if(e)do{if(e===t)return!0}while(e=e.parentNode)}var n,r;D||(I(O.select("img[data-mce-selected],hr[data-mce-selected]"),function(e){e.removeAttribute("data-mce-selected")}),r="mousedown"==e.type?e.target:i.getNode(),t(r=O.$(r).closest(W?"table":"table,img,hr")[0],$)&&(v(),n=i.getStart(!0),t(n,r)&&t(i.getEnd(!0),r)&&(!W||r!=n&&"IMG"!==n.nodeName))?l(r):c())}function d(e,t,n){e&&e.attachEvent&&e.attachEvent("on"+t,n)}function f(e,t,n){e&&e.detachEvent&&e.detachEvent("on"+t,n)}function m(e){var t,n,i,o,a,s,c,u=e.srcElement;t=u.getBoundingClientRect(),s=E.clientX-t.left,c=E.clientY-t.top;for(n in w)if(i=w[n],o=u.offsetWidth*i[0],a=u.offsetHeight*i[1],U(o-s)<8&&U(a-c)<8){_=i;break}D=!0,r.fire("ObjectResizeStart",{target:b,width:b.clientWidth,height:b.clientHeight}),r.getDoc().selection.empty(),l(u,n,E)}function p(e){var t=e.srcElement;if(t!=b){if(r.fire("ObjectSelected",{target:t}),h(),0===t.id.indexOf("mceResizeHandle"))return void(e.returnValue=!1);"IMG"!=t.nodeName&&"TABLE"!=t.nodeName||(c(),b=t,d(t,"resizestart",m))}}function h(){f(b,"resizestart",m)}function g(){for(var e in w){var t=w[e];t.elm&&(O.unbind(t.elm),delete t.elm)}}function v(){try{r.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(e){}}function y(e){var t;if(W){t=F.body.createControlRange();try{return t.addElement(e),t.select(),!0}catch(e){}}}var b,C,x,w,_,E,N,S,k,T,R,A,B,D,M,L,P,H,O=r.dom,I=t.each,F=r.getDoc(),z=document,W=n.ie&&n.ie<11,U=Math.abs,V=Math.round,$=r.getBody();w={n:[.5,0,0,-1],e:[1,.5,1,0],s:[.5,1,0,1],w:[0,.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var q=".mce-content-body";return r.contentStyles.push(q+" div.mce-resizehandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}"+q+" .mce-resizehandle:hover {background: #000}"+q+" img[data-mce-selected], hr[data-mce-selected] {outline: 1px solid black;resize: none}"+q+" .mce-clonedresizable {position: absolute;"+(n.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+q+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}"),r.on("init",function(){W?(r.on("ObjectResized",function(e){"TABLE"!=e.target.nodeName&&(c(),y(e.target))}),d($,"controlselect",p),r.on("mousedown",function(e){E=e})):(v(),n.ie>=11&&(r.on("mouseup",function(e){var t=e.target.nodeName;!D&&/^(TABLE|IMG|HR)$/.test(t)&&(r.selection.select(e.target,"TABLE"==t),r.nodeChanged())}),r.dom.bind($,"mscontrolselect",function(e){/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"==e.target.tagName&&window.setTimeout(function(){r.selection.select(e.target)},0))}))),r.on("nodechange ResizeEditor",u),r.on("keydown keyup",function(e){b&&"TABLE"==b.nodeName&&u(e)}),r.on("hide",c)}),r.on("remove",g),{isResizable:o,showResizeRect:l,hideResizeRect:c,updateResizeRect:u,controlSelect:y,destroy:function(){b=C=null,W&&(h(),f($,"controlselect",p))}}}}),i("tinymce/dom/BookmarkManager",["tinymce/Env","tinymce/util/Tools"],function(e,t){function n(n){var i=n.dom;this.getBookmark=function(e,r){function o(e,n){var r=0;return t.each(i.select(e),function(e,t){e==n&&(r=t)}),r}function a(e){function t(t){var n,i,r,o=t?"start":"end";n=e[o+"Container"],i=e[o+"Offset"],1==n.nodeType&&"TR"==n.nodeName&&(n=(r=n.childNodes)[Math.min(t?i:i-1,r.length-1)])&&(i=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,i))}return t(!0),t(),e}var s,l,c,u,d,f,m,p="&#xFEFF;";if(2==e)return f=n.getNode(),"IMG"==(d=f?f.nodeName:null)?{name:d,index:o(d,f)}:n.tridentSel?n.tridentSel.getBookmark(e):function(){function e(e,t){var n,a,s=e[t?"startContainer":"endContainer"],l=e[t?"startOffset":"endOffset"],c=[],u=0;if(3==s.nodeType){if(r)for(n=s.previousSibling;n&&3==n.nodeType;n=n.previousSibling)l+=n.nodeValue.length;c.push(l)}else l>=(a=s.childNodes).length&&a.length&&(u=1,l=Math.max(0,a.length-1)),c.push(i.nodeIndex(a[l],r)+u);for(;s&&s!=o;s=s.parentNode)c.push(i.nodeIndex(s,r));return c}var t=n.getRng(!0),o=i.getRoot(),a={};return a.start=e(t,!0),n.isCollapsed()||(a.end=e(t)),a}();if(e)return{rng:n.getRng()};if(s=n.getRng(),c=i.uniqueId(),u=n.isCollapsed(),m="overflow:hidden;line-height:0px",s.duplicate||s.item){if(s.item)return f=s.item(0),d=f.nodeName,{name:d,index:o(d,f)};l=s.duplicate();try{s.collapse(),s.pasteHTML('<span data-mce-type="bookmark" id="'+c+'_start" style="'+m+'">'+p+"</span>"),u||(l.collapse(!1),s.moveToElementText(l.parentElement()),0===s.compareEndPoints("StartToEnd",l)&&l.move("character",-1),l.pasteHTML('<span data-mce-type="bookmark" id="'+c+'_end" style="'+m+'">'+p+"</span>"))}catch(e){return null}}else{if(f=n.getNode(),"IMG"==(d=f.nodeName))return{name:d,index:o(d,f)};l=a(s.cloneRange()),u||(l.collapse(!1),l.insertNode(i.create("span",{"data-mce-type":"bookmark",id:c+"_end",style:m},p))),(s=a(s)).collapse(!0),s.insertNode(i.create("span",{"data-mce-type":"bookmark",id:c+"_start",style:m},p))}return n.moveToBookmark({id:c,keep:1}),{id:c}},this.moveToBookmark=function(r){function o(e){var t,n,i,o,a=r[e?"start":"end"];if(a){for(i=a[0],n=c,t=a.length-1;t>=1;t--){if(o=n.childNodes,a[t]>o.length-1)return;n=o[a[t]]}3===n.nodeType&&(i=Math.min(a[0],n.nodeValue.length)),1===n.nodeType&&(i=Math.min(a[0],n.childNodes.length)),e?l.setStart(n,i):l.setEnd(n,i)}return!0}function a(n){var o,a,s,l,c=i.get(r.id+"_"+n),p=r.keep;if(c&&(o=c.parentNode,"start"==n?(p?(o=c.firstChild,a=1):a=i.nodeIndex(c),u=d=o,f=m=a):(p?(o=c.firstChild,a=1):a=i.nodeIndex(c),d=o,m=a),!p)){for(l=c.previousSibling,s=c.nextSibling,t.each(t.grep(c.childNodes),function(e){3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))});c=i.get(r.id+"_"+n);)i.remove(c,1);l&&s&&l.nodeType==s.nodeType&&3==l.nodeType&&!e.opera&&(a=l.nodeValue.length,l.appendData(s.nodeValue),i.remove(s),"start"==n?(u=d=l,f=m=a):(d=l,m=a))}}function s(t){return!i.isBlock(t)||t.innerHTML||e.ie||(t.innerHTML='<br data-mce-bogus="1" />'),t}var l,c,u,d,f,m;if(r)if(r.start){if(l=i.createRng(),c=i.getRoot(),n.tridentSel)return n.tridentSel.moveToBookmark(r);o(!0)&&o()&&n.setRng(l)}else r.id?(a("start"),a("end"),u&&((l=i.createRng()).setStart(s(u),f),l.setEnd(s(d),m),n.setRng(l))):r.name?n.select(i.select(r.name)[r.index]):r.rng&&n.setRng(r.rng)}}return n.isBookmarkNode=function(e){return e&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},n}),i("tinymce/dom/Selection",["tinymce/dom/TreeWalker","tinymce/dom/TridentSelection","tinymce/dom/ControlSelection","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/Env","tinymce/util/Tools"],function(e,n,i,r,o,a,s){function l(e,t,r,a){var s=this;s.dom=e,s.win=t,s.serializer=r,s.editor=a,s.bookmarkManager=new o(s),s.controlSelection=new i(s,a),s.win.getSelection||(s.tridentSel=new n(s))}var c=s.each,u=s.trim,d=a.ie;return l.prototype={setCursorLocation:function(e,t){var n=this,i=n.dom.createRng();e?(i.setStart(e,t),i.setEnd(e,t),n.setRng(i),n.collapse(!1)):(n._moveEndPoint(i,n.editor.getBody(),!0),n.setRng(i))},getContent:function(e){var n,i,r,o=this,a=o.getRng(),s=o.dom.create("body"),l=o.getSel();return e=e||{},n=i="",e.get=!0,e.format=e.format||"html",e.selection=!0,o.editor.fire("BeforeGetContent",e),"text"==e.format?o.isCollapsed()?"":a.text||(l.toString?l.toString():""):(a.cloneContents?(r=a.cloneContents())&&s.appendChild(r):a.item!==t||a.htmlText!==t?(s.innerHTML="<br>"+(a.item?a.item(0).outerHTML:a.htmlText),s.removeChild(s.firstChild)):s.innerHTML=a.toString(),/^\s/.test(s.innerHTML)&&(n=" "),/\s+$/.test(s.innerHTML)&&(i=" "),e.getInner=!0,e.content=o.isCollapsed()?"":n+o.serializer.serialize(s,e)+i,o.editor.fire("GetContent",e),e.content)},setContent:function(e,t){var n,i,r,o=this,a=o.getRng(),s=o.win.document;if(t=t||{format:"html"},t.set=!0,t.selection=!0,e=t.content=e,t.no_events||o.editor.fire("BeforeSetContent",t),e=t.content,a.insertNode){e+='<span id="__caret">_</span>',a.startContainer==s&&a.endContainer==s?s.body.innerHTML=e:(a.deleteContents(),0===s.body.childNodes.length?s.body.innerHTML=e:a.createContextualFragment?a.insertNode(a.createContextualFragment(e)):(i=s.createDocumentFragment(),r=s.createElement("div"),i.appendChild(r),r.outerHTML=e,a.insertNode(i))),n=o.dom.get("__caret"),(a=s.createRange()).setStartBefore(n),a.setEndBefore(n),o.setRng(a),o.dom.remove("__caret");try{o.setRng(a)}catch(e){}}else a.item&&(s.execCommand("Delete",!1,null),a=o.getRng()),/^\s+/.test(e)?(a.pasteHTML('<span id="__mce_tmp">_</span>'+e),o.dom.remove("__mce_tmp")):a.pasteHTML(e);t.no_events||o.editor.fire("SetContent",t)},getStart:function(e){var t,n,i,r,o=this,a=o.getRng();if(a.duplicate||a.item){if(a.item)return a.item(0);for((i=a.duplicate()).collapse(1),(t=i.parentElement()).ownerDocument!==o.dom.doc&&(t=o.dom.getRoot()),n=r=a.parentElement();r=r.parentNode;)if(r==t){t=n;break}return t}return 1==(t=a.startContainer).nodeType&&t.hasChildNodes()&&(e&&a.collapsed||(t=t.childNodes[Math.min(t.childNodes.length-1,a.startOffset)])),t&&3==t.nodeType?t.parentNode:t},getEnd:function(e){var t,n,i=this,r=i.getRng();return r.duplicate||r.item?r.item?r.item(0):((r=r.duplicate()).collapse(0),(t=r.parentElement()).ownerDocument!==i.dom.doc&&(t=i.dom.getRoot()),t&&"BODY"==t.nodeName?t.lastChild||t:t):(t=r.endContainer,n=r.endOffset,1==t.nodeType&&t.hasChildNodes()&&(e&&r.collapsed||(t=t.childNodes[n>0?n-1:n])),t&&3==t.nodeType?t.parentNode:t)},getBookmark:function(e,t){return this.bookmarkManager.getBookmark(e,t)},moveToBookmark:function(e){return this.bookmarkManager.moveToBookmark(e)},select:function(e,t){var n,i=this,r=i.dom,o=r.createRng();if(i.lastFocusBookmark=null,e){if(!t&&i.controlSelection.controlSelect(e))return;n=r.nodeIndex(e),o.setStart(e.parentNode,n),o.setEnd(e.parentNode,n+1),t&&(i._moveEndPoint(o,e,!0),i._moveEndPoint(o,e)),i.setRng(o)}return e},isCollapsed:function(){var e=this,t=e.getRng(),n=e.getSel();return!(!t||t.item)&&(t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!n||t.collapsed)},collapse:function(e){var t,n=this,i=n.getRng();i.item&&(t=i.item(0),(i=n.win.document.body.createTextRange()).moveToElementText(t)),i.collapse(!!e),n.setRng(i)},getSel:function(){var e=this.win;return e.getSelection?e.getSelection():e.document.selection},getRng:function(e){function t(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(e){return-1}}var n,i,r,o,a=this,s=a.win.document;if(!e&&a.lastFocusBookmark){var l=a.lastFocusBookmark;return l.startContainer?((i=s.createRange()).setStart(l.startContainer,l.startOffset),i.setEnd(l.endContainer,l.endOffset)):i=l,i}if(e&&a.tridentSel)return a.tridentSel.getRangeAt(0);try{(n=a.getSel())&&(i=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():s.createRange())}catch(e){}if(d&&i&&i.setStart&&s.selection){try{o=s.selection.createRange()}catch(e){}o&&o.item&&(r=o.item(0),(i=s.createRange()).setStartBefore(r),i.setEndAfter(r))}return i||(i=s.createRange?s.createRange():s.body.createTextRange()),i.setStart&&9===i.startContainer.nodeType&&i.collapsed&&(r=a.dom.getRoot(),i.setStart(r,0),i.setEnd(r,0)),a.selectedRange&&a.explicitRange&&(0===t(i.START_TO_START,i,a.selectedRange)&&0===t(i.END_TO_END,i,a.selectedRange)?i=a.explicitRange:(a.selectedRange=null,a.explicitRange=null)),i},setRng:function(e,t){var n,i=this;if(e)if(e.select)try{e.select()}catch(e){}else if(i.tridentSel){if(e.cloneRange)try{return void i.tridentSel.addRange(e)}catch(e){}}else if(n=i.getSel()){i.explicitRange=e;try{n.removeAllRanges(),n.addRange(e)}catch(e){}!1===t&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),i.selectedRange=n.rangeCount>0?n.getRangeAt(0):null}},setNode:function(e){var t=this;return t.setContent(t.dom.getOuterHTML(e)),e},getNode:function(){function e(e,t){for(var n=e;e&&3===e.nodeType&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n}var t,n=this,i=n.getRng(),r=i.startContainer,o=i.endContainer,a=i.startOffset,s=i.endOffset,l=n.dom.getRoot();return i?i.setStart?(t=i.commonAncestorContainer,!i.collapsed&&(r==o&&s-a<2&&r.hasChildNodes()&&(t=r.childNodes[a]),3===r.nodeType&&3===o.nodeType&&(r=r.length===a?e(r.nextSibling,!0):r.parentNode,o=0===s?e(o.previousSibling,!1):o.parentNode,r&&r===o))?r:t&&3==t.nodeType?t.parentNode:t):((t=i.item?i.item(0):i.parentElement()).ownerDocument!==n.win.document&&(t=l),t):l},getSelectedBlocks:function(t,n){var i,r,o=this,a=o.dom,s=[];if(r=a.getRoot(),t=a.getParent(t||o.getStart(),a.isBlock),n=a.getParent(n||o.getEnd(),a.isBlock),t&&t!=r&&s.push(t),t&&n&&t!=n){i=t;for(var l=new e(t,r);(i=l.next())&&i!=n;)a.isBlock(i)&&s.push(i)}return n&&t!=n&&n!=r&&s.push(n),s},isForward:function(){var e,t,n=this.dom,i=this.getSel();return!(i&&i.anchorNode&&i.focusNode)||((e=n.createRng()).setStart(i.anchorNode,i.anchorOffset),e.collapse(!0),(t=n.createRng()).setStart(i.focusNode,i.focusOffset),t.collapse(!0),e.compareBoundaryPoints(e.START_TO_START,t)<=0)},normalize:function(){var e=this,t=e.getRng();return a.range&&new r(e.dom).normalize(t)&&e.setRng(t,e.isForward()),t},selectorChanged:function(e,t){var n,i=this;return i.selectorChangedData||(i.selectorChangedData={},n={},i.editor.on("NodeChange",function(e){var t=e.element,r=i.dom,o=r.getParents(t,null,r.getRoot()),a={};c(i.selectorChangedData,function(e,t){c(o,function(i){if(r.is(i,t))return n[t]||(c(e,function(e){e(!0,{node:i,selector:t,parents:o})}),n[t]=e),a[t]=e,!1})}),c(n,function(e,i){a[i]||(delete n[i],c(e,function(e){e(!1,{node:t,selector:i,parents:o})}))})})),i.selectorChangedData[e]||(i.selectorChangedData[e]=[]),i.selectorChangedData[e].push(t),i},getScrollContainer:function(){for(var e,t=this.dom.getRoot();t&&"BODY"!=t.nodeName;){if(t.scrollHeight>t.clientHeight){e=t;break}t=t.parentNode}return e},scrollIntoView:function(e){function t(e){for(var t=0,n=0,i=e;i&&i.nodeType;)t+=i.offsetLeft||0,n+=i.offsetTop||0,i=i.offsetParent;return{x:t,y:n}}var n,i,r,o,a=this,s=a.dom;if("BODY"!=s.getRoot().nodeName){var l=a.getScrollContainer();if(l)return n=t(e).y-t(l).y,o=l.clientHeight,r=l.scrollTop,void((n<r||n+25>r+o)&&(l.scrollTop=n<r?n:n-o+25))}i=s.getViewPort(a.editor.getWin()),n=s.getPos(e).y,r=i.y,o=i.h,(n<i.y||n+25>r+o)&&a.editor.getWin().scrollTo(0,n<r?n:n-o+25)},placeCaretAt:function(e,t){var n,i,r=this.editor.getDoc();if(r.caretPositionFromPoint)i=r.caretPositionFromPoint(e,t),(n=r.createRange()).setStart(i.offsetNode,i.offset),n.collapse(!0);else if(r.caretRangeFromPoint)n=r.caretRangeFromPoint(e,t);else if(r.body.createTextRange){n=r.body.createTextRange();try{n.moveToPoint(e,t),n.collapse(!0)}catch(e){n.collapse(t<r.body.clientHeight)}}this.setRng(n)},_moveEndPoint:function(t,n,i){var r=n,o=new e(n,r),s=this.dom.schema.getNonEmptyElements();do{if(3==n.nodeType&&0!==u(n.nodeValue).length)return void(i?t.setStart(n,0):t.setEnd(n,n.nodeValue.length));if(s[n.nodeName]&&!/^(TD|TH)$/.test(n.nodeName))return void(i?t.setStartBefore(n):"BR"==n.nodeName?t.setEndBefore(n):t.setEndAfter(n));if(a.ie&&a.ie<11&&this.dom.isBlock(n)&&this.dom.isEmpty(n))return void(i?t.setStart(n,0):t.setEnd(n,0))}while(n=i?o.next():o.prev());"BODY"==r.nodeName&&(i?t.setStart(r,0):t.setEnd(r,r.childNodes.length))},destroy:function(){this.win=null,this.controlSelection.destroy()}},l}),i("tinymce/dom/ElementUtils",["tinymce/dom/BookmarkManager","tinymce/util/Tools"],function(e,t){var n=t.each;return function(t){this.compare=function(i,r){function o(e){var i={};return n(t.getAttribs(e),function(n){var r=n.nodeName.toLowerCase();0!==r.indexOf("_")&&"style"!==r&&"data-mce-style"!==r&&(i[r]=t.getAttrib(e,r))}),i}function a(e,t){var n,i;for(i in e)if(e.hasOwnProperty(i)){if(void 0===(n=t[i]))return!1;if(e[i]!=n)return!1;delete t[i]}for(i in t)if(t.hasOwnProperty(i))return!1;return!0}return!(i.nodeName!=r.nodeName||!a(o(i),o(r))||!a(t.parseStyle(t.getAttrib(i,"style")),t.parseStyle(t.getAttrib(r,"style")))||e.isBookmarkNode(i)||e.isBookmarkNode(r))}}}),i("tinymce/fmt/Preview",["tinymce/util/Tools"],function(e){var t=e.each;return{getCssText:function(e,n){function i(e){return e.replace(/%(\w+)/g,"")}var r,o,a,s,l=e.dom,c="";if(!1===(s=e.settings.preview_styles))return"";if(s||(s="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"),"string"==typeof n){if(!(n=e.formatter.get(n)))return;n=n[0]}return r=n.block||n.inline||"span",o=l.create(r),t(n.styles,function(e,t){(e=i(e))&&l.setStyle(o,t,e)}),t(n.attributes,function(e,t){(e=i(e))&&l.setAttrib(o,t,e)}),t(n.classes,function(e){e=i(e),l.hasClass(o,e)||l.addClass(o,e)}),e.fire("PreviewFormats"),l.setStyles(o,{position:"absolute",left:-65535}),e.getBody().appendChild(o),a=l.getStyle(e.getBody(),"fontSize",!0),a=/px$/.test(a)?parseInt(a,10):0,t(s.split(" "),function(t){var n=l.getStyle(o,t,!0);if(!("background-color"==t&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)&&(n=l.getStyle(e.getBody(),t,!0),"#ffffff"==l.toHex(n).toLowerCase())||"color"==t&&"#000000"==l.toHex(n).toLowerCase())){if("font-size"==t&&/em|%$/.test(n)){if(0===a)return;n=(n=parseFloat(n,10)/(/%$/.test(n)?100:1))*a+"px"}"border"==t&&n&&(c+="padding:0 2px;"),c+=t+":"+n+";"}}),e.fire("AfterPreviewFormats"),l.remove(o),c}}}),i("tinymce/Formatter",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/ElementUtils","tinymce/util/Tools","tinymce/fmt/Preview"],function(e,t,n,i,r,o){return function(a){function s(e){return e.nodeType&&(e=e.nodeName),!!a.schema.getTextBlockElements()[e.toLowerCase()]}function l(e){return/^(TH|TD)$/.test(e.nodeName)}function c(e,t){return z.getParents(e,t,z.getRoot())}function u(e){return 1===e.nodeType&&"_mce_caret"===e.id}function d(e){return e?F[e]:F}function f(e,t){e&&("string"!=typeof e?Z(e,function(e,t){f(t,e)}):(t=t.length?t:[t],Z(t,function(e){e.deep===H&&(e.deep=!e.selector),e.split===H&&(e.split=!e.selector||e.inline),e.remove===H&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"==typeof e.classes&&(e.classes=e.classes.split(/\s+/))}),F[e]=t))}function m(e){var t;return a.dom.getParent(e,function(e){return(t=a.dom.getStyle(e,"text-decoration"))&&"none"!==t}),t}function p(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=m(e.parentNode),a.dom.getStyle(e,"color")&&t?a.dom.setStyle(e,"text-decoration",t):a.dom.getStyle(e,"text-decoration")===t&&a.dom.setStyle(e,"text-decoration",null))}function h(t,n,i){function r(e,t){if(t=t||m,e){if(t.onformat&&t.onformat(e,t,n,i),Z(t.styles,function(t,i){z.setStyle(e,i,_(t,n))}),t.styles){var r=z.getAttrib(e,"style");r&&e.setAttribute("data-mce-style",r)}Z(t.attributes,function(t,i){z.setAttrib(e,i,_(t,n))}),Z(t.classes,function(t){t=_(t,n),z.hasClass(e,t)||z.addClass(e,t)})}}function o(e,i,o){var a,l,c=[],d=!0;a=m.inline||m.block,r(l=z.create(a)),U.walk(e,function(e){function i(e){var h,y,b,x,w;return w=d,h=e.nodeName.toLowerCase(),y=e.parentNode.nodeName.toLowerCase(),1===e.nodeType&&J(e)&&(w=d,d="true"===J(e),x=!0),C(h,"br")?(p=0,void(m.block&&z.remove(e))):m.wrapper&&v(e,t,n)?void(p=0):d&&!x&&m.block&&!m.wrapper&&s(h)&&V(y,a)?(e=z.rename(e,a),r(e),c.push(e),void(p=0)):void(m.selector&&(Z(f,function(t){"collapsed"in t&&t.collapsed!==g||z.is(e,t.selector)&&!u(e)&&(r(e,t),b=!0)}),!m.inline||b)?p=0:!d||x||!V(a,h)||!V(y,a)||!o&&3===e.nodeType&&1===e.nodeValue.length&&65279===e.nodeValue.charCodeAt(0)||u(e)||m.inline&&$(e)?(p=0,Z(ee(e.childNodes),i),x&&(d=w),p=0):(p||(p=z.clone(l,G),e.parentNode.insertBefore(p,e),c.push(p)),p.appendChild(e)))}var p;Z(e,i)}),!0===m.links&&Z(c,function(e){function t(e){"A"===e.nodeName&&r(e,m),Z(ee(e.childNodes),t)}t(e)}),Z(c,function(e){var i;if(i=function(e){var t=0;return Z(e.childNodes,function(e){E(e)||Q(e)||t++}),t}(e),!(c.length>1)&&$(e)||0!==i){if(m.inline||m.wrapper){if(m.exact||1!==i||(e=function(e){var t,n;return Z(e.childNodes,function(e){if(1==e.nodeType&&!Q(e)&&!u(e))return t=e,G}),t&&!Q(t)&&b(t,m)&&(r(n=z.clone(t,G)),z.replace(n,e,X),z.remove(t,1)),n||e}(e)),Z(f,function(t){Z(z.select(t.inline,e),function(e){Q(e)||T(t,n,e,t.exact?e:null)})}),v(e.parentNode,t,n))return z.remove(e,1),e=0,X;m.merge_with_parents&&z.getParent(e.parentNode,function(i){if(v(i,t,n))return z.remove(e,1),e=0,X}),e&&!1!==m.merge_siblings&&(e=B(A(e),e),e=B(e,A(e,X)))}}else z.remove(e,1)})}var l,c,f=d(t),m=f[0],g=!i&&W.isCollapsed();if(m)if(i)i.nodeType?((c=z.createRng()).setStartBefore(i),c.setEndAfter(i),o(S(c,f),0,!0)):o(i,0,!0);else if(g&&m.inline&&!z.select("td.mce-item-selected,th.mce-item-selected").length)M("apply",t,n);else{var y=a.selection.getNode();q||!f[0].defaultBlock||z.getParent(y,z.isBlock)||h(f[0].defaultBlock),a.selection.setRng(function(){var t=a.selection.getRng(),n=t.startContainer,r=t.endContainer;if(n!=r&&0===t.endOffset){var o=function(t,n){var r=new e(n);for(i=r.current();i;i=r.prev())if(i.childNodes.length>1||i==t||"BR"==i.tagName)return i}(n,r),s=3==o.nodeType?o.length:o.childNodes.length;t.setEnd(o,s)}return t}()),l=W.getBookmark(),o(S(W.getRng(X),f)),m.styles&&(m.styles.color||m.styles.textDecoration)&&(te(y,p,"childNodes"),p(y)),W.moveToBookmark(l),L(W.getRng(X)),a.nodeChanged()}}function g(e,t,n,i){function r(e){var n,i,o,a,s;if(1===e.nodeType&&J(e)&&(a=x,x="true"===J(e),s=!0),n=ee(e.childNodes),x&&!s)for(i=0,o=b.length;i<o&&!T(b[i],t,e,e);i++);if(C.deep&&n.length){for(i=0,o=n.length;i<o;i++)r(n[i]);s&&(x=a)}}function o(n){var r;return Z(c(n.parentNode).reverse(),function(n){var o;r||"_start"==n.id||"_end"==n.id||(o=v(n,e,t,i))&&!1!==o.split&&(r=n)}),r}function s(e,n,i,r){var o,a,s,l,c,u;if(e){for(u=e.parentNode,o=n.parentNode;o&&o!=u;o=o.parentNode){for(a=z.clone(o,G),c=0;c<b.length;c++)if(T(b[c],t,a,a)){a=0;break}a&&(s&&a.appendChild(s),l||(l=a),s=a)}!r||C.mixed&&$(e)||(n=z.split(e,n)),s&&(i.parentNode.insertBefore(s,i),l.appendChild(i))}return n}function u(e){return s(o(e),e,e,!0)}function f(e){var t=z.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return Q(n)&&(n=n[e?"firstChild":"lastChild"]),3==n.nodeType&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),z.remove(t,!0),n}function p(e){var t,n,i=e.commonAncestorContainer;if(e=S(e,b,X),C.split){if(t=D(e,X),n=D(e),t!=n){if(/^(TR|TH|TD)$/.test(t.nodeName)&&t.firstChild&&(t="TR"==t.nodeName?t.firstChild.firstChild||t:t.firstChild||t),i&&/^T(HEAD|BODY|FOOT|R)$/.test(i.nodeName)&&l(n)&&n.firstChild&&(n=n.firstChild||n),z.isChildOf(t,n)&&!l(t)&&!l(n))return t=N(t,"span",{id:"_start","data-mce-type":"bookmark"}),u(t),void(t=f(X));t=N(t,"span",{id:"_start","data-mce-type":"bookmark"}),n=N(n,"span",{id:"_end","data-mce-type":"bookmark"}),u(t),u(n),t=f(X),n=f()}else t=n=u(t);e.startContainer=t.parentNode?t.parentNode:t,e.startOffset=j(t),e.endContainer=n.parentNode?n.parentNode:n,e.endOffset=j(n)+1}U.walk(e,function(e){Z(e,function(e){r(e),1===e.nodeType&&"underline"===a.dom.getStyle(e,"text-decoration")&&e.parentNode&&"underline"===m(e.parentNode)&&T({deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,e)})})}var h,g,b=d(e),C=b[0],x=!0;n?n.nodeType?((g=z.createRng()).setStartBefore(n),g.setEndAfter(n),p(g)):p(n):W.isCollapsed()&&C.inline&&!z.select("td.mce-item-selected,th.mce-item-selected").length?M("remove",e,t,i):(h=W.getBookmark(),p(W.getRng(X)),W.moveToBookmark(h),C.inline&&y(e,t,W.getStart())&&L(W.getRng(!0)),a.nodeChanged())}function v(e,t,n,i){function r(e,t,r){var o,a,s,l=t[r];if(t.onmatch)return t.onmatch(e,t,r);if(l)if(l.length===H){for(o in l)if(l.hasOwnProperty(o)){if(a="attributes"===r?z.getAttrib(e,o):x(e,o),i&&!a&&!t.exact)return;if((!i||t.exact)&&!C(a,w(_(l[o],n),o)))return}}else for(s=0;s<l.length;s++)if("attributes"===r?z.getAttrib(e,l[s]):x(e,l[s]))return t;return t}var o,a,s,l=d(t);if(l&&e)for(a=0;a<l.length;a++)if(o=l[a],b(e,o)&&r(e,o,"attributes")&&r(e,o,"styles")){if(s=o.classes)for(a=0;a<s.length;a++)if(!z.hasClass(e,s[a]))return;return o}}function y(e,t,n){function i(n){var i=z.getRoot();return n!==i&&(n=z.getParent(n,function(n){return n.parentNode===i||!!v(n,e,t,!0)}),v(n,e,t))}var r;return n?i(n):(n=W.getNode(),i(n)?X:(r=W.getStart())!=n&&i(r)?X:G)}function b(e,t){return C(e,t.inline)?X:C(e,t.block)?X:t.selector?1==e.nodeType&&z.is(e,t.selector):void 0}function C(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function x(e,t){return w(z.getStyle(e,t),t)}function w(e,t){return"color"!=t&&"backgroundColor"!=t||(e=z.toHex(e)),"fontWeight"==t&&700==e&&(e="bold"),"fontFamily"==t&&(e=e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+e}function _(e,t){return"string"!=typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function E(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function N(e,t,n){var i=z.create(t,n);return e.parentNode.insertBefore(i,e),i.appendChild(e),i}function S(t,n,i){function r(e){var t,i,r,o,a;if(t=i=e?g:y,o=e?"previousSibling":"nextSibling",a=z.getRoot(),3==t.nodeType&&!E(t)&&(e?v>0:b<t.nodeValue.length))return t;for(;;){if(!n[0].block_expand&&$(i))return i;for(r=i[o];r;r=r[o])if(!Q(r)&&!E(r)&&!function(e){return"BR"==e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}(r))return i;if(i.parentNode==a){t=i;break}i=i.parentNode}return t}function o(e,t){for(t===H&&(t=3===e.nodeType?e.length:e.childNodes.length);e&&e.hasChildNodes();)(e=e.childNodes[t])&&(t=3===e.nodeType?e.length:e.childNodes.length);return{node:e,offset:t}}function l(e){for(var t=e;t;){if(1===t.nodeType&&J(t))return"false"===J(t)?t:e;t=t.parentNode}return e}function u(t,n,r){function o(e,t){var n,o,a=e.nodeValue;return void 0===t&&(t=r?a.length:0),r?-1===(n=(n=a.lastIndexOf(" ",t))>(o=a.lastIndexOf(" ",t))?n:o)||i||n++:(n=a.indexOf(" ",t),o=a.indexOf(" ",t),n=-1!==n&&(-1===o||n<o)?n:o),n}var s,l,c,u;if(3===t.nodeType){if(-1!==(c=o(t,n)))return{container:t,offset:c};u=t}for(s=new e(t,z.getParent(t,$)||a.getBody());l=s[r?"prev":"next"]();)if(3===l.nodeType){if(u=l,-1!==(c=o(l)))return{container:l,offset:c}}else if($(l))break;if(u)return n=r?0:u.length,{container:u,offset:n}}function d(e,i){var r,o,a,s;for(3==e.nodeType&&0===e.nodeValue.length&&e[i]&&(e=e[i]),r=c(e),o=0;o<r.length;o++)for(a=0;a<n.length;a++)if(!("collapsed"in(s=n[a])&&s.collapsed!==t.collapsed)&&z.is(r[o],s.selector))return r[o];return e}function f(e,t){var i,r=z.getRoot();if(n[0].wrapper||(i=z.getParent(e,n[0].block,r)),i||(i=z.getParent(3==e.nodeType?e.parentNode:e,function(e){return e!=r&&s(e)})),i&&n[0].wrapper&&(i=c(i,"ul,ol").reverse()[0]||i),!i)for(i=e;i[t]&&!$(i[t])&&(i=i[t],!C(i,"br")););return i||e}var m,p,h,g=t.startContainer,v=t.startOffset,y=t.endContainer,b=t.endOffset;if(1==g.nodeType&&g.hasChildNodes()&&(m=g.childNodes.length-1,3==(g=g.childNodes[v>m?m:v]).nodeType&&(v=0)),1==y.nodeType&&y.hasChildNodes()&&(m=y.childNodes.length-1,3==(y=y.childNodes[b>m?m:b-1]).nodeType&&(b=y.nodeValue.length)),g=l(g),y=l(y),(Q(g.parentNode)||Q(g))&&(g=Q(g)?g:g.parentNode,3==(g=g.nextSibling||g).nodeType&&(v=0)),(Q(y.parentNode)||Q(y))&&(y=Q(y)?y:y.parentNode,3==(y=y.previousSibling||y).nodeType&&(b=y.length)),n[0].inline&&(t.collapsed&&((h=u(g,v,!0))&&(g=h.container,v=h.offset),(h=u(y,b))&&(y=h.container,b=h.offset)),(p=o(y,b)).node)){for(;p.node&&0===p.offset&&p.node.previousSibling;)p=o(p.node.previousSibling);p.node&&p.offset>0&&3===p.node.nodeType&&" "===p.node.nodeValue.charAt(p.offset-1)&&p.offset>1&&(y=p.node).splitText(p.offset-1)}return(n[0].inline||n[0].block_expand)&&(n[0].inline&&3==g.nodeType&&0!==v||(g=r(!0)),n[0].inline&&3==y.nodeType&&b!==y.nodeValue.length||(y=r())),n[0].selector&&n[0].expand!==G&&!n[0].inline&&(g=d(g,"previousSibling"),y=d(y,"nextSibling")),(n[0].block||n[0].selector)&&(g=f(g,"previousSibling"),y=f(y,"nextSibling"),n[0].block&&($(g)||(g=r(!0)),$(y)||(y=r()))),1==g.nodeType&&(v=j(g),g=g.parentNode),1==y.nodeType&&(b=j(y)+1,y=y.parentNode),{startContainer:g,startOffset:v,endContainer:y,endOffset:b}}function k(e,t){return t.links&&"A"==e.tagName}function T(e,t,n,i){var r,o,a;if(!b(n,e)&&!k(n,e))return G;if("all"!=e.remove)for(Z(e.styles,function(r,o){r=w(_(r,t),o),"number"==typeof o&&(o=r,i=0),(e.remove_similar||!i||C(x(i,o),r))&&z.setStyle(n,o,""),a=1}),a&&""===z.getAttrib(n,"style")&&(n.removeAttribute("style"),n.removeAttribute("data-mce-style")),Z(e.attributes,function(e,r){var o;if(e=_(e,t),"number"==typeof r&&(r=e,i=0),!i||C(z.getAttrib(i,r),e)){if("class"==r&&(e=z.getAttrib(n,r))&&(o="",Z(e.split(/\s+/),function(e){/mce\-\w+/.test(e)&&(o+=(o?" ":"")+e)}),o))return void z.setAttrib(n,r,o);"class"==r&&n.removeAttribute("className"),Y.test(r)&&n.removeAttribute("data-mce-"+r),n.removeAttribute(r)}}),Z(e.classes,function(e){e=_(e,t),i&&!z.hasClass(i,e)||z.removeClass(n,e)}),o=z.getAttribs(n),r=0;r<o.length;r++)if(0!==o[r].nodeName.indexOf("_"))return G;return"none"!=e.remove?(R(n,e),X):void 0}function R(e,t){function n(e,t,n){return!(e=A(e,t,n))||"BR"==e.nodeName||$(e)}var i,r=e.parentNode;t.block&&(q?r==z.getRoot()&&(t.list_block&&C(e,t.list_block)||Z(ee(e.childNodes),function(e){V(q,e.nodeName.toLowerCase())?i?i.appendChild(e):(i=N(e,q),z.setAttribs(i,a.settings.forced_root_block_attrs)):i=0})):$(e)&&!$(r)&&(n(e,G)||n(e.firstChild,X,1)||e.insertBefore(z.create("br"),e.firstChild),n(e,X)||n(e.lastChild,G,1)||e.appendChild(z.create("br")))),t.selector&&t.inline&&!C(t.inline,e)||z.remove(e,1)}function A(e,t,n){if(e)for(t=t?"nextSibling":"previousSibling",e=n?e:e[t];e;e=e[t])if(1==e.nodeType||!E(e))return e}function B(e,t){function n(e,t){for(r=e;r;r=r[t]){if(3==r.nodeType&&0!==r.nodeValue.length)return e;if(1==r.nodeType&&!Q(r))return r}return e}var r,o,a=new i(z);if(e&&t&&(e=n(e,"previousSibling"),t=n(t,"nextSibling"),a.compare(e,t))){for(r=e.nextSibling;r&&r!=t;)o=r,r=r.nextSibling,e.appendChild(o);return z.remove(t),Z(ee(t.childNodes),function(t){e.appendChild(t)}),e}return t}function D(t,n){var i,r,o;return i=t[n?"startContainer":"endContainer"],r=t[n?"startOffset":"endOffset"],1==i.nodeType&&(o=i.childNodes.length-1,!n&&r&&r--,i=i.childNodes[r>o?o:r]),3===i.nodeType&&n&&r>=i.nodeValue.length&&(i=new e(i,a.getBody()).next()||i),3!==i.nodeType||n||0!==r||(i=new e(i,a.getBody()).prev()||i),i}function M(t,n,i,r){function o(e){var t=z.create("span",{id:p,"data-mce-bogus":!0,style:y?"color:red":""});return e&&t.appendChild(a.getDoc().createTextNode(K)),t}function l(e,t){for(;e;){if(3===e.nodeType&&e.nodeValue!==K||e.childNodes.length>1)return!1;t&&1===e.nodeType&&t.push(e),e=e.firstChild}return!0}function c(e){for(;e;){if(e.id===p)return e;e=e.parentNode}}function u(t){var n;if(t)for(t=(n=new e(t,t)).current();t;t=n.next())if(3===t.nodeType)return t}function f(e,t){var n,i;if(e)i=W.getRng(!0),l(e)?(!1!==t&&(i.setStartBefore(e),i.setEndBefore(e)),z.remove(e)):((n=u(e)).nodeValue.charAt(0)===K&&(n.deleteData(0,1),i.startContainer==n&&i.startOffset>0&&i.setStart(n,i.startOffset-1),i.endContainer==n&&i.endOffset>0&&i.setEnd(n,i.endOffset-1)),z.remove(e,1)),W.setRng(i);else if(!(e=c(W.getStart())))for(;e=z.get(p);)f(e,!1)}function m(){var e;(e=c(W.getStart()))&&!z.isEmpty(e)&&te(e,function(e){1!=e.nodeType||e.id===p||z.isEmpty(e)||z.setAttrib(e,"data-mce-bogus",null)},"childNodes")}var p="_mce_caret",y=a.settings.caret_debug;a._hasCaretEvents||(I=function(){var e,t=[];if(l(c(W.getStart()),t))for(e=t.length;e--;)z.setAttrib(t[e],"data-mce-bogus","1")},O=function(e){var t=e.keyCode;f(),(8==t&&W.isCollapsed()||37==t||39==t)&&f(c(W.getStart())),m()},a.on("SetContent",function(e){e.selection&&m()}),a._hasCaretEvents=!0),"apply"==t?function(){var e,t,r,a,s,l;a=(e=W.getRng(!0)).startOffset,l=e.startContainer.nodeValue,(t=c(W.getStart()))&&(r=u(t)),l&&a>0&&a<l.length&&/\w/.test(l.charAt(a))&&/\w/.test(l.charAt(a-1))?(s=W.getBookmark(),e.collapse(!0),e=S(e,d(n)),e=U.split(e),h(n,i,e),W.moveToBookmark(s)):(t&&r.nodeValue===K?h(n,i,t):(r=(t=o(!0)).firstChild,e.insertNode(t),a=1,h(n,i,t)),W.setCursorLocation(r,a))}():function(){var e,t,a,l,c,u,f,m,p=W.getRng(!0),h=[];for(e=p.startContainer,t=p.startOffset,c=e,3==e.nodeType&&(t!=e.nodeValue.length&&(l=!0),c=c.parentNode);c;){if(v(c,n,i,r)){u=c;break}c.nextSibling&&(l=!0),h.push(c),c=c.parentNode}if(u)if(l)a=W.getBookmark(),p.collapse(!0),p=S(p,d(n),!0),p=U.split(p),g(n,i,p),W.moveToBookmark(a);else{for(c=m=o(),f=h.length-1;f>=0;f--)c.appendChild(z.clone(h[f],!1)),c=c.firstChild;c.appendChild(z.doc.createTextNode(K)),c=c.firstChild;var y=z.getParent(u,s);y&&z.isEmpty(y)?u.parentNode.replaceChild(m,u):z.insertAfter(m,u),W.setCursorLocation(c,1),z.isEmpty(u)&&z.remove(u)}}()}function L(t){var n,i,r,o,a,s=t.startContainer,l=t.startOffset;if(3==s.nodeType&&l>=s.nodeValue.length&&(l=j(s),s=s.parentNode,n=!0),1==s.nodeType)for(s=(o=s.childNodes)[Math.min(l,o.length-1)],i=new e(s,z.getParent(s,z.isBlock)),(l>o.length-1||n)&&i.next(),r=i.current();r;r=i.next())if(3==r.nodeType&&!E(r))return a=z.create("a",{"data-mce-bogus":"all"},K),r.parentNode.insertBefore(a,r),t.setStart(r,0),W.setRng(t),void z.remove(a)}var P,H,O,I,F={},z=a.dom,W=a.selection,U=new t(z),V=a.schema.isValidChild,$=z.isBlock,q=a.settings.forced_root_block,j=z.nodeIndex,K="\ufeff",Y=/^(src|href|style)$/,G=!1,X=!0,J=z.getContentEditable,Q=n.isBookmarkNode,Z=r.each,ee=r.grep,te=r.walk;(0,r.extend)(this,{get:d,register:f,unregister:function(e){return e&&F[e]&&delete F[e],F},apply:h,remove:g,toggle:function(e,t,n){var i=d(e);!y(e,t,n)||"toggle"in i[0]&&!i[0].toggle?h(e,t,n):g(e,t,n)},match:y,matchAll:function(e,t){var n,i=[],r={};return n=W.getStart(),z.getParent(n,function(n){var o,a;for(o=0;o<e.length;o++)a=e[o],!r[a]&&v(n,a,t)&&(r[a]=!0,i.push(a))},z.getRoot()),i},matchNode:v,canApply:function(e){var t,n,i,r,o=d(e);if(o)for(t=c(W.getStart()),i=o.length-1;i>=0;i--){if(!(r=o[i].selector)||o[i].defaultBlock)return X;for(n=t.length-1;n>=0;n--)if(z.is(t[n],r))return X}return G},formatChanged:function(e,t,n){var i;return P||(P={},i={},a.on("NodeChange",function(e){var t=c(e.element),n={};t=r.grep(t,function(e){return 1==e.nodeType&&!e.getAttribute("data-mce-bogus")}),Z(P,function(e,r){Z(t,function(o){if(v(o,r,{},e.similar))return i[r]||(Z(e,function(e){e(!0,{node:o,format:r,parents:t})}),i[r]=e),n[r]=e,!1})}),Z(i,function(r,o){n[o]||(delete i[o],Z(r,function(n){n(!1,{node:e.element,format:o,parents:t})}))})})),Z(e.split(","),function(e){P[e]||(P[e]=[],P[e].similar=n),P[e].push(t)}),this},getCssText:function(e){return o.getCssText(a,e)}}),f({valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"right"}}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(e,t,n){Z(n,function(t,n){z.setAttrib(e,n,t)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]}),Z("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),function(e){f(e,{block:e,remove:"all"})}),f(a.settings.formats),function(){a.addShortcut("meta+b","bold_desc","Bold"),a.addShortcut("meta+i","italic_desc","Italic"),a.addShortcut("meta+u","underline_desc","Underline");for(var e=1;e<=6;e++)a.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);a.addShortcut("access+7","",["FormatBlock",!1,"p"]),a.addShortcut("access+8","",["FormatBlock",!1,"div"]),a.addShortcut("access+9","",["FormatBlock",!1,"address"])}(),a.on("BeforeGetContent",function(e){I&&"raw"!=e.format&&I()}),a.on("mouseup keydown",function(e){O&&O(e)})}}),i("tinymce/UndoManager",["tinymce/util/VK","tinymce/Env","tinymce/util/Tools","tinymce/html/SaxParser"],function(e,t,n,i){var r,o=n.trim;return r=new RegExp(["<span[^>]+data-mce-bogus[^>]+>[​\ufeff]+<\\/span>",'\\s?data-mce-selected="[^"]+"'].join("|"),"gi"),function(e){function n(){var t,n,a,s,l,c=e.getContent({format:"raw",no_events:1}),u=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,d=e.schema;for(c=c.replace(r,""),l=d.getShortEndedElements();s=u.exec(c);)n=u.lastIndex,a=s[0].length,t=l[s[1]]?n:i.findEndTag(d,c,n),c=c.substring(0,n-a)+c.substring(t),u.lastIndex=n-a;return o(c)}function a(t){e.isNotDirty=!t}function s(e){u.typing=!1,u.add({},e)}var l,c,u=this,d=0,f=[],m=0;return e.on("init",function(){u.add()}),e.on("BeforeExecCommand",function(e){var t=e.command;"Undo"!=t&&"Redo"!=t&&"mceRepaint"!=t&&u.beforeChange()}),e.on("ExecCommand",function(e){var t=e.command;"Undo"!=t&&"Redo"!=t&&"mceRepaint"!=t&&s(e)}),e.on("ObjectResizeStart",function(){u.beforeChange()}),e.on("SaveContent ObjectResized blur",s),e.on("DragEnd",s),e.on("KeyUp",function(i){var r=i.keyCode;(r>=33&&r<=36||r>=37&&r<=40||45==r||13==r||i.ctrlKey)&&(s(),e.nodeChanged()),(46==r||8==r||t.mac&&(91==r||93==r))&&e.nodeChanged(),c&&u.typing&&(e.isDirty()||(a(f[0]&&n()!=f[0].content),e.isNotDirty||e.fire("change",{level:f[0],lastLevel:null})),e.fire("TypingUndo"),c=!1,e.nodeChanged())}),e.on("KeyDown",function(e){var t=e.keyCode;if(t>=33&&t<=36||t>=37&&t<=40||45==t)u.typing&&s(e);else{var n=e.ctrlKey&&!e.altKey||e.metaKey;!(t<16||t>20)||224==t||91==t||u.typing||n||(u.beforeChange(),u.typing=!0,u.add({},e),c=!0)}}),e.on("MouseDown",function(e){u.typing&&s(e)}),e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo"),e.on("AddUndo Undo Redo ClearUndos",function(t){t.isDefaultPrevented()||e.nodeChanged()}),u={data:f,typing:!1,beforeChange:function(){m||(l=e.selection.getBookmark(2,!0))},add:function(t,i){var r,o,s=e.settings;if(t=t||{},t.content=n(),m||e.removed)return null;if(o=f[d],e.fire("BeforeAddUndo",{level:t,lastLevel:o,originalEvent:i}).isDefaultPrevented())return null;if(o&&o.content==t.content)return null;if(f[d]&&(f[d].beforeBookmark=l),s.custom_undo_redo_levels&&f.length>s.custom_undo_redo_levels){for(r=0;r<f.length-1;r++)f[r]=f[r+1];f.length--,d=f.length}t.bookmark=e.selection.getBookmark(2,!0),d<f.length-1&&(f.length=d+1),f.push(t),d=f.length-1;var c={level:t,lastLevel:o,originalEvent:i};return e.fire("AddUndo",c),d>0&&(a(!0),e.fire("change",c)),t},undo:function(){var t;return u.typing&&(u.add(),u.typing=!1),d>0&&(t=f[--d],0===d&&a(!1),e.setContent(t.content,{format:"raw"}),e.selection.moveToBookmark(t.beforeBookmark),e.fire("undo",{level:t})),t},redo:function(){var t;return d<f.length-1&&(t=f[++d],e.setContent(t.content,{format:"raw"}),e.selection.moveToBookmark(t.bookmark),a(!0),e.fire("redo",{level:t})),t},clear:function(){f=[],d=0,u.typing=!1,e.fire("ClearUndos")},hasUndo:function(){return d>0||u.typing&&f[0]&&n()!=f[0].content},hasRedo:function(){return d<f.length-1&&!this.typing},transact:function(e){u.beforeChange();try{m++,e()}finally{m--}u.add()}}}}),i("tinymce/EnterKey",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/Env"],function(e,t,n){var i=n.ie&&n.ie<11;return function(r){function o(o){function m(e){return e&&a.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&!/^(fixed|absolute)/i.test(e.style.position)&&"true"!==a.getContentEditable(e)}function p(e){var t;a.isBlock(e)&&(t=s.getRng(),e.appendChild(a.create("span",null," ")),s.select(e),e.lastChild.outerHTML="",s.setRng(t))}function h(t){var i,r,o,l,c=t;if(t){if(n.ie&&n.ie<9&&N&&N.firstChild&&N.firstChild==N.lastChild&&"BR"==N.firstChild.tagName&&a.remove(N.firstChild),/^(LI|DT|DD)$/.test(t.nodeName)){var u=function(e){for(;e;){if(1==e.nodeType||3==e.nodeType&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}}(t.firstChild);u&&/^(UL|OL|DL)$/.test(u.nodeName)&&t.insertBefore(a.doc.createTextNode(" "),t.firstChild)}if(o=a.createRng(),n.ie||t.normalize(),t.hasChildNodes()){for(i=new e(t,t);r=i.current();){if(3==r.nodeType){o.setStart(r,0),o.setEnd(r,0);break}if(f[r.nodeName.toLowerCase()]){o.setStartBefore(r),o.setEndBefore(r);break}c=r,r=i.next()}r||(o.setStart(c,0),o.setEnd(c,0))}else"BR"==t.nodeName?t.nextSibling&&a.isBlock(t.nextSibling)?((!S||S<9)&&(l=a.create("br"),t.parentNode.insertBefore(l,t)),o.setStartBefore(t),o.setEndBefore(t)):(o.setStartAfter(t),o.setEndAfter(t)):(o.setStart(t,0),o.setEnd(t,0));s.setRng(o),a.remove(l),s.scrollIntoView(t)}}function g(e){var t=l.forced_root_block;t&&t.toLowerCase()===e.tagName.toLowerCase()&&a.setAttribs(e,l.forced_root_block_attrs)}function v(e){var t,n,r,o=_,s=u.getTextInlineElements();if(e||"TABLE"==B?g(t=a.create(e||M)):t=N.cloneNode(!1),r=t,!1!==l.keep_styles)do{if(s[o.nodeName]){if("_mce_caret"==o.id)continue;n=o.cloneNode(!1),a.setAttrib(n,"id",""),t.hasChildNodes()?(n.appendChild(t.firstChild),t.appendChild(n)):(r=n,t.appendChild(n))}}while(o=o.parentNode);return i||(r.innerHTML='<br data-mce-bogus="1">'),t}function y(t){var n,i,r;if(3==_.nodeType&&(t?E>0:E<_.nodeValue.length))return!1;if(_.parentNode==N&&L&&!t)return!0;if(t&&1==_.nodeType&&_==N.firstChild)return!0;if("TABLE"===_.nodeName||_.previousSibling&&"TABLE"==_.previousSibling.nodeName)return L&&!t||!L&&t;for(n=new e(_,N),3==_.nodeType&&(t&&0===E?n.prev():t||E!=_.nodeValue.length||n.next());i=n.current();){if(1===i.nodeType){if(!i.getAttribute("data-mce-bogus")&&(r=i.nodeName.toLowerCase(),d[r]&&"br"!==r))return!1}else if(3===i.nodeType&&!/^[ \t\r\n]*$/.test(i.nodeValue))return!1;t?n.prev():n.next()}return!0}function b(){r.execCommand("InsertLineBreak",!1,o)}var C,x,w,_,E,N,S,k,T,R,A,B,D,M,L;if(C=s.getRng(!0),!o.isDefaultPrevented())if(C.collapsed){if(new t(a).normalize(C),_=C.startContainer,E=C.startOffset,M=(l.force_p_newlines?"p":"")||l.forced_root_block,M=M?M.toUpperCase():"",S=a.doc.documentMode,k=o.shiftKey,1==_.nodeType&&_.hasChildNodes()&&(L=E>_.childNodes.length-1,_=_.childNodes[Math.min(E,_.childNodes.length-1)]||_,E=L&&3==_.nodeType?_.nodeValue.length:0),w=function(e){var t,n,i=a.getRoot();for(t=e;t!==i&&"false"!==a.getContentEditable(t);)"true"===a.getContentEditable(t)&&(n=t),t=t.parentNode;return t!==i?n:i}(_))if(c.beforeChange(),a.isBlock(w)||w==a.getRoot()){if((M&&!k||!M&&k)&&(_=function(e,t){var n,i,o,s,l,c,d=M||"P";if(i=a.getParent(e,a.isBlock),c=r.getBody().nodeName.toLowerCase(),!i||!m(i)){if(!(i=i||w).hasChildNodes())return n=a.create(d),g(n),i.appendChild(n),C.setStart(n,0),C.setEnd(n,0),n;for(s=e;s.parentNode!=i;)s=s.parentNode;for(;s&&!a.isBlock(s);)o=s,s=s.previousSibling;if(o&&u.isValidChild(c,d.toLowerCase())){for(g(n=a.create(d)),o.parentNode.insertBefore(n,o),s=o;s&&!a.isBlock(s);)l=s.nextSibling,n.appendChild(s),s=l;C.setStart(e,t),C.setEnd(e,t)}}return e}(_,E)),N=a.getParent(_,a.isBlock),A=N?a.getParent(N.parentNode,a.isBlock):null,B=N?N.nodeName.toUpperCase():"","LI"!=(D=A?A.nodeName.toUpperCase():"")||o.ctrlKey||(N=A,B=D),/^(LI|DT|DD)$/.test(B)){if(!M&&k)return void b();if(a.isEmpty(N))return void function(){function e(e){for(var t=A[e?"firstChild":"lastChild"];t&&1!=t.nodeType;)t=t[e?"nextSibling":"previousSibling"];return t===N}function t(){var e=A.parentNode;return/^(LI|DT|DD)$/.test(e.nodeName)?e:A}var n=A.parentNode.nodeName;/^(OL|UL|LI)$/.test(n)&&(M="LI"),T=M?v(M):a.create("BR"),e(!0)&&e()?"LI"==n?a.insertAfter(T,t()):a.replace(T,A):e(!0)?"LI"==n?(a.insertAfter(T,t()),T.appendChild(a.doc.createTextNode(" ")),T.appendChild(A)):A.parentNode.insertBefore(T,A):e()?(a.insertAfter(T,t()),p(T)):(A=t(),(x=C.cloneRange()).setStartAfter(N),x.setEndAfter(A),R=x.extractContents(),"LI"==M&&"LI"==R.firstChild.nodeName?(T=R.firstChild,a.insertAfter(R,A)):(a.insertAfter(R,A),a.insertAfter(T,A))),a.remove(N),h(T),c.add()}()}if("PRE"==B&&!1!==l.br_in_pre){if(!k)return void b()}else if(!M&&!k&&"LI"!=B||M&&k)return void b();M&&N===r.getBody()||(M=M||"P",y()?(T=/^(H[1-6]|PRE|FIGURE)$/.test(B)&&"HGROUP"!=D?v(M):v(),l.end_container_on_empty_block&&m(A)&&a.isEmpty(N)?T=a.split(A,N):a.insertAfter(T,N),h(T)):y(!0)?(p(T=N.parentNode.insertBefore(v(),N)),h(N)):((x=C.cloneRange()).setEndAfter(N),function(e){do{3===e.nodeType&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild}while(e)}(R=x.extractContents()),T=R.firstChild,a.insertAfter(R,N),function(e){var t,n=e,i=[];if(n){for(;n=n.firstChild;){if(a.isBlock(n))return;1!=n.nodeType||d[n.nodeName.toLowerCase()]||i.push(n)}for(t=i.length;t--;)!(n=i[t]).hasChildNodes()||n.firstChild==n.lastChild&&""===n.firstChild.nodeValue?a.remove(n):"A"==n.nodeName&&" "===(n.innerText||n.textContent)&&a.remove(n)}}(T),function(e){var t;i||(e.normalize(),(t=e.lastChild)&&!/^(left|right)$/gi.test(a.getStyle(t,"float",!0))||a.add(e,"br"))}(N),h(T)),a.setAttrib(T,"id",""),r.fire("NewBlock",{newBlock:T}),c.add())}else M&&!k||b()}else r.execCommand("Delete")}var a=r.dom,s=r.selection,l=r.settings,c=r.undoManager,u=r.schema,d=u.getNonEmptyElements(),f=u.getMoveCaretBeforeOnEnterElements();r.on("keydown",function(e){13==e.keyCode&&!1!==o(e)&&e.preventDefault()})}}),i("tinymce/ForceBlocks",[],function(){return function(e){var t=e.settings,n=e.dom,i=e.selection,r=e.schema,o=r.getBlockElements();t.forced_root_block&&e.on("NodeChange",function(){var a,s,l,c,u,d,f,m,p,h,g,v,y=i.getStart(),b=e.getBody();if(v=t.forced_root_block,y&&1===y.nodeType&&v){for(;y&&y!=b;){if(o[y.nodeName])return;y=y.parentNode}if((a=i.getRng()).setStart){s=a.startContainer,l=a.startOffset,c=a.endContainer,u=a.endOffset;try{p=e.getDoc().activeElement===b}catch(e){}}else a.item&&(y=a.item(0),(a=e.getDoc().body.createTextRange()).moveToElementText(y)),p=a.parentElement().ownerDocument===e.getDoc(),(h=a.duplicate()).collapse(!0),l=-1*h.move("character",-16777215),h.collapsed||((h=a.duplicate()).collapse(!1),u=-1*h.move("character",-16777215)-l);for(y=b.firstChild,g=b.nodeName.toLowerCase();y;)if((3===y.nodeType||1==y.nodeType&&!o[y.nodeName])&&r.isValidChild(g,v.toLowerCase())){if(3===y.nodeType&&0===y.nodeValue.length){f=y,y=y.nextSibling,n.remove(f);continue}d||(d=n.create(v,e.settings.forced_root_block_attrs),y.parentNode.insertBefore(d,y),m=!0),f=y,y=y.nextSibling,d.appendChild(f)}else d=null,y=y.nextSibling;if(m&&p){if(a.setStart)a.setStart(s,l),a.setEnd(c,u),i.setRng(a);else try{(a=e.getDoc().body.createTextRange()).moveToElementText(b),a.collapse(!0),a.moveStart("character",l),u>0&&a.moveEnd("character",u),a.select()}catch(e){}e.nodeChanged()}}})}}),i("tinymce/EditorCommands",["tinymce/html/Serializer","tinymce/Env","tinymce/util/Tools","tinymce/dom/ElementUtils","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker"],function(e,n,i,r,o,a){var s=i.each,l=i.extend,c=i.map,u=i.inArray,d=i.explode,f=n.gecko,m=n.ie,p=n.ie&&n.ie<11,h=!1;return function(i){function g(e,t,n,r){var o,a,c=0;if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||r&&r.skip_focus||i.focus(),r=l({},r),(r=i.fire("BeforeExecCommand",{command:e,ui:t,value:n})).isDefaultPrevented())return!1;if(a=e.toLowerCase(),o=T.exec[a])return o(a,t,n),i.fire("ExecCommand",{command:e,ui:t,value:n}),!0;if(s(i.plugins,function(r){if(r.execCommand&&r.execCommand(e,t,n))return i.fire("ExecCommand",{command:e,ui:t,value:n}),c=!0,!1}),c)return c;if(i.theme&&i.theme.execCommand&&i.theme.execCommand(e,t,n))return i.fire("ExecCommand",{command:e,ui:t,value:n}),!0;try{c=i.getDoc().execCommand(e,t,n)}catch(e){}return!!c&&(i.fire("ExecCommand",{command:e,ui:t,value:n}),!0)}function v(e){var t;if(!i._isHidden()){if(e=e.toLowerCase(),t=T.state[e])return t(e);try{return i.getDoc().queryCommandState(e)}catch(e){}return!1}}function y(e,t){t=t||"exec",s(e,function(e,n){s(n.toLowerCase().split(","),function(n){T[t][n]=e})})}function b(e,n,r){return n===t&&(n=h),r===t&&(r=null),i.getDoc().execCommand(e,n,r)}function C(e){return S.match(e)}function x(e,n){S.toggle(e,n?{value:n}:t),i.nodeChanged()}function w(e){k=N.getBookmark(e)}function _(){N.moveToBookmark(k)}var E,N,S,k,T={state:{},exec:{},value:{}},R=i.settings;i.on("PreInit",function(){E=i.dom,N=i.selection,R=i.settings,S=i.formatter}),l(this,{execCommand:g,queryCommandState:v,queryCommandValue:function(e){var t;if(!i._isHidden()){if(e=e.toLowerCase(),t=T.value[e])return t(e);try{return i.getDoc().queryCommandValue(e)}catch(e){}}},queryCommandSupported:function(e){if(e=e.toLowerCase(),T.exec[e])return!0;try{return i.getDoc().queryCommandSupported(e)}catch(e){}return!1},addCommands:y,addCommand:function(e,t,n){e=e.toLowerCase(),T.exec[e]=function(e,r,o,a){return t.call(n||i,r,o,a)}},addQueryStateHandler:function(e,t,n){e=e.toLowerCase(),T.state[e]=function(){return t.call(n||i)}},addQueryValueHandler:function(e,t,n){e=e.toLowerCase(),T.value[e]=function(){return t.call(n||i)}},hasCustomCommand:function(e){return e=e.toLowerCase(),!!T.exec[e]}}),y({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){i.undoManager.add()},"Cut,Copy,Paste":function(e){var t,r=i.getDoc();try{b(e)}catch(e){t=!0}if(t||!r.queryCommandSupported(e)){var o=i.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");n.mac&&(o=o.replace(/Ctrl\+/g,"⌘+")),i.windowManager.alert(o)}},unlink:function(){if(N.isCollapsed()){var e=N.getNode();"A"==e.tagName&&i.dom.remove(e,!0)}else S.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t=e.substring(7);"full"==t&&(t="justify"),s("left,center,right,justify".split(","),function(e){t!=e&&S.remove("align"+e)}),x("align"+t),g("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;b(e),(t=E.getParent(N.getNode(),"ol,ul"))&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(w(),E.split(n,t),_()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){x(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){x(e,n)},FontSize:function(e,t,n){var i,r;n>=1&&n<=7&&(r=d(R.font_size_style_values),n=(i=d(R.font_size_classes))?i[n-1]||n:r[n-1]||n),x(e,n)},RemoveFormat:function(e){S.remove(e)},mceBlockQuote:function(){x("blockquote")},FormatBlock:function(e,t,n){return x(n||"p")},mceCleanup:function(){var e=N.getBookmark();i.setContent(i.getContent({cleanup:!0}),{cleanup:!0}),N.moveToBookmark(e)},mceRemoveNode:function(e,t,n){var r=n||N.getNode();r!=i.getBody()&&(w(),i.dom.remove(r,!0),_())},mceSelectNodeDepth:function(e,t,n){var r=0;E.getParent(N.getNode(),function(e){if(1==e.nodeType&&r++==n)return N.select(e),h},i.getBody())},mceSelectNode:function(e,t,n){N.select(n)},mceInsertContent:function(t,n,o){var a,l,c,u,d,f,p,h,g,v,y,b,C=i.schema.getTextInlineElements();"string"!=typeof o&&(b=o.merge,o=o.content),/^ | $/.test(o)&&(o=function(e){function t(e){return i[e]&&3==i[e].nodeType}var n,i,r;return n=N.getRng(!0),i=n.startContainer,r=n.startOffset,3==i.nodeType&&(r>0?e=e.replace(/^&nbsp;/," "):t("previousSibling")||(e=e.replace(/^ /,"&nbsp;")),r<i.length?e=e.replace(/&nbsp;(<br>|)$/," "):t("nextSibling")||(e=e.replace(/(&nbsp;| )(<br>|)$/,"&nbsp;"))),e}(o)),a=i.parser,l=new e({},i.schema),y='<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;&#x200B;</span>',f={content:o,format:"html",selection:!0},i.fire("BeforeSetContent",f),-1==(o=f.content).indexOf("{$caret}")&&(o+="{$caret}"),o=o.replace(/\{\$caret\}/,y);var x=(h=N.getRng()).startContainer||(h.parentElement?h.parentElement():null),w=i.getBody();x===w&&N.isCollapsed()&&E.isBlock(w.firstChild)&&E.isEmpty(w.firstChild)&&((h=E.createRng()).setStart(w.firstChild,0),h.setEnd(w.firstChild,0),N.setRng(h)),N.isCollapsed()||(i.getDoc().execCommand("Delete",!1,null),function(){var e,t,n;t=(e=N.getRng(!0)).startContainer,n=e.startOffset,3==t.nodeType&&e.collapsed&&(" "===t.data[n]?(t.deleteData(n,1),/[\u00a0| ]$/.test(o)||(o+=" ")):" "===t.data[n-1]&&(t.deleteData(n-1,1),/[\u00a0| ]$/.test(o)||(o=" "+o)))}());var _={context:(c=N.getNode()).nodeName.toLowerCase()};if(d=a.parse(o,_),function(e){if(b)for(g=e.firstChild;g;g=g.walk(!0))C[g.name]&&g.attr("data-mce-new","true")}(d),"mce_marker"==(g=d.lastChild).attr("id"))for(p=g,g=g.prev;g;g=g.walk(!0))if(3==g.type||!E.isBlock(g.name)){i.schema.isValidChild(g.parent.name,"span")&&g.parent.insert(p,g,"br"===g.name);break}if(_.invalid){for(N.setContent(y),c=N.getNode(),u=i.getBody(),9==c.nodeType?c=g=u:g=c;g!==u;)c=g,g=g.parentNode;o=c==u?u.innerHTML:E.getOuterHTML(c),o=l.serialize(a.parse(o.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return l.serialize(d)}))),c==u?E.setHTML(u,o):E.setOuterHTML(c,o)}else o=l.serialize(d),g=c.firstChild,v=c.lastChild,!g||g===v&&"BR"===g.nodeName?E.setHTML(c,o):N.setContent(o);!function(){if(b){var e=i.getBody(),t=new r(E);s(E.select("*[data-mce-new]"),function(n){n.removeAttribute("data-mce-new");for(var i=n.parentNode;i&&i!=e;i=i.parentNode)t.compare(i,n)&&E.remove(n,!0)})}}(),p=E.get("mce_marker"),N.scrollIntoView(p),h=E.createRng(),(g=p.previousSibling)&&3==g.nodeType?(h.setStart(g,g.nodeValue.length),m||(v=p.nextSibling)&&3==v.nodeType&&(g.appendData(v.data),v.parentNode.removeChild(v))):(h.setStartBefore(p),h.setEndBefore(p)),E.remove(p),N.setRng(h),i.fire("SetContent",f),i.addVisual()},mceInsertRawHTML:function(e,t,n){N.setContent("tiny_mce_marker"),i.setContent(i.getContent().replace(/tiny_mce_marker/g,function(){return n}))},mceToggleFormat:function(e,t,n){x(n)},mceSetContent:function(e,t,n){i.setContent(n)},"Indent,Outdent":function(e){var t,n,r;t=R.indentation,n=/[a-z%]+$/i.exec(t),t=parseInt(t,10),v("InsertUnorderedList")||v("InsertOrderedList")?b(e):(R.forced_root_block||E.getParent(N.getNode(),E.isBlock)||S.apply("div"),s(N.getSelectedBlocks(),function(o){if("LI"!=o.nodeName){var a=i.getParam("indent_use_margin",!1)?"margin":"padding";a+="rtl"==E.getStyle(o,"direction",!0)?"Right":"Left","outdent"==e?(r=Math.max(0,parseInt(o.style[a]||0,10)-t),E.setStyle(o,a,r?r+n:"")):(r=parseInt(o.style[a]||0,10)+t+n,E.setStyle(o,a,r))}}))},mceRepaint:function(){if(f)try{w(!0),N.getSel()&&N.getSel().selectAllChildren(i.getBody()),N.collapse(!0),_()}catch(e){}},InsertHorizontalRule:function(){i.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){i.hasVisual=!i.hasVisual,i.addVisual()},mceReplaceContent:function(e,t,n){i.execCommand("mceInsertContent",!1,n.replace(/\{\$selection\}/g,N.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var i;"string"==typeof n&&(n={href:n}),i=E.getParent(N.getNode(),"a"),n.href=n.href.replace(" ","%20"),i&&n.href||S.remove("link"),n.href&&S.apply("link",n,i)},selectAll:function(){var e,t=E.getRoot();N.getRng().setStart?((e=E.createRng()).setStart(t,0),e.setEnd(t,t.childNodes.length),N.setRng(e)):(e=N.getRng()).item||(e.moveToElementText(t),e.select())},delete:function(){b("Delete");var e=i.getBody();E.isEmpty(e)&&(i.setContent(""),e.firstChild&&E.isBlock(e.firstChild)?i.selection.setCursorLocation(e.firstChild,0):i.selection.setCursorLocation(e,0))},mceNewDocument:function(){i.setContent("")},InsertLineBreak:function(e,t,n){var r,s,l,c=n,u=N.getRng(!0);new o(E).normalize(u);var d=u.startOffset,f=u.startContainer;if(1==f.nodeType&&f.hasChildNodes()){var m=d>f.childNodes.length-1;f=f.childNodes[Math.min(d,f.childNodes.length-1)]||f,d=m&&3==f.nodeType?f.nodeValue.length:0}var h=E.getParent(f,E.isBlock),g=h?h.nodeName.toUpperCase():"",v=h?E.getParent(h.parentNode,E.isBlock):null,y=v?v.nodeName.toUpperCase():"",b=c&&c.ctrlKey;"LI"!=y||b||(h=v,g=y),f&&3==f.nodeType&&d>=f.nodeValue.length&&(p||function(){for(var e,t=new a(f,h),n=i.schema.getNonEmptyElements();e=t.next();)if(n[e.nodeName.toLowerCase()]||e.length>0)return!0}()||(r=E.create("br"),u.insertNode(r),u.setStartAfter(r),u.setEndAfter(r),s=!0)),r=E.create("br"),u.insertNode(r);var C=E.doc.documentMode;return p&&"PRE"==g&&(!C||C<8)&&r.parentNode.insertBefore(E.doc.createTextNode("\r"),r),l=E.create("span",{},"&nbsp;"),r.parentNode.insertBefore(l,r),N.scrollIntoView(l),E.remove(l),s?(u.setStartBefore(r),u.setEndBefore(r)):(u.setStartAfter(r),u.setEndAfter(r)),N.setRng(u),i.undoManager.add(),!0}}),y({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t="align"+e.substring(7),n=N.isCollapsed()?[E.getParent(N.getNode(),E.isBlock)]:N.getSelectedBlocks(),i=c(n,function(e){return!!S.matchNode(e,t)});return-1!==u(i,!0)},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return C(e)},mceBlockQuote:function(){return C("blockquote")},Outdent:function(){var e;if(R.inline_styles){if((e=E.getParent(N.getStart(),E.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return!0;if((e=E.getParent(N.getEnd(),E.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return!0}return v("InsertUnorderedList")||v("InsertOrderedList")||!R.inline_styles&&!!E.getParent(N.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=E.getParent(N.getNode(),"ul,ol");return t&&("insertunorderedlist"===e&&"UL"===t.tagName||"insertorderedlist"===e&&"OL"===t.tagName)}},"state"),y({"FontSize,FontName":function(e){var t,n=0;return(t=E.getParent(N.getNode(),"span"))&&(n="fontsize"==e?t.style.fontSize:t.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),n}},"value"),y({Undo:function(){i.undoManager.undo()},Redo:function(){i.undoManager.redo()}})}}),i("tinymce/util/URI",["tinymce/util/Tools"],function(e){function t(e,o){var a,s,l=this;if(e=i(e),o=l.settings=o||{},a=o.base_uri,/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))l.source=e;else{var c=0===e.indexOf("//");0!==e.indexOf("/")||c||(e=(a?a.protocol||"http":"http")+"://mce_host"+e),/^[\w\-]*:?\/\//.test(e)||(s=o.base_uri?o.base_uri.path:new t(location.href).directory,""===o.base_uri.protocol?e="//mce_host"+l.toAbsPath(s,e):(e=/([^#?]*)([#?]?.*)/.exec(e),e=(a&&a.protocol||"http")+"://mce_host"+l.toAbsPath(s,e[1])+e[2])),e=e.replace(/@@/g,"(mce_at)"),e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e),n(r,function(t,n){var i=e[n];i&&(i=i.replace(/\(mce_at\)/g,"@@")),l[t]=i}),a&&(l.protocol||(l.protocol=a.protocol),l.userInfo||(l.userInfo=a.userInfo),l.port||"mce_host"!==l.host||(l.port=a.port),l.host&&"mce_host"!==l.host||(l.host=a.host),l.source=""),c&&(l.protocol="")}}var n=e.each,i=e.trim,r="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),o={ftp:21,http:80,https:443,mailto:25};return t.prototype={setPath:function(e){var t=this;e=/^(.*?)\/?(\w+)?$/.exec(e),t.path=e[0],t.directory=e[1],t.file=e[2],t.source="",t.getURI()},toRelative:function(e){var n,i=this;if("./"===e)return e;if("mce_host"!=(e=new t(e,{base_uri:i})).host&&i.host!=e.host&&e.host||i.port!=e.port||i.protocol!=e.protocol&&""!==e.protocol)return e.getURI();var r=i.getURI(),o=e.getURI();return r==o||"/"==r.charAt(r.length-1)&&r.substr(0,r.length-1)==o?r:(n=i.toRelPath(i.path,e.path),e.query&&(n+="?"+e.query),e.anchor&&(n+="#"+e.anchor),n)},toAbsolute:function(e,n){return(e=new t(e,{base_uri:this})).getURI(n&&this.isSameOrigin(e))},isSameOrigin:function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=o[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},toRelPath:function(e,t){var n,i,r,o=0,a="";if(e=e.substring(0,e.lastIndexOf("/")),e=e.split("/"),n=t.split("/"),e.length>=n.length)for(i=0,r=e.length;i<r;i++)if(i>=n.length||e[i]!=n[i]){o=i+1;break}if(e.length<n.length)for(i=0,r=n.length;i<r;i++)if(i>=e.length||e[i]!=n[i]){o=i+1;break}if(1===o)return t;for(i=0,r=e.length-(o-1);i<r;i++)a+="../";for(i=o-1,r=n.length;i<r;i++)a+=i!=o-1?"/"+n[i]:n[i];return a},toAbsPath:function(e,t){var i,r,o,a=0,s=[];for(r=/\/$/.test(t)?"/":"",e=e.split("/"),t=t.split("/"),n(e,function(e){e&&s.push(e)}),e=s,i=t.length-1,s=[];i>=0;i--)0!==t[i].length&&"."!==t[i]&&(".."!==t[i]?a>0?a--:s.push(t[i]):a++);return i=e.length-a,0!==(o=i<=0?s.reverse().join("/"):e.slice(0,i).join("/")+"/"+s.reverse().join("/")).indexOf("/")&&(o="/"+o),r&&o.lastIndexOf("/")!==o.length-1&&(o+=r),o},getURI:function(e){var t,n=this;return n.source&&!e||(t="",e||(n.protocol?t+=n.protocol+"://":t+="//",n.userInfo&&(t+=n.userInfo+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port)),n.path&&(t+=n.path),n.query&&(t+="?"+n.query),n.anchor&&(t+="#"+n.anchor),n.source=t),n.source}},t}),i("tinymce/util/Class",["tinymce/util/Tools"],function(e){function t(){}var n,i,r=e.each,o=e.extend;return t.extend=n=function(e){function t(){var e,t,n,r=this;if(!i&&(r.init&&r.init.apply(r,arguments),t=r.Mixins))for(e=t.length;e--;)(n=t[e]).init&&n.init.apply(r,arguments)}function a(){return this}var s,l,c,u=this,d=u.prototype;i=!0,s=new u,i=!1,e.Mixins&&(r(e.Mixins,function(t){t=t;for(var n in t)"init"!==n&&(e[n]=t[n])}),d.Mixins&&(e.Mixins=d.Mixins.concat(e.Mixins))),e.Methods&&r(e.Methods.split(","),function(t){e[t]=a}),e.Properties&&r(e.Properties.split(","),function(t){var n="_"+t;e[t]=function(e){var t=this;return void 0!==e?(t[n]=e,t):t[n]}}),e.Statics&&r(e.Statics,function(e,n){t[n]=e}),e.Defaults&&d.Defaults&&(e.Defaults=o({},d.Defaults,e.Defaults));for(l in e)"function"==typeof(c=e[l])&&d[l]?s[l]=function(e,t){return function(){var n,i=this,r=i._super;return i._super=d[e],n=t.apply(i,arguments),i._super=r,n}}(l,c):s[l]=c;return t.prototype=s,t.constructor=t,t.extend=n,t},t}),i("tinymce/util/EventDispatcher",["tinymce/util/Tools"],function(e){function t(t){function n(){return!1}function i(){return!0}function r(t,i,r,o){var a,u,d;if(!1===i&&(i=n),i)for(i={func:i},o&&e.extend(i,o),d=(u=t.toLowerCase().split(" ")).length;d--;)t=u[d],(a=c[t])||(a=c[t]=[],s(t,!0)),r?a.unshift(i):a.push(i);return l}function o(e,t){var n,i,r,o,a;if(e)for(n=(o=e.toLowerCase().split(" ")).length;n--;){if(e=o[n],i=c[e],!e){for(r in c)s(r,!1),delete c[r];return l}if(i){if(t)for(a=i.length;a--;)i[a].func===t&&(i=i.slice(0,a).concat(i.slice(a+1)),c[e]=i);else i.length=0;i.length||(s(e,!1),delete c[e])}}else{for(e in c)s(e,!1);c={}}return l}var a,s,l=this,c={};a=(t=t||{}).scope||l,s=t.toggleEvent||n,l.fire=function(e,r){var s,l,u,d;if(e=e.toLowerCase(),r=r||{},r.type=e,r.target||(r.target=a),r.preventDefault||(r.preventDefault=function(){r.isDefaultPrevented=i},r.stopPropagation=function(){r.isPropagationStopped=i},r.stopImmediatePropagation=function(){r.isImmediatePropagationStopped=i},r.isDefaultPrevented=n,r.isPropagationStopped=n,r.isImmediatePropagationStopped=n),t.beforeFire&&t.beforeFire(r),s=c[e])for(l=0,u=s.length;l<u;l++){if((d=s[l]).once&&o(e,d.func),r.isImmediatePropagationStopped())return r.stopPropagation(),r;if(!1===d.func.call(a,r))return r.preventDefault(),r}return r},l.on=r,l.off=o,l.once=function(e,t,n){return r(e,t,n,{once:!0})},l.has=function(e){return e=e.toLowerCase(),!(!c[e]||0===c[e].length)}}var n=e.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchend"," ");return t.isNative=function(e){return!!n[e.toLowerCase()]},t}),i("tinymce/ui/Selector",["tinymce/util/Class"],function(e){function t(e){for(var t,n=[],i=e.length;i--;)(t=e[i]).__checked||(n.push(t),t.__checked=1);for(i=n.length;i--;)delete n[i].__checked;return n}var n,i=/^([\w\\*]+)?(?:#([\w\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,o=/^\s*|\s*$/g,a=e.extend({init:function(e){function t(e){if(e)return e=e.toLowerCase(),function(t){return"*"===e||t.type===e}}function n(e){if(e)return function(t){return t._name===e}}function a(e){if(e)return e=e.split("."),function(t){for(var n=e.length;n--;)if(!t.hasClass(e[n]))return!1;return!0}}function s(e,t,n){if(e)return function(i){var r=i[e]?i[e]():"";return t?"="===t?r===n:"*="===t?r.indexOf(n)>=0:"~="===t?(" "+r+" ").indexOf(" "+n+" ")>=0:"!="===t?r!=n:"^="===t?0===r.indexOf(n):"$="===t&&r.substr(r.length-n.length)===n:!!n}}function l(e){var t;if(e)return(e=/(?:not\((.+)\))|(.+)/i.exec(e))[1]?(t=u(e[1],[]),function(e){return!d(e,t)}):(e=e[2],function(t,n,i){return"first"===e?0===n:"last"===e?n===i-1:"even"===e?n%2==0:"odd"===e?n%2==1:!!t[e]&&t[e]()})}function c(e,r,c){function u(e){e&&r.push(e)}var d;return d=i.exec(e.replace(o,"")),u(t(d[1])),u(n(d[2])),u(a(d[3])),u(s(d[4],d[5],d[6])),u(l(d[7])),r.psuedo=!!d[7],r.direct=c,r}function u(e,t){var n,i,o,a=[];do{if(r.exec(""),(i=r.exec(e))&&(e=i[3],a.push(i[1]),i[2])){n=i[3];break}}while(i);for(n&&u(n,t),e=[],o=0;o<a.length;o++)">"!=a[o]&&e.push(c(a[o],[],">"===a[o-1]));return t.push(e),t}var d=this.match;this._selectors=u(e,[])},match:function(e,t){var n,i,r,o,a,s,l,c,u,d,f,m,p;for(n=0,i=(t=t||this._selectors).length;n<i;n++){for(p=e,m=0,r=(o=(a=t[n]).length)-1;r>=0;r--)for(c=a[r];p;){if(c.psuedo)for(u=d=(f=p.parent().items()).length;u--&&f[u]!==p;);for(s=0,l=c.length;s<l;s++)if(!c[s](p,u,d)){s=l+1;break}if(s===l){m++;break}if(r===o-1)break;p=p.parent()}if(m===o)return!0}return!1},find:function(e){function i(e,t,n){var r,o,a,l,c,u=t[n];for(r=0,o=e.length;r<o;r++){for(c=e[r],a=0,l=u.length;a<l;a++)if(!u[a](c,r,o)){a=l+1;break}if(a===l)n==t.length-1?s.push(c):c.items&&i(c.items(),t,n+1);else if(u.direct)return;c.items&&i(c.items(),t,n)}}var r,o,s=[],l=this._selectors;if(e.items){for(r=0,o=l.length;r<o;r++)i(e.items(),l[r],0);o>1&&(s=t(s))}return n||(n=a.Collection),new n(s)}});return a}),i("tinymce/ui/Collection",["tinymce/util/Tools","tinymce/ui/Selector","tinymce/util/Class"],function(e,t,n){var i,r,o=Array.prototype.push,a=Array.prototype.slice;return r={length:0,init:function(e){e&&this.add(e)},add:function(t){var n=this;return e.isArray(t)?o.apply(n,t):t instanceof i?n.add(t.toArray()):o.call(n,t),n},set:function(e){var t,n=this,i=n.length;for(n.length=0,n.add(e),t=n.length;t<i;t++)delete n[t];return n},filter:function(e){var n,r,o,a,s=this,l=[];for("string"==typeof e?(e=new t(e),a=function(t){return e.match(t)}):a=e,n=0,r=s.length;n<r;n++)a(o=s[n])&&l.push(o);return new i(l)},slice:function(){return new i(a.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},each:function(t){return e.each(this,t),this},toArray:function(){return e.toArray(this)},indexOf:function(e){for(var t=this,n=t.length;n--&&t[n]!==e;);return n},reverse:function(){return new i(e.toArray(this).reverse())},hasClass:function(e){return!!this[0]&&this[0].hasClass(e)},prop:function(e,t){var n,i=this;return void 0!==t?(i.each(function(n){n[e]&&n[e](t)}),i):(n=i[0])&&n[e]?n[e]():void 0},exec:function(t){var n=this,i=e.toArray(arguments).slice(1);return n.each(function(e){e[t]&&e[t].apply(e,i)}),n},remove:function(){for(var e=this.length;e--;)this[e].remove();return this}},e.each("fire on off show hide addClass removeClass append prepend before after reflow".split(" "),function(t){r[t]=function(){var n=e.toArray(arguments);return this.each(function(e){t in e&&e[t].apply(e,n)}),this}}),e.each("text name disabled active selected checked visible parent value data".split(" "),function(e){r[e]=function(t){return this.prop(e,t)}}),i=n.extend(r),t.Collection=i,i}),i("tinymce/ui/DomUtils",["tinymce/util/Tools","tinymce/dom/DOMUtils"],function(e,t){var n=0;return{id:function(){return"mceu_"+n++},createFragment:function(e){return t.DOM.createFragment(e)},getWindowSize:function(){return t.DOM.getViewPort()},getSize:function(e){var t,n;if(e.getBoundingClientRect){var i=e.getBoundingClientRect();t=Math.max(i.width||i.right-i.left,e.offsetWidth),n=Math.max(i.height||i.bottom-i.bottom,e.offsetHeight)}else t=e.offsetWidth,n=e.offsetHeight;return{width:t,height:n}},getPos:function(e,n){return t.DOM.getPos(e,n)},getViewPort:function(e){return t.DOM.getViewPort(e)},get:function(e){return document.getElementById(e)},addClass:function(e,n){return t.DOM.addClass(e,n)},removeClass:function(e,n){return t.DOM.removeClass(e,n)},hasClass:function(e,n){return t.DOM.hasClass(e,n)},toggleClass:function(e,n,i){return t.DOM.toggleClass(e,n,i)},css:function(e,n,i){return t.DOM.setStyle(e,n,i)},getRuntimeStyle:function(e,n){return t.DOM.getStyle(e,n,!0)},on:function(e,n,i,r){return t.DOM.bind(e,n,i,r)},off:function(e,n,i){return t.DOM.unbind(e,n,i)},fire:function(e,n,i){return t.DOM.fire(e,n,i)},innerHtml:function(e,n){t.DOM.setHTML(e,n)}}}),i("tinymce/ui/Control",["tinymce/util/Class","tinymce/util/Tools","tinymce/util/EventDispatcher","tinymce/ui/Collection","tinymce/ui/DomUtils"],function(e,t,n,i,r){function o(e){return e._eventDispatcher||(e._eventDispatcher=new n({scope:e,toggleEvent:function(t,i){i&&n.isNative(t)&&(e._nativeEvents||(e._nativeEvents={}),e._nativeEvents[t]=!0,e._rendered&&e.bindPendingEvents())}})),e._eventDispatcher}var a="onmousewheel"in document,s=e.extend({Statics:{classPrefix:"mce-"},isRtl:function(){return s.rtl},classPrefix:"mce-",init:function(e){var n,i,o=this;if(o.settings=e=t.extend({},o.Defaults,e),o._id=e.id||r.id(),o._text=o._name="",o._width=o._height=0,o._aria={role:e.role},this._elmCache={},n=e.classes)for((n=n.split(" ")).map={},i=n.length;i--;)n.map[n[i]]=!0;o._classes=n||[],o.visible(!0),t.each("title text width height name classes visible disabled active value".split(" "),function(t){var n=e[t];void 0!==n?o[t](n):void 0===o["_"+t]&&(o["_"+t]=!1)}),o.on("click",function(){if(o.disabled())return!1}),e.classes&&t.each(e.classes.split(" "),function(e){o.addClass(e)}),o.settings=e,o._borderBox=o.parseBox(e.border),o._paddingBox=o.parseBox(e.padding),o._marginBox=o.parseBox(e.margin),e.hidden&&o.hide()},Properties:"parent,title,text,width,height,disabled,active,name,value",Methods:"renderHtml",getContainerElm:function(){return document.body},getParentCtrl:function(e){for(var t,n=this.getRoot().controlIdLookup;e&&n&&!(t=n[e.id]);)e=e.parentNode;return t},parseBox:function(e){var t;if(e)return"number"==typeof e?(e=e||0,{top:e,left:e,bottom:e,right:e}):(e=e.split(" "),1===(t=e.length)?e[1]=e[2]=e[3]=e[0]:2===t?(e[2]=e[0],e[3]=e[1]):3===t&&(e[3]=e[1]),{top:parseInt(e[0],10)||0,right:parseInt(e[1],10)||0,bottom:parseInt(e[2],10)||0,left:parseInt(e[3],10)||0})},borderBox:function(){return this._borderBox},paddingBox:function(){return this._paddingBox},marginBox:function(){return this._marginBox},measureBox:function(e,t){function n(t){var n=document.defaultView;return n?(t=t.replace(/[A-Z]/g,function(e){return"-"+e}),n.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle[t]}function i(e){var t=parseFloat(n(e),10);return isNaN(t)?0:t}return{top:i(t+"TopWidth"),right:i(t+"RightWidth"),bottom:i(t+"BottomWidth"),left:i(t+"LeftWidth")}},initLayoutRect:function(){var e,t,n,i,o,a,s,l,c,u,d=this,f=d.settings,m=d.getEl();e=d._borderBox=d._borderBox||d.measureBox(m,"border"),d._paddingBox=d._paddingBox||d.measureBox(m,"padding"),d._marginBox=d._marginBox||d.measureBox(m,"margin"),u=r.getSize(m),l=f.minWidth,c=f.minHeight,o=l||u.width,a=c||u.height,n=f.width,i=f.height,s=void 0!==(s=f.autoResize)?s:!n&&!i,n=n||o,i=i||a;var p=e.left+e.right,h=e.top+e.bottom,g=f.maxWidth||65535,v=f.maxHeight||65535;return d._layoutRect=t={x:f.x||0,y:f.y||0,w:n,h:i,deltaW:p,deltaH:h,contentW:n-p,contentH:i-h,innerW:n-p,innerH:i-h,startMinWidth:l||0,startMinHeight:c||0,minW:Math.min(o,g),minH:Math.min(a,v),maxW:g,maxH:v,autoResize:s,scrollW:0},d._lastLayoutRect={},t},layoutRect:function(e){var t,n,i,r,o,a=this,l=a._layoutRect;return l||(l=a.initLayoutRect()),e?(i=l.deltaW,r=l.deltaH,void 0!==e.x&&(l.x=e.x),void 0!==e.y&&(l.y=e.y),void 0!==e.minW&&(l.minW=e.minW),void 0!==e.minH&&(l.minH=e.minH),void 0!==(n=e.w)&&(n=(n=n<l.minW?l.minW:n)>l.maxW?l.maxW:n,l.w=n,l.innerW=n-i),void 0!==(n=e.h)&&(n=(n=n<l.minH?l.minH:n)>l.maxH?l.maxH:n,l.h=n,l.innerH=n-r),void 0!==(n=e.innerW)&&(n=(n=n<l.minW-i?l.minW-i:n)>l.maxW-i?l.maxW-i:n,l.innerW=n,l.w=n+i),void 0!==(n=e.innerH)&&(n=(n=n<l.minH-r?l.minH-r:n)>l.maxH-r?l.maxH-r:n,l.innerH=n,l.h=n+r),void 0!==e.contentW&&(l.contentW=e.contentW),void 0!==e.contentH&&(l.contentH=e.contentH),(t=a._lastLayoutRect).x===l.x&&t.y===l.y&&t.w===l.w&&t.h===l.h||((o=s.repaintControls)&&o.map&&!o.map[a._id]&&(o.push(a),o.map[a._id]=!0),t.x=l.x,t.y=l.y,t.w=l.w,t.h=l.h),a):l},repaint:function(){var e,t,n,i,r,o,a=this,s=0,l=0;o=document.createRange?function(e){return e}:Math.round,e=a.getEl().style,n=a._layoutRect,r=a._lastRepaintRect||{},s=(i=a._borderBox).left+i.right,l=i.top+i.bottom,n.x!==r.x&&(e.left=o(n.x)+"px",r.x=n.x),n.y!==r.y&&(e.top=o(n.y)+"px",r.y=n.y),n.w!==r.w&&(e.width=o(n.w-s)+"px",r.w=n.w),n.h!==r.h&&(e.height=o(n.h-l)+"px",r.h=n.h),a._hasBody&&n.innerW!==r.innerW&&((t=a.getEl("body").style).width=o(n.innerW)+"px",r.innerW=n.innerW),a._hasBody&&n.innerH!==r.innerH&&((t=t||a.getEl("body").style).height=o(n.innerH)+"px",r.innerH=n.innerH),a._lastRepaintRect=r,a.fire("repaint",{},!1)},on:function(e,t){var n=this;return o(n).on(e,function(e){var t,i;return"string"!=typeof e?e:function(r){return t||n.parentsAndSelf().each(function(n){var r=n.settings.callbacks;if(r&&(t=r[e]))return i=n,!1}),t.call(i,r)}}(t)),n},off:function(e,t){return o(this).off(e,t),this},fire:function(e,t,n){var i=this;if((t=t||{}).control||(t.control=i),t=o(i).fire(e,t),!1!==n&&i.parent)for(var r=i.parent();r&&!t.isPropagationStopped();)r.fire(e,t,!1),r=r.parent();return t},hasEventListeners:function(e){return o(this).has(e)},parents:function(e){var t,n=this,r=new i;for(t=n.parent();t;t=t.parent())r.add(t);return e&&(r=r.filter(e)),r},parentsAndSelf:function(e){return new i(this).add(this.parents(e))},next:function(){var e=this.parent().items();return e[e.indexOf(this)+1]},prev:function(){var e=this.parent().items();return e[e.indexOf(this)-1]},findCommonAncestor:function(e,t){for(var n;e;){for(n=t;n&&e!=n;)n=n.parent();if(e==n)break;e=e.parent()}return e},hasClass:function(e,t){var n=this._classes[t||"control"];return e=this.classPrefix+e,n&&!!n.map[e]},addClass:function(e,t){var n,i,r=this;return e=this.classPrefix+e,(n=r._classes[t||"control"])||((n=[]).map={},r._classes[t||"control"]=n),n.map[e]||(n.map[e]=e,n.push(e),r._rendered&&(i=r.getEl(t))&&(i.className=n.join(" "))),r},removeClass:function(e,t){var n,i,r,o=this;if(e=this.classPrefix+e,(n=o._classes[t||"control"])&&n.map[e])for(delete n.map[e],i=n.length;i--;)n[i]===e&&n.splice(i,1);return o._rendered&&(r=o.getEl(t))&&(r.className=n.join(" ")),o},toggleClass:function(e,t,n){var i=this;return t?i.addClass(e,n):i.removeClass(e,n),i},classes:function(e){var t=this._classes[e||"control"];return t?t.join(" "):""},innerHtml:function(e){return r.innerHtml(this.getEl(),e),this},getEl:function(e){var t=e?this._id+"-"+e:this._id;return this._elmCache[t]||(this._elmCache[t]=r.get(t)),this._elmCache[t]},visible:function(e){var t,n=this;return void 0!==e?(n._visible!==e&&(n._rendered&&(n.getEl().style.display=e?"":"none"),n._visible=e,(t=n.parent())&&(t._lastRect=null),n.fire(e?"show":"hide")),n):n._visible},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(e){}return this},blur:function(){return this.getEl().blur(),this},aria:function(e,t){var n=this,i=n.getEl(n.ariaTarget);return void 0===t?n._aria[e]:(n._aria[e]=t,n._rendered&&i.setAttribute("role"==e?e:"aria-"+e,t),n)},encode:function(e,t){return!1!==t&&(e=this.translate(e)),(e||"").replace(/[&<>"]/g,function(e){return"&#"+e.charCodeAt(0)+";"})},translate:function(e){return s.translate?s.translate(e):e},before:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t),!0),t},after:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t)),t},remove:function(){var e,t,n=this,i=n.getEl(),o=n.parent();if(n.items){var a=n.items().toArray();for(t=a.length;t--;)a[t].remove()}o&&o.items&&(e=[],o.items().each(function(t){t!==n&&e.push(t)}),o.items().set(e),o._lastRect=null),n._eventsRoot&&n._eventsRoot==n&&r.off(i);var s=n.getRoot().controlIdLookup;return s&&delete s[n._id],i&&i.parentNode&&i.parentNode.removeChild(i),n._rendered=!1,n},renderBefore:function(e){var t=this;return e.parentNode.insertBefore(r.createFragment(t.renderHtml()),e),t.postRender(),t},renderTo:function(e){var t=this;return(e=e||t.getContainerElm()).appendChild(r.createFragment(t.renderHtml())),t.postRender(),t},postRender:function(){var e,t,n,i,o,a=this,s=a.settings;for(i in s)0===i.indexOf("on")&&a.on(i.substr(2),s[i]);if(a._eventsRoot){for(n=a.parent();!o&&n;n=n.parent())o=n._eventsRoot;if(o)for(i in o._nativeEvents)a._nativeEvents[i]=!0}a.bindPendingEvents(),s.style&&(e=a.getEl())&&(e.setAttribute("style",s.style),e.style.cssText=s.style),a._visible||r.css(a.getEl(),"display","none"),a.settings.border&&(t=a.borderBox(),r.css(a.getEl(),{"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left}));var l=a.getRoot();l.controlIdLookup||(l.controlIdLookup={}),l.controlIdLookup[a._id]=a;for(var c in a._aria)a.aria(c,a._aria[c]);a.fire("postrender",{},!1)},scrollIntoView:function(e){var t,n,i,r,o,a,s=this.getEl(),l=s.parentNode,c=function(e,t){var n,i,r=e;for(n=i=0;r&&r!=t&&r.nodeType;)n+=r.offsetLeft||0,i+=r.offsetTop||0,r=r.offsetParent;return{x:n,y:i}}(s,l);return t=c.x,n=c.y,i=s.offsetWidth,r=s.offsetHeight,o=l.clientWidth,a=l.clientHeight,"end"==e?(t-=o-i,n-=a-r):"center"==e&&(t-=o/2-i/2,n-=a/2-r/2),l.scrollLeft=t,l.scrollTop=n,this},bindPendingEvents:function(){function e(e){e.preventDefault(),"mousewheel"==e.type?(e.deltaY=-.025*e.wheelDelta,e.wheelDeltaX&&(e.deltaX=-.025*e.wheelDeltaX)):(e.deltaX=0,e.deltaY=e.detail),e=c.fire("wheel",e)}var t,n,i,o,s,l,c=this;if(c._rendered=!0,s=c._nativeEvents){for((i=c.parents().toArray()).unshift(c),t=0,n=i.length;!o&&t<n;t++)o=i[t]._eventsRoot;for(o||(o=i[i.length-1]||c),c._eventsRoot=o,n=t,t=0;t<n;t++)i[t]._eventsRoot=o;var u=o._delegates;u||(u=o._delegates={});for(l in s){if(!s)return!1;"wheel"!==l?("mouseenter"===l||"mouseleave"===l?o._hasMouseEnter||(r.on(o.getEl(),"mouseleave",function(){var e=o._lastHoverCtrl;e&&(e.fire("mouseleave",{target:e.getEl()}),e.parents().each(function(e){e.fire("mouseleave",{target:e.getEl()})}),o._lastHoverCtrl=null)}),r.on(o.getEl(),"mouseover",function(e){var t,n,i,r=c.getParentCtrl(e.target),a=o._lastHoverCtrl,s=0;if(r!==a){if(o._lastHoverCtrl=r,(n=r.parents().toArray().reverse()).push(r),a){for((i=a.parents().toArray().reverse()).push(a),s=0;s<i.length&&n[s]===i[s];s++);for(t=i.length-1;t>=s;t--)(a=i[t]).fire("mouseleave",{target:a.getEl()})}for(t=s;t<n.length;t++)(r=n[t]).fire("mouseenter",{target:r.getEl()})}}),o._hasMouseEnter=1):u[l]||(r.on(o.getEl(),l,function(e){var t=c.getParentCtrl(e.target);t&&t.fire(e.type,e)}),u[l]=!0),s[l]=!1):a?r.on(c.getEl(),"mousewheel",e):r.on(c.getEl(),"DOMMouseScroll",e)}}},getRoot:function(){for(var e,t=this,n=[];t;){if(t.rootControl){e=t.rootControl;break}n.push(t),e=t,t=t.parent()}e||(e=this);for(var i=n.length;i--;)n[i].rootControl=e;return e},reflow:function(){return this.repaint(),this}});return s}),i("tinymce/ui/Factory",[],function(){var e,t={};return{add:function(e,n){t[e.toLowerCase()]=n},has:function(e){return!!t[e.toLowerCase()]},create:function(n,i){var r,o,a;if(!e){a=tinymce.ui;for(o in a)t[o.toLowerCase()]=a[o];e=!0}if("string"==typeof n?(i=i||{}).type=n:n=(i=n).type,n=n.toLowerCase(),!(r=t[n]))throw new Error("Could not find control by type: "+n);return r=new r(i),r.type=n,r}}}),i("tinymce/ui/KeyboardNavigation",[],function(){return function(e){function t(e){return(e=e||v)&&e.getAttribute("role")}function n(e){for(var n,i=e||v;i=i.parentNode;)if(n=t(i))return n}function i(e){var t=v;if(t)return t.getAttribute("aria-"+e)}function r(e){var t=e.tagName.toUpperCase();return"INPUT"==t||"TEXTAREA"==t}function o(e){return!(!r(e)||e.hidden)||!!/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell)$/.test(t(e))}function a(e){function t(e){if(1==e.nodeType&&"none"!=e.style.display){o(e)&&n.push(e);for(var i=0;i<e.childNodes.length;i++)t(e.childNodes[i])}}var n=[];return t(e||b.getEl()),n}function s(e){var t,n;(n=(e=e||y).parents().toArray()).unshift(e);for(var i=0;i<n.length&&!(t=n[i]).settings.ariaRoot;i++);return t}function l(e,t){return e<0?e=t.length-1:e>=t.length&&(e=0),t[e]&&t[e].focus(),e}function c(e,t){var n=-1,i=s();t=t||a(i.getEl());for(var r=0;r<t.length;r++)t[r]===v&&(n=r);n+=e,i.lastAriaIndex=l(n,t)}function u(){"tablist"==n()?c(-1,a(v.parentNode)):y.parent().submenu?h():c(-1)}function d(){var e=t(),r=n();"tablist"==r?c(1,a(v.parentNode)):"menuitem"==e&&"menu"==r&&i("haspopup")?g():c(1)}function f(){c(-1)}function m(){var e=t(),r=n();"menuitem"==e&&"menubar"==r?g():"button"==e&&i("haspopup")?g({key:"down"}):c(1)}function p(e){if("tablist"==n()){var t=a(y.getEl("body"))[0];t&&t.focus()}else c(e.shiftKey?-1:1)}function h(){y.fire("cancel")}function g(e){e=e||{},y.fire("click",{target:v,aria:e})}var v,y,b=e.root;try{v=document.activeElement}catch(e){v=document.body}return y=b.getParentCtrl(v),b.on("keydown",function(e){function t(e,t){r(v)||!1!==t(e)&&e.preventDefault()}if(!e.isDefaultPrevented())switch(e.keyCode){case 37:t(e,u);break;case 39:t(e,d);break;case 38:t(e,f);break;case 40:t(e,m);break;case 27:h();break;case 14:case 13:case 32:t(e,g);break;case 9:!1!==p(e)&&e.preventDefault()}}),b.on("focusin",function(e){v=e.target,y=e.control}),{focusFirst:function(e){var t=s(e),n=a(t.getEl());t.settings.ariaRemember&&"lastAriaIndex"in t?l(t.lastAriaIndex,n):l(0,n)}}}}),i("tinymce/ui/Container",["tinymce/ui/Control","tinymce/ui/Collection","tinymce/ui/Selector","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/util/Tools","tinymce/ui/DomUtils"],function(e,t,n,i,r,o,a){var s={};return e.extend({layout:"",innerClass:"container-inner",init:function(e){var n=this;n._super(e),e=n.settings,n._fixed=e.fixed,n._items=new t,n.isRtl()&&n.addClass("rtl"),n.addClass("container"),n.addClass("container-body","body"),e.containerCls&&n.addClass(e.containerCls),n._layout=i.create((e.layout||n.layout)+"layout"),n.settings.items&&n.add(n.settings.items),n._hasBody=!0},items:function(){return this._items},find:function(e){return(e=s[e]=s[e]||new n(e)).find(this)},add:function(e){var t=this;return t.items().add(t.create(e)).parent(t),t},focus:function(e){var t,n,i,r=this;{if(!e||!(n=r.keyboardNav||r.parents().eq(-1)[0].keyboardNav))return i=r.find("*"),r.statusbar&&i.add(r.statusbar.items()),i.each(function(e){if(e.settings.autofocus)return t=null,!1;e.canFocus&&(t=t||e)}),t&&t.focus(),r;n.focusFirst(r)}},replace:function(e,t){for(var n,i=this.items(),r=i.length;r--;)if(i[r]===e){i[r]=t;break}r>=0&&((n=t.getEl())&&n.parentNode.removeChild(n),(n=e.getEl())&&n.parentNode.removeChild(n)),t.parent(this)},create:function(t){var n,r=this,a=[];return o.isArray(t)||(t=[t]),o.each(t,function(t){t&&(t instanceof e||("string"==typeof t&&(t={type:t}),n=o.extend({},r.settings.defaults,t),t.type=n.type=n.type||t.type||r.settings.defaultType||(n.defaults?n.defaults.type:null),t=i.create(n)),a.push(t))}),a},renderNew:function(){var e=this;return e.items().each(function(t,n){var i,r;t.parent(e),t._rendered||(i=e.getEl("body"),r=a.createFragment(t.renderHtml()),i.hasChildNodes()&&n<=i.childNodes.length-1?i.insertBefore(r,i.childNodes[n]):i.appendChild(r),t.postRender())}),e._layout.applyClasses(e),e._lastRect=null,e},append:function(e){return this.add(e).renderNew()},prepend:function(e){var t=this;return t.items().set(t.create(e).concat(t.items().toArray())),t.renderNew()},insert:function(e,t,n){var i,r,o,a=this;return e=a.create(e),i=a.items(),!n&&t<i.length-1&&(t+=1),t>=0&&t<i.length&&(r=i.slice(0,t).toArray(),o=i.slice(t).toArray(),i.set(r.concat(e,o))),a.renderNew()},fromJSON:function(e){var t=this;for(var n in e)t.find("#"+n).value(e[n]);return t},toJSON:function(){var e={};return this.find("*").each(function(t){var n=t.name(),i=t.value();n&&void 0!==i&&(e[n]=i)}),e},preRender:function(){},renderHtml:function(){var e=this,t=e._layout,n=this.settings.role;return e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes()+'"'+(n?' role="'+this.settings.role+'"':"")+'><div id="'+e._id+'-body" class="'+e.classes("body")+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"},postRender:function(){var e,t=this;return t.items().exec("postRender"),t._super(),t._layout.postRender(t),t._rendered=!0,t.settings.style&&a.css(t.getEl(),t.settings.style),t.settings.border&&(e=t.borderBox(),a.css(t.getEl(),{"border-top-width":e.top,"border-right-width":e.right,"border-bottom-width":e.bottom,"border-left-width":e.left})),t.parent()||(t.keyboardNav=new r({root:t})),t},initLayoutRect:function(){var e=this,t=e._super();return e._layout.recalc(e),t},recalc:function(){var e=this,t=e._layoutRect,n=e._lastRect;if(!n||n.w!=t.w||n.h!=t.h)return e._layout.recalc(e),t=e.layoutRect(),e._lastRect={x:t.x,y:t.y,w:t.w,h:t.h},!0},reflow:function(){var t;if(this.visible()){for(e.repaintControls=[],e.repaintControls.map={},this.recalc(),t=e.repaintControls.length;t--;)e.repaintControls[t].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),e.repaintControls=[]}return this}})}),i("tinymce/ui/DragHelper",["tinymce/ui/DomUtils"],function(e){function t(){var e,t,n,i,r,o,a,s,l=document,c=Math.max;return e=l.documentElement,t=l.body,n=c(e.scrollWidth,t.scrollWidth),i=c(e.clientWidth,t.clientWidth),r=c(e.offsetWidth,t.offsetWidth),o=c(e.scrollHeight,t.scrollHeight),a=c(e.clientHeight,t.clientHeight),s=c(e.offsetHeight,t.offsetHeight),{width:n<r?i:n,height:o<s?a:o}}return function(n,i){function r(){return f.getElementById(i.handle||n)}var o,a,s,l,c,u,d,f=document;i=i||{},s=function(n){var s,m,p=t();n.preventDefault(),a=n.button,s=r(),u=n.screenX,d=n.screenY,m=window.getComputedStyle?window.getComputedStyle(s,null).getPropertyValue("cursor"):s.runtimeStyle.cursor,o=f.createElement("div"),e.css(o,{position:"absolute",top:0,left:0,width:p.width,height:p.height,zIndex:2147483647,opacity:1e-4,cursor:m}),f.body.appendChild(o),e.on(f,"mousemove",c),e.on(f,"mouseup",l),i.start(n)},c=function(e){if(e.button!==a)return l(e);e.deltaX=e.screenX-u,e.deltaY=e.screenY-d,e.preventDefault(),i.drag(e)},l=function(t){e.off(f,"mousemove",c),e.off(f,"mouseup",l),o.parentNode.removeChild(o),i.stop&&i.stop(t)},this.destroy=function(){e.off(r())},e.on(r(),"mousedown",s)}}),i("tinymce/ui/Scrollable",["tinymce/ui/DomUtils","tinymce/ui/DragHelper"],function(e,t){return{init:function(){var e=this;e.on("repaint",e.renderScroll)},renderScroll:function(){function n(){function t(t,a,s,l,c,u){var d,f,m,p,h,g,v,y;if(f=i.getEl("scroll"+t)){if(v=a.toLowerCase(),y=s.toLowerCase(),i.getEl("absend")&&e.css(i.getEl("absend"),v,i.layoutRect()[l]-1),!c)return void e.css(f,"display","none");e.css(f,"display","block"),d=i.getEl("body"),m=i.getEl("scroll"+t+"t"),p=d["client"+s]-2*r,h=(p-=n&&o?f["client"+u]:0)/d["scroll"+s],(g={})[v]=d["offset"+a]+r,g[y]=p,e.css(f,g),(g={})[v]=d["scroll"+a]*h,g[y]=p*h,e.css(m,g)}}var n,o,a;a=i.getEl("body"),n=a.scrollWidth>a.clientWidth,o=a.scrollHeight>a.clientHeight,t("h","Left","Width","contentW",n,"Height"),t("v","Top","Height","contentH",o,"Width")}var i=this,r=2;i.settings.autoScroll&&(i._hasScroll||(i._hasScroll=!0,function(){function n(n,o,a,s,l){var c,u=i._id+"-scroll"+n,d=i.classPrefix;i.getEl().appendChild(e.createFragment('<div id="'+u+'" class="'+d+"scrollbar "+d+"scrollbar-"+n+'"><div id="'+u+'t" class="'+d+'scrollbar-thumb"></div></div>')),i.draghelper=new t(u+"t",{start:function(){c=i.getEl("body")["scroll"+o],e.addClass(e.get(u),d+"active")},drag:function(e){var t,u,d,f,m=i.layoutRect();u=m.contentW>m.innerW,d=m.contentH>m.innerH,f=i.getEl("body")["client"+a]-2*r,t=(f-=u&&d?i.getEl("scroll"+n)["client"+l]:0)/i.getEl("body")["scroll"+a],i.getEl("body")["scroll"+o]=c+e["delta"+s]/t},stop:function(){e.removeClass(e.get(u),d+"active")}})}i.addClass("scroll"),n("v","Top","Height","Y","Width"),n("h","Left","Width","X","Height")}(),i.on("wheel",function(e){var t=i.getEl("body");t.scrollLeft+=10*(e.deltaX||0),t.scrollTop+=10*e.deltaY,n()}),e.on(i.getEl("body"),"scroll",n)),n())}}}),i("tinymce/ui/Panel",["tinymce/ui/Container","tinymce/ui/Scrollable"],function(e,t){return e.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[t],renderHtml:function(){var e=this,t=e._layout,n=e.settings.html;return e.preRender(),t.preRender(e),void 0===n?n='<div id="'+e._id+'-body" class="'+e.classes("body")+'">'+t.renderHtml(e)+"</div>":("function"==typeof n&&(n=n.call(e)),e._hasBody=!1),'<div id="'+e._id+'" class="'+e.classes()+'" hidefocus="1" tabindex="-1" role="group">'+(e._preBodyHtml||"")+n+"</div>"}})}),i("tinymce/ui/Movable",["tinymce/ui/DomUtils"],function(e){function t(t,n,i){var r,o,a,s,l,c,u,d,f,m;return f=e.getViewPort(),o=e.getPos(n),a=o.x,s=o.y,t._fixed&&"static"==e.getRuntimeStyle(document.body,"position")&&(a-=f.x,s-=f.y),r=t.getEl(),m=e.getSize(r),l=m.width,c=m.height,m=e.getSize(n),u=m.width,d=m.height,"b"===(i=(i||"").split(""))[0]&&(s+=d),"r"===i[1]&&(a+=u),"c"===i[0]&&(s+=Math.round(d/2)),"c"===i[1]&&(a+=Math.round(u/2)),"b"===i[3]&&(s-=c),"r"===i[4]&&(a-=l),"c"===i[3]&&(s-=Math.round(c/2)),"c"===i[4]&&(a-=Math.round(l/2)),{x:a,y:s,w:l,h:c}}return{testMoveRel:function(n,i){for(var r=e.getViewPort(),o=0;o<i.length;o++){var a=t(this,n,i[o]);if(this._fixed){if(a.x>0&&a.x+a.w<r.w&&a.y>0&&a.y+a.h<r.h)return i[o]}else if(a.x>r.x&&a.x+a.w<r.w+r.x&&a.y>r.y&&a.y+a.h<r.h+r.y)return i[o]}return i[0]},moveRel:function(e,n){"string"!=typeof n&&(n=this.testMoveRel(e,n));var i=t(this,e,n);return this.moveTo(i.x,i.y)},moveBy:function(e,t){var n=this,i=n.layoutRect();return n.moveTo(i.x+e,i.y+t),n},moveTo:function(t,n){function i(e,t,n){return e<0?0:e+n>t&&(e=t-n)<0?0:e}var r=this;if(r.settings.constrainToViewport){var o=e.getViewPort(window),a=r.layoutRect();t=i(t,o.w+o.x,a.w),n=i(n,o.h+o.y,a.h)}return r._rendered?r.layoutRect({x:t,y:n}).repaint():(r.settings.x=t,r.settings.y=n),r.fire("move",{x:t,y:n}),r}}}),i("tinymce/ui/Resizable",["tinymce/ui/DomUtils"],function(e){return{resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(t,n){if(t<=1||n<=1){var i=e.getWindowSize();t=t<=1?t*i.w:t,n=n<=1?n*i.h:n}return this._layoutRect.autoResize=!1,this.layoutRect({minW:t,minH:n,w:t,h:n}).reflow()},resizeBy:function(e,t){var n=this,i=n.layoutRect();return n.resizeTo(i.w+e,i.h+t)}}}),i("tinymce/ui/FloatPanel",["tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/DomUtils"],function(e,t,n,i){function r(){function e(e,t){for(;e;){if(e==t)return!0;e=e.parent()}}u||(u=function(t){if(2!=t.button)for(var n=p.length;n--;){var i=p[n],r=i.getParentCtrl(t.target);if(i.settings.autohide){if(r&&(e(r,i)||i.parent()===r))continue;(t=i.fire("autohide",{target:t.target})).isDefaultPrevented()||i.hide()}}},i.on(document,"click",u))}function o(){d||(d=function(){var e;for(e=p.length;e--;)s(p[e])},i.on(window,"scroll",d))}function a(){if(!f){var e=document.documentElement,t=e.clientWidth,n=e.clientHeight;f=function(){document.all&&t==e.clientWidth&&n==e.clientHeight||(t=e.clientWidth,n=e.clientHeight,g.hideAll())},i.on(window,"resize",f)}}function s(e){function t(t,n){for(var i,r=0;r<p.length;r++)if(p[r]!=e)for(i=p[r].parent();i&&(i=i.parent());)i==e&&p[r].fixed(t).moveBy(0,n).repaint()}var n=i.getViewPort().y;e.settings.autofix&&(e._fixed?e._autoFixY>n&&(e.fixed(!1).layoutRect({y:e._autoFixY}).repaint(),t(!1,e._autoFixY-n)):(e._autoFixY=e.layoutRect().y,e._autoFixY<n&&(e.fixed(!0).layoutRect({y:0}).repaint(),t(!0,n-e._autoFixY))))}function l(e,t){var n,r,o=g.zIndex||65535;if(e)h.push(t);else for(n=h.length;n--;)h[n]===t&&h.splice(n,1);if(h.length)for(n=0;n<h.length;n++)h[n].modal&&(o++,r=h[n]),h[n].getEl().style.zIndex=o,h[n].zIndex=o,o++;var a=document.getElementById(t.classPrefix+"modal-block");r?i.css(a,"z-index",r.zIndex-1):a&&(a.parentNode.removeChild(a),m=!1),g.currentZIndex=o}function c(e){var t;for(t=p.length;t--;)p[t]===e&&p.splice(t,1);for(t=h.length;t--;)h[t]===e&&h.splice(t,1)}var u,d,f,m,p=[],h=[],g=e.extend({Mixins:[t,n],init:function(e){var t=this;t._super(e),t._eventsRoot=t,t.addClass("floatpanel"),e.autohide&&(r(),a(),p.push(t)),e.autofix&&(o(),t.on("move",function(){s(this)})),t.on("postrender show",function(e){if(e.control==t){var n,r=t.classPrefix;t.modal&&!m&&(n=i.createFragment('<div id="'+r+'modal-block" class="'+r+"reset "+r+'fade"></div>'),n=n.firstChild,t.getContainerElm().appendChild(n),setTimeout(function(){i.addClass(n,r+"in"),i.addClass(t.getEl(),r+"in")},0),m=!0),l(!0,t)}}),t.on("show",function(){t.parents().each(function(e){if(e._fixed)return t.fixed(!0),!1})}),e.popover&&(t._preBodyHtml='<div class="'+t.classPrefix+'arrow"></div>',t.addClass("popover").addClass("bottom").addClass(t.isRtl()?"end":"start"))},fixed:function(e){var t=this;if(t._fixed!=e){if(t._rendered){var n=i.getViewPort();e?t.layoutRect().y-=n.y:t.layoutRect().y+=n.y}t.toggleClass("fixed",e),t._fixed=e}return t},show:function(){var e,t=this,n=t._super();for(e=p.length;e--&&p[e]!==t;);return-1===e&&p.push(t),n},hide:function(){return c(this),l(!1,this),this._super()},hideAll:function(){g.hideAll()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||(e.remove(),l(!1,e)),e},remove:function(){c(this),this._super()},postRender:function(){var e=this;return e.settings.bodyRole&&this.getEl("body").setAttribute("role",e.settings.bodyRole),e._super()}});return g.hideAll=function(){for(var e=p.length;e--;){var t=p[e];t&&t.settings.autohide&&(t.hide(),p.splice(e,1))}},g}),i("tinymce/ui/Window",["tinymce/ui/FloatPanel","tinymce/ui/Panel","tinymce/ui/DomUtils","tinymce/ui/DragHelper"],function(e,t,n,i){return e.extend({modal:!0,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(e){var n=this;n._super(e),n.isRtl()&&n.addClass("rtl"),n.addClass("window"),n._fixed=!0,e.buttons&&(n.statusbar=new t({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:n.isRtl()?"start":"end",defaults:{type:"button"},items:e.buttons}),n.statusbar.addClass("foot"),n.statusbar.parent(n)),n.on("click",function(e){-1!=e.target.className.indexOf(n.classPrefix+"close")&&n.close()}),n.on("cancel",function(){n.close()}),n.aria("describedby",n.describedBy||n._id+"-none"),n.aria("label",e.title),n._fullscreen=!1},recalc:function(){var e,t,i,r,o=this,a=o.statusbar;o._fullscreen&&(o.layoutRect(n.getWindowSize()),o.layoutRect().contentH=o.layoutRect().innerH),o._super(),e=o.layoutRect(),o.settings.title&&!o._fullscreen&&(t=e.headerW)>e.w&&(i=e.x-Math.max(0,t/2),o.layoutRect({w:t,x:i}),r=!0),a&&(a.layoutRect({w:o.layoutRect().innerW}).recalc(),(t=a.layoutRect().minW+e.deltaW)>e.w&&(i=e.x-Math.max(0,t-e.w),o.layoutRect({w:t,x:i}),r=!0)),r&&o.recalc()},initLayoutRect:function(){var e,t=this,i=t._super(),r=0;if(t.settings.title&&!t._fullscreen){e=t.getEl("head");var o=n.getSize(e);i.headerW=o.width,i.headerH=o.height,r+=i.headerH}t.statusbar&&(r+=t.statusbar.layoutRect().h),i.deltaH+=r,i.minH+=r,i.h+=r;var a=n.getWindowSize();return i.x=Math.max(0,a.w/2-i.w/2),i.y=Math.max(0,a.h/2-i.h/2),i},renderHtml:function(){var e=this,t=e._layout,n=e._id,i=e.classPrefix,r=e.settings,o="",a="",s=r.html;return e.preRender(),t.preRender(e),r.title&&(o='<div id="'+n+'-head" class="'+i+'window-head"><div id="'+n+'-title" class="'+i+'title">'+e.encode(r.title)+'</div><button type="button" class="'+i+'close" aria-hidden="true">×</button><div id="'+n+'-dragh" class="'+i+'dragh"></div></div>'),r.url&&(s='<iframe src="'+r.url+'" tabindex="-1"></iframe>'),void 0===s&&(s=t.renderHtml(e)),e.statusbar&&(a=e.statusbar.renderHtml()),'<div id="'+n+'" class="'+e.classes()+'" hidefocus="1"><div class="'+e.classPrefix+'reset" role="application">'+o+'<div id="'+n+'-body" class="'+e.classes("body")+'">'+s+"</div>"+a+"</div></div>"},fullscreen:function(e){var t,i,r=this,o=document.documentElement,a=r.classPrefix;if(e!=r._fullscreen)if(n.on(window,"resize",function(){var e;if(r._fullscreen)if(t)r._timer||(r._timer=setTimeout(function(){var e=n.getWindowSize();r.moveTo(0,0).resizeTo(e.w,e.h),r._timer=0},50));else{e=(new Date).getTime();var i=n.getWindowSize();r.moveTo(0,0).resizeTo(i.w,i.h),(new Date).getTime()-e>50&&(t=!0)}}),i=r.layoutRect(),r._fullscreen=e,e){r._initial={x:i.x,y:i.y,w:i.w,h:i.h},r._borderBox=r.parseBox("0"),r.getEl("head").style.display="none",i.deltaH-=i.headerH+2,n.addClass(o,a+"fullscreen"),n.addClass(document.body,a+"fullscreen"),r.addClass("fullscreen");var s=n.getWindowSize();r.moveTo(0,0).resizeTo(s.w,s.h)}else r._borderBox=r.parseBox(r.settings.border),r.getEl("head").style.display="",i.deltaH+=i.headerH,n.removeClass(o,a+"fullscreen"),n.removeClass(document.body,a+"fullscreen"),r.removeClass("fullscreen"),r.moveTo(r._initial.x,r._initial.y).resizeTo(r._initial.w,r._initial.h);return r.reflow()},postRender:function(){var e,t=this;setTimeout(function(){t.addClass("in")},0),t._super(),t.statusbar&&t.statusbar.postRender(),t.focus(),this.dragHelper=new i(t._id+"-dragh",{start:function(){e={x:t.layoutRect().x,y:t.layoutRect().y}},drag:function(n){t.moveTo(e.x+n.deltaX,e.y+n.deltaY)}}),t.on("submit",function(e){e.isDefaultPrevented()||t.close()})},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var e=this,t=e.classPrefix;e.dragHelper.destroy(),e._super(),e.statusbar&&this.statusbar.remove(),e._fullscreen&&(n.removeClass(document.documentElement,t+"fullscreen"),n.removeClass(document.body,t+"fullscreen"))},getContentWindow:function(){var e=this.getEl().getElementsByTagName("iframe")[0];return e?e.contentWindow:null}})}),i("tinymce/ui/MessageBox",["tinymce/ui/Window"],function(e){var t=e.extend({init:function(e){e={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(e)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(n){function i(e,t,n){return{type:"button",text:e,subtype:n?"primary":"",onClick:function(e){e.control.parents()[1].close(),o(t)}}}var r,o=n.callback||function(){};switch(n.buttons){case t.OK_CANCEL:r=[i("Ok",!0,!0),i("Cancel",!1)];break;case t.YES_NO:case t.YES_NO_CANCEL:r=[i("Yes",1,!0),i("No",0)],n.buttons==t.YES_NO_CANCEL&&r.push(i("Cancel",-1));break;default:r=[i("Ok",!0,!0)]}return new e({padding:20,x:n.x,y:n.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:r,title:n.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:n.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:n.onClose,onCancel:function(){o(!1)}}).renderTo(document.body).reflow()},alert:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,t.msgBox(e)},confirm:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,e.buttons=t.OK_CANCEL,t.msgBox(e)}}});return t}),i("tinymce/WindowManager",["tinymce/ui/Window","tinymce/ui/MessageBox"],function(e,t){return function(n){function i(){if(o.length)return o[o.length-1]}var r=this,o=[];r.windows=o,n.on("remove",function(){for(var e=o.length;e--;)o[e].close()}),r.open=function(t,i){var r;return n.editorManager.setActive(n),t.title=t.title||" ",t.url=t.url||t.file,t.url&&(t.width=parseInt(t.width||320,10),t.height=parseInt(t.height||240,10)),t.body&&(t.items={defaults:t.defaults,type:t.bodyType||"form",items:t.body}),t.url||t.buttons||(t.buttons=[{text:"Ok",subtype:"primary",onclick:function(){r.find("form")[0].submit()}},{text:"Cancel",onclick:function(){r.close()}}]),r=new e(t),o.push(r),r.on("close",function(){for(var e=o.length;e--;)o[e]===r&&o.splice(e,1);o.length||n.focus()}),t.data&&r.on("postRender",function(){this.find("*").each(function(e){var n=e.name();n in t.data&&e.value(t.data[n])})}),r.features=t||{},r.params=i||{},1===o.length&&n.nodeChanged(),r.renderTo().reflow()},r.alert=function(e,i,r){t.alert(e,function(){i?i.call(r||this):n.focus()})},r.confirm=function(e,n,i){t.confirm(e,function(e){n.call(i||this,e)})},r.close=function(){i()&&i().close()},r.getParams=function(){return i()?i().params:null},r.setParams=function(e){i()&&(i().params=e)},r.getWindows=function(){return o}}}),i("tinymce/util/Quirks",["tinymce/util/VK","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/html/Node","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools"],function(e,t,n,i,r,o,a){return function(s){function l(e,t){try{s.getDoc().execCommand(e,!1,t)}catch(e){}}function c(){var e=s.getDoc().documentMode;return e||6}function u(e){return e.isDefaultPrevented()}function d(e){var t;e.dataTransfer&&(s.selection.isCollapsed()&&"IMG"==e.target.tagName&&_.select(e.target),(t=s.selection.getContent()).length>0&&e.dataTransfer.setData(B,A+escape(t)))}function f(e){var t,n;return e.dataTransfer&&(t=e.dataTransfer.getData(B))&&t.indexOf(A)>=0&&(n=unescape(t.substr(A.length))),n}function m(e){s.queryCommandSupported("mceInsertClipboardContent")?s.execCommand("mceInsertClipboardContent",!1,{content:e}):s.execCommand("mceInsertContent",!1,e)}function p(){s.shortcuts.add("meta+a",null,"SelectAll")}function h(){s.on("keydown",function(e){if(!u(e)&&e.keyCode===C){if(!s.getBody().getElementsByTagName("hr").length)return;if(_.isCollapsed()&&0===_.getRng(!0).startOffset){var t=_.getNode(),n=t.previousSibling;if("HR"==t.nodeName)return w.remove(t),void e.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(w.remove(n),e.preventDefault())}}})}function g(){s.on("keydown",function(e){if(!u(e)&&e.keyCode===C&&_.isCollapsed()&&0===_.getRng(!0).startOffset){var t=_.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}})}function v(){s.inline||(s.contentStyles.push("body {min-height: 150px}"),s.on("click",function(e){if("HTML"==e.target.nodeName){var t;t=s.selection.getRng(),s.getBody().focus(),s.selection.setRng(t),s.selection.normalize(),s.nodeChanged()}}))}var y=a.each,b=s.$,C=e.BACKSPACE,x=e.DELETE,w=s.dom,_=s.selection,E=s.settings,N=s.parser,S=s.serializer,k=o.gecko,T=o.ie,R=o.webkit,A="data:text/mce-internal,",B=T?"Text":"URL";s.on("keydown",function(t){var n,i,r,o,a;if(!u(t)&&t.keyCode==e.BACKSPACE&&(n=_.getRng(),i=n.startContainer,r=n.startOffset,o=w.getRoot(),a=i,n.collapsed&&0===r)){for(;a&&a.parentNode&&a.parentNode.firstChild==a&&a.parentNode!=o;)a=a.parentNode;"BLOCKQUOTE"===a.tagName&&(s.formatter.toggle("blockquote",null,a),(n=w.createRng()).setStart(i,0),n.setEnd(i,0),_.setRng(n))}}),function(){function e(e){var t=w.create("body"),n=e.cloneContents();return t.appendChild(n),_.serializer.serialize(t,{format:"html"})}function n(n){if(!n.setStart){if(n.item)return!1;var i=n.duplicate();return i.moveToElementText(s.getBody()),t.compareRanges(n,i)}var r=e(n),o=w.createRng();return o.selectNode(s.getBody()),r===e(o)}s.on("keydown",function(e){var t,i,r=e.keyCode;if(!u(e)&&(r==x||r==C)){if(t=s.selection.isCollapsed(),i=s.getBody(),t&&!w.isEmpty(i))return;if(!t&&!n(s.selection.getRng()))return;e.preventDefault(),s.setContent(""),i.firstChild&&w.isBlock(i.firstChild)?s.selection.setCursorLocation(i.firstChild,0):s.selection.setCursorLocation(i,0),s.nodeChanged()}})}(),s.on("keyup focusin mouseup",function(t){65==t.keyCode&&e.metaKeyPressed(t)||_.normalize()},!0),R&&(!function(){function i(e){var t=w.schema.getBlockElements(),n=s.getBody();if("BR"!=e.nodeName)return!1;for(e=e;e!=n&&!t[e.nodeName];e=e.parentNode)if(e.nextSibling)return!1;return!0}function r(e,t){var n;for(n=e.nextSibling;n&&n!=t;n=n.nextSibling)if((3!=n.nodeType||0!==b.trim(n.data).length)&&n!==t)return!1;return n===t}function o(e,t,r){var o,a,s;for(s=w.schema.getNonEmptyElements(),o=new n(r||e,e);a=o[t?"next":"prev"]();){if(s[a.nodeName]&&!i(a))return a;if(3==a.nodeType&&a.data.length>0)return a}}function l(e){var n,i,r,a,l;if(!e.collapsed&&(n=w.getParent(t.getNode(e.startContainer,e.startOffset),w.isBlock),i=w.getParent(t.getNode(e.endContainer,e.endOffset),w.isBlock),l=s.schema.getTextBlockElements(),n!=i&&l[n.nodeName]&&l[i.nodeName]&&"false"!==w.getContentEditable(n)&&"false"!==w.getContentEditable(i)))return e.deleteContents(),r=o(n,!1),a=o(i,!0),w.isEmpty(i)||b(n).append(i.childNodes),b(i).remove(),r?1==r.nodeType?"BR"==r.nodeName?(e.setStartBefore(r),e.setEndBefore(r)):(e.setStartAfter(r),e.setEndAfter(r)):(e.setStart(r,r.data.length),e.setEnd(r,r.data.length)):a&&(1==a.nodeType?(e.setStartBefore(a),e.setEndBefore(a)):(e.setStart(a,0),e.setEnd(a,0))),_.setRng(e),!0}function c(e,n){var i,a,l,c,u,d;if(!e.collapsed)return e;if(u=e.startContainer,d=e.startOffset,3==u.nodeType)if(n){if(d<u.data.length)return e}else if(d>0)return e;if(i=t.getNode(e.startContainer,e.startOffset),l=w.getParent(i,w.isBlock),a=o(s.getBody(),n,i),c=w.getParent(a,w.isBlock),!i||!a)return e;if(c&&l!=c)if(n){if(!r(l,c))return e;1==i.nodeType?"BR"==i.nodeName?e.setStartBefore(i):e.setStartAfter(i):e.setStart(i,i.data.length),1==a.nodeType?e.setEnd(a,0):e.setEndBefore(a)}else{if(!r(c,l))return e;1==a.nodeType?"BR"==a.nodeName?e.setStartBefore(a):e.setStartAfter(a):e.setStart(a,a.data.length),1==i.nodeType?e.setEnd(i,0):e.setEndBefore(i)}return e}function p(e){var t=_.getRng();if(t=c(t,e),l(t))return!0}function h(e){var t,n,i;p(e)||(a.each(s.getBody().getElementsByTagName("*"),function(e){"SPAN"==e.tagName&&e.setAttribute("mce-data-marked",1),!e.hasAttribute("data-mce-style")&&e.hasAttribute("style")&&s.dom.setAttrib(e,"style",s.dom.getAttrib(e,"style"))}),(t=new E(function(){})).observe(s.getDoc(),{childList:!0,attributes:!0,subtree:!0,attributeFilter:["style"]}),s.getDoc().execCommand(e?"ForwardDelete":"Delete",!1,null),n=s.selection.getRng(),i=n.startContainer.parentNode,a.each(t.takeRecords(),function(e){if(w.isChildOf(e.target,s.getBody())){if("style"==e.attributeName){var t=e.target.getAttribute("data-mce-style");t?e.target.setAttribute("style",t):e.target.removeAttribute("style")}a.each(e.addedNodes,function(e){if("SPAN"==e.nodeName&&!e.getAttribute("mce-data-marked")){var t,r;e==i&&(t=n.startOffset,r=e.firstChild),w.remove(e,!0),r&&(n.setStart(r,t),n.setEnd(r,t),s.selection.setRng(n))}})}}),t.disconnect(),a.each(s.dom.select("span[mce-data-marked]"),function(e){e.removeAttribute("mce-data-marked")}))}var g,v,y=s.getDoc(),w=s.dom,_=s.selection,E=window.MutationObserver;E||(g=!0,E=function(){function e(e){var t=e.relatedNode||e.target;i.push({target:t,addedNodes:[t]})}function t(e){var t=e.relatedNode||e.target;i.push({target:t,attributeName:e.attrName})}var n,i=[];this.observe=function(i){(n=i).addEventListener("DOMSubtreeModified",e,!1),n.addEventListener("DOMNodeInsertedIntoDocument",e,!1),n.addEventListener("DOMNodeInserted",e,!1),n.addEventListener("DOMAttrModified",t,!1)},this.disconnect=function(){n.removeEventListener("DOMSubtreeModified",e,!1),n.removeEventListener("DOMNodeInsertedIntoDocument",e,!1),n.removeEventListener("DOMNodeInserted",e,!1),n.removeEventListener("DOMAttrModified",t,!1)},this.takeRecords=function(){return i}}),s.on("keydown",function(e){var t=e.keyCode==x,n=e.ctrlKey||e.metaKey;if(!u(e)&&(t||e.keyCode==C)){var i=s.selection.getRng(),r=i.startContainer,o=i.startOffset;if(!n&&i.collapsed&&3==r.nodeType&&(t?o<r.data.length:o>0))return;e.preventDefault(),n&&s.selection.getSel().modify("extend",t?"forward":"backward",e.metaKey?"lineboundary":"word"),h(t)}}),s.on("keypress",function(t){if(!u(t)&&!_.isCollapsed()&&t.charCode&&!e.metaKeyPressed(t)){var n,i,r,o,a,l;n=s.selection.getRng(),l=String.fromCharCode(t.charCode),t.preventDefault(),i=b(n.startContainer).parents().filter(function(e,t){return!!s.schema.getTextInlineElements()[t.nodeName]}),h(!0),(i=i.filter(function(e,t){return!b.contains(s.getBody(),t)})).length?(r=w.createFragment(),i.each(function(e,t){t=t.cloneNode(!1),r.hasChildNodes()?(t.appendChild(r.firstChild),r.appendChild(t)):(a=t,r.appendChild(t)),r.appendChild(t)}),a.appendChild(s.getDoc().createTextNode(l)),o=w.getParent(n.startContainer,w.isBlock),w.isEmpty(o)?b(o).empty().append(r):n.insertNode(r),n.setStart(a.firstChild,1),n.setEnd(a.firstChild,1),s.selection.setRng(n)):s.selection.setContent(l)}}),s.addCommand("Delete",function(){h()}),s.addCommand("ForwardDelete",function(){h(!0)}),g||(s.on("dragstart",function(e){v=_.getRng(),d(e)}),s.on("drop",function(e){if(!u(e)){var n=f(e);n&&(e.preventDefault(),window.setTimeout(function(){var i=t.getCaretRangeFromPoint(e.x,e.y,y);v&&(_.setRng(v),v=null),h(),_.setRng(i),m(n)},0))}}),s.on("cut",function(e){!u(e)&&e.clipboardData&&(e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/html",s.selection.getContent()),e.clipboardData.setData("text/plain",s.selection.getContent({format:"text"})),h(!0))}))}(),s.settings.content_editable||(w.bind(s.getDoc(),"focusin",function(){_.setRng(_.getRng())}),w.bind(s.getDoc(),"mousedown mouseup",function(e){e.target==s.getDoc().documentElement&&(s.getBody().focus(),"mousedown"==e.type?_.placeCaretAt(e.clientX,e.clientY):_.setRng(_.getRng()))})),s.on("click",function(e){var t=e.target;/^(IMG|HR)$/.test(t.nodeName)&&(e.preventDefault(),_.getSel().setBaseAndExtent(t,0,t,1),s.nodeChanged()),"A"==t.nodeName&&w.hasClass(t,"mce-item-anchor")&&(e.preventDefault(),_.select(t))}),E.forced_root_block&&s.on("init",function(){l("DefaultParagraphSeparator",E.forced_root_block)}),s.on("init",function(){s.dom.bind(s.getBody(),"submit",function(e){e.preventDefault()})}),g(),N.addNodeFilter("br",function(e){for(var t=e.length;t--;)"Apple-interchange-newline"==e[t].attr("class")&&e[t].remove()}),s.on("touchstart",function(e){var t,n,i,r;t=e.target,n=(new Date).getTime(),!(r=e.changedTouches)||r.length>1||(i=r[0],s.once("touchend",function(e){var r,o=e.changedTouches[0];(new Date).getTime()-n>500||Math.abs(i.clientX-o.clientX)>5||Math.abs(i.clientY-o.clientY)>5||(r={target:t},y("pageX pageY clientX clientY screenX screenY".split(" "),function(e){r[e]=o[e]}),(r=s.fire("click",r)).isDefaultPrevented()||(s.selection.placeCaretAt(o.clientX,o.clientY),s.nodeChanged()))}))}),o.iOS?(s.inline||s.on("keydown",function(){document.activeElement==document.body&&s.getWin().focus()}),v(),s.on("click",function(e){var t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)}),s.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")):p()),T&&o.ie<11&&(h(),document.body.setAttribute("role","application"),c()>7||(l("RespectVisibilityInDesign",!0),s.contentStyles.push(".mceHideBrInPre pre br {display: none}"),w.addClass(s.getBody(),"mceHideBrInPre"),N.addNodeFilter("pre",function(e){for(var t,n,r,o,a=e.length;a--;)for(n=(t=e[a].getAll("br")).length;n--;)(o=(r=t[n]).prev)&&3===o.type&&"\n"!=o.value.charAt(o.value-1)?o.value+="\n":r.parent.insert(new i("#text",3),r,!0).value="\n"}),S.addNodeFilter("pre",function(e){for(var t,n,i,r=e.length;r--;)for(n=(t=e[r].getAll("br")).length;n--;)(i=t[n].prev)&&3==i.type&&(i.value=i.value.replace(/\r?\n$/,""))})),w.bind(s.getBody(),"mouseup",function(){var e,t=_.getNode();"IMG"==t.nodeName&&((e=w.getStyle(t,"width"))&&(w.setAttrib(t,"width",e.replace(/[^0-9%]+/g,"")),w.setStyle(t,"width","")),(e=w.getStyle(t,"height"))&&(w.setAttrib(t,"height",e.replace(/[^0-9%]+/g,"")),w.setStyle(t,"height","")))}),s.on("keydown",function(e){var t;u(e)||e.keyCode!=C||(t=s.getDoc().selection.createRange())&&t.item&&(e.preventDefault(),s.undoManager.beforeChange(),w.remove(t.item(0)),s.undoManager.add())}),function(){var e;c()>=10&&(e="",y("p div h1 h2 h3 h4 h5 h6".split(" "),function(t,n){e+=(n>0?",":"")+t+":empty"}),s.contentStyles.push(e+"{padding-right: 1px !important}"))}(),c()<9&&(N.addNodeFilter("noscript",function(e){for(var t,n,i=e.length;i--;)(n=(t=e[i]).firstChild)&&t.attr("data-mce-innertext",n.value)}),S.addNodeFilter("noscript",function(e){for(var t,n,o,a=e.length;a--;)t=e[a],(n=e[a].firstChild)?n.value=r.decode(n.value):(o=t.attributes.map["data-mce-innertext"])&&(t.attr("data-mce-innertext",null),(n=new i("#text",3)).value=o,n.raw=!0,t.append(n))})),function(){function e(e,t){var n=s.createTextRange();try{n.moveToPoint(e,t)}catch(e){n=null}return n}function t(t){var i;t.button?(i=e(t.x,t.y))&&(i.compareEndPoints("StartToStart",r)>0?i.setEndPoint("StartToStart",r):i.setEndPoint("EndToEnd",r),i.select()):n()}function n(){var e=a.selection.createRange();r&&!e.item&&0===e.compareEndPoints("StartToEnd",e)&&r.select(),w.unbind(a,"mouseup",n),w.unbind(a,"mousemove",t),r=i=0}var i,r,o,a=w.doc,s=a.body;a.documentElement.unselectable=!0,w.bind(a,"mousedown contextmenu",function(s){if("HTML"===s.target.nodeName){if(i&&n(),(o=a.documentElement).scrollHeight>o.clientHeight)return;i=1,(r=e(s.x,s.y))&&(w.bind(a,"mouseup",n),w.bind(a,"mousemove",t),w.getRoot().focus(),r.select())}})}()),o.ie>=11&&(v(),s.inline||s.on("focus blur beforegetcontent",function(){var e=s.dom.create("br");s.getBody().appendChild(e),e.parentNode.removeChild(e)},!0),g()),o.ie&&(p(),l("AutoUrlDetect",!1),s.on("dragstart",function(e){d(e)}),s.on("drop",function(e){if(!u(e)){var n=f(e);if(n){e.preventDefault();var i=t.getCaretRangeFromPoint(e.x,e.y,s.getDoc());_.setRng(i),m(n)}}})),k&&(h(),window.Range.prototype.getClientRects||s.on("mousedown",function(e){if(!u(e)&&"HTML"===e.target.nodeName){var t=s.getBody();t.blur(),setTimeout(function(){t.focus()},0)}}),function(){function e(){var e=w.getAttribs(_.getStart().cloneNode(!1));return function(){var t=_.getStart();t!==s.getBody()&&(w.setAttrib(t,"style",null),y(e,function(e){t.setAttributeNode(e.cloneNode(!0))}))}}function t(){return!_.isCollapsed()&&w.getParent(_.getStart(),w.isBlock)!=w.getParent(_.getEnd(),w.isBlock)}s.on("keypress",function(n){var i;if(!u(n)&&(8==n.keyCode||46==n.keyCode)&&t())return i=e(),s.getDoc().execCommand("delete",!1,null),i(),n.preventDefault(),!1}),w.bind(s.getDoc(),"cut",function(n){var i;!u(n)&&t()&&(i=e(),setTimeout(function(){i()},0))})}(),E.readonly||s.on("BeforeExecCommand MouseDown",function(){s._refreshContentEditable(),l("StyleWithCSS",!1),l("enableInlineTableEditing",!1),E.object_resizing||l("enableObjectResizing",!1)}),function(){function e(){y(w.select("a"),function(e){var t=e.parentNode,n=w.getRoot();if(t.lastChild===e){for(;t&&!w.isBlock(t);){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}w.add(t,"br",{"data-mce-bogus":1})}})}s.on("SetContent ExecCommand",function(t){"setcontent"!=t.type&&"mceInsertLink"!==t.command||e()})}(),s.on("Undo Redo SetContent",function(e){e.initial||s.execCommand("mceRepaint")}),s.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}"),o.mac&&s.on("keydown",function(t){!e.metaKeyPressed(t)||37!=t.keyCode&&39!=t.keyCode||(t.preventDefault(),s.selection.getSel().modify("move",37==t.keyCode?"backward":"forward","lineboundary"))}),g())}}),i("tinymce/util/Observable",["tinymce/util/EventDispatcher"],function(e){function t(t){return t._eventDispatcher||(t._eventDispatcher=new e({scope:t,toggleEvent:function(n,i){e.isNative(n)&&t.toggleNativeEvent&&t.toggleNativeEvent(n,i)}})),t._eventDispatcher}return{fire:function(e,n,i){var r=this;if(r.removed&&"remove"!==e)return n;if(n=t(r).fire(e,n,i),!1!==i&&r.parent)for(var o=r.parent();o&&!n.isPropagationStopped();)o.fire(e,n,!1),o=o.parent();return n},on:function(e,n,i){return t(this).on(e,n,i)},off:function(e,n){return t(this).off(e,n)},once:function(e,n){return t(this).once(e,n)},hasEventListeners:function(e){return t(this).has(e)}}}),i("tinymce/EditorObservable",["tinymce/util/Observable","tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,t,n){function i(e,t){return"selectionchange"==t?e.getDoc():!e.inline&&/^mouse|click|contextmenu|drop|dragover|dragend/.test(t)?e.getDoc().documentElement:e.settings.event_root?(e.eventRoot||(e.eventRoot=a.select(e.settings.event_root)[0]),e.eventRoot):e.getBody()}function r(e,t){var n,r=i(e,t);if(e.delegates||(e.delegates={}),!e.delegates[t])if(e.settings.event_root){if(o||(o={},e.editorManager.on("removeEditor",function(){var t;if(!e.editorManager.activeEditor&&o){for(t in o)e.dom.unbind(i(e,t));o=null}})),o[t])return;n=function(n){for(var i=n.target,r=e.editorManager.editors,o=r.length;o--;){var s=r[o].getBody();(s===i||a.isChildOf(i,s))&&(r[o].hidden||r[o].fire(t,n))}},o[t]=n,a.bind(r,t,n)}else n=function(n){e.hidden||e.fire(t,n)},a.bind(r,t,n),e.delegates[t]=n}var o,a=t.DOM,s={bindPendingEventDelegates:function(){var e=this;n.each(e._pendingNativeEvents,function(t){r(e,t)})},toggleNativeEvent:function(e,t){var n=this;n.settings.readonly||"focus"!=e&&"blur"!=e&&(t?n.initialized?r(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(i(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e,t=this;if(t.delegates){for(e in t.delegates)t.dom.unbind(i(t,e),e,t.delegates[e]);delete t.delegates}t.inline||(t.getBody().onload=null,t.dom.unbind(t.getWin()),t.dom.unbind(t.getDoc())),t.dom.unbind(t.getBody()),t.dom.unbind(t.getContainer())}};return s=n.extend({},e,s)}),i("tinymce/Shortcuts",["tinymce/util/Tools","tinymce/Env"],function(e,t){var n=e.each,i=e.explode,r={f9:120,f10:121,f11:122},o=e.makeMap("alt,ctrl,shift,meta,access");return function(a){function s(e,s,l,c){var u,d,f;f={func:l,scope:c||a,desc:a.translate(s)},n(i(e,"+"),function(e){e in o?f[e]=!0:/^[0-9]{2,}$/.test(e)?f.keyCode=parseInt(e,10):(f.charCode=e.charCodeAt(0),f.keyCode=r[e]||e.toUpperCase().charCodeAt(0))}),u=[f.keyCode];for(d in o)f[d]?u.push(d):f[d]=!1;return f.id=u.join(","),f.access&&(f.alt=!0,t.mac?f.ctrl=!0:f.shift=!0),f.meta&&(t.mac?f.meta=!0:(f.ctrl=!0,f.meta=!1)),f}var l=this,c={};a.on("keyup keypress keydown",function(e){(e.altKey||e.ctrlKey||e.metaKey)&&!e.isDefaultPrevented()&&n(c,function(t){if(t.ctrl==e.ctrlKey&&t.meta==e.metaKey&&t.alt==e.altKey&&t.shift==e.shiftKey)return e.keyCode==t.keyCode||e.charCode&&e.charCode==t.charCode?(e.preventDefault(),"keydown"==e.type&&t.func.call(t.scope),!0):void 0})}),l.add=function(t,r,o,l){var u;return u=o,"string"==typeof o?o=function(){a.execCommand(u,!1,null)}:e.isArray(u)&&(o=function(){a.execCommand(u[0],u[1],u[2])}),n(i(t.toLowerCase()),function(e){var t=s(e,r,o,l);c[t.id]=t}),!0},l.remove=function(e){var t=s(e);return!!c[t.id]&&(delete c[t.id],!0)}}}),i("tinymce/Editor",["tinymce/dom/DOMUtils","tinymce/dom/DomQuery","tinymce/AddOnManager","tinymce/NodeChange","tinymce/html/Node","tinymce/dom/Serializer","tinymce/html/Serializer","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/dom/ScriptLoader","tinymce/dom/EventUtils","tinymce/WindowManager","tinymce/html/Schema","tinymce/html/DomParser","tinymce/util/Quirks","tinymce/Env","tinymce/util/Tools","tinymce/EditorObservable","tinymce/Shortcuts"],function(e,n,i,r,o,a,s,l,c,u,d,f,m,p,h,g,v,y,b,C,x,w,_,E){function N(e,t,r){var o,a,s=this;o=s.documentBaseUrl=r.documentBaseURL,a=r.baseURI,s.settings=t=R({id:e,theme:"modern",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:o,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,padd_empty_editor:!0,render_ui:!0,indentation:"30px",inline_styles:!0,convert_fonts_to_spans:!0,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:!0,entity_encoding:"named",url_converter:s.convertURL,url_converter_scope:s,ie7_compat:!0},t),i.language=t.language||"en",i.languageLoad=t.language_load,i.baseURL=r.baseURL,s.id=t.id=e,s.isNotDirty=!0,s.plugins={},s.documentBaseURI=new p(t.document_base_url||o,{base_uri:a}),s.baseURI=a,s.contentCSS=[],s.contentStyles=[],s.shortcuts=new E(s),s.loadedCSS={},s.editorCommands=new m(s),t.target&&(s.targetElm=t.target),s.suffix=r.suffix,s.editorManager=r,s.inline=t.inline,t.cache_suffix&&(x.cacheSuffix=t.cache_suffix.replace(/^[\?\&]+/,"")),r.fire("SetupEditor",s),s.execCallback("setup",s),s.$=n.overrideDefaults(function(){return{context:s.inline?s.getBody():s.getDoc(),element:s.getBody()}})}var S=e.DOM,k=i.ThemeManager,T=i.PluginManager,R=w.extend,A=w.each,B=w.explode,D=w.inArray,M=w.trim,L=w.resolve,P=g.Event,H=x.gecko,O=x.ie;return N.prototype={render:function(){function e(){S.unbind(window,"ready",e),t.render()}var t=this,n=t.settings,i=t.id,r=t.suffix;if(P.domLoaded){if(t.getElement()&&x.contentEditable){n.inline?t.inline=!0:(t.orgVisibility=t.getElement().style.visibility,t.getElement().style.visibility="hidden");var o=t.getElement().form||S.getParent(i,"form");o&&(t.formElement=o,n.hidden_input&&!/TEXTAREA|INPUT/i.test(t.getElement().nodeName)&&(S.insertAfter(S.create("input",{type:"hidden",name:i}),i),t.hasHiddenInput=!0),t.formEventDelegate=function(e){t.fire(e.type,e)},S.bind(o,"submit reset",t.formEventDelegate),t.on("reset",function(){t.setContent(t.startContent,{format:"raw"})}),!n.submit_patch||o.submit.nodeType||o.submit.length||o._mceOldSubmit||(o._mceOldSubmit=o.submit,o.submit=function(){return t.editorManager.triggerSave(),t.isNotDirty=!0,o._mceOldSubmit(o)})),t.windowManager=new v(t),"xml"==n.encoding&&t.on("GetContent",function(e){e.save&&(e.content=S.encode(e.content))}),n.add_form_submit_trigger&&t.on("submit",function(){t.initialized&&t.save()}),n.add_unload_trigger&&(t._beforeUnload=function(){!t.initialized||t.destroyed||t.isHidden()||t.save({format:"raw",no_events:!0,set_dirty:!1})},t.editorManager.on("BeforeUnload",t._beforeUnload)),function(){var e=h.ScriptLoader;if(n.language&&"en"!=n.language&&!n.language_url&&(n.language_url=t.editorManager.baseURL+"/langs/"+n.language+".js"),n.language_url&&e.add(n.language_url),n.theme&&"function"!=typeof n.theme&&"-"!=n.theme.charAt(0)&&!k.urls[n.theme]){var i=n.theme_url;i=i?t.documentBaseURI.toAbsolute(i):"themes/"+n.theme+"/theme"+r+".js",k.load(n.theme,i)}w.isArray(n.plugins)&&(n.plugins=n.plugins.join(" ")),A(n.external_plugins,function(e,t){T.load(t,e),n.plugins+=" "+t}),A(n.plugins.split(/[ ,]/),function(e){if((e=M(e))&&!T.urls[e])if("-"==e.charAt(0)){e=e.substr(1,e.length);var t=T.dependencies(e);A(t,function(e){var t={prefix:"plugins/",resource:e,suffix:"/plugin"+r+".js"};e=T.createUrl(t,e),T.load(e.resource,e)})}else T.load(e,{prefix:"plugins/",resource:e,suffix:"/plugin"+r+".js"})}),e.loadQueue(function(){t.removed||t.init()})}()}}else S.bind(window,"ready",e)},init:function(){function e(t){var n,i,r=T.get(t);n=T.urls[t]||f.documentBaseUrl.replace(/\/$/,""),t=M(t),r&&-1===D(h,t)&&(A(T.dependencies(t),function(t){e(t)}),i=new r(f,n,f.$),f.plugins[t]=i,i.init&&(i.init(f,n),h.push(t)))}var t,n,i,r,o,a,s,l,c,u,d,f=this,m=f.settings,p=f.getElement(),h=[];if(this.editorManager.i18n.setCode(m.language),f.rtl=this.editorManager.i18n.rtl,f.editorManager.add(f),m.aria_label=m.aria_label||S.getAttrib(p,"aria-label",f.getLang("aria.rich_text_area")),m.theme&&("function"!=typeof m.theme?(m.theme=m.theme.replace(/-/,""),a=k.get(m.theme),f.theme=new a(f,k.urls[m.theme]),f.theme.init&&f.theme.init(f,k.urls[m.theme]||f.documentBaseUrl.replace(/\/$/,""),f.$)):f.theme=m.theme),A(m.plugins.replace(/\-/g,"").split(/[ ,]/),e),m.render_ui&&f.theme&&(f.orgDisplay=p.style.display,"function"!=typeof m.theme?(t=m.width||p.style.width||p.offsetWidth,n=m.height||p.style.height||p.offsetHeight,i=m.min_height||100,(u=/^[0-9\.]+(|px)$/i).test(""+t)&&(t=Math.max(parseInt(t,10),100)),u.test(""+n)&&(n=Math.max(parseInt(n,10),i)),o=f.theme.renderUI({targetNode:p,width:t,height:n,deltaWidth:m.delta_width,deltaHeight:m.delta_height}),m.content_editable||(n=(o.iframeHeight||n)+("number"==typeof n?o.deltaHeight||0:""))<i&&(n=i)):((o=m.theme(f,p)).editorContainer.nodeType&&(o.editorContainer=o.editorContainer.id=o.editorContainer.id||f.id+"_parent"),o.iframeContainer.nodeType&&(o.iframeContainer=o.iframeContainer.id=o.iframeContainer.id||f.id+"_iframecontainer"),n=o.iframeHeight||p.offsetHeight),f.editorContainer=o.editorContainer),m.content_css&&A(B(m.content_css),function(e){f.contentCSS.push(f.documentBaseURI.toAbsolute(e))}),m.content_style&&f.contentStyles.push(m.content_style),m.content_editable)return p=r=o=null,f.initContentBody();for(f.iframeHTML=m.doctype+"<html><head>",m.document_base_url!=f.documentBaseUrl&&(f.iframeHTML+='<base href="'+f.documentBaseURI.getURI()+'" />'),!x.caretAfter&&m.ie7_compat&&(f.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'),f.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />',d=0;d<f.contentCSS.length;d++){var g=f.contentCSS[d];f.iframeHTML+='<link type="text/css" rel="stylesheet" href="'+w._addCacheSuffix(g)+'" />',f.loadedCSS[g]=!0}-1!=(l=m.body_id||"tinymce").indexOf("=")&&(l=(l=f.getParam("body_id","","hash"))[f.id]||l),-1!=(c=m.body_class||"").indexOf("=")&&(c=(c=f.getParam("body_class","","hash"))[f.id]||""),m.content_security_policy&&(f.iframeHTML+='<meta http-equiv="Content-Security-Policy" content="'+m.content_security_policy+'" />'),f.iframeHTML+='</head><body id="'+l+'" class="mce-content-body '+c+'" data-id="'+f.id+'"><br></body></html>';var v='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+f.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';document.domain!=location.hostname&&(s=v);var y=S.create("iframe",{id:f.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:f.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:n,display:"block"}});if(y.onload=function(){y.onload=null,f.fire("load")},S.setAttrib(y,"src",s||'javascript:""'),f.contentAreaContainer=o.iframeContainer,f.iframeElement=y,r=S.add(o.iframeContainer,y),O)try{f.getDoc()}catch(e){r.src=s=v}o.editorContainer&&(S.get(o.editorContainer).style.display=f.orgDisplay,f.hidden=S.isHidden(o.editorContainer)),f.getElement().style.display="none",S.setAttrib(f.id,"aria-hidden",!0),s||f.initContentBody(),p=r=o=null},initContentBody:function(t){var n,i,s=this,m=s.settings,p=s.getElement(),h=s.getDoc();m.inline||(s.getElement().style.visibility=s.orgVisibility),t||m.content_editable||(h.open(),h.write(s.iframeHTML),h.close()),m.content_editable&&(s.on("remove",function(){var e=this.getBody();S.removeClass(e,"mce-content-body"),S.removeClass(e,"mce-edit-focus"),S.setAttrib(e,"contentEditable",null)}),S.addClass(p,"mce-content-body"),s.contentDocument=h=m.content_document||document,s.contentWindow=m.content_window||window,s.bodyElement=p,m.content_document=m.content_window=null,m.root_name=p.nodeName.toLowerCase()),(n=s.getBody()).disabled=!0,m.readonly||(s.inline&&"static"==S.getStyle(n,"position",!0)&&(n.style.position="relative"),n.contentEditable=s.getParam("content_editable_state",!0)),n.disabled=!1,s.schema=new y(m),s.dom=new e(h,{keep_values:!0,url_converter:s.convertURL,url_converter_scope:s,hex_colors:m.force_hex_style_colors,class_filter:m.class_filter,update_styles:!0,root_element:s.inline?s.getBody():null,collect:m.content_editable,schema:s.schema,onSetAttrib:function(e){s.fire("SetAttrib",e)}}),s.parser=new b(m,s.schema),s.parser.addAttributeFilter("src,href,style,tabindex",function(e,t){for(var n,i,r,o=e.length,a=s.dom;o--;)i=(n=e[o]).attr(t),r="data-mce-"+t,n.attributes.map[r]||("style"===t?((i=a.serializeStyle(a.parseStyle(i),n.name)).length||(i=null),n.attr(r,i),n.attr(t,i)):"tabindex"===t?(n.attr(r,i),n.attr(t,null)):n.attr(r,s.convertURL(i,t,n.name)))}),s.parser.addNodeFilter("script",function(e){for(var t,n=e.length;n--;)(t=e[n]).attr("type","mce-"+(t.attr("type")||"no/type"))}),s.parser.addNodeFilter("#cdata",function(e){for(var t,n=e.length;n--;)(t=e[n]).type=8,t.name="#comment",t.value="[CDATA["+t.value+"]]"}),s.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(e){for(var t,n=e.length,i=s.schema.getNonEmptyElements();n--;)(t=e[n]).isEmpty(i)&&(t.append(new o("br",1)).shortEnded=!0)}),s.serializer=new a(m,s),s.selection=new l(s.dom,s.getWin(),s.serializer,s),s.formatter=new c(s),s.undoManager=new u(s),s.forceBlocks=new f(s),s.enterKey=new d(s),s._nodeChangeDispatcher=new r(s),s.fire("PreInit"),m.browser_spellcheck||m.gecko_spellcheck||(h.body.spellcheck=!1,S.setAttrib(n,"spellcheck","false")),s.fire("PostRender"),s.quirks=new C(s),m.directionality&&(n.dir=m.directionality),m.nowrap&&(n.style.whiteSpace="nowrap"),m.protect&&s.on("BeforeSetContent",function(e){A(m.protect,function(t){e.content=e.content.replace(t,function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"})})}),s.on("SetContent",function(){s.addVisual(s.getBody())}),m.padd_empty_editor&&s.on("PostProcess",function(e){e.content=e.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")}),s.load({initial:!0,format:"html"}),s.startContent=s.getContent({format:"raw"}),s.initialized=!0,s.bindPendingEventDelegates(),s.fire("init"),s.focus(!0),s.nodeChanged({initial:!0}),s.execCallback("init_instance_callback",s),s.contentStyles.length>0&&(i="",A(s.contentStyles,function(e){i+=e+"\r\n"}),s.dom.addStyle(i)),A(s.contentCSS,function(e){s.loadedCSS[e]||(s.dom.loadCSS(e),s.loadedCSS[e]=!0)}),m.auto_focus&&setTimeout(function(){var e;(e=!0===m.auto_focus?s:s.editorManager.get(m.auto_focus)).destroyed||e.focus()},100),p=h=n=null},focus:function(e){var t,n,i,r=this,o=r.selection,a=r.settings.content_editable,s=r.getDoc();if(!e){if((t=o.getRng()).item&&(n=t.item(0)),r._refreshContentEditable(),a||(x.opera||r.getBody().focus(),r.getWin().focus()),H||a){if((i=r.getBody()).setActive)try{i.setActive()}catch(e){i.focus()}else i.focus();a&&o.normalize()}n&&n.ownerDocument==s&&((t=s.body.createControlRange()).addElement(n),t.select())}r.editorManager.setActive(r)},execCallback:function(e){var t,n=this,i=n.settings[e];if(i)return n.callbackLookup&&(t=n.callbackLookup[e])&&(i=t.func,t=t.scope),"string"==typeof i&&(t=(t=i.replace(/\.\w+$/,""))?L(t):0,i=L(i),n.callbackLookup=n.callbackLookup||{},n.callbackLookup[e]={func:i,scope:t}),i.apply(t||n,Array.prototype.slice.call(arguments,1))},translate:function(e){var t=this.settings.language||"en",n=this.editorManager.i18n;return e?n.data[t+"."+e]||e.replace(/\{\#([^\}]+)\}/g,function(e,i){return n.data[t+"."+i]||"{#"+i+"}"}):""},getLang:function(e,n){return this.editorManager.i18n.data[(this.settings.language||"en")+"."+e]||(n!==t?n:"{#"+e+"}")},getParam:function(e,t,n){var i,r=e in this.settings?this.settings[e]:t;return"hash"===n?(i={},"string"==typeof r?A(r.indexOf("=")>0?r.split(/[;,](?![^=;,]*(?:[;,]|$))/):r.split(","),function(e){(e=e.split("=")).length>1?i[M(e[0])]=M(e[1]):i[M(e[0])]=M(e)}):i=r,i):r},nodeChanged:function(e){this._nodeChangeDispatcher.nodeChanged(e)},addButton:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),t.text||t.icon||(t.icon=e),n.buttons=n.buttons||{},t.tooltip=t.tooltip||t.title,n.buttons[e]=t},addMenuItem:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),n.menuItems=n.menuItems||{},n.menuItems[e]=t},addCommand:function(e,t,n){this.editorCommands.addCommand(e,t,n)},addQueryStateHandler:function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},addQueryValueHandler:function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},addShortcut:function(e,t,n,i){this.shortcuts.add(e,t,n,i)},execCommand:function(e,t,n,i){return this.editorCommands.execCommand(e,t,n,i)},queryCommandState:function(e){return this.editorCommands.queryCommandState(e)},queryCommandValue:function(e){return this.editorCommands.queryCommandValue(e)},queryCommandSupported:function(e){return this.editorCommands.queryCommandSupported(e)},show:function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable=!0:(S.show(e.getContainer()),S.hide(e.id)),e.load(),e.fire("show"))},hide:function(){var e=this,t=e.getDoc();e.hidden||(O&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable=!1,e==e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(S.hide(e.getContainer()),S.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},isHidden:function(){return!!this.hidden},setProgressState:function(e,t){this.fire("ProgressState",{state:e,time:t})},load:function(e){var n,i=this,r=i.getElement();if(r)return e=e||{},e.load=!0,n=i.setContent(r.value!==t?r.value:r.innerHTML,e),e.element=r,e.no_events||i.fire("LoadContent",e),e.element=r=null,n},save:function(e){var t,n,i=this,r=i.getElement();if(r&&i.initialized)return e=e||{},e.save=!0,e.element=r,t=e.content=i.getContent(e),e.no_events||i.fire("SaveContent",e),t=e.content,/TEXTAREA|INPUT/i.test(r.nodeName)?r.value=t:(i.inline||(r.innerHTML=t),(n=S.getParent(i.id,"form"))&&A(n.elements,function(e){if(e.name==i.id)return e.value=t,!1})),e.element=r=null,!1!==e.set_dirty&&(i.isNotDirty=!0),t},setContent:function(e,t){var n,i=this,r=i.getBody();return t=t||{},t.format=t.format||"html",t.set=!0,t.content=e,t.no_events||i.fire("BeforeSetContent",t),0===(e=t.content).length||/^\s+$/.test(e)?((n=i.settings.forced_root_block)&&i.schema.isValidChild(r.nodeName.toLowerCase(),n.toLowerCase())?(e=O&&O<11?"":'<br data-mce-bogus="1">',e=i.dom.createHTML(n,i.settings.forced_root_block_attrs,e)):O||(e='<br data-mce-bogus="1">'),i.dom.setHTML(r,e),i.fire("SetContent",t)):("raw"!==t.format&&(e=new s({},i.schema).serialize(i.parser.parse(e,{isRootContent:!0}))),t.content=M(e),i.dom.setHTML(r,t.content),t.no_events||i.fire("SetContent",t)),t.content},getContent:function(e){var t,n=this,i=n.getBody();return e=e||{},e.format=e.format||"html",e.get=!0,e.getInner=!0,e.no_events||n.fire("BeforeGetContent",e),t="raw"==e.format?i.innerHTML:"text"==e.format?i.innerText||i.textContent:n.serializer.serialize(i,e),"text"!=e.format?e.content=M(t):e.content=t,e.no_events||n.fire("GetContent",e),e.content},insertContent:function(e,t){t&&(e=R({content:e},t)),this.execCommand("mceInsertContent",!1,e)},isDirty:function(){return!this.isNotDirty},getContainer:function(){var e=this;return e.container||(e.container=S.get(e.editorContainer||e.id+"_parent")),e.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return this.targetElm||(this.targetElm=S.get(this.id)),this.targetElm},getWin:function(){var e,t=this;return t.contentWindow||(e=t.iframeElement)&&(t.contentWindow=e.contentWindow),t.contentWindow},getDoc:function(){var e,t=this;return t.contentDocument||(e=t.getWin())&&(t.contentDocument=e.document),t.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(e,t,n){var i=this,r=i.settings;return r.urlconverter_callback?i.execCallback("urlconverter_callback",e,n,!0,t):!r.convert_urls||n&&"LINK"==n.nodeName||0===e.indexOf("file:")||0===e.length?e:r.relative_urls?i.documentBaseURI.toRelative(e):e=i.documentBaseURI.toAbsolute(e,r.remove_script_host)},addVisual:function(e){var n,i=this,r=i.settings,o=i.dom;e=e||i.getBody(),i.hasVisual===t&&(i.hasVisual=r.visual),A(o.select("table,a",e),function(e){var t;switch(e.nodeName){case"TABLE":return n=r.visual_table_class||"mce-item-table",void((t=o.getAttrib(e,"border"))&&"0"!=t||!i.hasVisual?o.removeClass(e,n):o.addClass(e,n));case"A":return void(o.getAttrib(e,"href",!1)||(t=o.getAttrib(e,"name")||e.id,n=r.visual_anchor_class||"mce-item-anchor",t&&i.hasVisual?o.addClass(e,n):o.removeClass(e,n)))}}),i.fire("VisualAid",{element:e,hasVisual:i.hasVisual})},remove:function(){var e=this;e.removed||(e.save(),e.removed=1,e.unbindAllNativeEvents(),e.hasHiddenInput&&S.remove(e.getElement().nextSibling),e.inline||(O&&O<10&&e.getDoc().execCommand("SelectAll",!1,null),S.setStyle(e.id,"display",e.orgDisplay),e.getBody().onload=null),e.fire("remove"),e.editorManager.remove(e),S.remove(e.getContainer()),e.destroy())},destroy:function(e){var t,n=this;n.destroyed||(e||n.removed?(e||(n.editorManager.off("beforeunload",n._beforeUnload),n.theme&&n.theme.destroy&&n.theme.destroy(),n.selection.destroy(),n.dom.destroy()),(t=n.formElement)&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,t._mceOldSubmit=null),S.unbind(t,"submit reset",n.formEventDelegate)),n.contentAreaContainer=n.formElement=n.container=n.editorContainer=null,n.bodyElement=n.contentDocument=n.contentWindow=null,n.iframeElement=n.targetElm=null,n.selection&&(n.selection=n.selection.win=n.selection.dom=n.selection.dom.doc=null),n.destroyed=1):n.remove())},_refreshContentEditable:function(){var e,t,n=this;n._isHidden()&&((t=(e=n.getBody()).parentNode).removeChild(e),t.appendChild(e),e.focus())},_isHidden:function(){var e;return H?!(e=this.selection.getSel())||!e.rangeCount||0===e.rangeCount:0}},R(N.prototype,_),N}),i("tinymce/util/I18n",[],function(){var e={},t="en";return{setCode:function(e){e&&(t=e,this.rtl=!!this.data[e]&&"rtl"===this.data[e]._dir)},getCode:function(){return t},rtl:!1,add:function(t,n){var i=e[t];i||(e[t]=i={});for(var r in n)i[r]=n[r];this.setCode(t)},translate:function(n){var i;if((i=e[t])||(i={}),void 0===n)return n;if("string"!=typeof n&&n.raw)return n.raw;if(n.push){var r=n.slice(1);n=(i[n[0]]||n[0]).replace(/\{([0-9]+)\}/g,function(e,t){return r[t]})}return(i[n]||n).replace(/{context:\w+}$/,"")},data:e}}),i("tinymce/FocusManager",["tinymce/dom/DOMUtils","tinymce/Env"],function(e,t){function n(e){function s(){try{return document.activeElement}catch(e){return document.body}}function l(e,t){if(t&&t.startContainer){if(!e.isChildOf(t.startContainer,e.getRoot())||!e.isChildOf(t.endContainer,e.getRoot()))return;return{startContainer:t.startContainer,startOffset:t.startOffset,endContainer:t.endContainer,endOffset:t.endOffset}}return t}function c(e,t){var n;return t.startContainer?((n=e.getDoc().createRange()).setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset)):n=t,n}function u(e){return!!a.getParent(e,n.isEditorUIElement)}e.on("AddEditor",function(n){var d=n.editor;d.on("init",function(){(d.inline||t.ie)&&("onbeforedeactivate"in document&&t.ie<9?d.dom.bind(d.getBody(),"beforedeactivate",function(e){if(e.target==d.getBody())try{d.lastRng=d.selection.getRng()}catch(e){}}):d.on("nodechange mouseup keyup",function(e){var t=s();"nodechange"==e.type&&e.selectionChange||(t&&t.id==d.id+"_ifr"&&(t=d.getBody()),d.dom.isChildOf(t,d.getBody())&&(d.lastRng=d.selection.getRng()))}),t.webkit&&!i&&(i=function(){var t=e.activeEditor;if(t&&t.selection){var n=t.selection.getRng();n&&!n.collapsed&&(d.lastRng=n)}},a.bind(document,"selectionchange",i)))}),d.on("setcontent",function(){d.lastRng=null}),d.on("mousedown",function(){d.selection.lastFocusBookmark=null}),d.on("focusin",function(){var t=e.focusedEditor;d.selection.lastFocusBookmark&&(d.selection.setRng(c(d,d.selection.lastFocusBookmark)),d.selection.lastFocusBookmark=null),t!=d&&(t&&t.fire("blur",{focusedEditor:d}),e.setActive(d),e.focusedEditor=d,d.fire("focus",{blurredEditor:t}),d.focus(!0)),d.lastRng=null}),d.on("focusout",function(){window.setTimeout(function(){var t=e.focusedEditor;u(s())||t!=d||(d.fire("blur",{focusedEditor:null}),e.focusedEditor=null,d.selection&&(d.selection.lastFocusBookmark=null))},0)}),r||(r=function(t){var n=e.activeEditor;n&&t.target.ownerDocument==document&&(n.selection&&t.target!=n.getBody()&&(n.selection.lastFocusBookmark=l(n.dom,n.lastRng)),t.target==document.body||u(t.target)||e.focusedEditor!=n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null))},a.bind(document,"focusin",r)),d.inline&&!o&&(o=function(t){var n=e.activeEditor;if(n.inline&&!n.dom.isChildOf(t.target,n.getBody())){var i=n.selection.getRng();i.collapsed||(n.lastRng=i)}},a.bind(document,"mouseup",o))}),e.on("RemoveEditor",function(t){e.focusedEditor==t.editor&&(e.focusedEditor=null),e.activeEditor||(a.unbind(document,"selectionchange",i),a.unbind(document,"focusin",r),a.unbind(document,"mouseup",o),i=r=o=null)})}var i,r,o,a=e.DOM;return n.isEditorUIElement=function(e){return-1!==e.className.toString().indexOf("mce-")},n}),i("tinymce/EditorManager",["tinymce/Editor","tinymce/dom/DomQuery","tinymce/dom/DOMUtils","tinymce/util/URI","tinymce/Env","tinymce/util/Tools","tinymce/util/Observable","tinymce/util/I18n","tinymce/FocusManager"],function(e,t,n,i,r,o,a,s,l){function c(e){var t,n=f.editors;delete n[e.id];for(var i=0;i<n.length;i++)if(n[i]==e){n.splice(i,1),t=!0;break}return f.activeEditor==e&&(f.activeEditor=n[0]),f.focusedEditor==e&&(f.focusedEditor=null),t}function u(e){return e&&!(e.getContainer()||e.getBody()).parentNode&&(c(e),e.unbindAllNativeEvents(),e.destroy(!0),e=null),e}var d,f,m=n.DOM,p=o.explode,h=o.each,g=o.extend,v=0;return f={$:t,majorVersion:"4",minorVersion:"1.10",releaseDate:"2015-05-05",editors:[],i18n:s,activeEditor:null,setup:function(){var e,t,n,r,o=this,a="";if(t=document.location.href,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),n=window.tinymce||window.tinyMCEPreInit)e=n.base||n.baseURL,a=n.suffix;else{for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++)if(r=s[c].src,/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(r)){-1!=r.indexOf(".min")&&(a=".min"),e=r.substring(0,r.lastIndexOf("/"));break}!e&&document.currentScript&&(-1!=(r=document.currentScript.src).indexOf(".min")&&(a=".min"),e=r.substring(0,r.lastIndexOf("/")))}o.baseURL=new i(t).toAbsolute(e),o.documentBaseURL=t,o.baseURI=new i(o.baseURL),o.suffix=a,o.focusManager=new l(o)},init:function(t){function n(e){var t=e.id;return t||(t=(t=e.name)&&!m.get(t)?e.name:m.uniqueId(),e.setAttribute("id",t)),t}function i(t,n,i){if(!u(s.get(t))){var r=new e(t,n,s);r.targetElm=r.targetElm||i,l.push(r),r.render()}}function r(e){var n=t[e];if(n)return n.apply(s,Array.prototype.slice.call(arguments,2))}function o(e,t){return t.constructor===RegExp?t.test(e.className):m.hasClass(e,t)}function a(){var e,s;if(m.unbind(window,"ready",a),r("onpageload"),t.types)h(t.types,function(e){h(m.select(e.selector),function(r){i(n(r),g({},t,e),r)})});else if(t.selector)h(m.select(t.selector),function(e){i(n(e),t,e)});else{switch(t.target&&i(n(t.target),t),t.mode){case"exact":(e=t.elements||"").length>0&&h(p(e),function(e){var n;(n=m.get(e))?i(e,t,n):h(document.forms,function(n){h(n.elements,function(n){n.name===e&&(e="mce_editor_"+v++,m.setAttrib(n,"id",e),i(e,t,n))})})});break;case"textareas":case"specific_textareas":h(m.select("textarea"),function(e){t.editor_deselector&&o(e,t.editor_deselector)||t.editor_selector&&!o(e,t.editor_selector)||i(n(e),t,e)})}t.oninit&&(e=s=0,h(l,function(t){s++,t.initialized?e++:t.on("init",function(){++e==s&&r("oninit")}),e==s&&r("oninit")}))}}var s=this,l=[];s.settings=t,m.bind(window,"ready",a)},get:function(e){return arguments.length?e in this.editors?this.editors[e]:null:this.editors},add:function(e){var t=this,n=t.editors;return n[e.id]=e,n.push(e),t.activeEditor=e,t.fire("AddEditor",{editor:e}),d||(d=function(){t.fire("BeforeUnload")},m.bind(window,"beforeunload",d)),e},createEditor:function(t,n){return this.add(new e(t,n,this))},remove:function(e){var t,n,i=this,r=i.editors;{if(e)return"string"==typeof e?(e=e.selector||e,void h(m.select(e),function(e){(n=r[e.id])&&i.remove(n)})):(n=e,r[n.id]?(c(n)&&i.fire("RemoveEditor",{editor:n}),r.length||m.unbind(window,"beforeunload",d),n.remove(),n):null);for(t=r.length-1;t>=0;t--)i.remove(r[t])}},execCommand:function(t,n,i){var r=this,o=r.get(i);switch(t){case"mceAddEditor":return r.get(i)||new e(i,r.settings,r).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(r.execCommand("mceAddEditor",0,i),!0)}return!!r.activeEditor&&r.activeEditor.execCommand(t,n,i)},triggerSave:function(){h(this.editors,function(e){e.save()})},addI18n:function(e,t){s.add(e,t)},translate:function(e){return s.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!=e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e}},g(f,a),f.setup(),window.tinymce=window.tinyMCE=f,f}),i("tinymce/LegacyInput",["tinymce/EditorManager","tinymce/util/Tools"],function(e,t){var n=t.each,i=t.explode;e.on("AddEditor",function(e){var t=e.editor;t.on("preInit",function(){function e(e,t){n(t,function(t,n){t&&a.setStyle(e,n,t)}),a.rename(e,"span")}var r,o,a,s=t.settings;s.inline_styles&&(o=i(s.font_size_legacy_values),r={font:function(t,n){e(n,{backgroundColor:n.style.backgroundColor,color:n.color,fontFamily:n.face,fontSize:o[parseInt(n.size,10)-1]})},u:function(n,i){"html4"===t.settings.schema&&e(i,{textDecoration:"underline"})},strike:function(t,n){e(n,{textDecoration:"line-through"})}},t.on("PreProcess SetContent",function(e){a=t.dom,s.convert_fonts_to_spans&&n(a.select("font,u,strike",e.node),function(e){r[e.nodeName.toLowerCase()](a,e)})}))})})}),i("tinymce/util/XHR",["tinymce/util/Observable","tinymce/util/Tools"],function(e,t){var n={send:function(e){function t(){!e.async||4==i.readyState||r++>1e4?(e.success&&r<1e4&&200==i.status?e.success.call(e.success_scope,""+i.responseText,i,e):e.error&&e.error.call(e.error_scope,r>1e4?"TIMED_OUT":"GENERAL",i,e),i=null):setTimeout(t,10)}var i,r=0;if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=!1!==e.async,e.data=e.data||"",i=new XMLHttpRequest){if(i.overrideMimeType&&i.overrideMimeType(e.content_type),i.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(i.withCredentials=!0),e.content_type&&i.setRequestHeader("Content-Type",e.content_type),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),(i=n.fire("beforeSend",{xhr:i,settings:e}).xhr).send(e.data),!e.async)return t();setTimeout(t,10)}}};return t.extend(n,e),n}),i("tinymce/util/JSON",[],function(){function e(t,n){var i,r,o,a;if(n=n||'"',null===t)return"null";if("string"==(o=typeof t))return r="\bb\tt\nn\ff\rr\"\"''\\\\",n+t.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(e,t){return'"'===n&&"'"===e?e:(i=r.indexOf(t))+1?"\\"+r.charAt(i+1):(e=t.charCodeAt().toString(16),"\\u"+"0000".substring(e.length)+e)})+n;if("object"==o){if(t.hasOwnProperty&&"[object Array]"===Object.prototype.toString.call(t)){for(i=0,r="[";i<t.length;i++)r+=(i>0?",":"")+e(t[i],n);return r+"]"}r="{";for(a in t)t.hasOwnProperty(a)&&(r+="function"!=typeof t[a]?(r.length>1?","+n:n)+a+n+":"+e(t[a],n):"");return r+"}"}return""+t}return{serialize:e,parse:function(e){try{return window[String.fromCharCode(101)+"val"]("("+e+")")}catch(e){}}}}),i("tinymce/util/JSONRequest",["tinymce/util/JSON","tinymce/util/XHR","tinymce/util/Tools"],function(e,t,n){function i(e){this.settings=r({},e),this.count=0}var r=n.extend;return i.sendRPC=function(e){return(new i).send(e)},i.prototype={send:function(n){var i=n.error,o=n.success;(n=r(this.settings,n)).success=function(t,r){void 0===(t=e.parse(t))&&(t={error:"JSON Parse error."}),t.error?i.call(n.error_scope||n.scope,t.error,r):o.call(n.success_scope||n.scope,t.result)},n.error=function(e,t){i&&i.call(n.error_scope||n.scope,e,t)},n.data=e.serialize({id:n.id||"c"+this.count++,method:n.method,params:n.params}),n.content_type="application/json",t.send(n)}},i}),i("tinymce/util/JSONP",["tinymce/dom/DOMUtils"],function(e){return{callbacks:{},count:0,send:function(n){var i=this,r=e.DOM,o=n.count!==t?n.count:i.count,a="tinymce_jsonp_"+o;i.callbacks[o]=function(e){r.remove(a),delete i.callbacks[o],n.callback(e)},r.add(r.doc.body,"script",{id:a,src:n.url,type:"text/javascript"}),i.count++}}}),i("tinymce/util/LocalStorage",[],function(){function e(){a=[];for(var e in o)a.push(e);i.length=a.length}function n(){var t,n="";if(l){for(var i in o)t=o[i],n+=(n?",":"")+i.length.toString(32)+","+i+","+t.length.toString(32)+","+t;r.setAttribute(s,n);try{r.save(s)}catch(e){}e()}}var i,r,o,a,s,l;try{if(window.localStorage)return localStorage}catch(e){}return s="tinymce",r=document.documentElement,(l=!!r.addBehavior)&&r.addBehavior("#default#userData"),i={key:function(e){return a[e]},getItem:function(e){return e in o?o[e]:null},setItem:function(e,t){o[e]=""+t,n()},removeItem:function(e){delete o[e],n()},clear:function(){o={},n()}},function(){function n(e){var n,i;return-1===(i=e!==t?u+e:a.indexOf(",",u))||i>a.length?null:(n=a.substring(u,i),u=i+1,n)}var i,a,c,u=0;if(o={},l){r.load(s),a=r.getAttribute(s)||"";do{var d=n();if(null===d)break;if(null!==(i=n(parseInt(d,32)||0))){if(null===(d=n()))break;c=n(parseInt(d,32)||0),i&&(o[i]=c)}}while(null!==i);e()}}(),i}),i("tinymce/Compat",["tinymce/dom/DOMUtils","tinymce/dom/EventUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/util/Tools","tinymce/Env"],function(e,t,n,i,r,o){var a=window.tinymce;return a.DOM=e.DOM,a.ScriptLoader=n.ScriptLoader,a.PluginManager=i.PluginManager,a.ThemeManager=i.ThemeManager,a.dom=a.dom||{},a.dom.Event=t.Event,r.each(r,function(e,t){a[t]=e}),r.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(e){a[e]=o[e.substr(2).toLowerCase()]}),{}}),i("tinymce/ui/Layout",["tinymce/util/Class","tinymce/util/Tools"],function(e,t){return e.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(e){this.settings=t.extend({},this.Defaults,e)},preRender:function(e){e.addClass(this.settings.containerClass,"body")},applyClasses:function(e){var t,n,i,r=this.settings;t=e.items().filter(":visible"),n=r.firstControlClass,i=r.lastControlClass,t.each(function(e){e.removeClass(n).removeClass(i),r.controlClass&&e.addClass(r.controlClass)}),t.eq(0).addClass(n),t.eq(-1).addClass(i)},renderHtml:function(e){var t,n=this.settings,i="";return(t=e.items()).eq(0).addClass(n.firstControlClass),t.eq(-1).addClass(n.lastControlClass),t.each(function(e){n.controlClass&&e.addClass(n.controlClass),i+=e.renderHtml()}),i},recalc:function(){},postRender:function(){}})}),i("tinymce/ui/AbsoluteLayout",["tinymce/ui/Layout"],function(e){return e.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(e){e.items().filter(":visible").each(function(e){var t=e.settings;e.layoutRect({x:t.x,y:t.y,w:t.w,h:t.h}),e.recalc&&e.recalc()})},renderHtml:function(e){return'<div id="'+e._id+'-absend" class="'+e.classPrefix+'abs-end"></div>'+this._super(e)}})}),i("tinymce/ui/Tooltip",["tinymce/ui/Control","tinymce/ui/Movable"],function(e,t){return e.extend({Mixins:[t],Defaults:{classes:"widget tooltip tooltip-n"},text:function(e){var t=this;return void 0!==e?(t._value=e,t._rendered&&(t.getEl().lastChild.innerHTML=t.encode(e)),t):t._value},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes()+'" role="presentation"><div class="'+t+'tooltip-arrow"></div><div class="'+t+'tooltip-inner">'+e.encode(e._text)+"</div></div>"},repaint:function(){var e,t,n=this;e=n.getEl().style,t=n._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=131070}})}),i("tinymce/ui/Widget",["tinymce/ui/Control","tinymce/ui/Tooltip"],function(e,t){var n,i=e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.canFocus=!0,e.tooltip&&!1!==i.tooltips&&(t.on("mouseenter",function(n){var i=t.tooltip().moveTo(-65535);if(n.control==t){var r=i.text(e.tooltip).show().testMoveRel(t.getEl(),["bc-tc","bc-tl","bc-tr"]);i.toggleClass("tooltip-n","bc-tc"==r),i.toggleClass("tooltip-nw","bc-tl"==r),i.toggleClass("tooltip-ne","bc-tr"==r),i.moveRel(t.getEl(),r)}else i.hide()}),t.on("mouseleave mousedown click",function(){t.tooltip().hide()})),t.aria("label",e.ariaLabel||e.tooltip)},tooltip:function(){return n||(n=new t({type:"tooltip"})).renderTo(),n},active:function(e){var t=this;return void 0!==e&&(t.aria("pressed",e),t.toggleClass("active",e)),t._super(e)},disabled:function(e){var t=this;return void 0!==e&&(t.aria("disabled",e),t.toggleClass("disabled",e)),t._super(e)},postRender:function(){var e=this,t=e.settings;e._rendered=!0,e._super(),e.parent()||!t.width&&!t.height||(e.initLayoutRect(),e.repaint()),t.autofocus&&e.focus()},remove:function(){this._super(),n&&(n.remove(),n=null)}});return i}),i("tinymce/ui/Button",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{classes:"widget btn",role:"button"},init:function(e){var t,n=this;n.on("click mousedown",function(e){e.preventDefault()}),n._super(e),t=e.size,e.subtype&&n.addClass(e.subtype),t&&n.addClass("btn-"+t)},icon:function(e){var t=this,n=t.classPrefix;if(void 0===e)return t.settings.icon;if(t.settings.icon=e,e=e?n+"ico "+n+"i-"+t.settings.icon:"",t._rendered){var i=t.getEl().firstChild,r=i.getElementsByTagName("i")[0];e?(r&&r==i.firstChild||(r=document.createElement("i"),i.insertBefore(r,i.firstChild)),r.className=e):r&&i.removeChild(r),t.text(t._text)}return t},repaint:function(){var e=this.getEl().firstChild.style;e.width=e.height="100%",this._super()},text:function(e){var t=this;if(t._rendered){var n=t.getEl().lastChild.lastChild;n&&(n.data=t.translate(e))}return t._super(e)},renderHtml:function(){var e,t=this,n=t._id,i=t.classPrefix,r=t.settings.icon;return(e=t.settings.image)?(r="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",r=t.settings.icon?i+"ico "+i+"i-"+r:"",'<div id="'+n+'" class="'+t.classes()+'" tabindex="-1" aria-labelledby="'+n+'"><button role="presentation" type="button" tabindex="-1">'+(r?'<i class="'+r+'"'+e+"></i>":"")+(t._text?(r?" ":"")+t.encode(t._text):"")+"</button></div>"}})}),i("tinymce/ui/ButtonGroup",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var e=this,t=e._layout;return e.addClass("btn-group"),e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes()+'"><div id="'+e._id+'-body">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}})}),i("tinymce/ui/Checkbox",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(e){var t=this;t._super(e),t.on("click mousedown",function(e){e.preventDefault()}),t.on("click",function(e){e.preventDefault(),t.disabled()||t.checked(!t.checked())}),t.checked(t.settings.checked)},checked:function(e){var t=this;return void 0!==e?(e?t.addClass("checked"):t.removeClass("checked"),t._checked=e,t.aria("checked",e),t):t._checked},value:function(e){return this.checked(e)},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'<div id="'+t+'" class="'+e.classes()+'" unselectable="on" aria-labelledby="'+t+'-al" tabindex="-1"><i class="'+n+"ico "+n+'i-checkbox"></i><span id="'+t+'-al" class="'+n+'label">'+e.encode(e._text)+"</span></div>"}})}),i("tinymce/ui/ComboBox",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/ui/DomUtils"],function(e,t,n){return e.extend({init:function(e){var t=this;t._super(e),t.addClass("combobox"),t.subinput=!0,t.ariaTarget="inp",(e=t.settings).menu=e.menu||e.values,e.menu&&(e.icon="caret"),t.on("click",function(n){for(var i=n.target,r=t.getEl();i&&i!=r;)i.id&&-1!=i.id.indexOf("-open")&&(t.fire("action"),e.menu&&(t.showMenu(),n.aria&&t.menu.items()[0].focus())),i=i.parentNode}),t.on("keydown",function(e){"INPUT"==e.target.nodeName&&13==e.keyCode&&t.parents().reverse().each(function(n){if(e.preventDefault(),t.fire("change"),n.hasEventListeners("submit")&&n.toJSON)return n.fire("submit",{data:n.toJSON()}),!1})}),e.placeholder&&(t.addClass("placeholder"),t.on("focusin",function(){t._hasOnChange||(n.on(t.getEl("inp"),"change",function(){t.fire("change")}),t._hasOnChange=!0),t.hasClass("placeholder")&&(t.getEl("inp").value="",t.removeClass("placeholder"))}),t.on("focusout",function(){0===t.value().length&&(t.getEl("inp").value=e.placeholder,t.addClass("placeholder"))}))},showMenu:function(){var e,n=this,i=n.settings;n.menu||((e=i.menu||[]).length?e={type:"menu",items:e}:e.type=e.type||"menu",n.menu=t.create(e).parent(n).renderTo(n.getContainerElm()),n.fire("createmenu"),n.menu.reflow(),n.menu.on("cancel",function(e){e.control===n.menu&&n.focus()}),n.menu.on("show hide",function(e){e.control.items().each(function(e){e.active(e.value()==n.value())})}).fire("show"),n.menu.on("select",function(e){n.value(e.control.value())}),n.on("focusin",function(e){"INPUT"==e.target.tagName.toUpperCase()&&n.menu.hide()}),n.aria("expanded",!0)),n.menu.show(),n.menu.layoutRect({w:n.layoutRect().w}),n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},value:function(e){var t=this;return void 0!==e?(t._value=e,t.removeClass("placeholder"),t._rendered&&(t.getEl("inp").value=e),t):t._rendered?(e=t.getEl("inp").value)!=t.settings.placeholder?e:"":t._value},disabled:function(e){var t=this;return t._rendered&&void 0!==e&&(t.getEl("inp").disabled=e),t._super(e)},focus:function(){this.getEl("inp").focus()},repaint:function(){var e,t,i=this,r=i.getEl(),o=i.getEl("open"),a=i.layoutRect();e=o?a.w-n.getSize(o).width-10:a.w-10;var s=document;return s.all&&(!s.documentMode||s.documentMode<=8)&&(t=i.layoutRect().h-2+"px"),n.css(r.firstChild,{width:e,lineHeight:t}),i._super(),i},postRender:function(){var e=this;return n.on(this.getEl("inp"),"change",function(){e.fire("change")}),e._super()},remove:function(){n.off(this.getEl("inp")),this._super()},renderHtml:function(){var e,t,n=this,i=n._id,r=n.settings,o=n.classPrefix,a=r.value||r.placeholder||"",s="",l="";return"spellcheck"in r&&(l+=' spellcheck="'+r.spellcheck+'"'),r.maxLength&&(l+=' maxlength="'+r.maxLength+'"'),r.size&&(l+=' size="'+r.size+'"'),r.subtype&&(l+=' type="'+r.subtype+'"'),n.disabled()&&(l+=' disabled="disabled"'),(e=r.icon)&&"caret"!=e&&(e=o+"ico "+o+"i-"+r.icon),t=n._text,(e||t)&&(s='<div id="'+i+'-open" class="'+o+"btn "+o+'open" tabIndex="-1" role="button"><button id="'+i+'-action" type="button" hidefocus="1" tabindex="-1">'+("caret"!=e?'<i class="'+e+'"></i>':'<i class="'+o+'caret"></i>')+(t?(e?" ":"")+t:"")+"</button></div>",n.addClass("has-open")),'<div id="'+i+'" class="'+n.classes()+'"><input id="'+i+'-inp" class="'+o+"textbox "+o+'placeholder" value="'+a+'" hidefocus="1"'+l+" />"+s+"</div>"}})}),i("tinymce/ui/ColorBox",["tinymce/ui/ComboBox"],function(e){return e.extend({init:function(e){var t=this;e.spellcheck=!1,e.onaction&&(e.icon="none"),t._super(e),t.addClass("colorbox"),t.on("change keyup postrender",function(){t.repaintColor(t.value())})},repaintColor:function(e){var t=this.getEl().getElementsByTagName("i")[0];if(t)try{t.style.background=e}catch(e){}},value:function(e){var t=this;return void 0!==e&&t._rendered&&t.repaintColor(e),t._super(e)}})}),i("tinymce/ui/PanelButton",["tinymce/ui/Button","tinymce/ui/FloatPanel"],function(e,t){return e.extend({showPanel:function(){var e=this,n=e.settings;if(e.active(!0),e.panel)e.panel.show();else{var i=n.panel;i.type&&(i={layout:"grid",items:i}),i.role=i.role||"dialog",i.popover=!0,i.autohide=!0,i.ariaRoot=!0,e.panel=new t(i).on("hide",function(){e.active(!1)}).on("cancel",function(t){t.stopPropagation(),e.focus(),e.hidePanel()}).parent(e).renderTo(e.getContainerElm()),e.panel.fire("show"),e.panel.reflow()}e.panel.moveRel(e.getEl(),n.popoverAlign||(e.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var e=this;e.panel&&e.panel.hide()},postRender:function(){var e=this;return e.aria("haspopup",!0),e.on("click",function(t){t.control===e&&(e.panel&&e.panel.visible()?e.hidePanel():(e.showPanel(),e.panel.focus(!!t.aria)))}),e._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}})}),i("tinymce/ui/ColorButton",["tinymce/ui/PanelButton","tinymce/dom/DOMUtils"],function(e,t){var n=t.DOM;return e.extend({init:function(e){this._super(e),this.addClass("colorbutton")},color:function(e){return e?(this._color=e,this.getEl("preview").style.backgroundColor=e,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,i=e.settings.icon?n+"ico "+n+"i-"+e.settings.icon:"",r=e.settings.image?" style=\"background-image: url('"+e.settings.image+"')\"":"";return'<div id="'+t+'" class="'+e.classes()+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(i?'<i class="'+i+'"'+r+"></i>":"")+'<span id="'+t+'-preview" class="'+n+'preview"></span>'+(e._text?(i?" ":"")+e._text:"")+'</button><button type="button" class="'+n+'open" hidefocus="1" tabindex="-1"> <i class="'+n+'caret"></i></button></div>'},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(i){i.aria&&"down"==i.aria.key||i.control!=e||n.getParent(i.target,"."+e.classPrefix+"open")||(i.stopImmediatePropagation(),t.call(e,i))}),delete e.settings.onclick,e._super()}})}),i("tinymce/util/Color",[],function(){var e=Math.min,t=Math.max,n=Math.round;return function(i){function r(i,r,o){var a,s,l,c,u,d;return a=0,s=0,l=0,i/=255,r/=255,o/=255,u=e(i,e(r,o)),d=t(i,t(r,o)),u==d?(l=u,{h:0,s:0,v:100*l}):(c=i==u?r-o:o==u?i-r:o-i,a=i==u?3:o==u?1:5,a=60*(a-c/(d-u)),s=(d-u)/d,l=d,{h:n(a),s:n(100*s),v:n(100*l)})}function o(i,r,o){var a,s,d,f;if(i=(parseInt(i,10)||0)%360,r=parseInt(r,10)/100,o=parseInt(o,10)/100,r=t(0,e(r,1)),o=t(0,e(o,1)),0!==r){switch(a=i/60,s=o*r,d=s*(1-Math.abs(a%2-1)),f=o-s,Math.floor(a)){case 0:l=s,c=d,u=0;break;case 1:l=d,c=s,u=0;break;case 2:l=0,c=s,u=d;break;case 3:l=0,c=d,u=s;break;case 4:l=d,c=0,u=s;break;case 5:l=s,c=0,u=d;break;default:l=c=u=0}l=n(255*(l+f)),c=n(255*(c+f)),u=n(255*(u+f))}else l=c=u=n(255*o)}function a(e){var t;return"object"==typeof e?"r"in e?(l=e.r,c=e.g,u=e.b):"v"in e&&o(e.h,e.s,e.v):(t=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(l=parseInt(t[1],10),c=parseInt(t[2],10),u=parseInt(t[3],10)):(t=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(l=parseInt(t[1],16),c=parseInt(t[2],16),u=parseInt(t[3],16)):(t=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(l=parseInt(t[1]+t[1],16),c=parseInt(t[2]+t[2],16),u=parseInt(t[3]+t[3],16)),l=l<0?0:l>255?255:l,c=c<0?0:c>255?255:c,u=u<0?0:u>255?255:u,s}var s=this,l=0,c=0,u=0;i&&a(i),s.toRgb=function(){return{r:l,g:c,b:u}},s.toHsv=function(){return r(l,c,u)},s.toHex=function(){function e(e){return(e=parseInt(e,10).toString(16)).length>1?e:"0"+e}return"#"+e(l)+e(c)+e(u)},s.parse=a}}),i("tinymce/ui/ColorPicker",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils","tinymce/util/Color"],function(e,t,n,i){return e.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){function e(e,t){var i,r,o=n.getPos(e);return i=t.pageX-o.x,r=t.pageY-o.y,i=Math.max(0,Math.min(i/e.clientWidth,1)),r=Math.max(0,Math.min(r/e.clientHeight,1)),{x:i,y:r}}function r(e,t){var r=(360-e.h)/360;n.css(c,{top:100*r+"%"}),t||n.css(d,{left:e.s+"%",top:100-e.v+"%"}),u.style.background=new i({s:100,v:100,h:e.h}).toHex(),f.color().parse({s:e.s,v:e.v,h:e.h})}function o(t){var n;n=e(u,t),s.s=100*n.x,s.v=100*(1-n.y),r(s),f.fire("change")}function a(t){var n;n=e(l,t),(s=m.toHsv()).h=360*(1-n.y),r(s,!0),f.fire("change")}var s,l,c,u,d,f=this,m=f.color();l=f.getEl("h"),c=f.getEl("hp"),u=f.getEl("sv"),d=f.getEl("svp"),f._repaint=function(){r(s=m.toHsv())},f._super(),f._svdraghelper=new t(f._id+"-sv",{start:o,drag:o}),f._hdraghelper=new t(f._id+"-h",{start:a,drag:a}),f._repaint()},rgb:function(){return this.color().toRgb()},value:function(e){var t=this;if(!arguments.length)return t.color().toHex();t.color().parse(e),t._rendered&&t._repaint()},color:function(){return this._color||(this._color=new i),this._color},renderHtml:function(){var e,t=this,n=t._id,i=t.classPrefix,r="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000";return e='<div id="'+n+'-h" class="'+i+'colorpicker-h" style="'+("background: -ms-linear-gradient(top,"+r+");background: linear-gradient(to bottom,"+r+");")+'">'+function(){var e,t,n,o,a="";for(n="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",e=0,t=(o=r.split(",")).length-1;e<t;e++)a+='<div class="'+i+'colorpicker-h-chunk" style="height:'+100/t+"%;"+n+o[e]+",endColorstr="+o[e+1]+");-ms-"+n+o[e]+",endColorstr="+o[e+1]+')"></div>';return a}()+'<div id="'+n+'-hp" class="'+i+'colorpicker-h-marker"></div></div>','<div id="'+n+'" class="'+t.classes()+'"><div id="'+n+'-sv" class="'+i+'colorpicker-sv"><div class="'+i+'colorpicker-overlay1"><div class="'+i+'colorpicker-overlay2"><div id="'+n+'-svp" class="'+i+'colorpicker-selector1"><div class="'+i+'colorpicker-selector2"></div></div></div></div></div>'+e+"</div>"}})}),i("tinymce/ui/Path",["tinymce/ui/Widget"],function(e){return e.extend({init:function(e){var t=this;e.delimiter||(e.delimiter="»"),t._super(e),t.addClass("path"),t.canFocus=!0,t.on("click",function(e){var n;(n=e.target.getAttribute("data-index"))&&t.fire("select",{value:t.data()[n],index:n})})},focus:function(){var e=this;return e.getEl().firstChild.focus(),e},data:function(e){var t=this;return void 0!==e?(t._data=e,t.update(),t):t._data},update:function(){this.innerHtml(this._getPathHtml())},postRender:function(){var e=this;e._super(),e.data(e.settings.data)},renderHtml:function(){var e=this;return'<div id="'+e._id+'" class="'+e.classes()+'">'+e._getPathHtml()+"</div>"},_getPathHtml:function(){var e,t,n=this,i=n._data||[],r="",o=n.classPrefix;for(e=0,t=i.length;e<t;e++)r+=(e>0?'<div class="'+o+'divider" aria-hidden="true"> '+n.settings.delimiter+" </div>":"")+'<div role="button" class="'+o+"path-item"+(e==t-1?" "+o+"last":"")+'" data-index="'+e+'" tabindex="-1" id="'+n._id+"-"+e+'" aria-level="'+e+'">'+i[e].name+"</div>";return r||(r='<div class="'+o+'path-item"> </div>'),r}})}),i("tinymce/ui/ElementPath",["tinymce/ui/Path","tinymce/EditorManager"],function(e,t){return e.extend({postRender:function(){function e(e){if(1===e.nodeType){if("BR"==e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1}var n=this,i=t.activeEditor;return!1!==i.settings.elementpath&&(n.on("select",function(e){i.focus(),i.selection.select(this.data()[e.index].element),i.nodeChanged()}),i.on("nodeChange",function(t){for(var r=[],o=t.parents,a=o.length;a--;)if(1==o[a].nodeType&&!e(o[a])){var s=i.fire("ResolveName",{name:o[a].nodeName.toLowerCase(),target:o[a]});if(s.isDefaultPrevented()||r.push({name:s.name,element:o[a]}),s.isPropagationStopped())break}n.data(r)})),n._super()}})}),i("tinymce/ui/FormItem",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.addClass("formitem"),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes()+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<div id="'+e._id+'-title" class="'+n+'title">'+e.settings.title+"</div>":"")+'<div id="'+e._id+'-body" class="'+e.classes("body")+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}})}),i("tinymce/ui/Form",["tinymce/ui/Container","tinymce/ui/FormItem","tinymce/util/Tools"],function(e,t,n){return e.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var e=this,i=e.items();e.settings.formItemDefaults||(e.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),i.each(function(i){var r,o=i.settings.label;o&&((r=new t(n.extend({items:{type:"label",id:i._id+"-l",text:o,flex:0,forId:i._id,disabled:i.disabled()}},e.settings.formItemDefaults))).type="formitem",i.aria("labelledby",i._id+"-l"),void 0===i.settings.flex&&(i.settings.flex=1),e.replace(i,r),r.add(i))})},recalcLabels:function(){var e,t,n=this,i=0,r=[];if(!1!==n.settings.labelGapCalc)for(("children"==n.settings.labelGapCalc?n.find("formitem"):n.items()).filter("formitem").each(function(e){var t=e.items()[0],n=t.getEl().clientWidth;i=n>i?n:i,r.push(t)}),t=n.settings.labelGap||0,e=r.length;e--;)r[e].settings.minWidth=i+t},visible:function(e){var t=this._super(e);return!0===e&&this._rendered&&this.recalcLabels(),t},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var e=this;e._super(),e.recalcLabels(),e.fromJSON(e.settings.data)}})}),i("tinymce/ui/FieldSet",["tinymce/ui/Form"],function(e){return e.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.preRender(),t.preRender(e),'<fieldset id="'+e._id+'" class="'+e.classes()+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<legend id="'+e._id+'-title" class="'+n+'fieldset-title">'+e.settings.title+"</legend>":"")+'<div id="'+e._id+'-body" class="'+e.classes("body")+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></fieldset>"}})}),i("tinymce/ui/FilePicker",["tinymce/ui/ComboBox","tinymce/util/Tools"],function(e,t){return e.extend({init:function(e){var n,i,r,o=this,a=tinymce.activeEditor,s=a.settings;e.spellcheck=!1,(r=s.file_picker_types||s.file_browser_callback_types)&&(r=t.makeMap(r,/[, ]/)),r&&!r[e.filetype]||(!(i=s.file_picker_callback)||r&&!r[e.filetype]?!(i=s.file_browser_callback)||r&&!r[e.filetype]||(n=function(){i(o.getEl("inp").id,o.value(),e.filetype,window)}):n=function(){var n=o.fire("beforecall").meta;n=t.extend({filetype:e.filetype},n),i.call(a,function(e,t){o.value(e).fire("change",{meta:t})},o.value(),n)}),n&&(e.icon="browse",e.onaction=n),o._super(e)}})}),i("tinymce/ui/FitLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t=e.layoutRect(),n=e.paddingBox();e.items().filter(":visible").each(function(e){e.layoutRect({x:n.left,y:n.top,w:t.innerW-n.right-n.left,h:t.innerH-n.top-n.bottom}),e.recalc&&e.recalc()})}})}),i("tinymce/ui/FlexLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t,n,i,r,o,a,s,l,c,u,d,f,m,p,h,g,v,y,b,C,x,w,_,E,N,S,k,T,R,A,B,D,M,L,P,H,O,I=[],F=Math.max,z=Math.min;for(i=e.items().filter(":visible"),r=e.layoutRect(),o=e._paddingBox,a=e.settings,f=e.isRtl()?a.direction||"row-reversed":a.direction,s=a.align,l=e.isRtl()?a.pack||"end":a.pack,c=a.spacing||0,"row-reversed"!=f&&"column-reverse"!=f||(i=i.set(i.toArray().reverse()),f=f.split("-")[0]),"column"==f?(E="y",w="h",_="minH",N="maxH",k="innerH",S="top",T="deltaH",R="contentH",L="left",D="w",A="x",B="innerW",M="minW",P="right",H="deltaW",O="contentW"):(E="x",w="w",_="minW",N="maxW",k="innerW",S="left",T="deltaW",R="contentW",L="top",D="h",A="y",B="innerH",M="minH",P="bottom",H="deltaH",O="contentH"),d=r[k]-o[S]-o[S],x=u=0,t=0,n=i.length;t<n;t++)p=(m=i[t]).layoutRect(),h=m.settings.flex,d-=t<n-1?c:0,h>0&&(u+=h,p[N]&&I.push(m),p.flex=h),d-=p[_],(g=o[L]+p[M]+o[P])>x&&(x=g);if(b={},b[_]=d<0?r[_]-d+r[T]:r[k]-d+r[T],b[M]=x+r[H],b[R]=r[k]-d,b[O]=x,b.minW=z(b.minW,r.maxW),b.minH=z(b.minH,r.maxH),b.minW=F(b.minW,r.startMinWidth),b.minH=F(b.minH,r.startMinHeight),!r.autoResize||b.minW==r.minW&&b.minH==r.minH){for(y=d/u,t=0,n=I.length;t<n;t++)v=(p=(m=I[t]).layoutRect())[N],(g=p[_]+p.flex*y)>v?(d-=p[N]-p[_],u-=p.flex,p.flex=0,p.maxFlexSize=v):p.maxFlexSize=0;for(y=d/u,C=o[S],b={},0===u&&("end"==l?C=d+o[S]:"center"==l?(C=Math.round(r[k]/2-(r[k]-d)/2)+o[S])<0&&(C=o[S]):"justify"==l&&(C=o[S],c=Math.floor(d/(i.length-1)))),b[A]=o[L],t=0,n=i.length;t<n;t++)g=(p=(m=i[t]).layoutRect()).maxFlexSize||p[_],"center"===s?b[A]=Math.round(r[B]/2-p[D]/2):"stretch"===s?(b[D]=F(p[M]||0,r[B]-o[L]-o[P]),b[A]=o[L]):"end"===s&&(b[A]=r[B]-p[D]-o.top),p.flex>0&&(g+=p.flex*y),b[w]=g,b[E]=C,m.layoutRect(b),m.recalc&&m.recalc(),C+=g+c}else if(b.w=b.minW,b.h=b.minH,e.layoutRect(b),this.recalc(e),null===e._lastRect){var W=e.parent();W&&(W._lastRect=null,W.recalc())}}})}),i("tinymce/ui/FlowLayout",["tinymce/ui/Layout"],function(e){return e.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(e){e.items().filter(":visible").each(function(e){e.recalc&&e.recalc()})}})}),i("tinymce/ui/FormatControls",["tinymce/ui/Control","tinymce/ui/Widget","tinymce/ui/FloatPanel","tinymce/util/Tools","tinymce/EditorManager","tinymce/Env"],function(e,t,n,i,r,o){function a(e){function t(t,n){return function(){var i=this;e.on("nodeChange",function(r){var o=e.formatter,a=null;s(r.parents,function(e){if(s(t,function(t){if(n?o.matchNode(e,n,{value:t.value})&&(a=t.value):o.matchNode(e,t.value)&&(a=t.value),a)return!1}),a)return!1}),i.value(a)})}}function i(e){for(var t=(e=e.replace(/;$/,"").split(";")).length;t--;)e[t]=e[t].split("=");return e}function r(t){return function(){function n(){return!!e.undoManager&&e.undoManager[t]()}var i=this;t="redo"==t?"hasRedo":"hasUndo",i.disabled(!n()),e.on("Undo Redo AddUndo TypingUndo ClearUndos",function(){i.disabled(!n())})}}function o(t){t.control&&(t=t.control.value()),t&&e.execCommand("mceToggleFormat",!1,t)}var a;a=function(){function t(e){var r=[];if(e)return s(e,function(e){var o={text:e.title,icon:e.icon};if(e.items)o.menu=t(e.items);else{var a=e.format||"custom"+n++;e.format||(e.name=a,i.push(e)),o.format=a,o.cmd=e.cmd}r.push(o)}),r}var n=0,i=[],r=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];return e.on("init",function(){s(i,function(t){e.formatter.register(t.name,t)})}),{type:"menu",items:t(e.settings.style_formats_merge?e.settings.style_formats?r.concat(e.settings.style_formats):r:e.settings.style_formats||r),onPostRender:function(t){e.fire("renderFormatsMenu",{control:t.control})},itemDefaults:{preview:!0,textStyle:function(){if(this.settings.format)return e.formatter.getCssText(this.settings.format)},onPostRender:function(){var t=this;t.parent().on("show",function(){var n,i;(n=t.settings.format)&&(t.disabled(!e.formatter.canApply(n)),t.active(e.formatter.match(n))),(i=t.settings.cmd)&&t.active(e.queryCommandState(i))})},onclick:function(){this.settings.format&&o(this.settings.format),this.settings.cmd&&e.execCommand(this.settings.cmd)}}}}(),s({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(t,n){e.addButton(n,{tooltip:t,onPostRender:function(){var t=this;e.formatter?e.formatter.formatChanged(n,function(e){t.active(e)}):e.on("init",function(){e.formatter.formatChanged(n,function(e){t.active(e)})})},onclick:function(){o(n)}})}),s({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1]})}),s({blockquote:["Blockquote","mceBlockQuote"],numlist:["Numbered list","InsertOrderedList"],bullist:["Bullet list","InsertUnorderedList"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1],onPostRender:function(){var t=this;e.formatter?e.formatter.formatChanged(n,function(e){t.active(e)}):e.on("init",function(){e.formatter.formatChanged(n,function(e){t.active(e)})})}})}),e.addButton("undo",{tooltip:"Undo",onPostRender:r("undo"),cmd:"undo"}),e.addButton("redo",{tooltip:"Redo",onPostRender:r("redo"),cmd:"redo"}),e.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"}),e.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:r("undo"),cmd:"undo"}),e.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:r("redo"),cmd:"redo"}),e.addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:function(){var t=this;e.on("VisualAid",function(e){t.active(e.hasVisual)}),t.active(e.hasVisual)},cmd:"mceToggleVisualAid"}),s({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(t,n){e.addMenuItem(n,{text:t[0],icon:n,shortcut:t[2],cmd:t[1]})}),e.on("mousedown",function(){n.hideAll()}),e.addButton("styleselect",{type:"menubutton",text:"Formats",menu:a}),e.addButton("formatselect",function(){var n=[],r=i(e.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");return s(r,function(t){n.push({text:t[0],value:t[1],textStyle:function(){return e.formatter.getCssText(t[1])}})}),{type:"listbox",text:r[0][0],values:n,fixedWidth:!0,onselect:o,onPostRender:t(n)}}),e.addButton("fontselect",function(){var n=[],r=i(e.settings.font_formats||"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats");return s(r,function(e){n.push({text:{raw:e[0]},value:e[1],textStyle:-1==e[1].indexOf("dings")?"font-family:"+e[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:n,fixedWidth:!0,onPostRender:t(n,"fontname"),onselect:function(t){t.control.settings.value&&e.execCommand("FontName",!1,t.control.settings.value)}}}),e.addButton("fontsizeselect",function(){var n=[],i=e.settings.fontsize_formats||"8pt 10pt 12pt 14pt 18pt 24pt 36pt";return s(i.split(" "),function(e){var t=e,i=e,r=e.split("=");r.length>1&&(t=r[0],i=r[1]),n.push({text:t,value:i})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:n,fixedWidth:!0,onPostRender:t(n,"fontsize"),onclick:function(t){t.control.settings.value&&e.execCommand("FontSize",!1,t.control.settings.value)}}}),e.addMenuItem("formats",{text:"Formats",menu:a})}var s=i.each;r.on("AddEditor",function(t){t.editor.rtl&&(e.rtl=!0),a(t.editor)}),e.translate=function(e){return r.translate(e)},t.tooltips=!o.iOS}),i("tinymce/ui/GridLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t,n,i,r,o,a,s,l,c,u,d,f,m,p,h,g,v,y,b,C,x,w,_,E,N,S,k,T,R=e.settings,A=[],B=[];R=e.settings,i=e.items().filter(":visible"),r=e.layoutRect(),n=R.columns||Math.ceil(Math.sqrt(i.length)),t=Math.ceil(i.length/n),v=R.spacingH||R.spacing||0,y=R.spacingV||R.spacing||0,b=R.alignH||R.align,C=R.alignV||R.align,h=e._paddingBox,k="reverseRows"in R?R.reverseRows:e.isRtl(),b&&"string"==typeof b&&(b=[b]),C&&"string"==typeof C&&(C=[C]);for(u=0;u<n;u++)A.push(0);for(d=0;d<t;d++)B.push(0);for(d=0;d<t;d++)for(u=0;u<n&&(c=i[d*n+u]);u++)_=(l=c.layoutRect()).minW,E=l.minH,A[u]=_>A[u]?_:A[u],B[d]=E>B[d]?E:B[d];for(N=r.innerW-h.left-h.right,x=0,u=0;u<n;u++)x+=A[u]+(u>0?v:0),N-=(u>0?v:0)+A[u];for(S=r.innerH-h.top-h.bottom,w=0,d=0;d<t;d++)w+=B[d]+(d>0?y:0),S-=(d>0?y:0)+B[d];if(x+=h.left+h.right,w+=h.top+h.bottom,s={},s.minW=x+(r.w-r.innerW),s.minH=w+(r.h-r.innerH),s.contentW=s.minW-r.deltaW,s.contentH=s.minH-r.deltaH,s.minW=Math.min(s.minW,r.maxW),s.minH=Math.min(s.minH,r.maxH),s.minW=Math.max(s.minW,r.startMinWidth),s.minH=Math.max(s.minH,r.startMinHeight),!r.autoResize||s.minW==r.minW&&s.minH==r.minH){r.autoResize&&((s=e.layoutRect(s)).contentW=s.minW-r.deltaW,s.contentH=s.minH-r.deltaH);var D;D="start"==R.packV?0:S>0?Math.floor(S/t):0;var M=0,L=R.flexWidths;if(L)for(u=0;u<L.length;u++)M+=L[u];else M=n;var P=N/M;for(u=0;u<n;u++)A[u]+=L?L[u]*P:P;for(m=h.top,d=0;d<t;d++){for(f=h.left,a=B[d]+D,u=0;u<n&&(T=k?d*n+n-1-u:d*n+u,c=i[T]);u++)p=c.settings,l=c.layoutRect(),o=Math.max(A[u],l.startMinWidth),l.x=f,l.y=m,"center"==(g=p.alignH||(b?b[u]||b[0]:null))?l.x=f+o/2-l.w/2:"right"==g?l.x=f+o-l.w:"stretch"==g&&(l.w=o),"center"==(g=p.alignV||(C?C[u]||C[0]:null))?l.y=m+a/2-l.h/2:"bottom"==g?l.y=m+a-l.h:"stretch"==g&&(l.h=a),c.layoutRect(l),f+=o+v,c.recalc&&c.recalc();m+=a+y}}else if(s.w=s.minW,s.h=s.minH,e.layoutRect(s),this.recalc(e),null===e._lastRect){var H=e.parent();H&&(H._lastRect=null,H.recalc())}}})}),i("tinymce/ui/Iframe",["tinymce/ui/Widget"],function(e){return e.extend({renderHtml:function(){var e=this;return e.addClass("iframe"),e.canFocus=!1,'<iframe id="'+e._id+'" class="'+e.classes()+'" tabindex="-1" src="'+(e.settings.url||"javascript:''")+'" frameborder="0"></iframe>'},src:function(e){this.getEl().src=e},html:function(e,t){var n=this,i=this.getEl().contentWindow.document.body;return i?(i.innerHTML=e,t&&t()):setTimeout(function(){n.html(e)},0),this}})}),i("tinymce/ui/Label",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(e,t){return e.extend({init:function(e){var t=this;t._super(e),t.addClass("widget"),t.addClass("label"),t.canFocus=!1,e.multiline&&t.addClass("autoscroll"),e.strong&&t.addClass("strong")},initLayoutRect:function(){var e=this,n=e._super();return e.settings.multiline&&(t.getSize(e.getEl()).width>n.maxW&&(n.minW=n.maxW,e.addClass("multiline")),e.getEl().style.width=n.minW+"px",n.startMinH=n.h=n.minH=Math.min(n.maxH,t.getSize(e.getEl()).height)),n},repaint:function(){var e=this;return e.settings.multiline||(e.getEl().style.lineHeight=e.layoutRect().h+"px"),e._super()},text:function(e){var t=this;return t._rendered&&e&&this.innerHtml(t.encode(e)),t._super(e)},renderHtml:function(){var e=this,t=e.settings.forId;return'<label id="'+e._id+'" class="'+e.classes()+'"'+(t?' for="'+t+'"':"")+">"+e.encode(e._text)+"</label>"}})}),i("tinymce/ui/Toolbar",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(e){var t=this;t._super(e),t.addClass("toolbar")},postRender:function(){var e=this;return e.items().addClass("toolbar-item"),e._super()}})}),i("tinymce/ui/MenuBar",["tinymce/ui/Toolbar"],function(e){return e.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}})}),i("tinymce/ui/MenuButton",["tinymce/ui/Button","tinymce/ui/Factory","tinymce/ui/MenuBar"],function(e,t,n){function i(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}var r=e.extend({init:function(e){var t=this;t._renderOpen=!0,t._super(e),t.addClass("menubtn"),e.fixedWidth&&t.addClass("fixed-width"),t.aria("haspopup",!0),t.hasPopup=!0},showMenu:function(){var e,n=this,i=n.settings;if(n.menu&&n.menu.visible())return n.hideMenu();n.menu||((e=i.menu||[]).length?e={type:"menu",items:e}:e.type=e.type||"menu",n.menu=t.create(e).parent(n).renderTo(),n.fire("createmenu"),n.menu.reflow(),n.menu.on("cancel",function(e){e.control.parent()===n.menu&&(e.stopPropagation(),n.focus(),n.hideMenu())}),n.menu.on("select",function(){n.focus()}),n.menu.on("show hide",function(e){e.control==n.menu&&n.activeMenu("show"==e.type),n.aria("expanded","show"==e.type)}).fire("show")),n.menu.show(),n.menu.layoutRect({w:n.layoutRect().w}),n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},hideMenu:function(){var e=this;e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide())},activeMenu:function(e){this.toggleClass("active",e)},renderHtml:function(){var e,t=this,i=t._id,r=t.classPrefix,o=t.settings.icon;return(e=t.settings.image)?(o="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",o=t.settings.icon?r+"ico "+r+"i-"+o:"",t.aria("role",t.parent()instanceof n?"menuitem":"button"),'<div id="'+i+'" class="'+t.classes()+'" tabindex="-1" aria-labelledby="'+i+'"><button id="'+i+'-open" role="presentation" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+"<span>"+(t._text?(o?" ":"")+t.encode(t._text):"")+'</span> <i class="'+r+'caret"></i></button></div>'},postRender:function(){var e=this;return e.on("click",function(t){t.control===e&&i(t.target,e.getEl())&&(e.showMenu(),t.aria&&e.menu.items()[0].focus())}),e.on("mouseenter",function(t){var n,i=t.control,o=e.parent();i&&o&&i instanceof r&&i.parent()==o&&(o.items().filter("MenuButton").each(function(e){e.hideMenu&&e!=i&&(e.menu&&e.menu.visible()&&(n=!0),e.hideMenu())}),n&&(i.focus(),i.showMenu()))}),e._super()},text:function(e){var t,n,i=this;if(i._rendered)for(n=i.getEl("open").getElementsByTagName("span"),t=0;t<n.length;t++)n[t].innerHTML=(i.settings.icon&&e?" ":"")+i.encode(e);return this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}});return r}),i("tinymce/ui/ListBox",["tinymce/ui/MenuButton"],function(e){return e.extend({init:function(e){function t(n){for(var o=0;o<n.length;o++){if(i=n[o].selected||e.value===n[o].value){r=r||n[o].text,a._value=n[o].value;break}n[o].menu&&t(n[o].menu)}}var n,i,r,o,a=this;a._values=n=e.values,n&&(t(n),!i&&n.length>0&&(r=n[0].text,a._value=n[0].value),e.menu=n),e.text=e.text||r||n[0].text,a._super(e),a.addClass("listbox"),a.on("select",function(t){var n=t.control;o&&(t.lastControl=o),e.multiple?n.active(!n.active()):a.value(t.control.settings.value),o=n})},value:function(e){function t(e,n){e.items().each(function(e){(i=e.value()===n)&&(r=r||e.text()),e.active(i),e.menu&&t(e.menu,n)})}function n(t){for(var o=0;o<t.length;o++)(i=t[o].value==e)&&(r=r||t[o].text),t[o].active=i,t[o].menu&&n(t[o].menu)}var i,r,o=this;return void 0!==e&&(o.menu?t(o.menu,e):n(o.settings.menu),o.text(r||this.settings.text)),o._super(e)}})}),i("tinymce/ui/MenuItem",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/Env"],function(e,t,n){return e.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var t=this;t.hasPopup=!0,t._super(e),e=t.settings,t.addClass("menu-item"),e.menu&&t.addClass("menu-item-expand"),e.preview&&t.addClass("menu-item-preview"),"-"!==t._text&&"|"!==t._text||(t.addClass("menu-item-sep"),t.aria("role","separator"),t._text="-"),e.selectable&&(t.aria("role","menuitemcheckbox"),t.addClass("menu-item-checkbox"),e.icon="selected"),e.preview||e.selectable||t.addClass("menu-item-normal"),t.on("mousedown",function(e){e.preventDefault()}),e.menu&&!e.ariaHideMenu&&t.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var e,n=this,i=n.settings,r=n.parent();if(r.items().each(function(e){e!==n&&e.hideMenu()}),i.menu){(e=n.menu)?e.show():((e=i.menu).length?e={type:"menu",items:e}:e.type=e.type||"menu",r.settings.itemDefaults&&(e.itemDefaults=r.settings.itemDefaults),(e=n.menu=t.create(e).parent(n).renderTo()).reflow(),e.on("cancel",function(t){t.stopPropagation(),n.focus(),e.hide()}),e.on("show hide",function(e){e.control.items().each(function(e){e.active(e.settings.selected)})}).fire("show"),e.on("hide",function(t){t.control===e&&n.removeClass("selected")}),e.submenu=!0),e._parentMenu=r,e.addClass("menu-sub");var o=e.testMoveRel(n.getEl(),n.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);e.moveRel(n.getEl(),o),e.rel=o,o="menu-sub-"+o,e.removeClass(e._lastRel),e.addClass(o),e._lastRel=o,n.addClass("selected"),n.aria("expanded",!0)}},hideMenu:function(){var e=this;return e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide(),e.aria("expanded",!1)),e},renderHtml:function(){var e=this,t=e._id,i=e.settings,r=e.classPrefix,o=e.encode(e._text),a=e.settings.icon,s="",l=i.shortcut;return a&&e.parent().addClass("menu-has-icons"),i.image&&(a="none",s=" style=\"background-image: url('"+i.image+"')\""),l&&(l=function(e){var t,i,r={};for(r=n.mac?{alt:"&#x2325;",ctrl:"&#x2318;",shift:"&#x21E7;",meta:"&#x2318;"}:{meta:"Ctrl"},e=e.split("+"),t=0;t<e.length;t++)(i=r[e[t].toLowerCase()])&&(e[t]=i);return e.join("+")}(l)),a=r+"ico "+r+"i-"+(e.settings.icon||"none"),'<div id="'+t+'" class="'+e.classes()+'" tabindex="-1">'+("-"!==o?'<i class="'+a+'"'+s+"></i> ":"")+("-"!==o?'<span id="'+t+'-text" class="'+r+'text">'+o+"</span>":"")+(l?'<div id="'+t+'-shortcut" class="'+r+'menu-shortcut">'+l+"</div>":"")+(i.menu?'<div class="'+r+'caret"></div>':"")+"</div>"},postRender:function(){var e=this,t=e.settings,n=t.textStyle;if("function"==typeof n&&(n=n.call(this)),n){var i=e.getEl("text");i&&i.setAttribute("style",n)}return e.on("mouseenter click",function(n){n.control===e&&(t.menu||"click"!==n.type?(e.showMenu(),n.aria&&e.menu.focus(!0)):(e.fire("select"),e.parent().hideAll()))}),e._super(),e},active:function(e){return void 0!==e&&this.aria("checked",e),this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}})}),i("tinymce/ui/Menu",["tinymce/ui/FloatPanel","tinymce/ui/MenuItem","tinymce/util/Tools"],function(e,t,n){return e.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(e){var t=this;if(e.autohide=!0,e.constrainToViewport=!0,e.itemDefaults)for(var i=e.items,r=i.length;r--;)i[r]=n.extend({},e.itemDefaults,i[r]);t._super(e),t.addClass("menu")},repaint:function(){return this.toggleClass("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){var e=this;e.hideAll(),e.fire("select")},hideAll:function(){var e=this;return this.find("menuitem").exec("hideMenu"),e._super()},preRender:function(){var e=this;return e.items().each(function(t){var n=t.settings;if(n.icon||n.selectable)return e._hasIcons=!0,!1}),e._super()}})}),i("tinymce/ui/Radio",["tinymce/ui/Checkbox"],function(e){return e.extend({Defaults:{classes:"radio",role:"radio"}})}),i("tinymce/ui/ResizeHandle",["tinymce/ui/Widget","tinymce/ui/DragHelper"],function(e,t){return e.extend({renderHtml:function(){var e=this,t=e.classPrefix;return e.addClass("resizehandle"),"both"==e.settings.direction&&e.addClass("resizehandle-both"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes()+'"><i class="'+t+"ico "+t+'i-resize"></i></div>'},postRender:function(){var e=this;e._super(),e.resizeDragHelper=new t(this._id,{start:function(){e.fire("ResizeStart")},drag:function(t){"both"!=e.settings.direction&&(t.deltaX=0),e.fire("Resize",t)},stop:function(){e.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}})}),i("tinymce/ui/Spacer",["tinymce/ui/Widget"],function(e){return e.extend({renderHtml:function(){var e=this;return e.addClass("spacer"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes()+'"></div>'}})}),i("tinymce/ui/SplitButton",["tinymce/ui/MenuButton","tinymce/ui/DomUtils"],function(e,t){return e.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var e,n,i=this,r=i.getEl(),o=i.layoutRect();return i._super(),e=r.firstChild,n=r.lastChild,t.css(e,{width:o.w-t.getSize(n).width,height:o.h-2}),t.css(n,{height:o.h-2}),i},activeMenu:function(e){var n=this;t.toggleClass(n.getEl().lastChild,n.classPrefix+"active",e)},renderHtml:function(){var e,t=this,n=t._id,i=t.classPrefix,r=t.settings.icon;return(e=t.settings.image)?(r="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",r=t.settings.icon?i+"ico "+i+"i-"+r:"",'<div id="'+n+'" class="'+t.classes()+'" role="button" tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(r?'<i class="'+r+'"'+e+"></i>":"")+(t._text?(r?" ":"")+t._text:"")+'</button><button type="button" class="'+i+'open" hidefocus="1" tabindex="-1">'+(t._menuBtnText?(r?" ":"")+t._menuBtnText:"")+' <i class="'+i+'caret"></i></button></div>'},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(e){var n=e.target;if(e.control==this)for(;n;){if(e.aria&&"down"!=e.aria.key||"BUTTON"==n.nodeName&&-1==n.className.indexOf("open"))return e.stopImmediatePropagation(),void t.call(this,e);n=n.parentNode}}),delete e.settings.onclick,e._super()}})}),i("tinymce/ui/StackLayout",["tinymce/ui/FlowLayout"],function(e){return e.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"}})}),i("tinymce/ui/TabPanel",["tinymce/ui/Panel","tinymce/ui/DomUtils"],function(e,t){return e.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(e){var n;this.activeTabId&&(n=this.getEl(this.activeTabId),t.removeClass(n,this.classPrefix+"active"),n.setAttribute("aria-selected","false")),this.activeTabId="t"+e,(n=this.getEl("t"+e)).setAttribute("aria-selected","true"),t.addClass(n,this.classPrefix+"active"),this.items()[e].show().fire("showtab"),this.reflow(),this.items().each(function(t,n){e!=n&&t.hide()})},renderHtml:function(){var e=this,t=e._layout,n="",i=e.classPrefix;return e.preRender(),t.preRender(e),e.items().each(function(t,r){var o=e._id+"-t"+r;t.aria("role","tabpanel"),t.aria("labelledby",o),n+='<div id="'+o+'" class="'+i+'tab" unselectable="on" role="tab" aria-controls="'+t._id+'" aria-selected="false" tabIndex="-1">'+e.encode(t.settings.title)+"</div>"}),'<div id="'+e._id+'" class="'+e.classes()+'" hidefocus="1" tabindex="-1"><div id="'+e._id+'-head" class="'+i+'tabs" role="tablist">'+n+'</div><div id="'+e._id+'-body" class="'+e.classes("body")+'">'+t.renderHtml(e)+"</div></div>"},postRender:function(){var e=this;e._super(),e.settings.activeTab=e.settings.activeTab||0,e.activateTab(e.settings.activeTab),this.on("click",function(t){var n=t.target.parentNode;if(t.target.parentNode.id==e._id+"-head")for(var i=n.childNodes.length;i--;)n.childNodes[i]==t.target&&e.activateTab(i)})},initLayoutRect:function(){var e,n,i,r=this;n=t.getSize(r.getEl("head")).width,n=n<0?0:n,i=0,r.items().each(function(e){n=Math.max(n,e.layoutRect().minW),i=Math.max(i,e.layoutRect().minH)}),r.items().each(function(e){e.settings.x=0,e.settings.y=0,e.settings.w=n,e.settings.h=i,e.layoutRect({x:0,y:0,w:n,h:i})});var o=t.getSize(r.getEl("head")).height;return r.settings.minWidth=n,r.settings.minHeight=i+o,e=r._super(),e.deltaH+=o,e.innerH=e.h-e.deltaH,e}})}),i("tinymce/ui/TextBox",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(e,t){return e.extend({init:function(e){var t=this;t._super(e),t._value=e.value||"",t.addClass("textbox"),e.multiline?t.addClass("multiline"):t.on("keydown",function(e){13==e.keyCode&&t.parents().reverse().each(function(t){if(e.preventDefault(),t.hasEventListeners("submit")&&t.toJSON)return t.fire("submit",{data:t.toJSON()}),!1})})},disabled:function(e){var t=this;return t._rendered&&void 0!==e&&(t.getEl().disabled=e),t._super(e)},value:function(e){var t=this;return void 0!==e?(t._value=e,t._rendered&&(t.getEl().value=e),t):t._rendered?t.getEl().value:t._value},repaint:function(){var e,t,n,i,r=this,o=0,a=0;e=r.getEl().style,t=r._layoutRect,i=r._lastRepaintRect||{};var s=document;return!r.settings.multiline&&s.all&&(!s.documentMode||s.documentMode<=8)&&(e.lineHeight=t.h-a+"px"),n=r._borderBox,o=n.left+n.right+8,a=n.top+n.bottom+(r.settings.multiline?8:0),t.x!==i.x&&(e.left=t.x+"px",i.x=t.x),t.y!==i.y&&(e.top=t.y+"px",i.y=t.y),t.w!==i.w&&(e.width=t.w-o+"px",i.w=t.w),t.h!==i.h&&(e.height=t.h-a+"px",i.h=t.h),r._lastRepaintRect=i,r.fire("repaint",{},!1),r},renderHtml:function(){var e=this,t=e._id,n=e.settings,i=e.encode(e._value,!1),r="";return"spellcheck"in n&&(r+=' spellcheck="'+n.spellcheck+'"'),n.maxLength&&(r+=' maxlength="'+n.maxLength+'"'),n.size&&(r+=' size="'+n.size+'"'),n.subtype&&(r+=' type="'+n.subtype+'"'),e.disabled()&&(r+=' disabled="disabled"'),n.multiline?'<textarea id="'+t+'" class="'+e.classes()+'" '+(n.rows?' rows="'+n.rows+'"':"")+' hidefocus="1"'+r+">"+i+"</textarea>":'<input id="'+t+'" class="'+e.classes()+'" value="'+i+'" hidefocus="1"'+r+" />"},postRender:function(){var e=this;return t.on(e.getEl(),"change",function(t){e.fire("change",t)}),e._super()},remove:function(){t.off(this.getEl()),this._super()}})}),i("tinymce/ui/Throbber",["tinymce/ui/DomUtils","tinymce/ui/Control"],function(e,t){return function(n,i){var r,o=this,a=t.classPrefix;o.show=function(t){return o.hide(),r=!0,window.setTimeout(function(){r&&n.appendChild(e.createFragment('<div class="'+a+"throbber"+(i?" "+a+"throbber-inline":"")+'"></div>'))},t||0),o},o.hide=function(){var e=n.lastChild;return e&&-1!=e.className.indexOf("throbber")&&e.parentNode.removeChild(e),r=!1,o}}}),function(n){for(var i=0;i<n.length;i++){for(var r=e,a=n[i],s=a.split(/[.\/]/),l=0;l<s.length-1;++l)r[s[l]]===t&&(r[s[l]]={}),r=r[s[l]];r[s[s.length-1]]=o[a]}}(["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/Env","tinymce/util/Tools","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/dom/DOMUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/dom/RangeUtils","tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/html/DomParser","tinymce/html/Writer","tinymce/html/Serializer","tinymce/dom/Serializer","tinymce/dom/TridentSelection","tinymce/util/VK","tinymce/dom/ControlSelection","tinymce/dom/BookmarkManager","tinymce/dom/Selection","tinymce/dom/ElementUtils","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/util/Class","tinymce/util/EventDispatcher","tinymce/ui/Selector","tinymce/ui/Collection","tinymce/ui/DomUtils","tinymce/ui/Control","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/ui/Container","tinymce/ui/DragHelper","tinymce/ui/Scrollable","tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/FloatPanel","tinymce/ui/Window","tinymce/ui/MessageBox","tinymce/WindowManager","tinymce/util/Quirks","tinymce/util/Observable","tinymce/EditorObservable","tinymce/Shortcuts","tinymce/Editor","tinymce/util/I18n","tinymce/FocusManager","tinymce/EditorManager","tinymce/LegacyInput","tinymce/util/XHR","tinymce/util/JSON","tinymce/util/JSONRequest","tinymce/util/JSONP","tinymce/util/LocalStorage","tinymce/Compat","tinymce/ui/Layout","tinymce/ui/AbsoluteLayout","tinymce/ui/Tooltip","tinymce/ui/Widget","tinymce/ui/Button","tinymce/ui/ButtonGroup","tinymce/ui/Checkbox","tinymce/ui/ComboBox","tinymce/ui/ColorBox","tinymce/ui/PanelButton","tinymce/ui/ColorButton","tinymce/util/Color","tinymce/ui/ColorPicker","tinymce/ui/Path","tinymce/ui/ElementPath","tinymce/ui/FormItem","tinymce/ui/Form","tinymce/ui/FieldSet","tinymce/ui/FilePicker","tinymce/ui/FitLayout","tinymce/ui/FlexLayout","tinymce/ui/FlowLayout","tinymce/ui/FormatControls","tinymce/ui/GridLayout","tinymce/ui/Iframe","tinymce/ui/Label","tinymce/ui/Toolbar","tinymce/ui/MenuBar","tinymce/ui/MenuButton","tinymce/ui/ListBox","tinymce/ui/MenuItem","tinymce/ui/Menu","tinymce/ui/Radio","tinymce/ui/ResizeHandle","tinymce/ui/Spacer","tinymce/ui/SplitButton","tinymce/ui/StackLayout","tinymce/ui/TabPanel","tinymce/ui/TextBox","tinymce/ui/Throbber"])}(this);
--- a/src/pyams_skin/resources/js/myams-dataTables.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/myams-dataTables.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(c,b){c.extend(true,c.fn.dataTable.defaults,{sDom:"R<'dt-top-row'CLF>r<'dt-wrapper't><'dt-row dt-bottom-row'<'row'<'col-sm-6'i><'col-sm-6 text-right'p>>",sPaginationType:"bootstrap",oLanguage:{sLengthMenu:"_MENU_",sSearch:"_INPUT_"}});c.extend(c.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper form-inline"});c.fn.dataTableExt.oApi.fnPagingInfo=function(e){return{iStart:e._iDisplayStart,iEnd:e.fnDisplayEnd(),iLength:e._iDisplayLength,iTotal:e.fnRecordsTotal(),iFilteredTotal:e.fnRecordsDisplay(),iPage:e._iDisplayLength===-1?0:Math.ceil(e._iDisplayStart/e._iDisplayLength),iTotalPages:e._iDisplayLength===-1?0:Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength)}};c.fn.dataTableExt.aTypes.unshift(function(e){if(e!==null&&e.match(/^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/[0-3][0-9]{3}$/)){return"date-euro"}return null});c.fn.dataTableExt.aTypes.unshift(function(e){if(e!==null&&e.match(/^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/[0-3][0-9]{3} - ([0-1][0-9]|2[0-3]):[0-5][0-9]$/)){return"datetime-euro"}return null});c.extend(c.fn.dataTableExt.oSort,{"numeric-comma-asc":function(g,f){var e=g.replace(/,/,".").replace(/ /g,"");var h=f.replace(/,/,".").replace(/ /g,"");e=parseFloat(e);h=parseFloat(h);return((e<h)?-1:((e>h)?1:0))},"numeric-comma-desc":function(g,f){var e=g.replace(/,/,".").replace(/ /g,"");var h=f.replace(/,/,".").replace(/ /g,"");e=parseFloat(e);h=parseFloat(h);return((e<h)?1:((e>h)?-1:0))},"date-euro-pre":function(g){var h=c.trim(g);var e;if(h!==""){var f=h.split("/");e=(f[2]+f[1]+f[0])*1}else{e=10000000}return e},"date-euro-asc":function(f,e){return f-e},"date-euro-desc":function(f,e){return e-f},"datetime-euro-pre":function(g){var j=c.trim(g);var e;if(j!==""){var h=j.split(" - ");var f=h[0].split("/");var i=h[1].split(":");e=(f[2]+f[1]+f[0]+i[0]+i[1])*1}else{e=100000000000}return e},"datetime-euro-asc":function(f,e){return f-e},"datetime-euro-desc":function(f,e){return e-f}});c.extend(c.fn.dataTableExt.oPagination,{bootstrap:{fnInit:function(i,f,h){var e=i.oLanguage.oPaginate;var j=function(k){k.preventDefault();if(i.oApi._fnPageChange(i,k.data.action)){h(i)}};c(f).append('<ul class="pagination"><li class="prev disabled"><a href="#">'+e.sPrevious+'</a></li><li class="next disabled"><a href="#">'+e.sNext+"</a></li></ul>");var g=c("a",f);c(g[0]).on("click.DT",{action:"previous"},j);c(g[1]).on("click.DT",{action:"next"},j)},fnUpdate:function(g,p){var q=5;var l=g.oInstance.fnPagingInfo();var o=g.aanFeatures.p;var n,m,k,e,r,h,f=Math.floor(q/2);if(l.iTotalPages<q){e=1;r=l.iTotalPages}else{if(l.iPage<=f){e=1;r=q}else{if(l.iPage>=(l.iTotalPages-f)){e=l.iTotalPages-q+1;r=l.iTotalPages}else{e=l.iPage-f+1;r=e+q-1}}}for(n=0,h=o.length;n<h;n++){c("li:gt(0)",o[n]).filter(":not(:last)").remove();for(m=e;m<=r;m++){k=(m===l.iPage+1)?'class="active"':"";c("<li "+k+'><a href="#">'+m+"</a></li>").insertBefore(c("li:last",o[n])[0]).on("click",function(i){i.preventDefault();g._iDisplayStart=(parseInt(c("a",this).text(),10)-1)*l.iLength;p(g)})}if(l.iPage===0){c("li:first",o[n]).addClass("disabled")}else{c("li:first",o[n]).removeClass("disabled")}if(l.iPage===l.iTotalPages-1||l.iTotalPages===0){c("li:last",o[n]).addClass("disabled")}else{c("li:last",o[n]).removeClass("disabled")}}}}});c.extend(c.fn.dataTableExt.oPagination,{bootstrap_full:{fnInit:function(i,f,h){var e=i.oLanguage.oPaginate;var j=function(k){k.preventDefault();if(i.oApi._fnPageChange(i,k.data.action)){h(i)}};c(f).append('<ul class="pagination"><li class="first disabled"><a href="#">'+e.sFirst+'</a></li><li class="prev disabled"><a href="#">'+e.sPrevious+'</a></li><li class="next disabled"><a href="#">'+e.sNext+'</a></li><li class="last disabled"><a href="#">'+e.sLast+"</a></li></ul>");var g=c("a",f);c(g[0]).on("click.DT",{action:"first"},j);c(g[1]).on("click.DT",{action:"previous"},j);c(g[2]).on("click.DT",{action:"next"},j);c(g[3]).on("click.DT",{action:"last"},j)},fnUpdate:function(g,p){var q=5;var l=g.oInstance.fnPagingInfo();var o=g.aanFeatures.p;var n,m,k,e,h,r,f=Math.floor(q/2);if(l.iTotalPages<q){e=1;r=l.iTotalPages}else{if(l.iPage<=f){e=1;r=q}else{if(l.iPage>=(l.iTotalPages-f)){e=l.iTotalPages-q+1;r=l.iTotalPages}else{e=l.iPage-f+1;r=e+q-1}}}for(n=0,h=o.length;n<h;n++){c("li",o[n]).filter(":not(.first)").filter(":not(.last)").filter(":not(.prev)").filter(":not(.next)").remove();for(m=e;m<=r;m++){k=(m===l.iPage+1)?'class="active"':"";c("<li "+k+'><a href="#">'+m+"</a></li>").insertBefore(c("li.next",o[n])[0]).on("click",function(i){i.preventDefault();g._iDisplayStart=(parseInt(c("a",this).text(),10)-1)*l.iLength;p(g)})}if(l.iPage===0){c("li.first",o[n]).addClass("disabled");c("li.prev",o[n]).addClass("disabled")}else{c("li.prev",o[n]).removeClass("disabled");c("li.first",o[n]).removeClass("disabled")}if(l.iPage===l.iTotalPages-1||l.iTotalPages===0){c("li.last",o[n]).addClass("disabled");c("li.next",o[n]).addClass("disabled")}else{c("li.next",o[n]).removeClass("disabled");c("li.last",o[n]).removeClass("disabled")}}}}});c.extend(c.fn.dataTableExt.oPagination,{bootstrap_prevnext:{fnInit:function(i,f,h){var e=i.oLanguage.oPaginate;var j=function(k){k.preventDefault();if(i.oApi._fnPageChange(i,k.data.action)){h(i)}};c(f).append('<ul class="pagination"><li class="first disabled"><a href="#"><i class="fa fa-fw fa-fast-backward"></i></a></li><li class="prev disabled"><a href="#"><i class="fa fa-fw fa-step-backward"></i></a></li><li class="next disabled"><a href="#"><i class="fa fa-fw fa-step-forward"></i></a></li><li class="last disabled"><a href="#"><i class="fa fa-fw fa-fast-forward"></i></a></li></ul>');var g=c("a",f);c(g[0]).on("click.DT",{action:"first"},j);c(g[1]).on("click.DT",{action:"previous"},j);c(g[2]).on("click.DT",{action:"next"},j);c(g[3]).on("click.DT",{action:"last"},j)},fnUpdate:function(g,p){var q=5;var l=g.oInstance.fnPagingInfo();var o=g.aanFeatures.p;var n,m,k,e,r,h,f=Math.floor(q/2);if(l.iTotalPages<q){e=1;r=l.iTotalPages}else{if(l.iPage<=f){e=1;r=q}else{if(l.iPage>=(l.iTotalPages-f)){e=l.iTotalPages-q+1;r=l.iTotalPages}else{e=l.iPage-f+1;r=e+q-1}}}for(n=0,h=o.length;n<h;n++){if(l.iPage===0){c("li.first",o[n]).addClass("disabled");c("li.prev",o[n]).addClass("disabled")}else{c("li.prev",o[n]).removeClass("disabled");c("li.first",o[n]).removeClass("disabled")}if(l.iPage===l.iTotalPages-1||l.iTotalPages===0){c("li.last",o[n]).addClass("disabled");c("li.next",o[n]).addClass("disabled")}else{c("li.next",o[n]).removeClass("disabled");c("li.last",o[n]).removeClass("disabled")}}}}});if(c.fn.DataTable.TableTools){c.extend(true,c.fn.DataTable.TableTools.classes,{container:"DTTT btn-group",buttons:{normal:"btn btn-default btn-sm",disabled:"disabled"},collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info modal"},select:{row:"active"}});c.extend(true,c.fn.DataTable.TableTools.DEFAULTS.oTags,{collection:{container:"ul",button:"li",liner:"a"}})}var a=function(g,f){var e=function(i,h){if(!this.CLASS||this.CLASS!=="BootstrapLength"){if(b.alert){b.alert("Warning: BootstrapLength must be initialized with the 'new' keyword")}}if(typeof(h)==="undefined"){h={}}if(g.fn.dataTable.camelToHungarian){g.fn.dataTable.camelToHungarian(e.defaults,h)}this.s={dt:null,oInit:h,hidden:true,abOriginal:[]};this.dom={wrapper:null,input:null};e.aInstances.push(this);this.s.dt=g.fn.dataTable.Api?new g.fn.dataTable.Api(i).settings()[0]:i;this._fnConstruct(h);return this};e.prototype={input:function(){return this.dom.wrapper},fnRebuild:function(){return this.rebuild()},rebuild:function(){},_fnConstruct:function(o){var p=this;var h=p.s.dt;if(h.oScroll.bInfinite){return}var k=h.sTableId+"_length";var m=g('<select size="1"></select>').attr("name",k);var l,j;var n=h.aLengthMenu;if(n.length===2&&typeof(n[0])==="object"&&typeof(n[1])==="object"){for(l=0,j=n[0].length;l<j;l++){g("<option />").attr("value",n[0][l]).text(n[1][l]).appendTo(m)}}else{for(l=0,j=n.length;l<j;l++){g("<option />").attr("value",n[l]).text(n[l]).appendTo(m)}}var q=g("<div>").addClass(h.oClasses.sLength).append(g("<span></span>").addClass("ams-form").append(g("<label></label>").addClass("select").css("width",60).append(m).append(g("<i></i>"))));if(!h.aanFeatures.L){q.attr("id",h.sTableId+"_length")}this.dom.wrapper=q.get(0);g('select option[value="'+h._iDisplayLength+'"]',q).attr("selected",true);g("select",q).on("change.DT",function(i){var r=g(this).val();var s=h.aanFeatures.L;for(l=0,j=s.length;l<j;l++){if(s[l]!==this.parentNode){g("select",s[l]).val(r)}}h._iDisplayLength=parseInt(r,10);h.oInstance._fnCalculateEnd(h);if(h.fnDisplayEnd()===h.fnRecordsDisplay()){h._iDisplayStart=h.fnDisplayEnd()-h._iDisplayLength;if(h._iDisplayStart<0){h._iDisplayStart=0}}if(h._iDisplayLength===-1){h._iDisplayStart=0}h.oInstance._fnDraw()});g("select",q).attr("aria-controls",h.sTableId)}};e.fnRebuild=function(h){};e.defaults={};e.aInstances=[];e.prototype.CLASS="BootstrapLength";e.VERSION="1.0.0";e.prototype.VERSION=e.VERSION;if((typeof(g.fn.dataTable)==="function")&&(typeof(g.fn.dataTableExt.fnVersionCheck)==="function")&&g.fn.dataTableExt.fnVersionCheck("1.7.0")){g.fn.dataTableExt.aoFeatures.push({fnInit:function(i){var j=i.oInit;var h=new e(i,j.bootstrapLength||j.oBootstrapLength||{});return h.input()},cFeature:"L",sFeature:"BootstrapLength"})}else{if(b.alert){b.alert("Warning: BootstrapLength required DataTables 1.7 or greater...")}}g.fn.dataTable.BootstrapLength=e;return e};if(!c.fn.dataTable.BootstrapLength){a(c,c.fn.dataTable)}var d=function(g,f){var e=function(i,h){if(!this.CLASS||this.CLASS!=="BootstrapFilter"){if(b.alert){b.alert("Warning: BootstrapFilter must be initialized with the 'new' keyword")}}if(typeof(h)==="undefined"){h={}}if(g.fn.dataTable.camelToHungarian){g.fn.dataTable.camelToHungarian(e.defaults,h)}this.s={dt:null,oInit:h,hidden:true,abOriginal:[]};this.dom={wrapper:null,input:null};e.aInstances.push(this);this.s.dt=g.fn.dataTable.Api?new g.fn.dataTable.Api(i).settings()[0]:i;this._fnConstruct(h);return this};e.prototype={input:function(){return this.dom.wrapper},fnRebuild:function(){return this.rebuild()},rebuild:function(){},_fnConstruct:function(n){var i=this;var k=i.s.dt;var h=k.oPreviousSearch;var m='<input type="text">';var j=g("<div>").addClass(k.oClasses.sFilter).html('<div class="input-group"><span class="input-group-addon"><i class="fa fa-search"></i></span>'+m+"</div>");if(!k.aanFeatures.F){j.attr("id",k.sTableId+"_filter")}this.dom.wrapper=j.get(0);var l=g('input[type="text"]',j);j.data("DT_Input",l[0]);l.val(h.sSearch.replace('"',"&quot;")).addClass("form-control").attr("placeholder",k.oLanguage.sSearch).attr("aria-control",k.sTableId).on("keyup.DT",function(q){var s=k.aanFeatures.F;var r=g(this).val();for(var p=0,o=s.length;p<o;p++){if(s[p]!==g(this).parents("div.dataTables_filter")[0]){g(s[p]).data("DT_Input").val(r)}}if(r!==h.sSearch){k.oInstance._fnFilterComplete({sSearch:r,bRegex:h.bRegex,bSmart:h.bSmart,bCaseInsensitive:h.bCaseInsensitive})}}).on("keypress.DT",function(o){if(o.keyCode===13){return false}})}};e.fnRebuild=function(h){};e.defaults={};e.aInstances=[];e.prototype.CLASS="BootstrapFilter";e.VERSION="1.0.0";e.prototype.VERSION=e.VERSION;if((typeof(g.fn.dataTable)==="function")&&(typeof(g.fn.dataTableExt.fnVersionCheck)==="function")&&g.fn.dataTableExt.fnVersionCheck("1.7.0")){g.fn.dataTableExt.aoFeatures.push({fnInit:function(i){var j=i.oInit;var h=new e(i,j.bootstrapFilter||j.oBootstrapFilter||{});return h.input()},cFeature:"F",sFeature:"BootstrapFilter"})}else{if(b.alert){b.alert("Warning: BootstrapFilter required DataTables 1.7 or greater...")}}g.fn.dataTable.BootstrapFilter=e;return e};if(!c.fn.dataTable.BootstrapFilter){d(c,c.fn.dataTable)}})(jQuery,this);
\ No newline at end of file
+!function(a,t){"use strict";a.extend(!0,a.fn.dataTable.defaults,{sDom:"R<'dt-top-row'CLF>r<'dt-wrapper't><'dt-row dt-bottom-row'<'row'<'col-sm-6'i><'col-sm-6 text-right'p>>",sPaginationType:"bootstrap",oLanguage:{sLengthMenu:"_MENU_",sSearch:"_INPUT_"}}),a.extend(a.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper form-inline"}),a.fn.dataTableExt.oApi.fnPagingInfo=function(a){return{iStart:a._iDisplayStart,iEnd:a.fnDisplayEnd(),iLength:a._iDisplayLength,iTotal:a.fnRecordsTotal(),iFilteredTotal:a.fnRecordsDisplay(),iPage:-1===a._iDisplayLength?0:Math.ceil(a._iDisplayStart/a._iDisplayLength),iTotalPages:-1===a._iDisplayLength?0:Math.ceil(a.fnRecordsDisplay()/a._iDisplayLength)}},a.fn.dataTableExt.aTypes.unshift(function(a){return null!==a&&a.match(/^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/[0-3][0-9]{3}$/)?"date-euro":null}),a.fn.dataTableExt.aTypes.unshift(function(a){return null!==a&&a.match(/^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/[0-3][0-9]{3} - ([0-1][0-9]|2[0-3]):[0-5][0-9]$/)?"datetime-euro":null}),a.extend(a.fn.dataTableExt.oSort,{"numeric-comma-asc":function(a,t){var e=a.replace(/,/,".").replace(/ /g,""),n=t.replace(/,/,".").replace(/ /g,"");return e=parseFloat(e),n=parseFloat(n),e<n?-1:e>n?1:0},"numeric-comma-desc":function(a,t){var e=a.replace(/,/,".").replace(/ /g,""),n=t.replace(/,/,".").replace(/ /g,"");return e=parseFloat(e),n=parseFloat(n),e<n?1:e>n?-1:0},"date-euro-pre":function(t){var e,n=a.trim(t);if(""!==n){var i=n.split("/");e=1*(i[2]+i[1]+i[0])}else e=1e7;return e},"date-euro-asc":function(a,t){return a-t},"date-euro-desc":function(a,t){return t-a},"datetime-euro-pre":function(t){var e,n=a.trim(t);if(""!==n){var i=n.split(" - "),s=i[0].split("/"),l=i[1].split(":");e=1*(s[2]+s[1]+s[0]+l[0]+l[1])}else e=1e11;return e},"datetime-euro-asc":function(a,t){return a-t},"datetime-euro-desc":function(a,t){return t-a}}),a.extend(a.fn.dataTableExt.oPagination,{bootstrap:{fnInit:function(t,e,n){var i=t.oLanguage.oPaginate,s=function(a){a.preventDefault(),t.oApi._fnPageChange(t,a.data.action)&&n(t)};a(e).append('<ul class="pagination"><li class="prev disabled"><a href="#">'+i.sPrevious+'</a></li><li class="next disabled"><a href="#">'+i.sNext+"</a></li></ul>");var l=a("a",e);a(l[0]).on("click.DT",{action:"previous"},s),a(l[1]).on("click.DT",{action:"next"},s)},fnUpdate:function(t,e){var n,i,s,l,r,o,d=t.oInstance.fnPagingInfo(),f=t.aanFeatures.p,p=Math.floor(2.5);for(d.iTotalPages<5?(l=1,r=d.iTotalPages):d.iPage<=p?(l=1,r=5):d.iPage>=d.iTotalPages-p?(l=d.iTotalPages-5+1,r=d.iTotalPages):r=(l=d.iPage-p+1)+5-1,n=0,o=f.length;n<o;n++){for(a("li:gt(0)",f[n]).filter(":not(:last)").remove(),i=l;i<=r;i++)s=i===d.iPage+1?'class="active"':"",a("<li "+s+'><a href="#">'+i+"</a></li>").insertBefore(a("li:last",f[n])[0]).on("click",function(n){n.preventDefault(),t._iDisplayStart=(parseInt(a("a",this).text(),10)-1)*d.iLength,e(t)});0===d.iPage?a("li:first",f[n]).addClass("disabled"):a("li:first",f[n]).removeClass("disabled"),d.iPage===d.iTotalPages-1||0===d.iTotalPages?a("li:last",f[n]).addClass("disabled"):a("li:last",f[n]).removeClass("disabled")}}}}),a.extend(a.fn.dataTableExt.oPagination,{bootstrap_full:{fnInit:function(t,e,n){var i=t.oLanguage.oPaginate,s=function(a){a.preventDefault(),t.oApi._fnPageChange(t,a.data.action)&&n(t)};a(e).append('<ul class="pagination"><li class="first disabled"><a href="#">'+i.sFirst+'</a></li><li class="prev disabled"><a href="#">'+i.sPrevious+'</a></li><li class="next disabled"><a href="#">'+i.sNext+'</a></li><li class="last disabled"><a href="#">'+i.sLast+"</a></li></ul>");var l=a("a",e);a(l[0]).on("click.DT",{action:"first"},s),a(l[1]).on("click.DT",{action:"previous"},s),a(l[2]).on("click.DT",{action:"next"},s),a(l[3]).on("click.DT",{action:"last"},s)},fnUpdate:function(t,e){var n,i,s,l,r,o,d=t.oInstance.fnPagingInfo(),f=t.aanFeatures.p,p=Math.floor(2.5);for(d.iTotalPages<5?(l=1,o=d.iTotalPages):d.iPage<=p?(l=1,o=5):d.iPage>=d.iTotalPages-p?(l=d.iTotalPages-5+1,o=d.iTotalPages):o=(l=d.iPage-p+1)+5-1,n=0,r=f.length;n<r;n++){for(a("li",f[n]).filter(":not(.first)").filter(":not(.last)").filter(":not(.prev)").filter(":not(.next)").remove(),i=l;i<=o;i++)s=i===d.iPage+1?'class="active"':"",a("<li "+s+'><a href="#">'+i+"</a></li>").insertBefore(a("li.next",f[n])[0]).on("click",function(n){n.preventDefault(),t._iDisplayStart=(parseInt(a("a",this).text(),10)-1)*d.iLength,e(t)});0===d.iPage?(a("li.first",f[n]).addClass("disabled"),a("li.prev",f[n]).addClass("disabled")):(a("li.prev",f[n]).removeClass("disabled"),a("li.first",f[n]).removeClass("disabled")),d.iPage===d.iTotalPages-1||0===d.iTotalPages?(a("li.last",f[n]).addClass("disabled"),a("li.next",f[n]).addClass("disabled")):(a("li.next",f[n]).removeClass("disabled"),a("li.last",f[n]).removeClass("disabled"))}}}}),a.extend(a.fn.dataTableExt.oPagination,{bootstrap_prevnext:{fnInit:function(t,e,n){t.oLanguage.oPaginate;var i=function(a){a.preventDefault(),t.oApi._fnPageChange(t,a.data.action)&&n(t)};a(e).append('<ul class="pagination"><li class="first disabled"><a href="#"><i class="fa fa-fw fa-fast-backward"></i></a></li><li class="prev disabled"><a href="#"><i class="fa fa-fw fa-step-backward"></i></a></li><li class="next disabled"><a href="#"><i class="fa fa-fw fa-step-forward"></i></a></li><li class="last disabled"><a href="#"><i class="fa fa-fw fa-fast-forward"></i></a></li></ul>');var s=a("a",e);a(s[0]).on("click.DT",{action:"first"},i),a(s[1]).on("click.DT",{action:"previous"},i),a(s[2]).on("click.DT",{action:"next"},i),a(s[3]).on("click.DT",{action:"last"},i)},fnUpdate:function(t,e){var n,i,s=t.oInstance.fnPagingInfo(),l=t.aanFeatures.p,r=Math.floor(2.5);for(s.iTotalPages<5?(1,s.iTotalPages):s.iPage<=r?(1,5):s.iPage>=s.iTotalPages-r?(s.iTotalPages-5+1,s.iTotalPages):s.iPage-r+1+5-1,n=0,i=l.length;n<i;n++)0===s.iPage?(a("li.first",l[n]).addClass("disabled"),a("li.prev",l[n]).addClass("disabled")):(a("li.prev",l[n]).removeClass("disabled"),a("li.first",l[n]).removeClass("disabled")),s.iPage===s.iTotalPages-1||0===s.iTotalPages?(a("li.last",l[n]).addClass("disabled"),a("li.next",l[n]).addClass("disabled")):(a("li.next",l[n]).removeClass("disabled"),a("li.last",l[n]).removeClass("disabled"))}}}),a.fn.DataTable.TableTools&&(a.extend(!0,a.fn.DataTable.TableTools.classes,{container:"DTTT btn-group",buttons:{normal:"btn btn-default btn-sm",disabled:"disabled"},collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info modal"},select:{row:"active"}}),a.extend(!0,a.fn.DataTable.TableTools.DEFAULTS.oTags,{collection:{container:"ul",button:"li",liner:"a"}}));a.fn.dataTable.BootstrapLength||function(a,e){var n=function(e,i){return this.CLASS&&"BootstrapLength"===this.CLASS||t.alert&&t.alert("Warning: BootstrapLength must be initialized with the 'new' keyword"),void 0===i&&(i={}),a.fn.dataTable.camelToHungarian&&a.fn.dataTable.camelToHungarian(n.defaults,i),this.s={dt:null,oInit:i,hidden:!0,abOriginal:[]},this.dom={wrapper:null,input:null},n.aInstances.push(this),this.s.dt=a.fn.dataTable.Api?new a.fn.dataTable.Api(e).settings()[0]:e,this._fnConstruct(i),this};n.prototype={input:function(){return this.dom.wrapper},fnRebuild:function(){return this.rebuild()},rebuild:function(){},_fnConstruct:function(t){var e=this.s.dt;if(!e.oScroll.bInfinite){var n,i,s=e.sTableId+"_length",l=a('<select size="1"></select>').attr("name",s),r=e.aLengthMenu;if(2===r.length&&"object"==typeof r[0]&&"object"==typeof r[1])for(n=0,i=r[0].length;n<i;n++)a("<option />").attr("value",r[0][n]).text(r[1][n]).appendTo(l);else for(n=0,i=r.length;n<i;n++)a("<option />").attr("value",r[n]).text(r[n]).appendTo(l);var o=a("<div>").addClass(e.oClasses.sLength).append(a("<span></span>").addClass("ams-form").append(a("<label></label>").addClass("select").css("width",60).append(l).append(a("<i></i>"))));e.aanFeatures.L||o.attr("id",e.sTableId+"_length"),this.dom.wrapper=o.get(0),a('select option[value="'+e._iDisplayLength+'"]',o).attr("selected",!0),a("select",o).on("change.DT",function(t){var s=a(this).val(),l=e.aanFeatures.L;for(n=0,i=l.length;n<i;n++)l[n]!==this.parentNode&&a("select",l[n]).val(s);e._iDisplayLength=parseInt(s,10),e.oInstance._fnCalculateEnd(e),e.fnDisplayEnd()===e.fnRecordsDisplay()&&(e._iDisplayStart=e.fnDisplayEnd()-e._iDisplayLength,e._iDisplayStart<0&&(e._iDisplayStart=0)),-1===e._iDisplayLength&&(e._iDisplayStart=0),e.oInstance._fnDraw()}),a("select",o).attr("aria-controls",e.sTableId)}}},n.fnRebuild=function(a){},n.defaults={},n.aInstances=[],n.prototype.CLASS="BootstrapLength",n.VERSION="1.0.0",n.prototype.VERSION=n.VERSION,"function"==typeof a.fn.dataTable&&"function"==typeof a.fn.dataTableExt.fnVersionCheck&&a.fn.dataTableExt.fnVersionCheck("1.7.0")?a.fn.dataTableExt.aoFeatures.push({fnInit:function(a){var t=a.oInit;return new n(a,t.bootstrapLength||t.oBootstrapLength||{}).input()},cFeature:"L",sFeature:"BootstrapLength"}):t.alert&&t.alert("Warning: BootstrapLength required DataTables 1.7 or greater..."),a.fn.dataTable.BootstrapLength=n}(a,a.fn.dataTable);a.fn.dataTable.BootstrapFilter||function(a,e){var n=function(e,i){return this.CLASS&&"BootstrapFilter"===this.CLASS||t.alert&&t.alert("Warning: BootstrapFilter must be initialized with the 'new' keyword"),void 0===i&&(i={}),a.fn.dataTable.camelToHungarian&&a.fn.dataTable.camelToHungarian(n.defaults,i),this.s={dt:null,oInit:i,hidden:!0,abOriginal:[]},this.dom={wrapper:null,input:null},n.aInstances.push(this),this.s.dt=a.fn.dataTable.Api?new a.fn.dataTable.Api(e).settings()[0]:e,this._fnConstruct(i),this};n.prototype={input:function(){return this.dom.wrapper},fnRebuild:function(){return this.rebuild()},rebuild:function(){},_fnConstruct:function(t){var e=this.s.dt,n=e.oPreviousSearch,i=a("<div>").addClass(e.oClasses.sFilter).html('<div class="input-group"><span class="input-group-addon"><i class="fa fa-search"></i></span><input type="text"></div>');e.aanFeatures.F||i.attr("id",e.sTableId+"_filter"),this.dom.wrapper=i.get(0);var s=a('input[type="text"]',i);i.data("DT_Input",s[0]),s.val(n.sSearch.replace('"',"&quot;")).addClass("form-control").attr("placeholder",e.oLanguage.sSearch).attr("aria-control",e.sTableId).on("keyup.DT",function(t){for(var i=e.aanFeatures.F,s=a(this).val(),l=0,r=i.length;l<r;l++)i[l]!==a(this).parents("div.dataTables_filter")[0]&&a(i[l]).data("DT_Input").val(s);s!==n.sSearch&&e.oInstance._fnFilterComplete({sSearch:s,bRegex:n.bRegex,bSmart:n.bSmart,bCaseInsensitive:n.bCaseInsensitive})}).on("keypress.DT",function(a){if(13===a.keyCode)return!1})}},n.fnRebuild=function(a){},n.defaults={},n.aInstances=[],n.prototype.CLASS="BootstrapFilter",n.VERSION="1.0.0",n.prototype.VERSION=n.VERSION,"function"==typeof a.fn.dataTable&&"function"==typeof a.fn.dataTableExt.fnVersionCheck&&a.fn.dataTableExt.fnVersionCheck("1.7.0")?a.fn.dataTableExt.aoFeatures.push({fnInit:function(a){var t=a.oInit;return new n(a,t.bootstrapFilter||t.oBootstrapFilter||{}).input()},cFeature:"F",sFeature:"BootstrapFilter"}):t.alert&&t.alert("Warning: BootstrapFilter required DataTables 1.7 or greater..."),a.fn.dataTable.BootstrapFilter=n}(a,a.fn.dataTable)}(jQuery,this);
--- a/src/pyams_skin/resources/js/myams-graphs.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/myams-graphs.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(b,a){var c=a.MyAMS;c.graphs={init:function(d){c.ajax.check(b.fn.sparkline,c.baseURL+"ext/jquery-sparkline-2.1.1.min.js",function(){d.each(function(){var g=b(this);var f=g.data();var e=f.sparklineType||"bar";switch(e){case"bar":g.sparkline("html",{type:"bar",barColor:f.sparklineBarColor||g.css("color")||"#0000f0",height:f.sparklineHeight||"26px",barWidth:f.sparklineBarwidth||5,barSpacing:f.sparklineBarspacing||2,stackedBarColor:g.data.sparklineBarstackedColor||["#A90329","#0099c6","#98AA56","#da532c","#4490B1","#6E9461","#990099","#B4CAD3"],negBarColor:g.data.sparklineNegbarColor||"#A90329",zeroAxis:"false"});break;case"line":g.sparkline("html",{type:"line",width:f.sparklineWidth||"90px",height:f.sparklineHeight||"20px",lineWidth:f.sparklineLineWidth||1,lineColor:f.sparklineLineColor||g.css("color")||"#0000f0",fillColor:f.fillColor||"#c0d0f0",spotColor:f.sparklineSpotColor||"#f08000",minSpotColor:f.sparklineMinspotColor||"#ed1c24",maxSpotColor:f.sparklineMaxspotColor||"#f08000",highlightSpotColor:f.sparklineHighlightspotColor||"#50f050",highlightLineColor:f.sparklineHighlightlineColor||"f02020",spotRadius:f.sparklineSpotradius||1.5,chartRangeMin:f.sparklineMinY||"undefined",chartRangeMax:f.sparklineMaxY||"undefined",chartRangeMinX:f.sparklineMinX||"undefined",chartRangeMaxX:f.sparklineMaxX||"undefined",normalRangeMin:f.minVal||"undefined",normalRangeMax:f.maxVal||"undefined",normalRangeColor:f.normColor||"#c0c0c0",drawNormalOnTop:f.drawNormal||false});break;case"pie":g.sparkline("html",{type:"pie",width:f.sparklinePiesize||90,height:f.sparklinePiesize||90,tooltipFormat:'<span style="color: {{color}}">&#9679;</span> ({{percent.1}}%)',sliceColors:f.sparklinePiecolor||["#B4CAD3","#4490B1","#98AA56","#da532c","#6E9461","#0099c6","#990099","#717D8A"],borderWidth:1,offset:f.sparklineOffset||0,borderColor:f.borderColor||"#45494C"});break;case"box":g.sparkline("html",{type:"box",width:f.sparklineWidth||"auto",height:f.sparklineHeight||"auto",raw:f.sparklineBoxraw||false,target:f.sparklineTargetval||"undefined",minValue:f.sparklineMin||"undefined",maxValue:f.sparklineMax||"undefined",showOutliers:f.sparklineShowoutlier||true,outlierIQR:f.sparklineOutlierIqr||1.5,spotRadius:f.sparklineSpotradius||1.5,boxLineColor:g.css("color")||"#000000",boxFillColor:f.fillColor||"#c0d0f0",whiskerColor:f.sparklineWhisColor||"#000000",outlierLineColor:f.sparklineOutlineColor||"#303030",outlierFillColor:f.sparklineOutlinefillColor||"#f0f0f0",medianColor:f.sparklineOutlinemedianColor||"#f00000",targetColor:f.sparklineOutlinetargetColor||"#40a020"});break;case"bullet":g.sparkline("html",{type:"bullet",height:f.sparklineHeight||"auto",targetWidth:f.sparklineWidth||2,targetColor:f.sparklineBulletColor||"#ed1c24",performanceColor:f.sparklinePerformanceColor||"#3030f0",rangeColors:f.sparklineBulletrangeColor||["#d3dafe","#a8b6ff","#7f94ff"]});break;case"discrete":g.sparkline("html",{type:"discrete",width:f.sparklineWidth||50,height:f.sparklineHeight||26,lineColor:g.css("color"),lineHeight:f.sparklineLineHeight||5,thresholdValue:f.sparklineThreshold||"undefined",thresholdColor:f.sparklineThresholdColor||"#ed1c24"});break;case"tristate":g.sparkline("html",{type:"tristate",height:f.sparklineHeight||26,posBarColor:f.sparklinePosbarColor||"#60f060",negBarColor:f.sparklineNegbarColor||"#f04040",zeroBarColor:f.sparklineZerobarColor||"#909090",barWidth:f.sparklineBarwidth||5,barSpacing:f.sparklineBarspacing||2,zeroAxis:f.sparklineZeroaxis||false});break;case"compositebar":g.sparkline(f.sparklineBarVal,{type:"bar",width:f.sparklineWidth||"100%",height:f.sparklineHeight||"20px",barColor:f.sparklineColorBottom||"#333333",barWidth:f.sparklineBarwidth||3});g.sparkline(f.sparklineLineVal,{width:f.sparklineWidth||"100%",height:f.sparklineHeight||"20px",lineColor:f.sparklineColorTop||"#ed1c24",lineWidth:f.sparklineLineWidth||1,composite:true,fillColor:false});break;case"compositeline":g.sparkline(f.sparklineBarVal,{type:"line",spotRadius:f.sparklineSpotradiusTop||1.5,spotColor:f.sparklineSpotColor||"#f08000",minSpotColor:f.sparklineMinSpotColorTop||"#ed1c24",maxSpotColor:f.sparklineMaxSpotColorTop||"#f08000",highlightSpotColor:f.sparklineHighlightSpotColorTop||"#50f050",highlightLineColor:f.sparklineHighlightLineColorTop||"#f02020",valueSpots:f.sparklineBarValSpotsTop||null,lineWidth:f.sparklineLineWidthTop||1,width:f.sparklineWidth||"90px",height:f.sparklineHeight||"20px",lineColor:f.sparklineColorTop||"#333333",fillColor:f.sparklineFillcolorTop||"transparent"});g.sparkline(f.sparklineLineVal,{type:"line",spotRadius:f.sparklineSpotradiusBottom||f.sparklineSpotradiusTop||1.5,spotColor:f.sparklineSpotColor||"#f08000",minSpotColor:f.sparklineMinspotColorBottom||f.sparklineMinspotColorTop||"#ed1c24",maxSpotColor:f.sparklineMaxspotColorBottom||f.sparklineMaxspotColorTop||"#f08000",highlightSpotColor:f.sparklineHighlightspotColorBottom||f.sparklineHighlightspotColorTop||"#50f050",highlightLineColor:f.sparklineHighlightlineColorBottom||f.sparklineHighlightlineColorTop||"#f02020",valueSpots:f.sparklineBarValSpotsBottom||null,lineWidth:f.sparklineLineWidthBottom||1,width:f.sparklineWidth||"90px",height:f.sparklineHeight||"20px",lineColor:f.sparklineColorBottom||"#ed1c24",composite:true,fillColor:f.sparklineFillcolorBottom||"transparent"});break}})})}}})(jQuery,this);
\ No newline at end of file
+!function(o,i){"use strict";var l=i.MyAMS;l.graphs={init:function(i){l.ajax.check(o.fn.sparkline,l.baseURL+"ext/jquery-sparkline-2.1.1.min.js",function(){i.each(function(){var i=o(this),l=i.data();switch(l.sparklineType||"bar"){case"bar":i.sparkline("html",{type:"bar",barColor:l.sparklineBarColor||i.css("color")||"#0000f0",height:l.sparklineHeight||"26px",barWidth:l.sparklineBarwidth||5,barSpacing:l.sparklineBarspacing||2,stackedBarColor:i.data.sparklineBarstackedColor||["#A90329","#0099c6","#98AA56","#da532c","#4490B1","#6E9461","#990099","#B4CAD3"],negBarColor:i.data.sparklineNegbarColor||"#A90329",zeroAxis:"false"});break;case"line":i.sparkline("html",{type:"line",width:l.sparklineWidth||"90px",height:l.sparklineHeight||"20px",lineWidth:l.sparklineLineWidth||1,lineColor:l.sparklineLineColor||i.css("color")||"#0000f0",fillColor:l.fillColor||"#c0d0f0",spotColor:l.sparklineSpotColor||"#f08000",minSpotColor:l.sparklineMinspotColor||"#ed1c24",maxSpotColor:l.sparklineMaxspotColor||"#f08000",highlightSpotColor:l.sparklineHighlightspotColor||"#50f050",highlightLineColor:l.sparklineHighlightlineColor||"f02020",spotRadius:l.sparklineSpotradius||1.5,chartRangeMin:l.sparklineMinY||"undefined",chartRangeMax:l.sparklineMaxY||"undefined",chartRangeMinX:l.sparklineMinX||"undefined",chartRangeMaxX:l.sparklineMaxX||"undefined",normalRangeMin:l.minVal||"undefined",normalRangeMax:l.maxVal||"undefined",normalRangeColor:l.normColor||"#c0c0c0",drawNormalOnTop:l.drawNormal||!1});break;case"pie":i.sparkline("html",{type:"pie",width:l.sparklinePiesize||90,height:l.sparklinePiesize||90,tooltipFormat:'<span style="color: {{color}}">&#9679;</span> ({{percent.1}}%)',sliceColors:l.sparklinePiecolor||["#B4CAD3","#4490B1","#98AA56","#da532c","#6E9461","#0099c6","#990099","#717D8A"],borderWidth:1,offset:l.sparklineOffset||0,borderColor:l.borderColor||"#45494C"});break;case"box":i.sparkline("html",{type:"box",width:l.sparklineWidth||"auto",height:l.sparklineHeight||"auto",raw:l.sparklineBoxraw||!1,target:l.sparklineTargetval||"undefined",minValue:l.sparklineMin||"undefined",maxValue:l.sparklineMax||"undefined",showOutliers:l.sparklineShowoutlier||!0,outlierIQR:l.sparklineOutlierIqr||1.5,spotRadius:l.sparklineSpotradius||1.5,boxLineColor:i.css("color")||"#000000",boxFillColor:l.fillColor||"#c0d0f0",whiskerColor:l.sparklineWhisColor||"#000000",outlierLineColor:l.sparklineOutlineColor||"#303030",outlierFillColor:l.sparklineOutlinefillColor||"#f0f0f0",medianColor:l.sparklineOutlinemedianColor||"#f00000",targetColor:l.sparklineOutlinetargetColor||"#40a020"});break;case"bullet":i.sparkline("html",{type:"bullet",height:l.sparklineHeight||"auto",targetWidth:l.sparklineWidth||2,targetColor:l.sparklineBulletColor||"#ed1c24",performanceColor:l.sparklinePerformanceColor||"#3030f0",rangeColors:l.sparklineBulletrangeColor||["#d3dafe","#a8b6ff","#7f94ff"]});break;case"discrete":i.sparkline("html",{type:"discrete",width:l.sparklineWidth||50,height:l.sparklineHeight||26,lineColor:i.css("color"),lineHeight:l.sparklineLineHeight||5,thresholdValue:l.sparklineThreshold||"undefined",thresholdColor:l.sparklineThresholdColor||"#ed1c24"});break;case"tristate":i.sparkline("html",{type:"tristate",height:l.sparklineHeight||26,posBarColor:l.sparklinePosbarColor||"#60f060",negBarColor:l.sparklineNegbarColor||"#f04040",zeroBarColor:l.sparklineZerobarColor||"#909090",barWidth:l.sparklineBarwidth||5,barSpacing:l.sparklineBarspacing||2,zeroAxis:l.sparklineZeroaxis||!1});break;case"compositebar":i.sparkline(l.sparklineBarVal,{type:"bar",width:l.sparklineWidth||"100%",height:l.sparklineHeight||"20px",barColor:l.sparklineColorBottom||"#333333",barWidth:l.sparklineBarwidth||3}),i.sparkline(l.sparklineLineVal,{width:l.sparklineWidth||"100%",height:l.sparklineHeight||"20px",lineColor:l.sparklineColorTop||"#ed1c24",lineWidth:l.sparklineLineWidth||1,composite:!0,fillColor:!1});break;case"compositeline":i.sparkline(l.sparklineBarVal,{type:"line",spotRadius:l.sparklineSpotradiusTop||1.5,spotColor:l.sparklineSpotColor||"#f08000",minSpotColor:l.sparklineMinSpotColorTop||"#ed1c24",maxSpotColor:l.sparklineMaxSpotColorTop||"#f08000",highlightSpotColor:l.sparklineHighlightSpotColorTop||"#50f050",highlightLineColor:l.sparklineHighlightLineColorTop||"#f02020",valueSpots:l.sparklineBarValSpotsTop||null,lineWidth:l.sparklineLineWidthTop||1,width:l.sparklineWidth||"90px",height:l.sparklineHeight||"20px",lineColor:l.sparklineColorTop||"#333333",fillColor:l.sparklineFillcolorTop||"transparent"}),i.sparkline(l.sparklineLineVal,{type:"line",spotRadius:l.sparklineSpotradiusBottom||l.sparklineSpotradiusTop||1.5,spotColor:l.sparklineSpotColor||"#f08000",minSpotColor:l.sparklineMinspotColorBottom||l.sparklineMinspotColorTop||"#ed1c24",maxSpotColor:l.sparklineMaxspotColorBottom||l.sparklineMaxspotColorTop||"#f08000",highlightSpotColor:l.sparklineHighlightspotColorBottom||l.sparklineHighlightspotColorTop||"#50f050",highlightLineColor:l.sparklineHighlightlineColorBottom||l.sparklineHighlightlineColorTop||"#f02020",valueSpots:l.sparklineBarValSpotsBottom||null,lineWidth:l.sparklineLineWidthBottom||1,width:l.sparklineWidth||"90px",height:l.sparklineHeight||"20px",lineColor:l.sparklineColorBottom||"#ed1c24",composite:!0,fillColor:l.sparklineFillcolorBottom||"transparent"})}})})}}}(jQuery,this);
--- a/src/pyams_skin/resources/js/myams-notify.min.js	Mon Dec 03 13:52:31 2018 +0100
+++ b/src/pyams_skin/resources/js/myams-notify.min.js	Wed Dec 05 16:21:23 2018 +0100
@@ -1,1 +1,1 @@
-(function(c,d){c(document).ready(function(){c("body").append("<div id='divSmallBoxes'></div>").append("<div id='divMiniIcons'></div>").append("<div id='divBigBoxes'></div>")});function f(){c(".divMessageBox").fadeOut(300,function(){c(this).remove()});c(".LoadingBoxContainer").fadeOut(300,function(){c(this).remove()})}var a=0,b=0,h,j=0,g=0,i=0;var e=d.MyAMS;e.notify={messageBox:function(x,w){var t,o,m=e.browser.isIE8orlower();var p={title:"",content:"",status:"",NormalButton:undefined,ActiveButton:undefined,buttons:undefined,input:undefined,placeholder:"",options:undefined,sound:undefined};var n=c.extend({},p,x);if(n.sound&&(m===0)){var v=document.createElement("audio");if(navigator.userAgent.match("Firefox/")){v.setAttribute("src",e.baseURL+"../sound/message.ogg")}else{v.setAttribute("src",e.baseURL+"../sound/message.mp3")}c.get();v.addEventListener("load",function(){v.play()},true);v.pause();v.play()}b=b+1;if(a===0){a=1;t="<div class='MessageBox animated fadeIn fast' id='MsgBoxBack'></div>";c("body").append(t);if(e.browser.isIE8orlower()===1){c("#MsgBoxBack").addClass("MessageIE")}}var s;var q="";var u=0;var r="";var l=0;var k;if(n.input!==undefined){u=1;n.input=n.input.toLowerCase();switch(n.input){case"text":q="<input class='form-control' type='"+n.input+"' id='txt"+b+"' placeholder='"+n.placeholder+"'/><br/><br/>";break;case"password":q="<input class='form-control' type='"+n.input+"' id='txt"+b+"' placeholder='"+n.placeholder+"'/><br/><br/>";break;case"select":if(n.options===undefined){if(d.alert){d.alert("For this type of input, the options parameter is required.")}}else{q="<select class='form-control' id='txt"+b+"'>";for(s=0;s<=n.options.length-1;s++){if(n.options[s]==="["){r=""}else{if(n.options[s]==="]"){l=l+1;r="<option>"+r+"</option>";q+=r}else{r+=n.options[s]}}}q+="</select>"}break;default:if(d.alert){d.alert("That type of input is not handled yet")}}}o="<div class='MessageBoxContainer "+n.status+" animated fadeIn fast' id='Msg"+b+"'>";o+="<div class='MessageBoxMiddle'>";o+="<span class='MsgTitle'>"+n.title+"</span class='MsgTitle'>";o+="<p class='pText'>"+n.content+"</p>";o+=q;o+="<div class='MessageBoxButtonSection'>";if(n.buttons===undefined){n.buttons="[Accept]"}n.buttons=c.trim(n.buttons);n.buttons=n.buttons.split("");if(n.NormalButton===undefined){n.NormalButton="#232323"}if(n.ActiveButton===undefined){n.ActiveButton="#ed145b"}for(s=0;s<=n.buttons.length-1;s++){if(n.buttons[s]==="["){r=""}else{if(n.buttons[s]==="]"){l=l+1;if(l===1){k="btn-primary"}else{k="btn-default"}r="<button id='bot"+l+"-Msg"+b+"' class='btn "+k+" btn-sm botTempo'> "+r+"</button>";o+=r}else{r+=n.buttons[s]}}}o+="</div>";o+="</div>";o+="</div>";if(b>1){c(".MessageBoxContainer").hide();c(".MessageBoxContainer").css("z-index",99999)}c(".MessageBox").append(o);if(u===1){c("#txt"+b).focus()}c(".botTempo").hover(function(){var y=c(this).attr("id")},function(){var y=c(this).attr("id")});c(".botTempo").click(function(){var C=c(this).attr("id");var B=C.substr(C.indexOf("-")+1);var z=c.trim(c(this).text());if(u===1){if(typeof w==="function"){var A=B.replace("Msg","");var y=c("#txt"+A).val();if(w){w(z,y)}}}else{if(typeof w==="function"){if(w){w(z)}}}c("#"+B).addClass("animated fadeOut fast");b=b-1;if(b===0){c("#MsgBoxBack").removeClass("fadeIn").addClass("fadeOut").delay(300).queue(function(){a=0;c(this).remove()})}})},bigBox:function(k,r){var n,o;k=c.extend({title:"",content:"",icon:undefined,number:undefined,color:undefined,sound:true,timeout:undefined,colortime:1500,colors:undefined},k);if(k.sound===true){if(e.browser.isIE8orlower()===0){var q=document.createElement("audio");if(navigator.userAgent.match("Firefox/")){q.setAttribute("src",e.baseURL+"../snd/bigbox.ogg")}else{q.setAttribute("src",e.baseURL+"../snd/bigbox.mp3")}c.get();q.addEventListener("load",function(){q.play()},true);q.pause();q.play()}}j=j+1;n="<div id='bigBox"+j+"' class='BigBox animated fadeIn fast'><div id='bigBoxColor"+j+"'><i class='btnClose fa fa-times' id='btnClose"+j+"'></i>";if(k.icon===undefined){k.icon="fa fa-cloud"}n+="<span><i class='"+k.icon+"'></i>&nbsp; "+k.title+"</span>";n+="<p>"+k.content+"</p>";n+="<div class='bigboxnumber'>";if(k.number!==undefined){n+=k.number}n+="</div></div>";n+="</div>";c("#divBigBoxes").append(n);if(k.color===undefined){k.color="#004d60"}c("#bigBox"+j).css("background-color",k.color);c("#divMiniIcons").append("<div id='miniIcon"+j+"' class='cajita animated fadeIn' style='background-color: "+k.color+";'><i class='"+k.icon+"'/></i></div>");c("#miniIcon"+j).bind("click",function(){var w=c(this).attr("id");var v=w.replace("miniIcon","bigBox");var u=w.replace("miniIcon","bigBoxColor");c(".cajita").each(function(y){var x=c(this).attr("id");var z=x.replace("miniIcon","bigBox");c("#"+z).css("z-index",9998)});c("#"+v).css("z-index",9999);c("#"+u).removeClass("animated fadeIn").delay(1).queue(function(){c(this).show();c(this).addClass("animated fadeIn");c(this).clearQueue()})});var l=c("#btnClose"+j);var p=c("#bigBox"+j);var t=c("#miniIcon"+j);var s;if(k.colors!==undefined&&k.colors.length>0){l.attr("colorcount","0");s=setInterval(function(){var u=l.attr("colorcount");l.animate({backgroundColor:k.colors[u].color});p.animate({backgroundColor:k.colors[u].color});t.animate({backgroundColor:k.colors[u].color});if(u<k.colors.length-1){l.attr("colorcount",((u*1)+1))}else{l.attr("colorcount",0)}},k.colortime)}l.bind("click",function(){clearInterval(s);if(typeof r==="function"){if(r){r()}}var v=c(this).attr("id");var u=v.replace("btnClose","bigBox");var w=v.replace("btnClose","miniIcon");c("#"+u).removeClass("fadeIn fast");c("#"+u).addClass("fadeOut fast").delay(300).queue(function(){c(this).clearQueue();c(this).remove()});c("#"+w).removeClass("fadeIn fast");c("#"+w).addClass("fadeOut fast").delay(300).queue(function(){c(this).clearQueue();c(this).remove()})});if(k.timeout!==undefined){var m=j;setTimeout(function(){clearInterval(s);var v=c("#bigBox"+m);v.removeClass("fadeIn fast");v.addClass("fadeOut fast").delay(300).queue(function(){c(this).clearQueue();c(this).remove()});var u=c("#miniIcon"+m);u.removeClass("fadeIn fast");u.addClass("fadeOut fast").delay(300).queue(function(){c(this).clearQueue();c(this).remove()})},k.timeout)}},smallBox:function(l,r){var n,o;l=c.extend({title:"",content:"",icon:undefined,iconSmall:undefined,sound:true,color:undefined,timeout:undefined,colortime:1500,colors:undefined},l);if(l.sound===true){if(e.browser.isIE8orlower()===0){var p=document.createElement("audio");if(navigator.userAgent.match("Firefox/")){p.setAttribute("src",e.baseURL+"../snd/smallbox.ogg")}else{p.setAttribute("src",e.baseURL+"../snd/smallbox.mp3")}c.get();p.addEventListener("load",function(){p.play()},true);p.pause();p.play()}}g=g+1;n="";var m="",k="smallbox"+g;if(l.iconSmall===undefined){m="<div class='miniIcon'></div>"}else{m="<div class='miniIcon'><i class='miniPic "+l.iconSmall+"'></i></div>"}if(l.icon===undefined){n="<div id='smallbox"+g+"' class='SmallBox animated fadeInRight fast'><div class='textoFull'><span>"+l.title+"</span><p>"+l.content+"</p></div>"+m+"</div>"}else{n="<div id='smallbox"+g+"' class='SmallBox animated fadeInRight fast'><div class='foto'><i class='"+l.icon+"'></i></div><div class='textoFoto'><span>"+l.title+"</span><p>"+l.content+"</p></div>"+m+"</div>"}if(g===1){c("#divSmallBoxes").append(n);i=c("#smallbox"+g).height()+40}else{var q=c(".SmallBox").size();if(q===0){c("#divSmallBoxes").append(n);i=c("#smallbox"+g).height()+40}else{c("#divSmallBoxes").append(n);c("#smallbox"+g).css("top",i);i=i+c("#smallbox"+g).height()+20;c(".SmallBox").each(function(u){if(u===0){c(this).css("top",20);h=c(this).height()+40;i=c(this).height()+40}else{c(this).css("top",h);h=h+c(this).height()+20;i=i+c(this).height()+20}})}}var t=c("#smallbox"+g);if(l.color===undefined){t.css("background-color","#004d60")}else{t.css("background-color",l.color)}var s;if(l.colors!==undefined&&l.colors.length>0){t.attr("colorcount","0");s=setInterval(function(){var u=t.attr("colorcount");t.animate({backgroundColor:l.colors[u].color});if(u<l.colors.length-1){t.attr("colorcount",((u*1)+1))}else{t.attr("colorcount",0)}},l.colortime)}if(l.timeout!==undefined){setTimeout(function(){clearInterval(s);var v=c(this).height()+20;var u=k;var w=c("#"+k).css("top");if(c("#"+k+":hover").length!==0){c("#"+k).on("mouseleave",function(){i=i-v;c("#"+k).remove();if(typeof r==="function"){if(r){r()}}var y=1;var x=0;c(".SmallBox").each(function(z){if(z===0){c(this).animate({top:20},300);x=c(this).height()+40;i=c(this).height()+40}else{c(this).animate({top:x},350);x=x+c(this).height()+20;i=i+c(this).height()+20}})})}else{clearInterval(s);i=i-v;if(typeof r==="function"){if(r){r()}}c("#"+k).removeClass().addClass("SmallBox").animate({opacity:0},300,function(){c(this).remove();var y=1;var x=0;c(".SmallBox").each(function(z){if(z===0){c(this).animate({top:20},300);x=c(this).height()+40;i=c(this).height()+40}else{c(this).animate({top:x});x=x+c(this).height()+20;i=i+c(this).height()+20}})})}},l.timeout)}c("#smallbox"+g).bind("click",function(){clearInterval(s);if(typeof r==="function"){if(r){r()}}var v=c(this).height()+20;var u=c(this).attr("id");var w=c(this).css("top");i=i-v;c(this).removeClass().addClass("SmallBox").animate({opacity:0},300,function(){c(this).remove();var y=1;var x=0;c(".SmallBox").each(function(z){if(z===0){c(this).animate({top:20},300);x=c(this).height()+40;i=c(this).height()+40}else{c(this).animate({top:x},350);x=x+c(this).height()+20;i=i+c(this).height()+20}})})})}}})(jQuery,this);
\ No newline at end of file
+!function(t,o){"use strict";t(document).ready(function(){t("body").append("<div id='divSmallBoxes'></div>").append("<div id='divMiniIcons'></div>").append("<div id='divBigBoxes'></div>")});var i,e=0,a=0,s=0,n=0,l=0,c=o.MyAMS;c.notify={messageBox:function(i,s){var n,l,d=c.browser.isIE8orlower(),r={title:"",content:"",status:"",NormalButton:void 0,ActiveButton:void 0,buttons:void 0,input:void 0,placeholder:"",options:void 0,sound:void 0},u=t.extend({},r,i);if(u.sound&&0===d){var v=document.createElement("audio");navigator.userAgent.match("Firefox/")?v.setAttribute("src",c.baseURL+"../sound/message.ogg"):v.setAttribute("src",c.baseURL+"../sound/message.mp3"),t.get(),v.addEventListener("load",function(){v.play()},!0),v.pause(),v.play()}a+=1,0===e&&(e=1,n="<div class='MessageBox animated fadeIn fast' id='MsgBoxBack'></div>",t("body").append(n),1===c.browser.isIE8orlower()&&t("#MsgBoxBack").addClass("MessageIE"));var m,h="",p=0,f="",b=0;if(void 0!==u.input)switch(p=1,u.input=u.input.toLowerCase(),u.input){case"text":case"password":h="<input class='form-control' type='"+u.input+"' id='txt"+a+"' placeholder='"+u.placeholder+"'/><br/><br/>";break;case"select":if(void 0===u.options)o.alert&&o.alert("For this type of input, the options parameter is required.");else{for(h="<select class='form-control' id='txt"+a+"'>",m=0;m<=u.options.length-1;m++)"["===u.options[m]?f="":"]"===u.options[m]?(b+=1,h+=f="<option>"+f+"</option>"):f+=u.options[m];h+="</select>"}break;default:o.alert&&o.alert("That type of input is not handled yet")}for(l="<div class='MessageBoxContainer "+u.status+" animated fadeIn fast' id='Msg"+a+"'>",l+="<div class='MessageBoxMiddle'>",l+="<span class='MsgTitle'>"+u.title+"</span class='MsgTitle'>",l+="<p class='pText'>"+u.content+"</p>",l+=h,l+="<div class='MessageBoxButtonSection'>",void 0===u.buttons&&(u.buttons="[Accept]"),u.buttons=t.trim(u.buttons),u.buttons=u.buttons.split(""),void 0===u.NormalButton&&(u.NormalButton="#232323"),void 0===u.ActiveButton&&(u.ActiveButton="#ed145b"),m=0;m<=u.buttons.length-1;m++)"["===u.buttons[m]?f="":"]"===u.buttons[m]?l+=f="<button id='bot"+(b+=1)+"-Msg"+a+"' class='btn "+(1===b?"btn-primary":"btn-default")+" btn-sm botTempo'> "+f+"</button>":f+=u.buttons[m];l+="</div>",l+="</div>",l+="</div>",a>1&&(t(".MessageBoxContainer").hide(),t(".MessageBoxContainer").css("z-index",99999)),t(".MessageBox").append(l),1===p&&t("#txt"+a).focus(),t(".botTempo").hover(function(){t(this).attr("id")},function(){t(this).attr("id")}),t(".botTempo").click(function(){var o=t(this).attr("id"),i=o.substr(o.indexOf("-")+1),n=t.trim(t(this).text());if(1===p){if("function"==typeof s){var l=i.replace("Msg",""),c=t("#txt"+l).val();s&&s(n,c)}}else"function"==typeof s&&s&&s(n);t("#"+i).addClass("animated fadeOut fast"),0===(a-=1)&&t("#MsgBoxBack").removeClass("fadeIn").addClass("fadeOut").delay(300).queue(function(){e=0,t(this).remove()})})},bigBox:function(o,i){var e;if(!0===(o=t.extend({title:"",content:"",icon:void 0,number:void 0,color:void 0,sound:!0,timeout:void 0,colortime:1500,colors:void 0},o)).sound&&0===c.browser.isIE8orlower()){var a=document.createElement("audio");navigator.userAgent.match("Firefox/")?a.setAttribute("src",c.baseURL+"../snd/bigbox.ogg"):a.setAttribute("src",c.baseURL+"../snd/bigbox.mp3"),t.get(),a.addEventListener("load",function(){a.play()},!0),a.pause(),a.play()}e="<div id='bigBox"+(s+=1)+"' class='BigBox animated fadeIn fast'><div id='bigBoxColor"+s+"'><i class='btnClose fa fa-times' id='btnClose"+s+"'></i>",void 0===o.icon&&(o.icon="fa fa-cloud"),e+="<span><i class='"+o.icon+"'></i>&nbsp; "+o.title+"</span>",e+="<p>"+o.content+"</p>",e+="<div class='bigboxnumber'>",void 0!==o.number&&(e+=o.number),e+="</div></div>",e+="</div>",t("#divBigBoxes").append(e),void 0===o.color&&(o.color="#004d60"),t("#bigBox"+s).css("background-color",o.color),t("#divMiniIcons").append("<div id='miniIcon"+s+"' class='cajita animated fadeIn' style='background-color: "+o.color+";'><i class='"+o.icon+"'/></i></div>"),t("#miniIcon"+s).bind("click",function(){var o=t(this).attr("id"),i=o.replace("miniIcon","bigBox"),e=o.replace("miniIcon","bigBoxColor");t(".cajita").each(function(o){var i=t(this).attr("id").replace("miniIcon","bigBox");t("#"+i).css("z-index",9998)}),t("#"+i).css("z-index",9999),t("#"+e).removeClass("animated fadeIn").delay(1).queue(function(){t(this).show(),t(this).addClass("animated fadeIn"),t(this).clearQueue()})});var n,l=t("#btnClose"+s),d=t("#bigBox"+s),r=t("#miniIcon"+s);if(void 0!==o.colors&&o.colors.length>0&&(l.attr("colorcount","0"),n=setInterval(function(){var t=l.attr("colorcount");l.animate({backgroundColor:o.colors[t].color}),d.animate({backgroundColor:o.colors[t].color}),r.animate({backgroundColor:o.colors[t].color}),t<o.colors.length-1?l.attr("colorcount",1*t+1):l.attr("colorcount",0)},o.colortime)),l.bind("click",function(){clearInterval(n),"function"==typeof i&&i&&i();var o=t(this).attr("id"),e=o.replace("btnClose","bigBox"),a=o.replace("btnClose","miniIcon");t("#"+e).removeClass("fadeIn fast"),t("#"+e).addClass("fadeOut fast").delay(300).queue(function(){t(this).clearQueue(),t(this).remove()}),t("#"+a).removeClass("fadeIn fast"),t("#"+a).addClass("fadeOut fast").delay(300).queue(function(){t(this).clearQueue(),t(this).remove()})}),void 0!==o.timeout){var u=s;setTimeout(function(){clearInterval(n);var o=t("#bigBox"+u);o.removeClass("fadeIn fast"),o.addClass("fadeOut fast").delay(300).queue(function(){t(this).clearQueue(),t(this).remove()});var i=t("#miniIcon"+u);i.removeClass("fadeIn fast"),i.addClass("fadeOut fast").delay(300).queue(function(){t(this).clearQueue(),t(this).remove()})},o.timeout)}},smallBox:function(o,e){var a;if(!0===(o=t.extend({title:"",content:"",icon:void 0,iconSmall:void 0,sound:!0,color:void 0,timeout:void 0,colortime:1500,colors:void 0},o)).sound&&0===c.browser.isIE8orlower()){var s=document.createElement("audio");navigator.userAgent.match("Firefox/")?s.setAttribute("src",c.baseURL+"../snd/smallbox.ogg"):s.setAttribute("src",c.baseURL+"../snd/smallbox.mp3"),t.get(),s.addEventListener("load",function(){s.play()},!0),s.pause(),s.play()}a="";var d="",r="smallbox"+(n+=1);d=void 0===o.iconSmall?"<div class='miniIcon'></div>":"<div class='miniIcon'><i class='miniPic "+o.iconSmall+"'></i></div>",a=void 0===o.icon?"<div id='smallbox"+n+"' class='SmallBox animated fadeInRight fast'><div class='textoFull'><span>"+o.title+"</span><p>"+o.content+"</p></div>"+d+"</div>":"<div id='smallbox"+n+"' class='SmallBox animated fadeInRight fast'><div class='foto'><i class='"+o.icon+"'></i></div><div class='textoFoto'><span>"+o.title+"</span><p>"+o.content+"</p></div>"+d+"</div>",1===n?(t("#divSmallBoxes").append(a),l=t("#smallbox"+n).height()+40):0===t(".SmallBox").size()?(t("#divSmallBoxes").append(a),l=t("#smallbox"+n).height()+40):(t("#divSmallBoxes").append(a),t("#smallbox"+n).css("top",l),l=l+t("#smallbox"+n).height()+20,t(".SmallBox").each(function(o){0===o?(t(this).css("top",20),i=t(this).height()+40,l=t(this).height()+40):(t(this).css("top",i),i=i+t(this).height()+20,l=l+t(this).height()+20)}));var u=t("#smallbox"+n);void 0===o.color?u.css("background-color","#004d60"):u.css("background-color",o.color);var v;void 0!==o.colors&&o.colors.length>0&&(u.attr("colorcount","0"),v=setInterval(function(){var t=u.attr("colorcount");u.animate({backgroundColor:o.colors[t].color}),t<o.colors.length-1?u.attr("colorcount",1*t+1):u.attr("colorcount",0)},o.colortime)),void 0!==o.timeout&&setTimeout(function(){clearInterval(v);var o=t(this).height()+20;t("#"+r).css("top");0!==t("#"+r+":hover").length?t("#"+r).on("mouseleave",function(){l-=o,t("#"+r).remove(),"function"==typeof e&&e&&e();var i=0;t(".SmallBox").each(function(o){0===o?(t(this).animate({top:20},300),i=t(this).height()+40,l=t(this).height()+40):(t(this).animate({top:i},350),i=i+t(this).height()+20,l=l+t(this).height()+20)})}):(clearInterval(v),l-=o,"function"==typeof e&&e&&e(),t("#"+r).removeClass().addClass("SmallBox").animate({opacity:0},300,function(){t(this).remove();var o=0;t(".SmallBox").each(function(i){0===i?(t(this).animate({top:20},300),o=t(this).height()+40,l=t(this).height()+40):(t(this).animate({top:o}),o=o+t(this).height()+20,l=l+t(this).height()+20)})}))},o.timeout),t("#smallbox"+n).bind("click",function(){clearInterval(v),"function"==typeof e&&e&&e();var o=t(this).height()+20;t(this).attr("id"),t(this).css("top");l-=o,t(this).removeClass().addClass("SmallBox").animate({opacity:0},300,function(){t(this).remove();var o=0;t(".SmallBox").each(function(i){0===i?(t(this).animate({top:20},300),o=t(this).height()+40,l=t(this).height()+40):(t(this).animate({top:o},350),o=o+t(this).height()+20,l=l+t(this).height()+20)})})})}}}(jQuery,this);