diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 72f1563c..34c473b0 --- a/.gitignore +++ b/.gitignore @@ -1 +1,17 @@ -._* \ No newline at end of file +.htaccess +uploads/* +database.php +config.php +gocart.php +*.bak + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +Icon? +ehthumbs.db +Thumbs.db \ No newline at end of file diff --git a/CodeIgniter license.txt b/CodeIgniter license.txt deleted file mode 100644 index 061cdb9d..00000000 --- a/CodeIgniter license.txt +++ /dev/null @@ -1,51 +0,0 @@ -Copyright (c) 2008 - 2011, EllisLab, Inc. -All rights reserved. - -This license is a legal agreement between you and EllisLab Inc. for the use -of CodeIgniter Software (the "Software"). By obtaining the Software you -agree to comply with the terms and conditions of this license. - -PERMITTED USE -You are permitted to use, copy, modify, and distribute the Software and its -documentation, with or without modification, for any purpose, provided that -the following conditions are met: - -1. A copy of this license agreement must be included with the distribution. - -2. Redistributions of source code must retain the above copyright notice in - all source code files. - -3. Redistributions in binary form must reproduce the above copyright notice - in the documentation and/or other materials provided with the distribution. - -4. Any files that have been modified must carry notices stating the nature - of the change and the names of those who changed them. - -5. Products derived from the Software must include an acknowledgment that - they are derived from CodeIgniter in their documentation and/or other - materials provided with the distribution. - -6. Products derived from the Software may not be called "CodeIgniter", - nor may "CodeIgniter" appear in their name, without prior written - permission from EllisLab, Inc. - -INDEMNITY -You agree to indemnify and hold harmless the authors of the Software and -any contributors for any direct, indirect, incidental, or consequential -third-party claims, actions or suits, as well as any related expenses, -liabilities, damages, settlements or fees arising from your use or misuse -of the Software, or a violation of any terms of this license. - -DISCLAIMER OF WARRANTY -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR -IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE, -NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. - -LIMITATIONS OF LIABILITY -YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE -FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION -WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE -APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING -BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF -DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS. diff --git a/assets/css/bootstrap-responsive.min.css b/assets/css/bootstrap-responsive.min.css new file mode 100644 index 00000000..ab59da34 --- /dev/null +++ b/assets/css/bootstrap-responsive.min.css @@ -0,0 +1,9 @@ +/*! + * Bootstrap Responsive v2.1.0 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:auto;margin-left:0}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade.in{top:auto}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-group>label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#555;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#555;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .dropdown-menu a:hover{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:hover{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:block;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} diff --git a/assets/css/bootstrap.min.css b/assets/css/bootstrap.min.css new file mode 100644 index 00000000..3119038a --- /dev/null +++ b/assets/css/bootstrap.min.css @@ -0,0 +1,9 @@ +/*! + * Bootstrap v2.1.0 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}[class*="span"].hide,.row-fluid [class*="span"].hide{display:none}[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;line-height:0;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;line-height:0;content:""}.container-fluid:after{clear:both}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:20px;font-weight:200;line-height:30px}small{font-size:85%}strong{font-weight:bold}em{font-style:italic}cite{font-style:normal}.muted{color:#999}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:1;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999}h1{font-size:36px;line-height:40px}h2{font-size:30px;line-height:40px}h3{font-size:24px;line-height:40px}h4{font-size:18px;line-height:20px}h5{font-size:14px;line-height:20px}h6{font-size:12px;line-height:20px}h1 small{font-size:24px}h2 small{font-size:18px}h3 small{font-size:14px}h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}ul,ol{padding:0;margin:0 0 10px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:20px}dt,dd{line-height:20px}dt{font-weight:bold}dd{margin-left:10px}.dl-horizontal dt{float:left;width:120px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}abbr[title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:25px}blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999}label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px}select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:9px;font-size:14px;line-height:20px;color:#555;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}input,textarea{width:210px}textarea{height:auto}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;*margin-top:0;line-height:normal;cursor:pointer}input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto}select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px}select{width:220px;background-color:#fff;border:1px solid #bbb}select[multiple],select[size]{height:auto}select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.uneditable-input,.uneditable-textarea{color:#999;cursor:not-allowed;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}.uneditable-input{overflow:hidden;white-space:nowrap}.uneditable-textarea{width:auto;height:auto}input:-moz-placeholder,textarea:-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:926px}input.span11,textarea.span11,.uneditable-input.span11{width:846px}input.span10,textarea.span10,.uneditable-input.span10{width:766px}input.span9,textarea.span9,.uneditable-input.span9{width:686px}input.span8,textarea.span8,.uneditable-input.span8{width:606px}input.span7,textarea.span7,.uneditable-input.span7{width:526px}input.span6,textarea.span6,.uneditable-input.span6{width:446px}input.span5,textarea.span5,.uneditable-input.span5{width:366px}input.span4,textarea.span4,.uneditable-input.span4{width:286px}input.span3,textarea.span3,.uneditable-input.span3{width:206px}input.span2,textarea.span2,.uneditable-input.span2{width:126px}input.span1,textarea.span1,.uneditable-input.span1{width:46px}.controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;line-height:0;content:""}.controls-row:after{clear:both}.controls-row [class*="span"]{float:left}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.warning .checkbox:focus,.control-group.warning .radio:focus,.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.error .checkbox:focus,.control-group.error .radio:focus,.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.success .checkbox:focus,.control-group.success .radio:focus,.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;line-height:0;content:""}.form-actions:after{clear:both}.help-block,.help-inline{color:#595959}.help-block{display:block;margin-bottom:10px}.help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.input-append,.input-prepend{margin-bottom:5px;font-size:0;white-space:nowrap}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;font-size:14px;vertical-align:top;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2}.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn{margin-left:-1px;vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;vertical-align:middle;*zoom:1}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:10px}legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;line-height:0;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:10px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:bold}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child,.table-bordered tfoot:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child,.table-bordered tfoot:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-right-topleft:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table-hover tbody tr:hover td,.table-hover tbody tr:hover th{background-color:#f5f5f5}table [class*=span],.row-fluid table [class*=span]{display:table-cell;float:none;margin-left:0}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}.table tbody tr.success td{background-color:#dff0d8}.table tbody tr.error td{background-color:#f2dede}.table tbody tr.info td{background-color:#d9edf7}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}.icon-white,.nav>.active>a>[class^="icon-"],.nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{width:16px;background-position:-216px -120px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{background-position:-384px -120px}.icon-folder-open{width:16px;background-position:-408px -120px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu li>a:focus,.dropdown-submenu:hover>a{color:#fff;text-decoration:none;background-color:#08c;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#fff;text-decoration:none;background-color:#08c;background-color:#0081c2;background-image:linear-gradient(to bottom,#08c,#0077b3);background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-repeat:repeat-x;outline:0;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu .disabled>a,.dropdown-menu .disabled>a:hover{color:#999}.dropdown-menu .disabled>a:hover{text-decoration:none;cursor:default;background-color:transparent}.open{*z-index:1000}.open>.dropdown-menu{display:block}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.dropdown-submenu:hover .dropdown-menu{display:block}.dropdown-submenu>a:after{display:block;float:right;width:0;height:0;margin-top:5px;margin-right:-10px;border-color:transparent;border-left-color:#ccc;border-style:solid;border-width:5px 0 5px 5px;content:" "}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown .dropdown-menu .nav-header{padding-right:20px;padding-left:20px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{position:relative;height:0;overflow:hidden;overflow:visible \9;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;padding:4px 14px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;*line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #bbb;*border:0;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-bottom-color:#a2a2a2;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:16px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:2px}.btn-small{padding:3px 9px;font-size:12px;line-height:18px}.btn-small [class^="icon-"]{margin-top:0}.btn-mini{padding:2px 6px;font-size:11px;line-height:16px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#c5c5c5;border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;*background-color:#04c;background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-image:-moz-linear-gradient(top,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;*background-color:#f89406;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;*background-color:#bd362f;background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffbd362f',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;*background-color:#51a351;background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-image:-moz-linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff51a351',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;*background-color:#2f96b4;background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2f96b4',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;*background-color:#222;background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-image:-moz-linear-gradient(top,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff444444',endColorstr='#ff222222',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{color:#08c;cursor:pointer;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-group{position:relative;*margin-left:.3em;font-size:0;white-space:nowrap}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:10px;margin-bottom:10px;font-size:0}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-toolbar .btn+.btn,.btn-toolbar .btn-group+.btn,.btn-toolbar .btn+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn,.btn-group>.dropdown-menu{font-size:14px}.btn-group>.btn-mini{font-size:11px}.btn-group>.btn-small{font-size:12px}.btn-group>.btn-large{font-size:16px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{*padding-top:5px;padding-right:8px;*padding-bottom:5px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn-group>.btn-mini+.dropdown-toggle{*padding-top:2px;padding-right:5px;*padding-bottom:2px;padding-left:5px}.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.btn-group>.btn-large+.dropdown-toggle{*padding-top:7px;padding-right:12px;*padding-bottom:7px;padding-left:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:8px;margin-left:0}.btn-mini .caret,.btn-small .caret,.btn-large .caret{margin-top:6px}.btn-large .caret{border-top-width:5px;border-right-width:5px;border-left-width:5px}.dropup .btn-large .caret{border-top:0;border-bottom:5px solid #000}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.btn-group-vertical .btn{display:block;float:none;width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical .btn+.btn{margin-top:-1px;margin-left:0}.btn-group-vertical .btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.btn-group-vertical .btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.btn-group-vertical .btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.btn-group-vertical .btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.alert{padding:8px 35px 8px 14px;margin-bottom:20px;color:#c09853;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.alert h4{margin:0}.alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-danger,.alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-bottom:20px;margin-left:0;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>.pull-right{float:right}.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;line-height:0;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px}.nav-tabs.nav-stacked>li>a:hover{z-index:2;border-color:#ddd}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.nav .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.nav .dropdown-toggle:hover .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .dropdown-toggle .caret{margin-top:8px}.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.nav>.dropdown.active>a:hover{cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;line-height:0;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-top-color:#ddd;border-bottom-color:transparent}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eee #ddd #eee #eee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eee #eee #eee #ddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.nav>.disabled>a{color:#999}.nav>.disabled>a:hover{text-decoration:none;cursor:default;background-color:transparent}.navbar{*position:relative;*z-index:2;margin-bottom:20px;overflow:visible;color:#555}.navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar .brand{display:block;float:left;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#555;text-shadow:0 1px 0 #fff}.navbar .brand:hover{text-decoration:none}.navbar-text{margin-bottom:0;line-height:40px}.navbar-link{color:#555}.navbar-link:hover{color:#333}.navbar .divider-vertical{height:40px;margin:0 9px;border-right:1px solid #fff;border-left:1px solid #f2f2f2}.navbar .btn,.navbar .btn-group{margin-top:6px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;line-height:0;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.navbar-search .search-query{padding:4px 14px;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.navbar-static-top{position:static;width:100%;margin-bottom:0}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner,.navbar-static-top .navbar-inner{border:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.1),0 1px 10px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.1),0 1px 10px rgba(0,0,0,0.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.1),0 1px 10px rgba(0,0,0,0.1)}.navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 -1px 10px rgba(0,0,0,0.1);box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 -1px 10px rgba(0,0,0,0.1)}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{float:left}.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#555;text-decoration:none;text-shadow:0 1px 0 #fff}.navbar .nav .dropdown-toggle .caret{margin-top:8px}.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{color:#333;text-decoration:none;background-color:transparent}.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;*background-color:#e5e5e5;background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-o-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:linear-gradient(to bottom,#f2f2f2,#e5e5e5);background-image:-moz-linear-gradient(top,#f2f2f2,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fff2f2f2',endColorstr='#ffe5e5e5',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .nav>li>.dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.navbar .nav>li>.dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.navbar-fixed-bottom .nav>li>.dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.navbar-fixed-bottom .nav>li>.dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{color:#555;background-color:#e5e5e5}.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{right:12px;left:auto}.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{right:13px;left:auto}.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.navbar-inverse{color:#999}.navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top,#222,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#222),to(#111));background-image:-webkit-linear-gradient(top,#222,#111);background-image:-o-linear-gradient(top,#222,#111);background-image:linear-gradient(to bottom,#222,#111);background-repeat:repeat-x;border-color:#252525;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff111111',GradientType=0)}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover{color:#fff}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .divider-vertical{border-right-color:#222;border-left-color:#111}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{color:#fff;background-color:#111}.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;*background-color:#040404;background-image:-webkit-gradient(linear,0 0,0 100%,from(#151515),to(#040404));background-image:-webkit-linear-gradient(top,#151515,#040404);background-image:-o-linear-gradient(top,#151515,#040404);background-image:linear-gradient(to bottom,#151515,#040404);background-image:-moz-linear-gradient(top,#151515,#040404);background-repeat:repeat-x;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff151515',endColorstr='#ff040404',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9}.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.breadcrumb li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.breadcrumb .divider{padding:0 5px;color:#ccc}.breadcrumb .active{color:#999}.pagination{height:40px;margin:20px 0}.pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a,.pagination span{float:left;padding:0 14px;line-height:38px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a,.pagination .active span{background-color:#f5f5f5}.pagination .active a,.pagination .active span{color:#999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999;cursor:default;background-color:transparent}.pagination li:first-child a,.pagination li:first-child span{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a,.pagination li:last-child span{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin:20px 0;text-align:center;list-style:none;*zoom:1}.pager:before,.pager:after{display:table;line-height:0;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999;cursor:default;background-color:#fff}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2080}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;width:560px;margin:-250px 0 0 -280px;overflow:auto;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-header h3{margin:0;line-height:30px}.modal-body{max-height:400px;padding:15px;overflow-y:auto}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.modal-footer:before,.modal-footer:after{display:table;line-height:0;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1030;display:block;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-3px}.tooltip.right{margin-left:3px}.tooltip.bottom{margin-top:3px}.tooltip.left{margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;width:236px;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.popover.top{margin-bottom:10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-right:10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.popover .arrow,.popover .arrow:after{position:absolute;display:inline-block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow:after{z-index:-1;content:""}.popover.top .arrow{bottom:-10px;left:50%;margin-left:-10px;border-top-color:#fff;border-width:10px 10px 0}.popover.top .arrow:after{bottom:-1px;left:-11px;border-top-color:rgba(0,0,0,0.25);border-width:11px 11px 0}.popover.right .arrow{top:50%;left:-10px;margin-top:-10px;border-right-color:#fff;border-width:10px 10px 10px 0}.popover.right .arrow:after{bottom:-11px;left:-1px;border-right-color:rgba(0,0,0,0.25);border-width:11px 11px 11px 0}.popover.bottom .arrow{top:-10px;left:50%;margin-left:-10px;border-bottom-color:#fff;border-width:0 10px 10px}.popover.bottom .arrow:after{top:-1px;left:-11px;border-bottom-color:rgba(0,0,0,0.25);border-width:0 11px 11px}.popover.left .arrow{top:50%;right:-10px;margin-top:-10px;border-left-color:#fff;border-width:10px 0 10px 10px}.popover.left .arrow:after{right:-1px;bottom:-11px;border-left-color:rgba(0,0,0,0.25);border-width:11px 0 11px 11px}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;line-height:0;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.thumbnail:hover{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#555}.label,.badge{font-size:11.844px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}.btn .label,.btn .badge{position:relative;top:-1px}.btn-mini .label,.btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(to bottom,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress .bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15)}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(to bottom,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffc43c35',GradientType=0)}.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(to bottom,#62c462,#57a957);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff57a957',GradientType=0)}.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(to bottom,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0)}.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0)}.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:20px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:20px;line-height:1}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel .item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{right:15px;left:auto}.carousel-control:hover{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{line-height:20px;color:#fff}.carousel-caption h4{margin:0 0 5px}.carousel-caption p{margin-bottom:0}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.hero-unit p{font-size:18px;font-weight:200;line-height:30px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}.affix{position:fixed} diff --git a/assets/css/file-browser.css b/assets/css/file-browser.css new file mode 100644 index 00000000..458f7a8b --- /dev/null +++ b/assets/css/file-browser.css @@ -0,0 +1,3 @@ +body .redactor_toolbar li a.redactor_btn_file-browser { + background: url('../img/file-browser.png') no-repeat; +} \ No newline at end of file diff --git a/assets/css/jquery-ui.css b/assets/css/jquery-ui.css new file mode 100644 index 00000000..f98791a3 --- /dev/null +++ b/assets/css/jquery-ui.css @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.10.0 - 2013-01-19 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f2f2f2&bgTextureHeader=01_flat.png&bgImgOpacityHeader=75&borderColorHeader=f2f2f2&fcHeader=333333&iconColorHeader=333333&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=ffffff&fcContent=333333&iconColorContent=333333&bgColorDefault=f2f2f2&bgTextureDefault=01_flat.png&bgImgOpacityDefault=75&borderColorDefault=f2f2f2&fcDefault=333333&iconColorDefault=333333&bgColorHover=eeeeee&bgTextureHover=01_flat.png&bgImgOpacityHover=75&borderColorHover=dddddd&fcHover=333333&iconColorHover=333333&bgColorActive=f2f2f2&bgTextureActive=01_flat.png&bgImgOpacityActive=65&borderColorActive=f2f2f2&fcActive=333333&iconColorActive=333333&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px&ctl=themeroller +* Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("../img/animated-overlay.gif");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #fff;background:#fff url(../img/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #f2f2f2;background:#f2f2f2 url(../img/ui-bg_flat_75_f2f2f2_40x100.png) 50% 50% repeat-x;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #f2f2f2;background:#f2f2f2 url(../img/ui-bg_flat_75_f2f2f2_40x100.png) 50% 50% repeat-x;font-weight:normal;color:#333}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#333;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #ddd;background:#eee url(../img/ui-bg_flat_75_eeeeee_40x100.png) 50% 50% repeat-x;font-weight:normal;color:#333}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#333;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #f2f2f2;background:#f2f2f2 url(../img/ui-bg_flat_65_f2f2f2_40x100.png) 50% 50% repeat-x;font-weight:normal;color:#333}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#333;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../img/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../img/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-position:16px 16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(../img/ui-icons_333333_256x240.png)}.ui-widget-header .ui-icon{background-image:url(../img/ui-icons_333333_256x240.png)}.ui-state-default .ui-icon{background-image:url(../img/ui-icons_333333_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(../img/ui-icons_333333_256x240.png)}.ui-state-active .ui-icon{background-image:url(../img/ui-icons_333333_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(../img/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(../img/ui-icons_cd0a0a_256x240.png)}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(../img/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../img/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px} \ No newline at end of file diff --git a/assets/css/redactor.css b/assets/css/redactor.css new file mode 100644 index 00000000..f4b39017 --- /dev/null +++ b/assets/css/redactor.css @@ -0,0 +1,692 @@ +.redactor_box { + position: relative; + border: 1px solid #ddd; + overflow: visible; +} +.redactor_box, .redactor_box textarea { + background-color: #fff; +} + +body .redactor_air { + position: absolute; + border: 1px solid #ddd; + border-bottom: none; + z-index: 2; +} + +/* + Fullscreen +*/ +body .redactor_box_fullscreen { + left: 0; + position: fixed; + overflow: hidden; + top: 0; + width: 100%; + z-index: 2000; +} + +.redactor_box textarea { + font-family: Menlo, Monaco, monospace, sans-serif; + font-size: 13px; + overflow: auto; + resize: none; + margin: 0; + padding: 0; + display: block; + position: relative; + z-index: 1004; + outline: none; + border: none; + width: 100%; +} + +.redactor_editor, +.redactor_editor:focus, +.redactor_editor div, +.redactor_editor p, +.redactor_editor ul, +.redactor_editor ol, +.redactor_editor table, +.redactor_editor dl, +.redactor_editor blockquote, +.redactor_editor pre, +.redactor_editor h1, +.redactor_editor h2, +.redactor_editor h3, +.redactor_editor h4, +.redactor_editor h5 { + font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important; +} + +.redactor_editor code, +.redactor_editor pre { + font-family: Menlo, Monaco, monospace, sans-serif !important; +} + +.redactor_editor, +.redactor_editor:focus, +.redactor_editor div, +.redactor_editor p, +.redactor_editor ul, +.redactor_editor ol, +.redactor_editor table, +.redactor_editor dl, +.redactor_editor blockquote, +.redactor_editor pre { + font-size: 15px !important; + line-height: 1.45em !important; +} + +.redactor_editor, .redactor_editor:focus { + position: relative; + outline: none; + box-shadow: none !important; + padding: 15px !important; + margin: 0 !important; + background: none; + background: #fff !important; + overflow: auto; + white-space: normal; +} +.redactor_editor a { + color: #15c !important; + text-decoration: underline !important; +} + +.redactor_editor object, +.redactor_editor embed, +.redactor_editor video, +.redactor_editor img { + width: auto; + max-width: 100%; +} +.redactor_editor video, +.redactor_editor img { + height: auto; +} + +.redactor_editor div, +.redactor_editor p, +.redactor_editor ul, +.redactor_editor ol, +.redactor_editor table, +.redactor_editor dl, +.redactor_editor blockquote, +.redactor_editor pre { + box-shadow: none !important; + background: none !important; + margin: 0 !important; + margin-bottom: 15px !important; + border: none; +} +.redactor_editor iframe, +.redactor_editor object, +.redactor_editor hr { + margin-bottom: 15px !important; +} +.redactor_editor blockquote { + margin-left: 3em !important; + font-style: italic !important; + color: #777; +} +.redactor_editor ul, +.redactor_editor ol { + padding-left: 2em !important; +} +.redactor_editor ul ul, +.redactor_editor ol ol, +.redactor_editor ul ol, +.redactor_editor ol ul { + border: none; + margin: 2px !important; + padding: 0 !important; + padding-left: 2em !important; +} +.redactor_editor dl dt { font-weight: bold; } +.redactor_editor dd { margin-left: 1em;} + +.redactor_editor table { + border-collapse: collapse; + font-size: 1em !important; +} +.redactor_editor table td { + border: 1px solid #ddd; + padding: 5px !important; + vertical-align: top; +} +.redactor_editor table thead td { + border-bottom: 2px solid #000 !important; + font-weight: bold !important; +} +.redactor_editor code { + background-color: #d8d7d7 !important; +} +.redactor_editor pre { + font-size: 90% !important; + background: #f8f8f8 !important; + border: 1px solid #ddd !important; + border-radius: 3px !important; + padding: 1em !important; + white-space: pre; + overflow: auto; +} +.redactor_editor hr { + display: block; + height: 1px; + border: 0; + border-top: 1px solid #ccc; +} + +.redactor_editor h1, +.redactor_editor h2, +.redactor_editor h3, +.redactor_editor h4, +.redactor_editor h5 { + color: #000; + background: none; + margin: 0 !important; + padding: 0 !important; + font-weight: bold; +} + +.redactor_editor h1 { + font-size: 36px !important; + line-height: 40px !important; + margin-bottom: 10px !important; +} +.redactor_editor h2 { + font-size: 30px !important; + line-height: 38px !important; + margin-bottom: 15px !important; +} +.redactor_editor h3 { + font-size: 24px !important; + line-height: 30px !important; + margin-bottom: 10px !important; +} +.redactor_editor h4 { + font-size: 18px !important; + line-height: 24px !important; + margin-bottom: 10px !important; +} +.redactor_editor h5 { + font-size: 1em !important; + margin-bottom: 10px !important; +} + +.redactor_editor.redactor_editor_wym { + background: #f6f6f6 !important; + padding: 5px 15px !important; +} +.redactor_editor_wym div, +.redactor_editor_wym p, +.redactor_editor_wym ul, +.redactor_editor_wym ol, +.redactor_editor_wym table, +.redactor_editor_wym dl, +.redactor_editor_wym pre, +.redactor_editor_wym h1, +.redactor_editor_wym h2, +.redactor_editor_wym h3, +.redactor_editor_wym h4, +.redactor_editor_wym h5, +.redactor_editor_wym blockquote { + background-color: #fff !important; + border: 1px solid #e4e4e4 !important; + padding: 10px !important; + margin: 10px 0 !important; +} +.redactor_editor_wym ul, +.redactor_editor_wym ol { + padding-left: 2em !important; +} + + +/* + TOOLBAR +*/ +.redactor_toolbar { + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important; + position: relative; + left: 0; + top: 0; + margin: 0 !important; + padding: 0 !important; + padding-left: 2px !important; + line-height: 0 !important; + list-style: none !important; + font-size: 0; + background: #f1f1f1; + background: -moz-linear-gradient(top, #f1f1f1 0%, #e2e2e2 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1f1f1), color-stop(100%,#e2e2e2)); + background: -webkit-linear-gradient(top, #f1f1f1 0%,#e2e2e2 100%); + background: -o-linear-gradient(top, #f1f1f1 0%,#e2e2e2 100%); + background: -ms-linear-gradient(top, #f1f1f1 0%,#e2e2e2 100%); + background: linear-gradient(to bottom, #f1f1f1 0%,#e2e2e2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#e2e2e2',GradientType=0 ); + overflow: hidden !important; + height: 32px !important; + border-bottom: 1px solid #bbb; +} +body .redactor_air .redactor_toolbar { + padding-right: 2px !important; +} +.redactor_toolbar li { + float: left !important; + margin: 0 !important; + padding: 3px 1px; + padding-right: 0; + list-style: none !important; + outline: none; +} +.redactor_toolbar li.redactor_separator { + float: left; + height: 34px; + border-left: 1px solid #d3d3d3; + border-right: 1px solid #f1f1f1; + padding: 0; + margin: 0 2px 0 3px !important; +} +.redactor_toolbar li a { + width: 25px; + height: 25px; + border: 1px solid transparent; + * border: 1px solid #eee; + display: block; + line-height: 0; + font-size: 0; + cursor: pointer; + zoom: 1; + outline: none; + text-decoration: none; +} +.redactor_toolbar li.redactor_btn_right { + float: none; + float: right !important; +} +.redactor_toolbar li a { + display: block; + text-indent: -9999px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAAZCAYAAAC2GQ9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAF4BJREFUeNrsXQlYFFe2LpoGgQZtVEARjYrigijuW9xIHNQxLsm4PWNERxhw17glE2OIz2U0xnFl1JeYoFGzqdHEMUHFLcaFuCBk3CKIyoAoNFtAoOn5T3sbO/0a6Oqqbsnk/t93v1q66p6qW/ec859zb1U76HQ6gYODg4ODg4ODg8MUDpwocnBwcHBwcHBwcKLIwcHBwcHBwcHBiSIHBwcHBwcHBwcnihwcHBwcHBwcHJwocnBwcHBwcHD8ZuEaERGxWaPRhIk5Sa1Wf7h169bpWC2y9wUr+TPj4OCoLJCMjo72ycnJaVNWVubl5OSU1qZNm0QYuV9403BwcPxOodiyZUubo0ePJn322Wee2NaIPL+hWJJIwDmTsViGcvv3ThSV06ZNG+js7OxIGyUlJdpNmzbFYbWM902OGgCXqKiolY8ePZplbQX16tVbFxMTswirxVUdl5ycrIyNje1QWFg4oKio6HkQNX/ogx+Rt/Lycnd2WLlCoSDSVlqrVq2fQeRuu7i4JKhUqrjhw4f/1LNnT62Ee3VctWpVjxs3bnwJeWqlUlkE+W4FBQVHGjduHDZ48OCHOEZXE9rqGcJ55syZczIyMlairbvMmTPnEj0TaytDe1s1vLNgwQIHrpocv3OoR48enWO600oiV6WMsLCwPiCJp2gHbVshw8fo+i5bcC7JDTY69zdDFJURERGhW7du/VYmEucaHh6+CU5otFarVZmyb5QMifV7TJgw4YfHjx8HmvvRy8vrbyCkS7D6WMa2rTN27Ng0ONnahh2enp7/QCQyV3gGqWMOWdBACvEhsPP/jpJalX4dOHBgUEpKygEQwXKQwGIET1q1Wl2KbRqCSAdxVKA4/vLLL846nU4B3QksLi4Oys/PH/3gwQPFsWPHhoG8HLZSP5XLli0bnJSUtMfPzy9zypQpR7y9vfMuXrzYCDo/NDExcTyI4maK5WpAWz1L1IW9eo1F+1OxoOstkFtIaGio8Nxzzwloe66BHLL6JFPAvuTt2bOnCVZzrZThNG/evMlpaWn/MOyA/UresWPHH+CDvzP44FGjRvmjpFQTbIrSxZUrV767aNGit032N0W5LJMMqkv46KOPThnvtIIs1jJa/5jsG+rYZ+5A1DuSyQ02c26NJorOiJxfd3Bw6Ij1H1CyJV6DIwxgaG5u7iSTBtqPxhuBVT85iCI66vJt27bNjIuL696mTZu06Ojo/bt37+68b9++3llZWQuXLFmSgX2bKDsjl1JC4d6AcqyFcjiDCH86cOBA6gwuVhDFimgJ7dIM6ymWnmhhB641ffr0v6IdFn366afehs4vs4xKoz6ZZdhSTgORkWBlUWGDashPbRhaGmJwwDnJIHy369SpU+Tm5kbErAzkUMB6KdNfyr47Qn9qgay4nTt3rtkXX3zRLj09PRr7z1ihn0rowZhr165tDQgIuAdCeBmGPgFBzu1evXoFw0iGgqg2x3Fu1RHFStrKJTY2tulrr71G919sZltsWz0rKEDmO7m6uuqdLsj5IHJWtiCKrVq1ElxcXPRk8c6dOzbJvNhABy2SJSHjY+v7sGc72QsNmzRpkgqCltS1a9f0DRs2DDp16lQ79K1S6OBG0uf58+cPYskZa4mi83vvvXfl7Nmz295///1w+NpU2JNVVCd88MqlS5fOX7x4MUU8CrJvMhJFBzMkUf8cZWw/s3WtXr16HdN9a5452cZU9JlJBiJqhFT2+zPXj6qIosO6desaJiYm/gVO4ige/vfYR0NZ9fPy8v4cEhKyg8hQVFTUMEQonlu2bNlUjeOoDO4pKSkRZvYbLtRdhgecj5LOOiZFTeRcb44bN67o8OHDPYqKihyhLD2wL1YG4mtA4d69e/2JJNarV68EJJGGpe4K1g2jGXeg/lacW11E5RYaGloARXbC+nOGdpJZhmBGEWwhw5ZyXEwiQTrODcZ1ETMYK7GobP5esFFU6FLNNfiADLaglQEDBpwk/cMqDfVSxtt16tSpH48ZM+ZtkLgk9qyUIJJuKPVBIF8goojzA7DfW2R/dnrrrbcm//zzz2u7det23c/Pr3Djxo1/xPqZwMDAtC+//HKFu7t74ciRIxMt6CPm2kpP/DIyMsIoMGcBoOm22LZSrFmzJiApKWkD7nkAAthSnU5H+l3u5eW1Gk5qOZyW68GDB1dkZ2eH4/cyFC2OcfDw8PgK97UIgW+qFQ6LSPmwyMjIeMgf8+jRI1/Ykk6DBg26J0gYfjZFhw4dnnbMpk3lIIr20kFLZVmb8bH1fdizneyFslWrVr3PSBr198F6Rw8IT4YzM2DD6LqljBISB3io1WofM19LHCML5d8o9UpLS4uYH8yWkSQSKbr1LBoUZPuYj4/PWQnE2pCV3F4JaWtWE/TcHFF0fOONN/rA8EVpNJrRcFJXnn/+ecocOlO2DQ0zAs6obPz48Vfo4KCgIA8Y4oUgXdF169bdjLITUcNPIoylOyLmAjgn0/13ZHyeRBRvFxcX68lnWVkZkbULa9eubU8kEUTucVhY2HmWnZEL5SDZrWmlXbt2KSy7c9NaJUSH+bvJerCF0Yol0L700kv3QRQNUVOuDWSIvXarZdhJDh17HqTts4cPH/ahHVjP27x58+gqyKKlqFNSUmIgSNRvjrI6SafaghA13blz56YzZ85Mg67tYX2K+q7KGcAyEn2dMn51xGQCFixYMC8tLW0JyOlFBE4OBw4c6Ari802fPn0y33nnnc9r166tnDdv3nZvb+9kMfeINmkKXXiOHBKIpjvshwbk+sUCwHQbBE7Xvn17MYGK+61bt7bQPM7WrVvfadKkySMEsm737t1TFxYW/gm6vRX1+yCYHQSilQ7yq3F1dS2GvfG5ffv2aJzrgTrGMBshBrXxjOq0aNHiLEp/2MvGP/7445/QXkfkzCo2aNBAACEV+vXrp88snjhxQnKd9tJBC2Rdrsn3Yc92shOIrH3LAs76sBH6BI3uyadP6LopmeEm0X7RSEcmVPnfzNeSrDSWqHGHTpIPviZjQkbvs/CsokG2lhh2xMTEpEdFRfnaukFnzJgRAtlRWM2R2JcryyjWCP0wJYpuERER22F0+3bs2PH8kCFD1sP4/os9ZHJS6uTk5L/07t37NHv4uXCOV1BWw2n5I2rvCcM7DRH6cpCwNRZmGEsHDx58/tixYy+j4zraQ1uuX7/uj05FUYDQqFGjgokTJ55s2LAhNVChjGLq3r17txetBAQEXGRtaG2kpsH1zmYPf0Bl0YcZ9Mfx6yzJfhKJxbFTWGRUIU9GGYaOT9mlEzQng5TDwnsRI6Oivdj8Dg2LOPfJLMeNkcQ/GnbQOu1jZFGYNGkSZcmE7du3h4l83k4gNnqyBHL2kD0fQ+BVV680paUe6Mex06dPf37jxo00N46Cn3zwriw989dqFSy4swS15s6d+7/379+fC6JzFrKVcXFxwdCLw506dfoRJG4tzVEcOXJkPEhqAo6/IYgYPUCbUOBI5JIy1uply5aFRUdH7zE8G5NtcjSBx48ft7T6htnZ2X38/f2zUUc86RmcUZ34+PgOGRkZ+StWrPizo6Ojc/fu3a+BRCpDQkIuY5uyGk3gSF5BMBwiPJkgLoYoOuKZ9rtz585Y9Kuxhp0gn0MoayIXUVSr1TT3keyVnijSNpFF2pYAMbotGOmQxkLHJWbIqz/KbCNZYoZsDbbkKxH6LUbHRbWTBFtlTxQa+TjPan6v6TB+85iybpcN09Ww/BrbV7F8JMg7BUBjQr7yUE4yvy5pFMEGGUVZ9dyUKHq2bNnSEdG/J5xGRzyEPDicm4GBgZQq1h44cKAbyJwvTUrF9j3WUDdg1P0uXbo0AI6yo0qlKu/SpQs5KJWFziTPx8fnfGxs7IfffvvtS7t27fIBUbXpW3zBwcHZb7755uE1a9b0RbTut3z58iEwwJeXLl36vVydmBxtfn6+2tXVtWzgwIFxEiMotYSUsiVzNDzQqc7RSnh4eHdcr6cNZAiGTghZlyS2gUXHMjLqKbLNLJXja0wSjckiosy9eqtbWBjKiJIbyONmMf3HsALSpgWxMR6icTTJOPkxo08RvA4RvN5gKRQKnXE9leHGjRuu27Zte4dI4rBhw05169YtBYRr3Ouvv/45dPlnLOeAhKUhcMxElD6ybdu2Py1cuJAyDmKGjchg32XX06CkpIRIbQYrptt0/Q1E1F2PEWrqW/tRbu3YsWMCAs++7PeKZ+Tg4KDLyckhZ0L2qz3OGZyXl6dmdYgZulKlpKS8sGnTplVeXl6UgWmMZzwEz95z9+7dIePGjaMpLFqpRsRACoks0pAzzVFE4C6VKIqds5UqyD/cXNW5l0XYEsOxwTZoA7Ud2tjqeWRWkOtKZcGnO+G3U1bWKwY6Z2fnfEHakLO5N49TDIQKSxrppJLI5GRbK6MS0mYIToz7oeTsqA0yirLquSlR1M6fP5+MbeYnn3zS5uTJk/1Onz49HM7hlcWLFycgSp/es2fPYyybSA2pmDt37uR79+4ta9as2dXx48ef6t+/P6WVz4lg2JSavkoPIDQ0NOuDDz5409ahCJsncRFO8AGuPxzXr7p79y6l4cmZ35dBhNv58+eJoQstWrTIYg8hX2JHsuXQc73IyMj3r127FgSi/gmI4hQbDT2bKqDaQjmXrVUS9kbaABvI8a7sh8zMzFBT8shIjMVQKpU69FOH7OzsWgik/j+z9/DQTZkyJQn6aGy0BDpezyZ/TS4rJaRXrlzpmJ6ePhUk8QT0958nTpzwBjmlQMc/OTl5aKdOna56e3uXov36NW/e/PrLL798UxA5RQMcuQ+Cz+eNhp4F2JkpRkPPFdtWDD070XxD3DdlK2n+Stqrr756HAFaL+xr7uvrm492VOCZqPz8/K6iP1xg+ugOAkZvjDuIyLzq22znzp0dUV8XkMR3maNoHgTAPjaHvZwHoviVHM6D5idSJtEYRBbpxRY4d6m2RPZpJVbUL1mWLe/JDvehroQgiHHuakuJooksz61bt448cuRIY+hf+UcAC+bE1muWENatW9esv8vPz28gUS3012/mzWMDWbxslBmzFpW9Qa0WbDS1wAYZRVl1wpQo5rBUahqcRnMUXziOOkVFRaqvv/6694MHD/qtXbt2CutQNESk7t27dw6i3JWBgYGGrEEK62iWprB1TO4FQd43lCoFm6NIk33qqdXq0UQUnZycyMF6yUQUPdFW3WmFnCsWDwRpE4RtPfRc0L1790sHDx4cuX37dnJ+ZTYaejadS0L3tVZmGabKEs0UcbbMcpxFXoq3iGPL6Q3n3Nxcl7y8PFcQRYVRhkqLbc3s2bOv+Pv7f4btU8LT+TEKOl4fqTx5Q7q6YM0JutARpFIBXafhmuNdunRpDGPeMiEhoTUIz3cIoHwPHTrUq0+fPokTJkzYCwJ2RxD5ZQAbDz1rQZ4e4Dr9pk2b9n8gfrdAotVarbYZiuucOXP2gNS5o/7/gU4GXLhwYWFhYSE5sfY5OTm1AwICxE4J8UR7fIN2U02aNOlv0Jceq1ev7ol66U1wISsrqy0C0PVr1qwJFyR8BouyiTQ3EURev03kMCIiQr8kAkm/SbUlVeiM2OFmU/Ji8ZCwRFnWyKxJQ8+GrKi19y2GEJnKavj48eMX9A5YpyM7QaM8SVbUazYX07Vr19sNGzbUpKam+u3YsaMTbEfqwoULZ8Lf0lQaKSOGVb15THZS6jcGFdBvXxBRW79BbeuMoqx6rjST3aNsIQ0B0VBMI0S0NLSSu3Tp0jlwIscYGcwyGOlXXnmFhmv/xSJoIlm5VpKiEsG+8yPKYMy73bx5sz5t9OjR46bEDlzR0b755pvg7OzsxrQRHBz8gyBxoqtg+6Hnx7NmzXoTBKFZVFTUwpiYmLk2kFFhrIw+faS2gQxjRdgvJRtZ3b2IjNjETBAv8fb21oAoNti/f//Q0tLSWyCA6SCIOSA+j5YvX/42yFCm8ORFl8wVK1YoiouLvRwcHJqCIL5EFdSvXz9XqH7qh7Jly5alCAKd9uzZ4zZ27NhbKpUqZ+jQoTtCQ0ObIygckZiY2Hn48OFnRowY8TWCqZMsayf26wbGQ8/euHbStXQWQJluix16zp48efIBOKOXb9261RPbPR8+fEhD0QU05QNk8Z8gt66wXa3i4+N7wzm2MMrYPcA9fyVSPz127dq1EEt6q5zmHnvOnz+fyPp7KG2EJ1NyDgnWfQarghQicKP+W7GPMog0/EwEkogiEUgrs4qW9O9UCZkTsUPCUmRZK7OmDD1rBPu9/GIqy1+j0ZQyomh4meW0TLKo3vvTp0/fu2HDhpEHDx6MpdK6deuD77777geC9Jf9fgW53jw2BIKm2Up7wAYZRVn1vLr/enZkmRN6e7Kt8GTe4RVGJo1/L2edQ+pnIfqjweINmSDKPFEGjTIdEuv1CAsLS2CfDPl1r/D0LOrbt2/G+PHjN2DzC+Fp+t0a1JoxY8bSzMzM+cY7IyMjg0JCQpIF6+dmkPGbyNap/TuIICgfW9AZ6LtZL1ImR3gyDYAce6jMMow7cH9GeDUW3otYGcFMRirrO01Z+0mVU9E/JUaP1fXp1t9//330+vXrR4P8lTs6OhZiWYSSr1QqH9MHuKG3RSA97lgqy8vLPbB0wdIVRUUf4J46deo+BHl/ZUFcpZwEdfRFYPB2QkJCBy8vr/WdO3f+0NnZucnp06dX5uTkBEFvvkPfPQzZp1i0XiRWl23cVjSXirL3dJyfIYBlffgH5vyc2O9dUWozu0W6SKMfdI0JFjoZi+eU4bpF/1GA4Z9ZZs6cqSeLhNjYWCEjI0M/BE3k0RjoH3qyKPKfWYKr0QWxulZTZMktM9hCm2GPe5IbHpMmTfqxsLCwpfHOoKCgPyxevPiYIMP8WqaXFLj1RnFl+njbKKtpbbbdrF2BvrViyS2pHIRGBugly7cMOwxvUMvERUx5zgDWHv0rySjq/ZfJ8cftrXvVEcUKAiQ8/dRGriDvP5hURYgMNyRV6XzZg+jLSFEBy144s6wqOVNSkOsS743aiD5ETm9SBrEMJWV99kvsxGqjTqRh25ZEDIaUcnXDCO7MyRrmpVD71JdZhun9qM2syyVDbXQvGqP2kyqnx7Zt27bHxcW1traDDBw48Fp4eDgNM5yt4jB6ueLFlJSUMVevXm12/fp196ysLBWIm3tJSQkNFztSAaGjf2rRqVSqYnd39yJE1fmtWrUqROR+r2nTpp+CVNKnMB5WIYcyfM1LS0sHHj58OOTQoUOd4DxcYBNq4VzHWbNmHQwODj7C+nCayEyivdpKwcgf6Xhdps+kZ/mMqD1ix9C0Eh8W7Dqwe6Hf/s36uyW6GWzpi1gw6B3F2i07/YVfdbpgjT7XBFlyy7TUZtjjnuSGL/NR/ZndL2Q6dpj5wBIZZCiYP2zESKP+szlMJ6X8M5kpATK8ebxPkOev7QyJjIk06sWylTQtjkZRj8oUAFgdRIsgirLqnqVE0V4wJUSCIH2+hD6CYgpRX/j1RPxypiQPWJFKgIlQN2DF1YhY07yuHEG+D4xyPBtQ36Qh836CdUNT1I9PsMAhtYrjlIzUtBOeDHH6MGPrzrJjDsLTaRJa4em0jRxmjGl4OImRoOqmgbgKT/8iqhHTD0PfpTrOMeNeWkPbyp6wNMv0W8gqcfx+Yc4fUmB1lwVPkjOKIEK6agiPtdO8zBEgucm5gSx2Fp7Mrb7I7Gi2TDJ6xMTExMbHx7cUc1JISMiNyMjIidUEzjZBTSOKHBw1GS5GgYCLFecbfwamuglmCiaDjDplzNxYIKI0Mu46ZtTLWJDzCzP4Bax+Sw2+EyOilHVTMdmFjGjmWOk47NlW9g5k5c6Ac3Bw1CyQjtMIRS6zgeUy1t3MKIi29E8Rco0C5xR7N8Zviih+/vnnFRc7atQoB96XOTj++2AvPef2hIOD4xklHGgKnI+IIJqC5UwWvNsscK7MJv7mMop0I9yoc3D895NFe+g5tyccHBwcVdtEPvTMwcHBwcHBwcFhFpwocnBwcHBwcHBwmMV/BBgAHTxEUMWGlxEAAAAASUVORK5CYII=); + background-repeat: no-repeat; + background-position: 0; +} +@media all and (-webkit-min-device-pixel-ratio: 1.5) { + + .redactor_toolbar li a { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABRQAAAAyCAYAAAAtK1dkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAKodJREFUeNrsnQtcVNX2xzfDG+QtiG9QTE0rS4pMSVHDSjHN0Ewty/shzWumluY/zbTuVSz1qper9dcempl6y3c+/4Wamc98hyGCPARF3jA8Bpj/Wsw+eBgHGGBmzjnD+n4+mzmcOTOz93nsvfZvr72XjVarZQRBEARBEARBEARBEARBEMagolNAEARBEARBEARBEARBEISxkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITRkKBIEARBEARBEARBEARBEITR2NEpIAiCIIjmwejRoy36e1u3bqWTThAEQRAEQRBWCAmKBEEQBEEQBEEQBEEQRJ00dXB669atnvAdOXzbC15y6awqFxIUCYIgCIJoKC0g/R1Sb0gOkM5D+jekTDo1BEEQBEEQhqlLkBOLbfWhRDFOv3y4bYFyuEyaNOn7goKCCHP9gJub247169ePg011c7ufSVAkCIIgCKIh9IG0CVIgpOuQiiENhzQFEhpTh8z8+45vv/32rIyMjH9IeRL8/f3fX7Vq1QrYLKNbgiAIgiAIExDQwGPPy60A+h6IsJ2rv1+MBUTFtuYUExH4/hHw0obbxc0KEhQJgiAIc2Btoo/tBx98MDA1NfXj0tLSHpWVlS3MmW+VSlXo6Oh4pU2bNh8tXrz4MOwql8l17QdpH9N5Ij4F6QTf3xXSNkjfQ+rGzOup6Cf1fYVAHpbAy3eQUuhxtz6WLl2qteTvzZ4924bOOkEQBLF169Z/wUsv/i+KcL1qOdRTpkUI0Ns+b4TnZdVxZsqPr4XK7cdIUCSEjvCUKVMWFBUVjSgpKele593p6xsdExOzADZL6bQRBEHca1StSPSxf//99ycnJib+S6vVqiyRbxQsi4uLQxISEvbBb7+9ZMmStbBbI/HpFIuJoZDSRO9dgxQJ6Qqk9yHNMmM+WsvoPm/NSFBskr311ltvfZSdnf3WyJEje40ZMyYJ9mnptBAEQRDNFGwHv4G0k+nExO0KLINY6PSsT0yE9782c34c9H4PhUtTeEPqi70OzfGGJUGxJjYbN27scPjw4f3QketWyw3/ZVRU1Jjc3FxX/D8mJuY3eHFi8hIU3ceNG3dFo9G0M/oD7u4H7ezszqxdu3YRk6c4avvxxx8PvHTp0sG6DlKpVPnff/99B9jMo9uZICTFakSfnJwc/5SUlH9YSkzUB387MTFxV2Bg4E0Jz6FYTBzAdGLiJEhn2b0RZRQVr7J7o+rmwqUBhqHDwYMHW4eHh6ez+r1U7Y8fP+7bt29fLKPGSOPRhR71JuGnVqv/VllZ6R4fHz8V/p/PdFPoCYIgiKYJHTlN+QLoG36/bt06bOfVcs1/586dxyxevPhH7CdOnTp1YWZm5hz9Y5S2PAmfHny+IWspKvlehHLuYDrxNMmCefqGmcYbspcFbF7ZQ4JiTdyOHj36Y21iIqdcpVLZiv7HKSolMiuH+6ZNm97FG3zOnDmvQ0e0lfAGdEhvR0dHb8RKddeuXcHQeeoF7/vl5+eHw77w1157bVSPHj3Gzp49+wL8XymjMtnOnz8/A16nbd68+eXt27f31Wsscl599dUDwcHB++FfD2ZZQdFgRcnXgmDmagzMsdYEXyQYgywcgu/3NqVhYsFySNIAUznuoyGijzmeSVOJPnb79+8frNFo3HhdUzFt2rTELl26oEBVYab8q27duuW3ZMmSLhkZGbb427///vsgqL83MGmmPgtiYjbTiYnJkBYznSfiXD2jzFmC/NVlGHqlpKQ8C6/YNtT3PLknJSWF9u3b9xhs55PxaH4b9PPPPx+lVqtb4j+3b9/G9Y2WMxIUqQ2xYPmUll+yTQgjCRA2hgwZcmbSpEm4dAo6jLhFRUW9KTjG6L2viY+Pb7du3brnse8IoGOKD5NIUIRr/kZWVtbjCxcufBlsIS/hDScnJ82HH364OSgo6CT8Gw/JHpJDTEzMT2inrF+/PvLAgQPBvFxbYN9xSI5MQesdW5GYyOrysORiItpwsRZ+vs9DvmKbcH2oPRcbcyYSIIzJkKMwciBME4bPlkpwQWo9FytXrnwlLy/vsXqOu1FZWSnuROYx+Xn0YUcIp53Zd+/ePVMsKKpUKrzmcZDShw8fjikzOjp6+NmzZ6s6y8XFxV2vX7++HjYHyqzhxnN+G8sVHh7+h76gOGbMmLjg4OCjvNyW9k4MaOB+U/6uqdeaiIKEU0S9LFgWU5cjQKJ7lMrReNHH1JhS9HEA2gj/ODs7F3Xp0gWnH18yo3Fq16ZNmx7wW+gx7s4z0ZobxJYWFFFMRM9wYZqzWEzEqeSf6h0bBGmLhfNYq2EINoZfamoq5uk4HHOnHjvFOykpCcWtX+HYbHMbkcbaT2Y0FKVu1z3i4uLGCf/cvn37gY0bNw6aMGHCd8x8Yr1ZCQkJqUpffPEFKymRfKzZ2toQc5VPafkl24QwSoDAPyNHjkwbO3YstuGneP+ou55jDNMC8PIHpGywb9pBv9Bm5syZkU5OTtg3dJYo/9gHveDj42MH/buwPXv2VPdL2rdvrw4KCkLHl3PYn2W6GQXoBIOzOJwmTZrUCgVFeMV+IR6XyhS0NJkR04OT4P0Apd+gEoqJDTrfBo6XYnBD1vWunYUulM2xY8e65ebmToNOUcl77713iVdQcnq4W6jV6gFW0oigoHgZkrqoqKhGB6q8vBzP+Rmmm5aGD0TcSy+9ZHv27NmXq2vw3NxHv/rqq+def/31rTIy6jEfWJbSTZs2TRC/gQ1L3759v4XN3bxhsXSePRu439y/2+R+Lrs/Squngsoh1QLFVI66Oc+NBpMJKhYSROzs7e2dhH80Gg3WoTjafRryX2Gm/OPU6nz+W1XwPNha+F4QxET0Dsf2UV9MfFVU37ZlusjPKDyulFmb2BBve0naPLSTVq5c6Xft2rU3wRZ5trKyssZzaGNjU+Lo6HjZzc1t67Jly/bDvVdu4DvsZs2a9WxBQcGo0tLSntBHdK1xU6lUuc7Ozj8/8MADa2bMmHGLSbtWoWrXrl0haWlpweKdly9fnsjbckV6Ij3yyCPoPcO6du3KLly4IAtBwYp/17OZ5pdsE8Kods/Dw6Ng7NixXzFdwLRrvN9drOcYg84kKKb8znTCGw5iZjz99NO+f/zxh5+E+cc2AEXOgsLCwleYLtib0JdFL/ZfeX9WaN+xTbzJ7RXUGGZCOsqTNYmJKMIlQXpHyTenXMRETkAjjrf04Ias6107E90UNpMnT/Zeu3ZtNjwEhgxU58OHD78NnSOX/v37XwsICMCRf423tze6UWczeSzA7QqGtpuVNSbl0GjU5s2Cozko0J3u3LmzP5Q9EhqU6s7qrVu3hsHLXlb7tC+pcE5JSanhRcrXFTvPG5EKRjSFLyB1otNAENXYIKL/tdw4rbeuEQxDHM3ka+IY3RHgdbRWnAmmW2LDUvRnumnOxoqJOE0Yl0nA5TMyZXYNtQ04rtLSNgncH/azZs36G7S7n1ZUVLjWdhy00Y/m5uZOeOONN45FRkaOhnQbbS60wTZv3uw3adKk7woKCgbW9VtqtbrPqVOn3pkxY8YHK1asWMOkmwLmcu7cuZeGDh16JTY29sGioqKqezstLe2pkydPdgkJCTnDFBacpWPHjszTU2d7d+vWTQ6CIkEQzRc19LfRKzGW3RMTjbE9qoS8ESNGfA112BsS18NV9ha0izXaKejbVvLyGBosxP3CTDU5ziKs12as431BhEMUKyjKTEwU8iSOql0X5CVtgKYKig6+vr5vT5w4cZRWq8WH+jlmWIBqmZycPAI3Bg8ejGs04HoHdmAc74LPqlxdXX+IiYlZxaRd28AWaI5rShagDc+vX7Wg6OLigusQtmDyExR9MjIyaqxx2bp1a5zCjdOhyyXKU66Biqh6vbgGVFINwZLr0dVWRrmWw1x5pXIQDSUA/zRSVJSShoqJaBT6chsAOzDoGbCXd2LMTnR09Kt+fn59oR3TqFSqct4WYJtWNm/ePGc3NzeHBQsWjGrTpk0BHIP5rrSxsdFCquAdEy18jsExTnCsHbyGt2vXrmq+KhxvozuE2cAxqm+++aaniY1Yh7lz505PSUlZauxnCgsLQ/fs2fMbtNOh8PlbsbGxOL3rV7Va3dmYz6NomZaW9q/33nvP+9NPP/2nRB0un8TExGHTpk3bnZub2+r48eNV6yiWlZU5QXnGh4SE4CwLRa2l2KvXvaoaxUV/f3+MMi9llqy9DTFF+ZSWX7JNCGPJ/OCDD3DZlJuNqOPR2ecCtIWfMGnWT2zWNmMttoJYhFP0Os5gC6MmNEJUNqnXR01i96Jq11v/McsGj1FEvdsYAU0FFUyP27dvT83Ly3sFDNMqr75WrVr9BS/oGp2vbyx/8sknbxcVFXmDgZjctWvXX7j408rd3b0lrpkDRvCTY8eO/dDDw+M7+J6YhQsXXmGWDwhSFhYWdvrYsWPhza32AuO9dUlJib14X3BwcLwMs2oL99NTpaWljsIOZ2fnilGjRu2TQ0Wk0Wh2VT0g0DG1tbXNESocyO9G2LfLlD8IHdw8R0dHS1ZoSQoqh6HrUT3CCvtN7uVlznJgAwf1rCBq4NRXrcLKUevzHBQU9ERWVtYrxcXFA+H+6gK/HY9TMn18fL775z//eaqpU4plgKfIgFKKqCgWE3HNRIzmXJ+Y6M90YuIJSDi9agLvkFhEUJwzZ85ppos2XWkgOa9cuXIIHINCZyHTeTyIExO9Oq1evbrfu+++e5HdC7Zmo/fquHfvXpPkG+4H1VdffdUnMTFxsXj/gw8+WB4YGKhu2bIl5kELz7rdtWvX3CA5FBYWVh0Dz0zgoUOH/jN06NC/7dy5c7VYTHRxccEpt2WQCuGZqhpoy87OdkpKSnK+dOlSdVufnJw875tvvvnltddeO2phm8s+Ojp6XLt27a7Bs37y4Ycf9j1+/HiE8OaNGzdehJel/N5TxoPu6Vk1zVkMTn+WWFA0a1sotEWW6mxB3akSnld4drT65WtsmwfPVPKGDRtqLCdx4sQJ/I1Kc1yP2jqtSrNNrMDGsnbu8D55YxZzxRkSOP35LpNf4FGrBuqdr6Gum6i3r1pMRBsS/hfEJcasQ2gPYBJ7/sF5/aMB18iL2vOaNERQdJg6derbYLS+VFRUFCLsBIOw6LHHHssIDw/fVsvnfBMSEqoejOHDhx9gurX7ivD/+fPnbzt48ODL586d809NTXUDg/dNTK+//vpJMIj/a2GvxcKePXueAwMw88KFC77NqO5y27Fjx3TxjkGDBiWHhoYe550vOeEK91KN6VxBQUE4te4Gk9iT0lBFJFQ4EyZMOGumRseiFZqCyoEV4HmoHMWVq4cg6OD+2gIuyO164H2F3wuNRh4kJhY/oBxeSimHobZr7ty5o+/evft+Xl5etcdXSUnJg5ig8zAA3l8CedkKZdRYS2WrAFFRiObcEDERX3EgTiwmYmCnry2Y70yeV62B5FGii46B5zyP3S8iio2oFmVlZaW87TPU/mGdUmDCfLe4evXq+3C/Vz/cUVFRKYMHD8bp4zd5fvF8Y5RyDMqDwYFa8Dzf5NfKa8WKFZv5sQE8j2hj4RqJ6Xwbvx8HfzvGxsaGrl27tiMOUGi1WtXFixfnwf4XLdyGeiUmJo555plncK3eS2FhYeV79uwZlJKSUhWNPScnp9233347aPz48ZuYQpYxQTHxyJEjVQFZcA1F8T4pg7M0pJPUyLZCkujIFgpoZOry5Yo7zUIZzB3N1Vy2iQRCixcjGkIxa5qXd1M/TzRONNrJ64QR/L6vISaKxSXRthwx1qNODlOIAxpxvMXzLef23BhB0X7mzJmvp6enfyZ4I3p5eRX37t0767nnnktu3749ijk4mo8C1B29zKF34oyioiIf9E7s0qULGo9pcEIq4b07fn5+P4HBmAfpYTAkO+3bt6/D2bNnfcCYDEHREr0WW7du/e7y5cuxk2LuTiW6dF+bPHnyliVLlkTdvHnTwcorrSqBGDpPY4XI1q6urtoXX3wxOSIi4n+ZLoJpkczy7JGbm9tDvMPf3x87VbctcH80piIKsMDvnjdxhYIvN9j9a7UFKKkcekKB2FhXUjkCxCKUgYq+o8Kuh4Dtp59+OjA7O3se1D3dDB2AIqNKpZoHx92Fsh+2Ak9FsUEgV1FRHIClKWIiRn2ea+G834XzmVZLnVZZUlKCnaI8OOZuPfWfFo5FQbGgtusDx5hSUPSF56B6gLZPnz5ZgwcPxnVsf+HXAfOCU6LnJicnj9FoNPrrPL9Rq+Fmb1/Url27/0ZHRy/i34Oe/f4DBgy4euXKlXeOHDlStdh+VlbWE8zA7BIzgsFYgjHozKhRo9AzMgF39uzZMx7swEeEgy5dujQRXnYxhXhfoDfihg0bqjwVcRuRQXAWxdkgEpXD2stnFtvECq6HWYVcc3XcCeuFex/G8vtEuEfQo1ksJgrHyX0tvyRm3DRiqaYQ6z+Xcl9DUdbthDGCopu3t3coehDiPyNHjkwZO3bsSdj8k+kiCSdywzeL3T+S0RIMxDG48fTTT6PhiN6Jwqh/Ac94Cj4o7du3D4yKikJPle6bN28O2b59e3sUMPG3Yd9/mW76lDnBqQ3JPj4+O6ATa7t79+5hkPeWsbGxztZUWd28ebMNVET33TAPPvhgab9+/a5DZwYffvQkTWby8wzwuHXr1gN6+caF2/Mkzpe1RXm29G+Z9bv1DEZFRquuRVT0VOh91eLOnTtTc3JyutV1EL6PxzFd5EGpn3FTG405MutUmFJMnE3dAqPxUqvVHsI/nTp1Ogcv+yFdhHukDKdEgz0UmpCQ8LeGfrFGo3FNTEx87csvv9zyxhtvHERRHr4P7a2Sjh074vV+Ho8rLi5Gj0dvC5bZ9fjx46/26tULvTBvcdvOcejQobv27dtXLSimpaX1UUpwFhQNwbaq8kSMi4urFhQR3JZQULQWG4SiVcvUNlH49QiQqBxN6rg3wu69v+Hx8qrRX8flviDdrEdwISHUhIg9k8WDzCJRMYkfmqSg9bfFdm5uXfc5d2CRC3iu5b6GoqzbCWMERScwcivi4+MrMAowCn0HDx50bdu2bTakvVOmTPkDbppyAzeK3X/+859ROHWlc+fOWY8//jgayVXeifxGQwNRDcehZ2D6mjVrVGBADoI0ENdbxGNwfTz8bcyDhS4Wip1ovBZGRESgh96Db7311iOQ11BrqcD69u2bOX36dJyeng/XJnD//v39Dhw40Prq1auOkHpA52NBhw4dipYsWfKnzLKO6yf20V8/Ecrzm7WJDRJW/vjyOaQovgvFhGiZVfomNaoUdn1yrMCgw3ZhaEZGxjPGHIzH4fF86nM5b1tsoqOjAxITE/8+fvz4F3BfixYtdgYGBv57zpw5SUwBkWGhDAt54y2Hayme5jyA6cTET1j9YqL+monWIiZa8v5xsrOzq6yoqKhaGy49PR07eekoJgrt3qBBgxzB5ioBu6jBdhC0kZohQ4bgdGdMFbh8ANx7GWBnVc/Btbe3R5vM0ULltTlx4sQDqampEfD8usTGxo6r7UAMzrJv374pISEhf2cyDwqAwVh+//33qm0UFnHdRAzIguCrDIKzEARhuC2WIsiBuQmot0Nla2vfyO9VSoTbSldXVxysqpRp/mr0T/RnrtQnxsm5P6WwAITiPpbc11CUd+fOiGNKXnnllV2Q7Hbv3h0KRpNHfHy8919//RWFCf6P8/Hx2d6tW7d/T58+PZ0LhVU335UrV6bgRnh4OHY6UKAqEF0Mm5UrV7aeMmXK39Vq9cji4uJqb5UuXbrkPfnkk3kRERE4go1TXiy1AA3mHcUpvKkSeccJO1hWIyiWlpYW8E7gLS9g7Nixf0FHPGL58uVVDWp5ebnrjRs3YubPn2/38ccfr2HSTiUW0wLup+HiHUFBQXd451fqqdnWEuW5N6RIpvNW6cR04jpOv8thyoryXF/jZ46yWCQCoZ6oqMRyuGZlZT0P9ZCTkfWVEx7PdBGDhYED1/T09I+zs7OrxQjYnunk5NQKNicz+a39qm+I7GDyiViJ011RTMxk96I5o8D4AaQtrG4x8VdI65j1eSbaWPC3Kjp06JANNlXV9ONTp0493bt3b1+M3MxtqUo/P7/sVatWbTh9+nQ42ElGz5hwdHQsCQkJOeTm5pYpdKrQ7rpw4YLXmTNn+gvH+fv75zHLzUZw+vnnn1/p3r17wrx58zBIDrbhZfyc+0L5wz777LNqWzAjIwM9YH2YjAVFnOIM57pKSBS4du1ataCISBicxZxRISk6cvO9TtZyPZKY8V5JJjt3zALeTfVcHxdoX54Q74iMjMyG9Fcd/W2lCIkCGt6nl7IPW8MDUXT/GuyfyHyN7YAGHqu0+yWgEcdbuoyybieMERRRgMKh1+yIiIgzkHokJyc/sH///sBff/3VH4VASHMvXrw4GI7BlI/eiatXrx6dmZnZHb0Tw8LCsLJO1lsHyw0+s6OgoODxKivTyUnTr1+/jGeffTYRDGys1K7wAv7FTLsIujGUcUMXUytmRUAHHTvbaMhjFGfsnFxG8bZ9+/ZdU1JSqjsrsD0f60Cm81qRA9537tzpLd4BBjt2frOY9FOzDRklYqPBHAaLOYwSDLoiTH27YSHDy1zGVYCFjUhLusALDZkSy+Gen5/foMaQH+8OKQ+ngP7www/B6enpY/WPg32vLF68+MTcuXO/kGv9ayBSn6R1Kr93UFAawHRiIiJ4j05jNcVEHOATojkLYuJESMuZxGLi0qVLx/v6+j5pY2OjgYR5Lucdicp58+Y5urm5OXz44Ycvtm7dGm2JSjxGq9XicVqMkgdUCW4fffSRU4sWLRzg9Zm2bdsKU8KqBEb4jAqjrW/YsOEhE2Y9/4knnrgQHx9fdc4LCws9165d+8OPP/74P6Ghofu47ZMA+d/YrVu3hJ07dw7LycnxgbzYYKZ9fHwy33zzzSPr1q3rB+2jv7Afjs8dMWLEXnj9lbf1FfB97vBsPAN22T/gmfIRMtC7d28c7LWECG8TGxsb9Ndff42fPXv2l7y9Ea9p6QTnIh1skbmCLZKdnd122bJlE2fNmrWEyWdwswaGpjTj//37V2u2UgZnMadgYsk2z2qFH4VeJ2u5HnLzArPU9cE2rIaguG3bNu/IyMi1TBfsS+rnoamoDh061NbBwUEtcf8wwIDdXp+nX4Bc70k9MQvLUZst76nEh0YBayjKup0wRlBEI+4WN/ziILXp0KFD56ioqEcg9QAD9+GTJ0968mnKwsLennFxcThNRfBONKR8+oHh7t2qVavskJCQ3BdeeAEDu6CIiJZZAru3tk4ZI8xB1ZRzfq5PwnVIx8A4wptqtbrl/v37n3z22WfRQ1Rql3Gby5cvB2ZlZbUW7xw+fPhPTOc9Jzl1RXk2V1QmM7tc47TnaPH5VVo54Hu/hjxPNPZ6yfx6VJdJ4eVAQbFtQz6Qmpra7c0339weGBi4csGCBerCwsJpGJ32vgpNq7WB99CL+XuZGiuGIvVJCU5pRoEQg4Iki/YLg0g4gINLlXRgOs/E2sTEWVIXZPbs2ehNfYa3VZW8fRO2nVesWBE+Z84cDHRSxAxHghbaRKfVq1f3e/fdd3HQTaz+2IheXfbs2WOqrGeC7fMj2FB9rl+/jmsZsoKCgk6Qvk9ISMB1rWpvFG1stBMmTEDD8nD79u0ZdKDm4zMgvA+ffaq+H4dnSv3SSy/hGtWZZr5EtgsXLgxLTk5eW1FR4Q7PKXZaD+vZhWiP5j7xxBNDwRapDlRz7ty5uZ988knSvHnzMJJ1uZyeaQy6goIivg4ZMqTe4+A6y8I2aUybYKjOsuCASG3Cj0mWNZF6KZHapjeaKvozRXludtQnlFbiGoo5OTn6Hu/Yxz8pw/JoXVxcanip5+bm4iCzqpbj7fPy8nzc3NzuStxmeOpt1/k869v3MkMsZmE5tlvZMyMunzHPV5JctIbGtuembr/tGnBsGe9ooNcejnjj6HIgGMMPQeqYkZGRyTOqAmP7SfROxAorLCxsN9MtKHrfQz137twv/f39fZluRATXLEzkhm0Rk++6B9YGXpcsjUajH1CHQWXsze8RqUVdhyNHjtRYc61t27aFrVq1QhFaDoJiQAP3m/J3zTFSEsXFhNEWKos5yoGV/U5ukI+w0HUx1/UQC1I7RQ2ZEsvhUlhY6NaQD1RUVNiC4dsb0oZ6W/nc3J5MhqOjMhQTEQyYhoLhKb39KDDhGo+omqF42Ie3AUIAFlmJiRzsOOAgpCGh0L0MYLrBzlxWU0BketstSktLcRC1kN3vtSeIdaacMYHt15np06dvXb58+fjExEQHYz6EXpVwH50aNmwYXo+kIUOGnITn5NimTZtCoS03asp2UFBQ6TvvvLPN3t6+agaKOdvvWbNmvZeSkvKJsGPZsmW4nMoakZBjB/bgiwkJCVv0Pwzlcb548eKGyZMnD1+7du1rTEbTn9HzEKc3Hzhw4L73OnbsyMaMGVPjWAkExQATfo8cvWaofNKUL0DC82GNHoWWRqPX/rGhQ4dekXF+S9GTH+rZalu+pKQE28ra1oF0vnz5cgj0EXGmVbFMylCfmKhv38sNQaS2qrXpxShgDUVZt3d2jfhMJTeoMaUynVdhS39/f6ygUGxsceTIkXfwwIEDB6Lgc5kZHvm7A5/5gVcIdxl5I0qJCjoy7cU7vL29S/r27SuX6c5u2dnZj4l3dOrUKZnff3JoLKwpyvMhppvuPNqCZTHHd2OdE8srfqYnKiouOrJYkBLVp0qM8uxgzgciPz8fB6jc5WSEwbWbwY1EOYmJ6JmAnodfG3gPB/XQQwyjPAcx3fqVcyFdZ/IUE5G7cG5v1fLsVKrVarRP8uCYrHqeM4x6XCUo1nat4BiTCYo8SEo8dHy2Llq0qHLXrl3Df/75Z9+srKxaRcHg4OAS6Pxd7NGjBwbMucrtrj+ff/75LYGBgXZ79+599MyZM86VlYbHZL28vLTw+fThw4fv5B0YnPJcasZr47hs2bKjTCdS92A6YTad6daqFgIT2S9evBgHqtF2xOl4bfg9quW25jVe9+E+WQiK6HUYEhJSq5eeoeAsggApA9tETm0ClU955bP2qNvWTiUujSHeAe0e9sHlKhQVPfTQQ3/06dPn1okTJ7BtwOW7HFavXj182rRp2I6Il8OwjYmJCUtNTR0wf/58bHPy5VCAujz6ZDrgbPD5s1YxkSljDUVZt3d2Tfx8GdxcGfAw3OZGIvvtt996lZWVBfTs2fPWmDFjcOrZTUPeidxILGQ1PQkIy+MIle470BGv0QmPiIg4zTuWUk8xsjl58mQgGOFPi3e2adPmGm/86N4xHRiQZTDfFiI9d2b3r6eoFOoSFRVDLWKiYnF3dy/JyspyNVd9wUUHuZAECa9frswMxfrWFcLZAi+LjXQmXzGx3ntCpVLZMOOCreAxKmbZwCzY4Tnp6OhYGBkZeR3So3l5eR2uX7/um5GR0YLnvyIwMDDf19f3jo+PDy4LcxwSttGpGBEa6ggcXPupe/fumZD65ubmPpyenu6fnJzsUV5ejtdO6+fnp+7cuXOmt7c3XlucHo7ep3EW6HCV8ufgJ6E+FtXPwjOBHcJ0Xq4LtXwHCqey8DZBcTA8PLxKVKwLXEtRHJwFp0XjOoriAC4EQRBSA22OUM/KEaz342bMmPFVTk7OjLi4OBfceezYsQ9u3LiBS5r8D8+747Rp0xaVlZUNmTp16ucdO3b8k8lXJL3PvleymAjlwJmoAUp+BhSwhqKssTPBBcAXQRRUPfXUUwWQlvFOHY5KZ9YygktCogWuL1S2XcQ7wJAN2L17d5eIiIgbCxYs6A4dj5nQ8ZgovO/q6qodP3583KBBg76Ff1OYtFPPbb777ruOR48eXQcNRA3LPSUlxZFZLvp3fVhFlGfI57Y6OtJKi/Is7rTG8vIdMeM1MVckxWrvNgPfr8Qozzlr1qzBPOOC4PZN+SIcYLexqXG7okh2jukGq3xMmWl7e/vqEfCCggIXMGTbhIaGXqivfuQGYmPOpwp/o6ioyNlQHkwAzgZIZHoLs9eBICauZMoSE4V7RdWQc2/JvPFozvgs4zIy6Hn/i4eHh2/v3r1bwrYHu7fsCN5HKKqlMd307nwh0B33dMT2GnuFVzw9PdtC8uvevTuORDvyZwPfuyv6jrsW6kCWcVsipY5jcOAyg8knCFyt4FqI4vUSo6J0Y29Lly6t3qc/3VkABUjcj0KjoWnSFrJNGtUmSBxAyuzlk6gDq9TyWXvUbavuF65fvz4U+n41BnUx2OoPP/zQddSoUVL3+wxRyduPnxYtWuT8yy+/jDh16lSrs2fPuqalpc2E9m8mHuTu7n42ICDgz3nz5n3G21KMEVAs1wthRWLiDt5PeUfBz0USk/8airJuz+1M/H1oGKO34kFeAdxhNI1ZCtzHjRt3RaPRtNN/Az0RN27cuAdSjf39+/cvbNmypRqMXfRawGmvuIB9lhzLgPz222/PQ0r19/d/f9WqVSskvs8MVURKjPJsqspWbuUQREVPkUGqhOjI+H07WE1PHnNfE3NfD/SkwuAK2Ju2bcoX6YmJQvuTww1JUwqK5SEhIdc3b95cXlxcbJeXl9di9erVeyCZQkwy6jhnZ+eqPDDTeozjWonvMd16qWfrOO4rdk9MlKXBCOfxl/rOMbwuM/Z61HVdjL1mjRAUSninCZ8RFNvRCwPFQBQ4K/j7mKrXv9L7fAW///EZxunDKEY78ecM7bFS3rkqY5YbzDX5FCmpA2igGKgf1Vkf9EAUC4wK6STJrfNE5ZNv+cxlDyr1OikBx6lTpy7MzMycY+hN2N9qy5YtByCxPn36BM+YMeMPJi9hEZe6wGXUSsLCwq5BegS2WzGdh/1tfn/gtO1Mfp8k8fdk6bhkZWLiN/xfxQqKtQXGaoD91uzbO3MIivlMJmsWNGPcN23a9C7TqdgBkFrya13Jb6Y0fo2ceIWMr0KwHayw43ilrJG4DNjZfRRSRy4Q2Ik6Xjg9CtePOs47XVIKivVVRNbgHp2r8HLoi3LnFZhnRV+TukQfmVPm5eWVNGHChN+/+OKLflJkYNy4cacgDzdNXM8tYTqhEI0TjN58Se99XO8SPRMnMBmLiVaIll/nsiZ8XsOT1LZYgJm+k6YcNY92m8onz/Ll0jOoOJxiYmJ+4n07nLmGzhqCl6IwGIWe7xgXAQOjqpj8PBULuZ2Swvt+Huzeutw42IqzU+4yy3nfN8UexiWYqpdhEiLvyjCrtbbhessx9VLaA9HUPokpB5etod61Y0S9F1DkYooXMhk6legRh1PFrjJ5uuDn80YhnRk3fauUfyaLNyqlMinDZd7A1VYGNS9jKd2mBEGYCTRUEwcPHrzB09PTZefOnQ/dvHnTHtdCM6v17+SEUyc1L7zwwqXg4GA02m4w03oo4mj+MEg/Mt2ael8zXRTnTN7eTWK6wC0LIC2S2TUpHjZs2OU9e/b0lDITeG2YjKdUyQBPhXwnQRCENYMGy03eXzpbT98LBblKmZZDw22UTCu7PgFMpmLR1q1bvx49evREvX01PCzhf0ErQWhpgmYICYr1k8TuuZgKLtXYiTjEK94kGeZZEOOUjDWUgSCaM9Yi+mi58fp/wcHBxZCeYjqhDaekmit4B/4mDpjg9G0U+Y7zPJh6+s4pSN0g4fxM9ESMEr2Hy1+8zI+RGxmvvvrqF5DCYNtLojzg4NvPTDeoRRjG1Gut0TpqBEEQDQeFxJs8KQq+znCTgbbIxsJZN7b9O8/zJ8fTnwRpJ+TNUwhsWct07SR2b+pzkkxvpbLHH388+fTp0x3M9QMhISFJrJk6OdnoRY4nCIIgCFOASxUMhyQH0WcX04lzTQEH4NA7CpeJwKk2uM6dOQVFHInHQBrC+kAm8U6sZ5pGEC8bGrgVpvg9MxnJuMyFP09SRfVGkTqdXx/ykjcMPi8BzHRehcL6PyQqEgRBNAMULCga2/7JvV3D/A+A9AL/Hx2sYhXYDneGNApSKKQWZvh+nHJ/jOlm/SQ0t+eUBEWCIAjCHJDoI0/j3KK/J9NRd4IgCIIgCKJ+BHEUSWLKHNTDWUWtmc4pwMEM3499DIxHcYs1w6VwSFAkCIIgCIIgCIIgCIIgCMJoVHQKCIIgCIIgCIIgCIIgCIIwFgrKYiG2bdtm0BU0MjLShs4OQRAEQVB7TuUgCIIgCIIglGInkoeihTBkoJPRThAEQRDUnlM5CIIgCIIgCKXZiSQoSnRRyGgnCIIgCGrPqRwEQRAEQRCEEu1ECspCEARBEARBEARBEARBEITRkIciQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBGQ4IiQRAEQRAEQRAEQRAEQRBG8/8CDACn2Bhs7uzfIwAAAABJRU5ErkJggg==); + background-size: auto 25px; + } + +} + +.redactor_toolbar li a:hover { + border-color: #98a6ba; + background-color: #dde4ef; + outline: none; +} +.redactor_toolbar li a:active, .redactor_toolbar li a.redactor_act { + border-color: #b5b5b5; + background-color: #ddd; + outline: none; +} + + +/* + BUTTONS + step 25px +*/ +body .redactor_toolbar li a.redactor_btn_html { background-position: 0px; } +body .redactor_toolbar li a.redactor_btn_formatting { background-position: -25px; } +body .redactor_toolbar li a.redactor_btn_bold { background-position: -50px; } +body .redactor_toolbar li a.redactor_btn_italic { background-position: -75px; } +body .redactor_toolbar li a.redactor_btn_deleted { background-position: -500px; } +body .redactor_toolbar li a.redactor_btn_unorderedlist { background-position: -100px; } +body .redactor_toolbar li a.redactor_btn_orderedlist { background-position: -125px; } +body .redactor_toolbar li a.redactor_btn_outdent { background-position: -150px; } +body .redactor_toolbar li a.redactor_btn_indent { background-position: -175px; } +body .redactor_toolbar li a.redactor_btn_image { background-position: -200px; } +body .redactor_toolbar li a.redactor_btn_video { background-position: -225px; } +body .redactor_toolbar li a.redactor_btn_file { background-position: -250px; } +body .redactor_toolbar li a.redactor_btn_table { background-position: -275px; } +body .redactor_toolbar li a.redactor_btn_link { background-position: -300px; } +body .redactor_toolbar li a.redactor_btn_fontcolor { background-position: -325px; } +body .redactor_toolbar li a.redactor_btn_backcolor { background-position: -350px; } +body .redactor_toolbar li a.redactor_btn_alignleft { background-position: -375px; } +body .redactor_toolbar li a.redactor_btn_aligncenter { background-position: -400px; } +body .redactor_toolbar li a.redactor_btn_alignright { background-position: -425px; } +body .redactor_toolbar li a.redactor_btn_justify { background-position: -450px; } +body .redactor_toolbar li a.redactor_btn_horizontalrule { background-position: -475px; } +body .redactor_toolbar li a.redactor_btn_underline { background-position: -525px; } + +body .redactor_toolbar li a.redactor_btn_fullscreen { background-position: -550px; } +body .redactor_toolbar li a.redactor_btn_normalscreen { background-position: -575px; } +body .redactor_toolbar li a.redactor_btn_clips { background-position: -600px; } + +body .redactor_toolbar li a.redactor_btn_alignment { background-position: -625px; } + +/* + Toolbar classes +*/ +.redactor_format_blockquote { + font-style: italic; + color: #666 !important; + padding-left: 10px; +} +.redactor_format_pre { + font-family: monospace, sans-serif; +} +.redactor_format_h1, .redactor_format_h2, .redactor_format_h3, .redactor_format_h4 { + font-weight: bold; +} +.redactor_format_h1 { + font-size: 30px; + line-height: 36px; +} +.redactor_format_h2 { + font-size: 24px; + line-height: 36px; +} +.redactor_format_h3 { + font-size: 20px; + line-height: 30px; +} +.redactor_format_h4 { + font-size: 16px; + line-height: 26px; +} + +/* + DROPDOWN +*/ +.redactor_dropdown { + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + top: 28px; + left: 0; + z-index: 2004; + position: absolute; + width: 200px; + background-color: #fff; + border: 1px solid #ccc; + font-size: 13px; + -webkit-box-shadow: 0 2px 4px #ccc; + -moz-box-shadow: 0 2px 4px #ccc; + box-shadow: 0 2px 4px #ccc; + line-height: 21px; + padding: 10px; +} +.redactor_separator_drop { + border-top: 1px solid #ddd; + padding: 0 !important; + line-height: 0; + font-size: 0; +} +.redactor_dropdown a { + display: block; + color: #000; + padding: 3px 5px; + text-decoration: none; +} +.redactor_dropdown a:hover { + color: #444 !important; + text-decoration: none; + background-color: #dde4ef; +} + +/* ColorPicker */ +.redactor_color_link { + padding: 0 !important; + width: 15px !important; + height: 15px !important; + box-shadow: 0 1px 2px rgba(0, 0, 0, .2) inset !important; + border-radius: 4px !important; + float: left !important; + border: 2px solid #fff !important; + font-size: 0; +} +.redactor_color_none { + font-size: 11px; +} + + + +/* MODAL */ +#redactor_modal_overlay { + position: fixed; + margin: auto; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 50000; + + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter:alpha(opacity=50); + opacity: 0.50; + + background-color: #333 !important; +} + +#redactor_modal { + background: #f7f7f7; + background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e2e2e2)); + background: -webkit-linear-gradient(top, #f7f7f7 0%,#e2e2e2 100%); + background: -o-linear-gradient(top, #f7f7f7 0%,#e2e2e2 100%); + background: -ms-linear-gradient(top, #f7f7f7 0%,#e2e2e2 100%); + background: linear-gradient(to bottom, #f7f7f7 0%,#e2e2e2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#e2e2e2',GradientType=0 ); + text-shadow: 0 1px 0 #fff; + padding: 0; + position: fixed; + top: 50%; + left: 50%; + box-shadow: 0px 5px 60px #000; + border-radius: 3px; + z-index: 50001; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + font-size: 12px !important; + color: #000; +} +#redactor_modal_header { + padding: 11px 30px 0 15px; + font-size: 12px; + border-radius: 3px 3px 0 0; + font-weight: bold; +} +#redactor_modal_content { + padding: 20px 30px; + +} +#redactor_modal_close { + position: absolute; + right: 5px; + top: 5px; + font-size: 20px; + width: 20px; + height: 20px; + color: #777; + cursor: pointer; +} +#redactor_modal_close:hover { + color: #000; +} +#redactor_modal label { + margin: 10px 0 3px 0 !important; + padding: 0 !important; + float: none !important; + display: block !important; +} +#redactor_modal textarea { + margin-top: 4px; + display: block; +} +.redactor_input { + width: 99%; + font-size: 14px; +} +.redactor_modal_box { + height: 350px; + overflow: auto; + margin-bottom: 10px; +} +#redactor_image_box { + height: 270px; + overflow: auto; + margin-bottom: 10px; +} +#redactor_image_box_select { + display: block; + width: 200px; + margin-bottom: 15px; +} +#redactor_image_box img { + margin-right: 10px; + margin-bottom: 10px; + cursor: pointer; + max-width: 100px; +} +#redactor_tabs { + margin-bottom: 18px; +} +#redactor_tabs a { + display: inline-block; + border: 1px solid #d2d2d2; + padding: 4px 14px; + font-size: 12px; + background-color: #fff; + text-decoration: none; + color: #000; + line-height: 1; + border-radius: 10px; + margin-right: 5px; +} +#redactor_tabs a:hover, #redactor_tabs a.redactor_tabs_act { + background-color: #ddd; + padding: 5px 15px; + box-shadow: 0 1px 2px rgba(0, 0, 0, .4) inset; + border: none; + text-shadow: 0 1px 0 #eee; + color: #777 !important; + text-decoration: none !important; +} +#redactor_modal_footer { + padding: 9px 30px 20px 30px; + border-radius: 0 0 3px 3px; + text-align: right; +} + +#redactor_modal input[type="radio"], +#redactor_modal input[type="checkbox"] { + position: relative; + top: -1px; +} +#redactor_modal input[type="text"], +#redactor_modal input[type="password"], +#redactor_modal input[type="email"], +#redactor_modal textarea { + position: relative; + z-index: 2; + font-family: Helvetica, Arial, Tahoma, sans-serif; + height: 23px; + border: 1px solid #ccc; + margin: 0; + padding: 1px 2px; + background-color: white; + color: #333; + font-size: 13px; + line-height: 1; + border-radius: 1px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; + -webkit-transition: border 0.3s ease-in; + -moz-transition: border 0.3s ease-in; + -ms-transition: border 0.3s ease-in; + -o-transition: border 0.3s ease-in; + transition: border 0.3s ease-in; +} +#redactor_modal textarea { + line-height: 1.4em; +} +#redactor_modal input:focus, +#redactor_modal textarea:focus { + outline: none; + border-color: #5ca9e4; + box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset; +} + +.redactor_modal_btn { + margin-left: 8px; + position: relative; + cursor: pointer; + outline: none; + display: inline-block; + text-align: center; + text-decoration: none; + font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif; + line-height: 1; + font-size: 12px; + font-weight: normal; + padding: 6px 16px 5px 16px; + border-radius: 4px; + background-color: #f3f3f3; + background-image: -moz-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -ms-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e1e1e1)); + background-image: -webkit-linear-gradient(top, #ffffff, #e1e1e1); + background-image: -o-linear-gradient(top, #ffffff, #e1e1e1); + background-image: linear-gradient(top, #ffffff, #e1e1e1); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1', GradientType=0); + border: 1px solid #ccc; + border-bottom-color: #aaa; + box-shadow: 0 1px 1px rgba(0, 0, 0, .1); + text-shadow: 0 1px 0px #ffffff; + color: #000; +} +.redactor_modal_btn:hover { + color: #555; +} +.redactor_modal_btn:hover { + filter: none; + background: none; + background: #f3f3f3; + text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8); + text-decoration: none; +} + + +/* Drag and Drop Area */ +.redactor_droparea { + position: relative; + width: 100%; + margin: auto; + margin-bottom: 5px; +} +.redactor_droparea .redactor_dropareabox { + z-index: 1; + position: relative; + text-align: center; + width: 99%; + background-color: #fff; + padding: 60px 0; + border: 2px dashed #bbb; +} +.redactor_droparea .redactor_dropareabox, .redactor_dropalternative { + color: #555; + font-size: 12px; +} +.redactor_dropalternative { + margin: 4px 0 2px 0; +} +.redactor_dropareabox.hover { + background: #efe3b8; + border-color: #aaa; +} +.redactor_dropareabox.error { + background: #f7e5e5; + border-color: #dcc3c3; +} +.redactor_dropareabox.drop { + background: #f4f4ee; + border-color: #e0e5d6; +} diff --git a/assets/img/driven-by-gocart-dark.png b/assets/img/driven-by-gocart-dark.png new file mode 100644 index 00000000..c49076a9 Binary files /dev/null and b/assets/img/driven-by-gocart-dark.png differ diff --git a/assets/img/driven-by-gocart.png b/assets/img/driven-by-gocart.png new file mode 100644 index 00000000..0a3a56a6 Binary files /dev/null and b/assets/img/driven-by-gocart.png differ diff --git a/assets/img/file-browser.png b/assets/img/file-browser.png new file mode 100644 index 00000000..798163ca Binary files /dev/null and b/assets/img/file-browser.png differ diff --git a/assets/img/file.png b/assets/img/file.png new file mode 100644 index 00000000..529c6e5b Binary files /dev/null and b/assets/img/file.png differ diff --git a/assets/img/folder.png b/assets/img/folder.png new file mode 100644 index 00000000..b3e1fe1d Binary files /dev/null and b/assets/img/folder.png differ diff --git a/assets/img/glyphicons-halflings-white.png b/assets/img/glyphicons-halflings-white.png new file mode 100644 index 00000000..3bf6484a Binary files /dev/null and b/assets/img/glyphicons-halflings-white.png differ diff --git a/assets/img/glyphicons-halflings.png b/assets/img/glyphicons-halflings.png new file mode 100644 index 00000000..a9969993 Binary files /dev/null and b/assets/img/glyphicons-halflings.png differ diff --git a/assets/img/login-logo.png b/assets/img/login-logo.png new file mode 100644 index 00000000..94024df5 Binary files /dev/null and b/assets/img/login-logo.png differ diff --git a/images/logo.png b/assets/img/logo.png similarity index 100% rename from images/logo.png rename to assets/img/logo.png diff --git a/assets/img/media-loader.gif b/assets/img/media-loader.gif new file mode 100644 index 00000000..03113275 Binary files /dev/null and b/assets/img/media-loader.gif differ diff --git a/assets/img/storing_animation.gif b/assets/img/storing_animation.gif new file mode 100644 index 00000000..eca3a53c Binary files /dev/null and b/assets/img/storing_animation.gif differ diff --git a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png b/assets/img/ui-bg_flat_0_aaaaaa_40x100.png similarity index 100% rename from js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png rename to assets/img/ui-bg_flat_0_aaaaaa_40x100.png diff --git a/assets/img/ui-bg_flat_65_f2f2f2_40x100.png b/assets/img/ui-bg_flat_65_f2f2f2_40x100.png new file mode 100644 index 00000000..468a4f27 Binary files /dev/null and b/assets/img/ui-bg_flat_65_f2f2f2_40x100.png differ diff --git a/assets/img/ui-bg_flat_75_eeeeee_40x100.png b/assets/img/ui-bg_flat_75_eeeeee_40x100.png new file mode 100644 index 00000000..e44f861b Binary files /dev/null and b/assets/img/ui-bg_flat_75_eeeeee_40x100.png differ diff --git a/assets/img/ui-bg_flat_75_f2f2f2_40x100.png b/assets/img/ui-bg_flat_75_f2f2f2_40x100.png new file mode 100644 index 00000000..468a4f27 Binary files /dev/null and b/assets/img/ui-bg_flat_75_f2f2f2_40x100.png differ diff --git a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png b/assets/img/ui-bg_flat_75_ffffff_40x100.png similarity index 100% rename from js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png rename to assets/img/ui-bg_flat_75_ffffff_40x100.png diff --git a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png b/assets/img/ui-bg_glass_55_fbf9ee_1x400.png similarity index 100% rename from js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png rename to assets/img/ui-bg_glass_55_fbf9ee_1x400.png diff --git a/assets/img/ui-bg_inset-soft_95_fef1ec_1x100.png b/assets/img/ui-bg_inset-soft_95_fef1ec_1x100.png new file mode 100644 index 00000000..0e05810f Binary files /dev/null and b/assets/img/ui-bg_inset-soft_95_fef1ec_1x100.png differ diff --git a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_2e83ff_256x240.png b/assets/img/ui-icons_2e83ff_256x240.png similarity index 92% rename from js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_2e83ff_256x240.png rename to assets/img/ui-icons_2e83ff_256x240.png index 45e8928e..09d1cdc8 100644 Binary files a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_2e83ff_256x240.png and b/assets/img/ui-icons_2e83ff_256x240.png differ diff --git a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_222222_256x240.png b/assets/img/ui-icons_333333_256x240.png similarity index 92% rename from js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_222222_256x240.png rename to assets/img/ui-icons_333333_256x240.png index ee039dc0..fe079a59 100644 Binary files a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_222222_256x240.png and b/assets/img/ui-icons_333333_256x240.png differ diff --git a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_cd0a0a_256x240.png b/assets/img/ui-icons_cd0a0a_256x240.png similarity index 92% rename from js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_cd0a0a_256x240.png rename to assets/img/ui-icons_cd0a0a_256x240.png index 7930a558..2ab019b7 100644 Binary files a/js/jquery/tiny_mce/plugins/Archiv/css/smoothness/images/ui-icons_cd0a0a_256x240.png and b/assets/img/ui-icons_cd0a0a_256x240.png differ diff --git a/assets/js/bootstrap.min.js b/assets/js/bootstrap.min.js new file mode 100644 index 00000000..66e887bb --- /dev/null +++ b/assets/js/bootstrap.min.js @@ -0,0 +1,6 @@ +/*! +* Bootstrap.js by @fat & @mdo +* Copyright 2012 Twitter, Inc. +* http://www.apache.org/licenses/LICENSE-2.0.txt +*/ +!function(e){e(function(){"use strict";e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()},e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e(function(){e("body").on("click.alert.data-api",t,n.prototype.close)})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.parent('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")},e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e(function(){e("body").on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=n,this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},to:function(t){var n=this.$element.find(".item.active"),r=n.parent().children(),i=r.index(n),s=this;if(t>r.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){s.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",e(r[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f=e.Event("slide",{relatedTarget:i[0]});this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u]();if(i.hasClass("active"))return;if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}},e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e(function(){e("body").on("click.carousel.data-api","[data-slide]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=!i.data("modal")&&e.extend({},i.data(),n.data());i.carousel(s),t.preventDefault()})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning)return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning)return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=typeof n=="object"&&n;i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e(function(){e("body").on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})})}(window.jQuery),!function(e){"use strict";function r(){i(e(t)).removeClass("open")}function i(t){var n=t.attr("data-target"),r;return n||(n=t.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),r=e(n),r.length||(r=t.parent()),r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||(s.toggleClass("open"),n.focus()),!1},keydown:function(t){var n,r,s,o,u,a;if(!/(38|40|27)/.test(t.keyCode))return;n=e(this),t.preventDefault(),t.stopPropagation();if(n.is(".disabled, :disabled"))return;o=i(n),u=o.hasClass("open");if(!u||u&&t.keyCode==27)return n.click();r=e("[role=menu] li:not(.divider) a",o);if(!r.length)return;a=r.index(r.filter(":focus")),t.keyCode==38&&a>0&&a--,t.keyCode==40&&a').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,e.proxy(this.removeBackdrop,this)):this.removeBackdrop()):t&&t()}},e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e(function(){e("body").on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,this.options.trigger=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):this.options.trigger!="manual"&&(i=this.options.trigger=="hover"?"mouseenter":"focus",s=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this))),this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,t,this.$element.data()),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);if(!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var e,t,n,r,i,s,o;if(this.hasContent()&&this.enabled){e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,t=/in/.test(s),e.remove().css({top:0,left:0,display:"block"}).appendTo(t?this.$element:document.body),n=this.getPosition(t),r=e[0].offsetWidth,i=e[0].offsetHeight;switch(t?s.split(" ")[1]:s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}e.css(o).addClass(s).addClass("in")}},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function r(){var t=setTimeout(function(){n.off(e.support.transition.end).remove()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.remove()})}var t=this,n=this.tip();return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?r():n.remove(),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(t){return e.extend({},t?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover",title:"",delay:0,html:!0}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content > *")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-content")||(typeof n.content=="function"?n.content.call(t[0]):n.content),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'

'})}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var t=e(this),n=t.data("target")||t.attr("href"),r=/^#\w/.test(n)&&e(n);return r&&r.length&&[[r.position().top,n]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}},e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active a").last()[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}},e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e(function(){e("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=e(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:t.top+t.height,left:t.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length"+t+""})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),(e.browser.webkit||e.browser.msie)&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this))},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=!~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},blur:function(e){var t=this;setTimeout(function(){t.hide()},150)},click:function(e){e.stopPropagation(),e.preventDefault(),this.select()},mouseenter:function(t){this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")}},e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'',item:'
  • ',minLength:1},e.fn.typeahead.Constructor=t,e(function(){e("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;t.preventDefault(),n.typeahead(n.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))},e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery); \ No newline at end of file diff --git a/assets/js/file-browser.js b/assets/js/file-browser.js new file mode 100644 index 00000000..8657cd50 --- /dev/null +++ b/assets/js/file-browser.js @@ -0,0 +1,18 @@ +if (typeof RedactorPlugins === 'undefined') var RedactorPlugins = {}; + +var redactor_instance; + +RedactorPlugins.fileBrowser = { + + init: function() + { + this.addBtnAfter('link', 'file-browser', 'File Browser', function(obj) + { + redactor_instance = obj; + obj.modalInit('File Browser', '', 800); + }); + + this.addBtnSeparatorBefore('advanced'); + } + +} \ No newline at end of file diff --git a/assets/js/jquery-ui.js b/assets/js/jquery-ui.js new file mode 100644 index 00000000..5d9a991d --- /dev/null +++ b/assets/js/jquery-ui.js @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.10.0 - 2013-01-19 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js +* Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */ + +(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(o=e("img[usemap=#"+i+"]")[0],!!o&&s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return e.css(this,"visibility")==="hidden"}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:"1.10.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){var r=e(this[0]),i,s;while(r.length&&r[0]!==document){i=r.css("position");if(i==="absolute"||i==="relative"||i==="fixed"){s=parseInt(r.css("zIndex"),10);if(!isNaN(s)&&s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r0?!0:(t[r]=1,i=t[r]>0,t[r]=0,i)}})})(jQuery);(function(e,t){var n=0,r=Array.prototype.slice,i=e.cleanData;e.cleanData=function(t){for(var n=0,r;(r=t[n])!=null;n++)try{e(r).triggerHandler("remove")}catch(s){}i(t)},e.widget=function(t,n,r){var i,s,o,u,a={},f=t.split(".")[0];t=t.split(".")[1],i=f+"-"+t,r||(r=n,n=e.Widget),e.expr[":"][i.toLowerCase()]=function(t){return!!e.data(t,i)},e[f]=e[f]||{},s=e[f][t],o=e[f][t]=function(e,t){if(!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},e.extend(o,s,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),u=new n,u.options=e.widget.extend({},u.options),e.each(r,function(t,r){if(!e.isFunction(r)){a[t]=r;return}a[t]=function(){var e=function(){return n.prototype[t].apply(this,arguments)},i=function(e){return n.prototype[t].apply(this,e)};return function(){var t=this._super,n=this._superApply,s;return this._super=e,this._superApply=i,s=r.apply(this,arguments),this._super=t,this._superApply=n,s}}()}),o.prototype=e.widget.extend(u,{widgetEventPrefix:s?u.widgetEventPrefix:t},a,{constructor:o,namespace:f,widgetName:t,widgetFullName:i}),s?(e.each(s._childConstructors,function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete s._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o)},e.widget.extend=function(n){var i=r.call(arguments,1),s=0,o=i.length,u,a;for(;s",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1)]}function p(t,n){return parseInt(e.css(t,n),10)||0}function d(t){var n=t[0];return n.nodeType===9?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(n)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.ui=e.ui||{};var n,r=Math.max,i=Math.abs,s=Math.round,o=/left|center|right/,u=/top|center|bottom/,a=/[\+\-]\d+%?/,f=/^\w+/,l=/%$/,c=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var r,i,s=e("
    "),o=s.children()[0];return e("body").append(s),r=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,r===i&&(i=s[0].clientWidth),s.remove(),n=r-i},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i=n==="scroll"||n==="auto"&&t.width0?"right":"center",vertical:u<0?"top":o>0?"bottom":"middle"};lr(i(o),i(u))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),a.offset(e.extend(C,{using:u}))})},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=e.left-t.collisionPosition.marginLeft,u=i-o,a=o+t.collisionWidth-s-i,f;t.collisionWidth>s?u>0&&a<=0?(f=e.left+u+t.collisionWidth-s-i,e.left+=u-f):a>0&&u<=0?e.left=i:u>a?e.left=i+s-t.collisionWidth:e.left=i:u>0?e.left+=u:a>0?e.left-=a:e.left=r(e.left-o,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,u=i-o,a=o+t.collisionHeight-s-i,f;t.collisionHeight>s?u>0&&a<=0?(f=e.top+u+t.collisionHeight-s-i,e.top+=u-f):a>0&&u<=0?e.top=i:u>a?e.top=i+s-t.collisionHeight:e.top=i:u>0?e.top+=u:a>0?e.top-=a:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,a=u-o,f=u+t.collisionWidth-s-o,l=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,c=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,h=-2*t.offset[0],p,d;if(a<0){p=e.left+l+c+h+t.collisionWidth-s-r;if(p<0||p0){d=e.left-t.collisionPosition.marginLeft+l+c+h-o;if(d>0||i(d)a&&(v<0||v0&&(d=e.top-t.collisionPosition.marginTop+c+h+p-o,e.top+c+h+p>f&&(d>0||i(d)10&&i<11,t.innerHTML="",n.removeChild(t)}()})(jQuery);(function(e,t){e.widget("ui.draggable",e.ui.mouse,{version:"1.10.0",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){this.options.helper==="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))&&(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var n=this.options;return this.helper||n.disabled||e(t.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(e(n.iframeFix===!0?"iframe":n.iframeFix).each(function(){e("
    ").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute");if(!n){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}if(!this.options.axis||this.options.axis!=="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!=="x")this.helper[0].style.top=this.position.top+"px";return e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n,r=this,i=!1,s=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(s=e.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),n=this.element[0];while(n&&(n=n.parentNode))n===document&&(i=!0);return!i&&this.options.helper==="original"?!1:(this.options.revert==="invalid"&&!s||this.options.revert==="valid"&&s||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){r._trigger("stop",t)!==!1&&r._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1)},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find("*").addBack().each(function(){this===t.target&&(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper==="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(n.appendTo==="parent"?this.element[0].parentNode:n.appendTo),r[0]!==this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))&&r.css("position","absolute"),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition==="absolute"&&this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&e.ui.ie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,n,r,i=this.options;i.containment==="parent"&&(i.containment=this.helper[0].parentNode);if(i.containment==="document"||i.containment==="window")this.containment=[i.containment==="document"?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,i.containment==="document"?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(i.containment==="document"?0:e(window).scrollLeft())+e(i.containment==="document"?document:window).width()-this.helperProportions.width-this.margins.left,(i.containment==="document"?0:e(window).scrollTop())+(e(i.containment==="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(i.containment)&&i.containment.constructor!==Array){n=e(i.containment),r=n[0];if(!r)return;t=e(r).css("overflow")!=="hidden",this.containment=[(parseInt(e(r).css("borderLeftWidth"),10)||0)+(parseInt(e(r).css("paddingLeft"),10)||0),(parseInt(e(r).css("borderTopWidth"),10)||0)+(parseInt(e(r).css("paddingTop"),10)||0),(t?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css("borderLeftWidth"),10)||0)-(parseInt(e(r).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css("borderTopWidth"),10)||0)-(parseInt(e(r).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else i.containment.constructor===Array&&(this.containment=i.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t==="absolute"?1:-1,i=this.cssPosition!=="absolute"||this.scrollParent[0]!==document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(i[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():s?0:i.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*r}},_generatePosition:function(t){var n,r,i,s,o=this.options,u=this.cssPosition!=="absolute"||this.scrollParent[0]!==document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(u[0].tagName),f=t.pageX,l=t.pageY;return this.originalPosition&&(this.containment&&(this.relative_container?(r=this.relative_container.offset(),n=[this.containment[0]+r.left,this.containment[1]+r.top,this.containment[2]+r.left,this.containment[3]+r.top]):n=this.containment,t.pageX-this.offset.click.leftn[2]&&(f=n[2]+this.offset.click.left),t.pageY-this.offset.click.top>n[3]&&(l=n[3]+this.offset.click.top)),o.grid&&(i=o.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,l=n?i-this.offset.click.top>=n[1]||i-this.offset.click.top>n[3]?i:i-this.offset.click.top>=n[1]?i-o.grid[1]:i+o.grid[1]:i,s=o.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,f=n?s-this.offset.click.left>=n[0]||s-this.offset.click.left>n[2]?s:s-this.offset.click.left>=n[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():a?0:u.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():a?0:u.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,n,r){return r=r||this._uiHash(),e.ui.plugin.call(this,t,[n,r]),t==="drag"&&(this.positionAbs=this._convertPositionTo("absolute")),e.Widget.prototype._trigger.call(this,t,n,r)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,n){var r=e(this).data("ui-draggable"),i=r.options,s=e.extend({},n,{item:r.element});r.sortables=[],e(i.connectToSortable).each(function(){var n=e.data(this,"ui-sortable");n&&!n.options.disabled&&(r.sortables.push({instance:n,shouldRevert:n.options.revert}),n.refreshPositions(),n._trigger("activate",t,s))})},stop:function(t,n){var r=e(this).data("ui-draggable"),i=e.extend({},n,{item:r.element});e.each(r.sortables,function(){this.instance.isOver?(this.instance.isOver=0,r.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,r.options.helper==="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,i))})},drag:function(t,n){var r=e(this).data("ui-draggable"),i=this;e.each(r.sortables,function(){var s=!1,o=this;this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(s=!0,e.each(r.sortables,function(){return this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this!==o&&this.instance._intersectsWith(this.instance.containerCache)&&e.ui.contains(o.instance.element[0],this.instance.element[0])&&(s=!1),s})),s?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=e(i).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=r.offset.click.top,this.instance.offset.click.left=r.offset.click.left,this.instance.offset.parent.left-=r.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=r.offset.parent.top-this.instance.offset.parent.top,r._trigger("toSortable",t),r.dropped=this.instance.element,r.currentItem=r.element,this.instance.fromOutside=r),this.instance.currentItem&&this.instance._mouseDrag(t)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),r._trigger("fromSortable",t),r.dropped=!1)})}}),e.ui.plugin.add("draggable","cursor",{start:function(){var t=e("body"),n=e(this).data("ui-draggable").options;t.css("cursor")&&(n._cursor=t.css("cursor")),t.css("cursor",n.cursor)},stop:function(){var t=e(this).data("ui-draggable").options;t._cursor&&e("body").css("cursor",t._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,n){var r=e(n.helper),i=e(this).data("ui-draggable").options;r.css("opacity")&&(i._opacity=r.css("opacity")),r.css("opacity",i.opacity)},stop:function(t,n){var r=e(this).data("ui-draggable").options;r._opacity&&e(n.helper).css("opacity",r._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(){var t=e(this).data("ui-draggable");t.scrollParent[0]!==document&&t.scrollParent[0].tagName!=="HTML"&&(t.overflowOffset=t.scrollParent.offset())},drag:function(t){var n=e(this).data("ui-draggable"),r=n.options,i=!1;if(n.scrollParent[0]!==document&&n.scrollParent[0].tagName!=="HTML"){if(!r.axis||r.axis!=="x")n.overflowOffset.top+n.scrollParent[0].offsetHeight-t.pageY=0;c--){u=p.snapElements[c].left,a=u+p.snapElements[c].width,f=p.snapElements[c].top,l=f+p.snapElements[c].height;if(!(u-vt&&e=h&&a<=p||f>=h&&f<=p||ap)&&(o>=l&&o<=c||u>=l&&u<=c||oc);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,n){var r,i,s=e.ui.ddmanager.droppables[t.options.scope]||[],o=n?n.type:null,u=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(r=0;r").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=u.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor===String){this.handles==="all"&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={};for(n=0;n"),i.css({zIndex:u.zIndex}),"se"===r&&i.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[r]=".ui-resizable-"+r,this.element.append(i)}this._renderAxis=function(t){var n,r,i,s;t=t||this.element;for(n in this.handles){this.handles[n].constructor===String&&(this.handles[n]=e(this.handles[n],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(r=e(this.handles[n],this.element),s=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth(),i=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize());if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){o.resizing||(this.className&&(i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=i&&i[1]?i[1]:"se")}),u.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(u.disabled)return;e(this).removeClass("ui-resizable-autohide"),o._handles.show()}).mouseleave(function(){if(u.disabled)return;o.resizing||(e(this).addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,n=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(n(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),n(this.originalElement),this},_mouseCapture:function(t){var n,r,i=!1;for(n in this.handles){r=e(this.handles[n])[0];if(r===t.target||e.contains(r,t.target))i=!0}return!this.options.disabled&&i},_mouseStart:function(t){var r,i,s,o=this.options,u=this.element.position(),a=this.element;return this.resizing=!0,/absolute/.test(a.css("position"))?a.css({position:"absolute",top:a.css("top"),left:a.css("left")}):a.is(".ui-draggable")&&a.css({position:"absolute",top:u.top,left:u.left}),this._renderProxy(),r=n(this.helper.css("left")),i=n(this.helper.css("top")),o.containment&&(r+=e(o.containment).scrollLeft()||0,i+=e(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:r,top:i},this.size=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.originalPosition={left:r,top:i},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof o.aspectRatio=="number"?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor",s==="auto"?this.axis+"-resize":s),a.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var n,r=this.helper,i={},s=this.originalMousePosition,o=this.axis,u=this.position.top,a=this.position.left,f=this.size.width,l=this.size.height,c=t.pageX-s.left||0,h=t.pageY-s.top||0,p=this._change[o];if(!p)return!1;n=p.apply(this,[t,c,h]),this._updateVirtualBoundaries(t.shiftKey);if(this._aspectRatio||t.shiftKey)n=this._updateRatio(n,t);return n=this._respectSize(n,t),this._updateCache(n),this._propagate("resize",t),this.position.top!==u&&(i.top=this.position.top+"px"),this.position.left!==a&&(i.left=this.position.left+"px"),this.size.width!==f&&(i.width=this.size.width+"px"),this.size.height!==l&&(i.height=this.size.height+"px"),r.css(i),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(i)||this._trigger("resize",t,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n,r,i,s,o,u,a,f=this.options,l=this;return this._helper&&(n=this._proportionallyResizeElements,r=n.length&&/textarea/i.test(n[0].nodeName),i=r&&e.ui.hasScroll(n[0],"left")?0:l.sizeDiff.height,s=r?0:l.sizeDiff.width,o={width:l.helper.width()-s,height:l.helper.height()-i},u=parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left)||null,a=parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top)||null,f.animate||this.element.css(e.extend(o,{top:a,left:u})),l.helper.height(l.size.height),l.helper.width(l.size.width),this._helper&&!f.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t,n,i,s,o,u=this.options;o={minWidth:r(u.minWidth)?u.minWidth:0,maxWidth:r(u.maxWidth)?u.maxWidth:Infinity,minHeight:r(u.minHeight)?u.minHeight:0,maxHeight:r(u.maxHeight)?u.maxHeight:Infinity};if(this._aspectRatio||e)t=o.minHeight*this.aspectRatio,i=o.minWidth/this.aspectRatio,n=o.maxHeight*this.aspectRatio,s=o.maxWidth/this.aspectRatio,t>o.minWidth&&(o.minWidth=t),i>o.minHeight&&(o.minHeight=i),ne.width,u=r(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,f=this.position.top+this.size.height,l=/sw|nw|w/.test(n),c=/nw|ne|n/.test(n);return o&&(e.width=t.minWidth),u&&(e.height=t.minHeight),i&&(e.width=t.maxWidth),s&&(e.height=t.maxHeight),o&&l&&(e.left=a-t.minWidth),i&&l&&(e.left=a-t.maxWidth),u&&c&&(e.top=f-t.minHeight),s&&c&&(e.top=f-t.maxHeight),!e.width&&!e.height&&!e.left&&e.top?e.top=null:!e.width&&!e.height&&!e.top&&e.left&&(e.left=null),e},_proportionallyResize:function(){if(!this._proportionallyResizeElements.length)return;var e,t,n,r,i,s=this.helper||this.element;for(e=0;e"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var n=this.originalSize,r=this.originalPosition;return{left:r.left+t,width:n.width-t}},n:function(e,t,n){var r=this.originalSize,i=this.originalPosition;return{top:i.top+n,height:r.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!=="resize"&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var n=e(this).data("ui-resizable"),r=n.options,i=n._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&e.ui.hasScroll(i[0],"left")?0:n.sizeDiff.height,u=s?0:n.sizeDiff.width,a={width:n.size.width-u,height:n.size.height-o},f=parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left)||null,l=parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top)||null;n.element.animate(e.extend(a,l&&f?{top:l,left:f}:{}),{duration:r.animateDuration,easing:r.animateEasing,step:function(){var r={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};i&&i.length&&e(i[0]).css({width:r.width,height:r.height}),n._updateCache(r),n._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var t,r,i,s,o,u,a,f=e(this).data("ui-resizable"),l=f.options,c=f.element,h=l.containment,p=h instanceof e?h.get(0):/parent/.test(h)?c.parent().get(0):h;if(!p)return;f.containerElement=e(p),/document/.test(h)||h===document?(f.containerOffset={left:0,top:0},f.containerPosition={left:0,top:0},f.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(t=e(p),r=[],e(["Top","Right","Left","Bottom"]).each(function(e,i){r[e]=n(t.css("padding"+i))}),f.containerOffset=t.offset(),f.containerPosition=t.position(),f.containerSize={height:t.innerHeight()-r[3],width:t.innerWidth()-r[1]},i=f.containerOffset,s=f.containerSize.height,o=f.containerSize.width,u=e.ui.hasScroll(p,"left")?p.scrollWidth:o,a=e.ui.hasScroll(p)?p.scrollHeight:s,f.parentData={element:p,left:i.left,top:i.top,width:u,height:a})},resize:function(t){var n,r,i,s,o=e(this).data("ui-resizable"),u=o.options,a=o.containerOffset,f=o.position,l=o._aspectRatio||t.shiftKey,c={top:0,left:0},h=o.containerElement;h[0]!==document&&/static/.test(h.css("position"))&&(c=a),f.left<(o._helper?a.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-a.left:o.position.left-c.left),l&&(o.size.height=o.size.width/o.aspectRatio),o.position.left=u.helper?a.left:0),f.top<(o._helper?a.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-a.top:o.position.top),l&&(o.size.width=o.size.height*o.aspectRatio),o.position.top=o._helper?a.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,n=Math.abs((o._helper?o.offset.left-c.left:o.offset.left-c.left)+o.sizeDiff.width),r=Math.abs((o._helper?o.offset.top-c.top:o.offset.top-a.top)+o.sizeDiff.height),i=o.containerElement.get(0)===o.element.parent().get(0),s=/relative|absolute/.test(o.containerElement.css("position")),i&&s&&(n-=o.parentData.left),n+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-n,l&&(o.size.height=o.size.width/o.aspectRatio)),r+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-r,l&&(o.size.width=o.size.height*o.aspectRatio))},stop:function(){var t=e(this).data("ui-resizable"),n=t.options,r=t.containerOffset,i=t.containerPosition,s=t.containerElement,o=e(t.helper),u=o.offset(),a=o.outerWidth()-t.sizeDiff.width,f=o.outerHeight()-t.sizeDiff.height;t._helper&&!n.animate&&/relative/.test(s.css("position"))&&e(this).css({left:u.left-i.left-r.left,width:a,height:f}),t._helper&&!n.animate&&/static/.test(s.css("position"))&&e(this).css({left:u.left-i.left-r.left,width:a,height:f})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).data("ui-resizable"),n=t.options,r=function(t){e(t).each(function(){var t=e(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};typeof n.alsoResize=="object"&&!n.alsoResize.parentNode?n.alsoResize.length?(n.alsoResize=n.alsoResize[0],r(n.alsoResize)):e.each(n.alsoResize,function(e){r(e)}):r(n.alsoResize)},resize:function(t,n){var r=e(this).data("ui-resizable"),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data("ui-resizable-alsoresize"),s={},o=r&&r.length?r:t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&&n>=0&&(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize=="object"&&!i.alsoResize.nodeType?e.each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).data("ui-resizable"),n=t.options,r=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:r.height,width:r.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof n.ghost=="string"?n.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).data("ui-resizable");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).data("ui-resizable");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t=e(this).data("ui-resizable"),n=t.options,r=t.size,i=t.originalSize,s=t.originalPosition,o=t.axis,u=typeof n.grid=="number"?[n.grid,n.grid]:n.grid,a=u[0]||1,f=u[1]||1,l=Math.round((r.width-i.width)/a)*a,c=Math.round((r.height-i.height)/f)*f,h=i.width+l,p=i.height+c,d=n.maxWidth&&n.maxWidthh,g=n.minHeight&&n.minHeight>p;n.grid=u,m&&(h+=a),g&&(p+=f),d&&(h-=a),v&&(p-=f),/^(se|s|e)$/.test(o)?(t.size.width=h,t.size.height=p):/^(ne)$/.test(o)?(t.size.width=h,t.size.height=p,t.position.top=s.top-c):/^(sw)$/.test(o)?(t.size.width=h,t.size.height=p,t.position.left=s.left-l):(t.size.width=h,t.size.height=p,t.position.top=s.top-c,t.position.left=s.left-l)}})})(jQuery);(function(e,t){e.widget("ui.selectable",e.ui.mouse,{version:"1.10.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,n=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t=e(n.options.filter,n.element[0]),t.addClass("ui-selectee"),t.each(function(){var t=e(this),n=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=e("
    ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var n=this,r=this.options;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=e.data(this,"selectable-item");r.startselected=!0,!t.metaKey&&!t.ctrlKey&&(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))}),e(t.target).parents().addBack().each(function(){var r,i=e.data(this,"selectable-item");if(i)return r=!t.metaKey&&!t.ctrlKey||!i.$element.hasClass("ui-selected"),i.$element.removeClass(r?"ui-unselecting":"ui-selected").addClass(r?"ui-selecting":"ui-unselecting"),i.unselecting=!r,i.selecting=r,i.selected=r,r?n._trigger("selecting",t,{selecting:i.element}):n._trigger("unselecting",t,{unselecting:i.element}),!1})},_mouseDrag:function(t){this.dragged=!0;if(this.options.disabled)return;var n,r=this,i=this.options,s=this.opos[0],o=this.opos[1],u=t.pageX,a=t.pageY;return s>u&&(n=u,u=s,s=n),o>a&&(n=a,a=o,o=n),this.helper.css({left:s,top:o,width:u-s,height:a-o}),this.selectees.each(function(){var n=e.data(this,"selectable-item"),f=!1;if(!n||n.element===r.element[0])return;i.tolerance==="touch"?f=!(n.left>u||n.righta||n.bottoms&&n.righto&&n.bottomt&&e *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?e.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,n){t==="disabled"?(this.options[t]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=null,i=!1,s=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type==="static")return!1;this._refreshItems(t),e(t.target).parents().each(function(){if(e.data(this,s.widgetName+"-item")===s)return r=e(this),!1}),e.data(t.target,s.widgetName+"-item")===s&&(r=e(t.target));if(!r)return!1;if(this.options.handle&&!n){e(this.options.handle,r).find("*").addBack().each(function(){this===t.target&&(i=!0)});if(!i)return!1}return this.currentItem=r,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i,s=this.options;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),s.containment&&this._setContainment(),s.cursor&&(e("body").css("cursor")&&(this._storedCursor=e("body").css("cursor")),e("body").css("cursor",s.cursor)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!==document&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!s.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var n,r,i,s,o=this.options,u=!1;this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&this.scrollParent[0].tagName!=="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;n--){r=this.items[n],i=r.item[0],s=this._intersectsWithPointer(r);if(!s)continue;if(r.instance!==this.currentContainer)continue;if(i!==this.currentItem[0]&&this.placeholder[s===1?"next":"prev"]()[0]!==i&&!e.contains(this.placeholder[0],i)&&(this.options.type==="semi-dynamic"?!e.contains(this.element[0],i):!0)){this.direction=s===1?"down":"up";if(this.options.tolerance!=="pointer"&&!this._intersectsWithSides(r))break;this._rearrange(t,r),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),this.options.helper==="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f>u&&r+fs&&t+le[this.floating?"width":"height"]?c:s0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return e!==0&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n,r,i,s,o=[],u=[],a=this._connectWith();if(a&&t)for(n=a.length-1;n>=0;n--){i=e(a[n]);for(r=i.length-1;r>=0;r--)s=e.data(i[r],this.widgetFullName),s&&s!==this&&!s.options.disabled&&u.push([e.isFunction(s.options.items)?s.options.items.call(s.element):e(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s])}u.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(n=u.length-1;n>=0;n--)u[n][0].each(function(){o.push(this)});return e(o)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var n=0;n=0;n--){i=e(h[n]);for(r=i.length-1;r>=0;r--)s=e.data(i[r],this.widgetFullName),s&&s!==this&&!s.options.disabled&&(c.push([e.isFunction(s.options.items)?s.options.items.call(s.element[0],t,{item:this.currentItem}):e(s.options.items,s.element),s]),this.containers.push(s))}for(n=c.length-1;n>=0;n--){o=c[n][1],u=c[n][0];for(r=0,f=u.length;r=0;n--){r=this.items[n];if(r.instance!==this.currentContainer&&this.currentContainer&&r.item[0]!==this.currentItem[0])continue;i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item,t||(r.width=i.outerWidth(),r.height=i.outerHeight()),s=i.offset(),r.left=s.left,r.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)s=this.containers[n].element.offset(),this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(t){t=t||this;var n,r=t.options;if(!r.placeholder||r.placeholder.constructor===String)n=r.placeholder,r.placeholder={element:function(){var r=e(document.createElement(t.currentItem[0].nodeName)).addClass(n||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return n||(r.style.visibility="hidden"),r},update:function(e,i){if(n&&!r.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10))}};t.placeholder=e(r.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),r.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n,r,i,s,o,u,a,f,l,c=null,h=null;for(n=this.containers.length-1;n>=0;n--){if(e.contains(this.currentItem[0],this.containers[n].element[0]))continue;if(this._intersectsWith(this.containers[n].containerCache)){if(c&&e.contains(this.containers[n].element[0],c.element[0]))continue;c=this.containers[n],h=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",t,this._uiHash(this)),this.containers[n].containerCache.over=0)}if(!c)return;if(this.containers.length===1)this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1;else{i=1e4,s=null,o=this.containers[h].floating?"left":"top",u=this.containers[h].floating?"width":"height",a=this.positionAbs[o]+this.offset.click[o];for(r=this.items.length-1;r>=0;r--){if(!e.contains(this.containers[h].element[0],this.items[r].item[0]))continue;if(this.items[r].item[0]===this.currentItem[0])continue;f=this.items[r].item.offset()[o],l=!1,Math.abs(f-a)>Math.abs(f+this.items[r][u]-a)&&(l=!0,f+=this.items[r][u]),Math.abs(f-a)this.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),i.grid&&(n=this.originalPageY+Math.round((o-this.originalPageY)/i.grid[1])*i.grid[1],o=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-i.grid[1]:n+i.grid[1]:n,r=this.originalPageX+Math.round((s-this.originalPageX)/i.grid[0])*i.grid[0],s=this.containment?r-this.offset.click.left>=this.containment[0]&&r-this.offset.click.left<=this.containment[2]?r:r-this.offset.click.left>=this.containment[0]?r-i.grid[0]:r+i.grid[0]:r)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():a?0:u.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():a?0:u.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i===this.counter&&this.refreshPositions(!r)})},_clear:function(t,n){this.reverting=!1;var r,i=[];!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(r in this._storedCSS)if(this._storedCSS[r]==="auto"||this._storedCSS[r]==="static")this._storedCSS[r]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!n&&i.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!n&&i.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(n||(i.push(function(e){this._trigger("remove",e,this._uiHash())}),i.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),i.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer))));for(r=this.containers.length-1;r>=0;r--)n||i.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[r])),this.containers[r].containerCache.over&&(i.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[r])),this.containers[r].containerCache.over=0);this._storedCursor&&e("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!n){this._trigger("beforeStop",t,this._uiHash());for(r=0;r li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),!t.collapsible&&(t.active===!1||t.active==null)&&(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this.options.heightStyle!=="content"&&e.css("height","")},_setOption:function(e,t){if(e==="active"){this._activate(t);return}e==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),e==="collapsible"&&!t&&this.options.active===!1&&this._activate(0),e==="icons"&&(this._destroyIcons(),t&&this._createIcons()),e==="disabled"&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t)},_keydown:function(t){if(t.altKey||t.ctrlKey)return;var n=e.ui.keyCode,r=this.headers.length,i=this.headers.index(t.target),s=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:s=this.headers[(i+1)%r];break;case n.LEFT:case n.UP:s=this.headers[(i-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:s=this.headers[0];break;case n.END:s=this.headers[r-1]}s&&(e(t.target).attr("tabIndex",-1),e(s).attr("tabIndex",0),s.focus(),t.preventDefault())},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels();if(t.active===!1&&t.collapsible===!0||!this.headers.length)t.active=!1,this.active=e();t.active===!1?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var t,r=this.options,i=r.heightStyle,s=this.element.parent(),o=this.accordionId="ui-accordion-"+(this.element.attr("id")||++n);this.active=this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(t){var n=e(this),r=n.attr("id"),i=n.next(),s=i.attr("id");r||(r=o+"-header-"+t,n.attr("id",r)),s||(s=o+"-panel-"+t,i.attr("id",s)),n.attr("aria-controls",s),i.attr("aria-labelledby",r)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(r.event),i==="fill"?(t=s.height(),this.element.siblings(":visible").each(function(){var n=e(this),r=n.css("position");if(r==="absolute"||r==="fixed")return;t-=n.outerHeight(!0)}),this.headers.each(function(){t-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):i==="auto"&&(t=0,this.headers.next().each(function(){t=Math.max(t,e(this).css("height","").height())}).height(t))},_activate:function(t){var n=this._findActive(t)[0];if(n===this.active[0])return;n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return typeof t=="number"?this.headers.eq(t):e()},_setupEvents:function(t){var n={keydown:"_keydown"};t&&e.each(t.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var n=this.options,r=this.active,i=e(t.currentTarget),s=i[0]===r[0],o=s&&n.collapsible,u=o?e():i.next(),a=r.next(),f={oldHeader:r,oldPanel:a,newHeader:o?e():i,newPanel:u};t.preventDefault();if(s&&!n.collapsible||this._trigger("beforeActivate",t,f)===!1)return;n.active=o?!1:this.headers.index(i),this.active=s?e():i,this._toggle(f),r.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),s||(i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass("ui-accordion-content-active"))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({"aria-expanded":"false","aria-hidden":"true"}),r.prev().attr("aria-selected","false"),n.length&&r.length?r.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return e(this).attr("tabIndex")===0}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(e,t,n){var s,o,u,a=this,f=0,l=e.length&&(!t.length||e.index()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(i){if(this.element.prop("readOnly")){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",i);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",i);break;case s.UP:t=!0,this._keyEvent("previous",i);break;case s.DOWN:t=!0,this._keyEvent("next",i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&&this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r);break;case i.PAGE_DOWN:this._move("nextPage",r);break;case i.UP:this._keyEvent("previous",r);break;case i.DOWN:this._keyEvent("next",r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("
    - -
    - - - -
    -
    -

    - - session->flashdata('message')) - { - echo '
    '.$this->session->flashdata('message').'
    '; - } - if ($this->session->flashdata('error')) - { - echo '
    '.$this->session->flashdata('error').'
    '; - } - if (!empty($error)) - { - echo '
    '.$error.'
    '; - } - - -/* -End header.php file -*/ \ No newline at end of file diff --git a/gocart/views/homepage.php b/gocart/views/homepage.php deleted file mode 100644 index 1bf8bece..00000000 --- a/gocart/views/homepage.php +++ /dev/null @@ -1,102 +0,0 @@ - - - - - -
    - '; - - if($banner->link != '') - { - $target = false; - if($banner->new_window) - { - $target = 'target="_blank"'; - } - echo ''; - } - echo ''; - - if($banner->link != '') - { - echo ''; - } - - echo '
    '; - - $banner_count++; - } - ?> -
    - -
    - '; - - if($box->link != '') - { - $target = false; - if($box->new_window) - { - $target = 'target="_blank"'; - } - echo ''; - } - echo ''; - - if($box->link != '') - { - echo ''; - } - - echo '
    '; - } - ?> -
    - - \ No newline at end of file diff --git a/gocart/views/login.php b/gocart/views/login.php deleted file mode 100644 index dcffe941..00000000 --- a/gocart/views/login.php +++ /dev/null @@ -1,32 +0,0 @@ -#page_title {text-align:center;}'; -include('header.php'); ?> -
    -
    - - - - - - - - - - - -
    Email:
    Password:
    -
    - Keep me logged in!
    - - - -
    - - - -
    -
    - \ No newline at end of file diff --git a/gocart/views/my_account.php b/gocart/views/my_account.php deleted file mode 100755 index d8dc4fd5..00000000 --- a/gocart/views/my_account.php +++ /dev/null @@ -1,190 +0,0 @@ - - -'.validation_errors().''; -} -?> - - - -
    - -'company', 'class'=>'input', 'name'=>'company', 'value'=> set_value('company', $customer['company'])); -$first = array('id'=>'firstname', 'class'=>'input', 'name'=>'firstname', 'value'=> set_value('firstname', $customer['firstname'])); -$last = array('id'=>'lastname', 'class'=>'input', 'name'=>'lastname', 'value'=> set_value('lastname', $customer['lastname'])); -$email = array('id'=>'email', 'class'=>'input', 'name'=>'email', 'value'=> set_value('email', $customer['email'])); -$phone = array('id'=>'phone', 'class'=>'input', 'name'=>'phone', 'value'=> set_value('phone', $customer['phone'])); - -$password = array('id'=>'password', 'class'=>'input', 'name'=>'password', 'value'=>''); -$confirm = array('id'=>'confirm', 'class'=>'input', 'name'=>'confirm', 'value'=>''); -?> -
    -
    - -

    Account Information

    -
    -
    - Company
    - -
    -
    -
    -
    - First Name *
    - -
    -
    - Last Name *
    - -
    -
    - -
    -
    - Email *
    - -
    -
    - Phone *
    - -
    -
    - -
    -
    - checked="checked" /> Subscribe to our email list. -
    - -
    - -
    -
    If you do not wish to change your
    password, leave both fields blank.
    -
    - Password
    - -
    -
    - Confirm Password
    - -
    -
    - -
    - -
    - -
    -
    - -

    Address Manager

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

    Order History

    - - - - - - - - - - - - - - - - - - - - - -
    Ordered OnOrder NumberStatus
    - ordered_on); - - $d = explode(' ', $d); - echo $d[0].' '.$d[1].', '.$d[3]; - - ?> - order_number; ?>status;?>
    - - You have no orders in your account history. - - - diff --git a/gocart/views/order_placed.php b/gocart/views/order_placed.php deleted file mode 100644 index 76f6d9de..00000000 --- a/gocart/views/order_placed.php +++ /dev/null @@ -1,176 +0,0 @@ - - - -

    Order Number:

    - -
    -

    Account Information

    - ':'';?> -
    -
    - -
    - - -
    -

    - ':'';?> -
    -
    - ':'';?> -

    - -
    -
    -
    - -
    -

    Billing Information

    - ':'';?> -
    -
    - ':'';?> -

    - -
    - -
    - -
    -

    Payment Method

    -
    -

    Shipping Method

    - -
    -
    -

    Additional Details

    -
    How did you hear about us?
    -
    Deadline
    -
    Special Instructions?
    -

    This is a gift

    -
    Message
    - -
    - - - - - - - - - - - - - - go_cart->group_discount() > 0) : ?> - - - - - - - - - - go_cart->coupon_discount() > 0) : ?> - - - - - go_cart->order_tax() != 0) : // Only show a discount subtotal if we still have taxes to add (to show what the tax is calculated from) ?> - - - - - - - config->item('tax_shipping') && $this->go_cart->shipping_cost()>0) : ?> - - - - - - - go_cart->order_tax() != 0) : ?> - - - - - - - config->item('tax_shipping') && $this->go_cart->shipping_cost()>0) : ?> - - - - - - - go_cart->gift_card_discount() != 0) : ?> - - - - - - - - - - - - - - - go_cart->contents() as $cartkey=>$product):?> - - - - - - - - - - - - - -
    SKUNamePriceDescriptionQuantityTotals
    Group Discountgo_cart->group_discount()); ?>
    Subtotal - go_cart->subtotal()); ?>
    Coupon Discountgo_cart->coupon_discount()); ?>
    Discounted Subtotalgo_cart->discounted_subtotal()); ?>
    Shippinggo_cart->shipping_cost()); ?>
    Taxesgo_cart->order_tax()); ?>
    Shippinggo_cart->shipping_cost()); ?>
    Gift Cardgo_cart->gift_card_discount()); ?>
    Cart Totalgo_cart->total()); ?>
    $value) - { - if(is_array($value)) - { - echo '
    '.$name.':
    '; - foreach($value as $item) - echo '- '.$item.'
    '; - echo '
    '; - } - else - { - echo '
    '.$name.': '.$value.'
    '; - } - } - } - ?>
    - - diff --git a/gocart/views/product.php b/gocart/views/product.php deleted file mode 100755 index 8d3ed574..00000000 --- a/gocart/views/product.php +++ /dev/null @@ -1,293 +0,0 @@ - - -
    - -
    - - - - - - -
    - - -
    - -
    -
    - '; - - if(count($product->images) > 0 ) - { - $primary = $product->images[0]; - foreach($product->images as $image) - { - if(isset($image->primary)) - { - $primary = $image; - } - } - - $photo = ''.$product->slug.''; - } - echo $photo; - - - if(!empty($primary->caption)):?> -
    - caption;?> -
    - -
    - - images) > 0):?> -
    - images as $image): - if($image != $primary): - ?> -
    > - -
    - - -
    - -
    - - - - - - - -
    -
    -
    SKU: sku; ?>
    - saleprice > 0):?> - price: price); ?> - SALE: saleprice); ?> - - Price: price); ?> - -
    - - - 0): ?> -
    -

    Available Options

    - required) - { - $required = ' *'; - } - ?> -
    -
    name.$required;?>
    - type == 'checklist') - { - $value = array(); - if($posted_options && isset($posted_options[$option->id])) - { - $value = $posted_options[$option->id]; - } - } - else - { - $value = $option->values[0]->value; - if($posted_options && isset($posted_options[$option->id])) - { - $value = $posted_options[$option->id]; - } - } - - if($option->type == 'textfield'):?> - - - - type == 'textarea'):?> - - - - type == 'droplist'):?> - - type == 'radiolist'): - foreach ($option->values as $values): - - $checked = ''; - if($value == $values->id) - { - $checked = ' checked="checked"'; - }?> - -
    - type="radio" name="option[id;?>]" value="id;?>"/> - price != 0)?'('.format_currency($values->price).') ':''; echo $values->name;?> -
    - - - type == 'checklist'): - foreach ($option->values as $values): - - $checked = ''; - if(in_array($values->id, $value)) - { - $checked = ' checked="checked"'; - }?> -
    - type="checkbox" name="option[id;?>][]" value="id;?>"/> - price != 0)?'('.format_currency($values->price).') ':''; echo $values->name;?> -
    - - -
    - -
    - -
    -
    - config->item('allow_os_purchase') || $product->in_stock == 1) : ?> - in_stock == 0):?> -
    Out of Stock
    - - QTY - - -

    Out of Stock

    - -
    -
    - - -
    - -
    - description; ?> -
    - - - - -
    - -
    - -
    - - - - \ No newline at end of file diff --git a/gocart/views/register.php b/gocart/views/register.php deleted file mode 100644 index 0febb101..00000000 --- a/gocart/views/register.php +++ /dev/null @@ -1,67 +0,0 @@ -#gc_page_title {text-align:center;}'; -include('header.php'); ?> -'bill_company', 'class'=>'bill input', 'name'=>'company', 'value'=> set_value('company')); -$first = array('id'=>'bill_firstname', 'class'=>'bill input bill_req', 'name'=>'firstname', 'value'=> set_value('firstname')); -$last = array('id'=>'bill_lastname', 'class'=>'bill input bill_req', 'name'=>'lastname', 'value'=> set_value('lastname')); -$email = array('id'=>'bill_email', 'class'=>'bill input bill_req', 'name'=>'email', 'value'=>set_value('email')); -$phone = array('id'=>'bill_phone', 'class'=>'bill input bill_req', 'name'=>'phone', 'value'=> set_value('phone')); -?> -
    -
    - - - - -
    -
    - Company
    - -
    -
    - First Name *
    - -
    -
    - Last Name *
    - -
    -
    - -
    -
    - Email *
    - -
    -
    - Phone *
    - -
    -
    -
    - /> Subscribe to our email list. -
    -
    -
    - Password *
    - -
    -
    - Confirm *
    - -
    -
    - -
    - -
    - - - - -
    -
    - - -
    - - - - - - - - - - - - - - -go_cart->contents() as $cartkey=>$product) - { - echo ''. - ''. - ''; - - echo ''. - ''. - ''; - - if ($td == 'gc_even') - { - $td = ''; - } - else - { - $td = 'gc_even'; - } - } - ?> - - - - - - - - - - - - - go_cart->coupon_discount() > 0) : ?> - - - - - - go_cart->order_tax() != 0) : ?> - - - - - - - go_cart->order_tax() > 0) : ?> - - - - - - - go_cart->gift_card_discount() > 0) : ?> - - - - - - - - - - - - - - - -
    Item #NameDescriptionPriceQuantityTotal
    '.$product['code'].''.$product['name'].''.$product['excerpt'].'
    '; - if(isset($product['options'])) - { - foreach ($product['options'] as $name=>$value) - { - if(is_array($value)) - { - echo "
    $name:
    "; - foreach($value as $item) - echo "- $item
    "; - echo "
    "; - } - else - { - echo '
    '.$name.': '.$value.'
    '; - } - } - } - echo '
    $'.number_format($product['price'], 2, '.', ',').''.$product['quantity'].'$'.number_format($product['price']*$product['quantity'], 2, '.', ',').'
    Shipping - - $rate){ - echo ''; - echo ''; - echo ''; - - } - ?> -
    '.''.$shipping_type.''.'$'.number_format($rate, 2, '.', ',').'
    -
    Order Subtotalgo_cart->subtotal(), 2, '.', ','); - - ?>
    Coupon Discountgo_cart->coupon_discount(), 2, '.', ','); - - ?>
    Discounted Subtotalgo_cart->discounted_subtotal(), 2, '.', ','); - - ?>
    Taxconfig->item('tax_shipping')) - { - echo '$'.number_format($this->go_cart->order_tax(), 2, '.', ','); - } - ?>
    Gift Card - -$go_cart->gift_card_discount(), 2, '.', ','); ?>
    Totalgo_cart->total(), 2, '.', ','); ?>
    - - - - diff --git a/gocart/views/view_cart.php b/gocart/views/view_cart.php deleted file mode 100644 index 515c177a..00000000 --- a/gocart/views/view_cart.php +++ /dev/null @@ -1,177 +0,0 @@ - - - - -go_cart->total_items()==0):?> -
    There are no products in your cart!
    - - - - - - - - - - - - - - - - - go_cart->group_discount() > 0) : ?> - - - - - - - - - - go_cart->coupon_discount() > 0) : ?> - - - - - go_cart->order_tax() != 0) : // Only show a discount subtotal if we still have taxes to add (to show what the tax is calculated from) ?> - - - - - - go_cart->get_custom_charges(); - if(!empty($charges)) - { - foreach($charges as $name=>$price) : ?> - - - - - - - config->item('tax_shipping') && $this->go_cart->shipping_cost()>0) : ?> - - - - - - go_cart->order_tax() != 0) : ?> - - - - - - - config->item('tax_shipping') && $this->go_cart->shipping_cost()>0) : ?> - - - - - - go_cart->gift_card_discount() != 0) : ?> - - - - - - - - - - - - - - - go_cart->contents() as $cartkey=>$product):?> - - - - - - - - - - - - - -
    SKUNamePriceDescriptionQuantityTotals
    Group Discountgo_cart->group_discount()); ?>
    Subtotal - go_cart->subtotal()); ?>
    Coupon Discountgo_cart->coupon_discount()); ?>
    Discounted Subtotalgo_cart->discounted_subtotal()); ?>
    Shippinggo_cart->shipping_cost()); ?>
    Taxesgo_cart->order_tax()); ?>
    Shippinggo_cart->shipping_cost()); ?>
    Gift Cardgo_cart->gift_card_discount()); ?>
    Cart Totalgo_cart->total()); ?>
    $value) - { - if(is_array($value)) - { - echo '
    '.$name.':
    '; - foreach($value as $item) - echo '- '.$item.'
    '; - echo '
    '; - } - else - { - echo '
    '.$name.': '.$value.'
    '; - } - } - } - ?>
    - -
    -
    - - - - - - - - - - -
    - If you have a coupon, enter the code here:
    - -
     
    If you have a Gift Certificate, enter the code here:
    - -
    -
    -
    - - Customer_model->is_logged_in(false,false)): ?> - - - - - - Customer_model->is_logged_in(false,false) || !$this->config->item('require_login')): ?> - - - - -
    - - - - - \ No newline at end of file diff --git a/images/admin/bg_dots.gif b/images/admin/bg_dots.gif deleted file mode 100644 index 5cf5d9b5..00000000 Binary files a/images/admin/bg_dots.gif and /dev/null differ diff --git a/images/admin/bg_header.png b/images/admin/bg_header.png deleted file mode 100644 index d8bc19df..00000000 Binary files a/images/admin/bg_header.png and /dev/null differ diff --git a/images/admin/bg_header_glow.png b/images/admin/bg_header_glow.png deleted file mode 100644 index f06349d8..00000000 Binary files a/images/admin/bg_header_glow.png and /dev/null differ diff --git a/images/admin/bg_menu_item.png b/images/admin/bg_menu_item.png deleted file mode 100644 index a1634781..00000000 Binary files a/images/admin/bg_menu_item.png and /dev/null differ diff --git a/images/admin/bg_menu_item_2.png b/images/admin/bg_menu_item_2.png deleted file mode 100644 index ed851360..00000000 Binary files a/images/admin/bg_menu_item_2.png and /dev/null differ diff --git a/images/admin/login_logo.png b/images/admin/login_logo.png deleted file mode 100644 index 53d0cdc6..00000000 Binary files a/images/admin/login_logo.png and /dev/null differ diff --git a/images/admin/logo.png b/images/admin/logo.png deleted file mode 100644 index 6bb5d6e7..00000000 Binary files a/images/admin/logo.png and /dev/null differ diff --git a/images/ajax-loader.gif b/images/ajax-loader.gif deleted file mode 100644 index af4b18a3..00000000 Binary files a/images/ajax-loader.gif and /dev/null differ diff --git a/images/body_bg.gif b/images/body_bg.gif deleted file mode 100644 index 714bd276..00000000 Binary files a/images/body_bg.gif and /dev/null differ diff --git a/images/csd_logo.png b/images/csd_logo.png deleted file mode 100644 index 4a6df2bd..00000000 Binary files a/images/csd_logo.png and /dev/null differ diff --git a/images/edit.gif b/images/edit.gif deleted file mode 100644 index 0fcef14d..00000000 Binary files a/images/edit.gif and /dev/null differ diff --git a/images/footer_bg.png b/images/footer_bg.png deleted file mode 100644 index b0ef006d..00000000 Binary files a/images/footer_bg.png and /dev/null differ diff --git a/images/footer_lid.gif b/images/footer_lid.gif deleted file mode 100644 index 468686c9..00000000 Binary files a/images/footer_lid.gif and /dev/null differ diff --git a/images/giftcard.gif b/images/giftcard.gif deleted file mode 100644 index c3535f30..00000000 Binary files a/images/giftcard.gif and /dev/null differ diff --git a/images/input_bg.png b/images/input_bg.png deleted file mode 100644 index b29cc4eb..00000000 Binary files a/images/input_bg.png and /dev/null differ diff --git a/images/loading.gif b/images/loading.gif deleted file mode 100644 index b4695d81..00000000 Binary files a/images/loading.gif and /dev/null differ diff --git a/images/loadingAnimation.gif b/images/loadingAnimation.gif deleted file mode 100644 index 82290f48..00000000 Binary files a/images/loadingAnimation.gif and /dev/null differ diff --git a/images/macFFBgHack.png b/images/macFFBgHack.png deleted file mode 100644 index c6473b32..00000000 Binary files a/images/macFFBgHack.png and /dev/null differ diff --git a/images/masterCard-icon.png b/images/masterCard-icon.png deleted file mode 100644 index 65240462..00000000 Binary files a/images/masterCard-icon.png and /dev/null differ diff --git a/images/menu_left_wrap.gif b/images/menu_left_wrap.gif deleted file mode 100644 index e50c1dde..00000000 Binary files a/images/menu_left_wrap.gif and /dev/null differ diff --git a/images/menu_right_wrap.gif b/images/menu_right_wrap.gif deleted file mode 100644 index c54d3857..00000000 Binary files a/images/menu_right_wrap.gif and /dev/null differ diff --git a/images/no_image_available.png b/images/no_image_available.png deleted file mode 100644 index 221ba26b..00000000 Binary files a/images/no_image_available.png and /dev/null differ diff --git a/images/visa-icon.png b/images/visa-icon.png deleted file mode 100644 index 4c6007d0..00000000 Binary files a/images/visa-icon.png and /dev/null differ diff --git a/index.php b/index.php index 81d67470..1cc9eefc 100644 --- a/index.php +++ b/index.php @@ -3,8 +3,8 @@ //if the gocart config file doesn't exist, the cart hasn't been installed. if(!file_exists(dirname($_SERVER['SCRIPT_FILENAME']).'/gocart/config/gocart.php')) { - $path = rtrim($_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']), '/').'/'; - + $folder = dirname($_SERVER['SCRIPT_NAME']); + $path = rtrim($_SERVER['HTTP_HOST'].$folder, '/\\').'/'; header('Location: http://'.$path.'install'); die; } diff --git a/install/application/controllers/install.php b/install/application/controllers/install.php old mode 100755 new mode 100644 index 88690d72..1030476a --- a/install/application/controllers/install.php +++ b/install/application/controllers/install.php @@ -23,7 +23,7 @@ public function index() are we installing into a subfolder? if not, then the subfolder variabel below will be empty. If we are it will contain a value. */ - $subfolder = rtrim(dirname(dirname($_SERVER['PHP_SELF'])), '/').'/'; + $subfolder = rtrim(dirname(dirname($_SERVER['PHP_SELF'])), '/\\').'/'; $data['subfolder'] = $subfolder; //make sure the config folder is writable @@ -38,8 +38,8 @@ public function index() $this->form_validation->set_rules('hostname', 'Hostname', 'required'); $this->form_validation->set_rules('database', 'Database Name', 'required'); $this->form_validation->set_rules('username', 'Username', 'required'); - $this->form_validation->set_rules('password', 'Password', 'required'); - $this->form_validation->set_rules('prefix', 'Database Prefix', 'required'); + $this->form_validation->set_rules('password', 'Password', 'trim'); + $this->form_validation->set_rules('prefix', 'Database Prefix', 'trim'); $this->form_validation->set_rules('admin_email', 'Admin Email', 'required|valid_email'); $this->form_validation->set_rules('admin_password', 'Admin Password', 'required|min_length[5]'); @@ -71,29 +71,31 @@ public function index() $config['dbdriver'] = "mysql"; $config['dbprefix'] = ""; $config['pconnect'] = FALSE; - $config['db_debug'] = TRUE; + $config['db_debug'] = FALSE; $config['cache_on'] = FALSE; $config['cachedir'] = ""; $config['char_set'] = "utf8"; $config['dbcollat'] = "utf8_general_ci"; $config['active_r'] = TRUE; - $db = $this->load->database($config, true); + // Unset any existing DB information + unset($this->db); + $this->load->database($config); - if($db) + if (is_resource($this->db->conn_id) OR is_object($this->db->conn_id)) { - $this->load->model('Install_model'); - - //open the database and run the install sql script. - $query = $this->Install_model->get_query($this->input->post('prefix')); + + $queries = $this->load->view('templates/sql', '', true); + $queries = explode('-- new query', $queries); - foreach($query as $q) + foreach($queries as $q) { - $db->query($q); + $query = str_replace('prefix_', $this->input->post('prefix'), $q); + $this->db->query($query); } //set up the admin user - $db->insert($this->input->post('prefix').'admin', array('access'=>'Admin', 'email'=>$this->input->post('admin_email'), 'password'=>sha1($this->input->post('admin_password') ) ) ); + $this->db->insert($this->input->post('prefix').'admin', array('access'=>'Admin', 'email'=>$this->input->post('admin_email'), 'password'=>sha1($this->input->post('admin_password') ) ) ); //setup the database config file $settings = array(); @@ -163,4 +165,4 @@ public function index() } /* End of file welcome.php */ -/* Location: ./application/controllers/install.php */ \ No newline at end of file +/* Location: ./application/controllers/install.php */ diff --git a/install/application/models/install_model.php b/install/application/models/install_model.php deleted file mode 100755 index 4fc3d678..00000000 --- a/install/application/models/install_model.php +++ /dev/null @@ -1,4639 +0,0 @@ -Congrats on your new {site_name} gift card!

    Card Code: {code}
    Gift Amount: {amount}
    From: {from}
    Redeemable at: {site_name} {url}

    Personal Message from Sender:
    {personal_message}

    Be sure to save this email in a safe place. Your gift card code is as good as cash.

    '), - ('3', '0', 'order', 'Order Shipped Notification', 'Your order has shipped (order: {order_number})!', '

    Dear {customer_name},

    \n

    Thank you for your purchase at {site_name}!

    \n

    This message is to inform you that your order ({order_number}) has been shipped.

    \n

    Enjoy your purchase!

    '), - ('6', '0', 'internal', 'Registration Confirmation', 'Thank you for registring at {site_name}!', '

    Dear {customer_name},

    \n

    Thanks for registering at {site_name}. Your participation is appreciated. After registering, you should have been logged in automatically. You may access your account by using the email address this notice was sent to, and the password you signed up with. If you forget your password, on the login page, click the \"forgot password\" link and you can get a new password generated and sent to you.

    Thanks,
    {site_name}

    '), - ('7', '0', 'internal', 'Order Submitted Confirmation', 'Thank you for your order with {site_name}!', '

    Dear {customer_name},

    \n

    Thank you for your order with {site_name}!

    \n

    {order_summary}

    ');"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."categories`;"; - - - $query[] = "CREATE TABLE `".$prefix."categories` ( - `id` int(10) unsigned NOT NULL auto_increment, - `parent_id` int(10) unsigned NOT NULL, - `name` varchar(64) collate utf8_general_ci NOT NULL, - `slug` varchar(64) collate utf8_general_ci NOT NULL, - `route_id` int(11) NOT NULL, - `description` text collate utf8_general_ci NOT NULL, - `excerpt` text collate utf8_general_ci NOT NULL, - `sequence` int(10) unsigned NOT NULL, - `image` varchar(255) collate utf8_general_ci NOT NULL, - `seo_title` text collate utf8_general_ci NOT NULL, - `meta` text collate utf8_general_ci NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."category_products`;"; - - - $query[] = "CREATE TABLE `".$prefix."category_products` ( - `product_id` int(10) unsigned NOT NULL, - `category_id` int(10) unsigned NOT NULL, - `sequence` int(10) unsigned NOT NULL default '0', - PRIMARY KEY (`product_id`,`category_id`) - ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."countries`;"; - - - $query[] = "CREATE TABLE `".$prefix."countries` ( - `id` int(11) NOT NULL auto_increment, - `sequence` int(11) NOT NULL default '0', - `name` varchar(128) collate utf8_bin NOT NULL, - `iso_code_2` varchar(2) collate utf8_bin NOT NULL default '', - `iso_code_3` varchar(3) collate utf8_bin NOT NULL default '', - `address_format` text character set utf8 NOT NULL, - `postcode_required` int(1) NOT NULL default '0', - `status` int(1) NOT NULL default '1', - `tax` float(10,5) NOT NULL default '0.00000', - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=240 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;"; - - - $query[] = "INSERT INTO `".$prefix."countries` VALUES ('1', '3', 'Afghanistan', 'AF', 'AFG', '', '0', '1', '0.00000'), - ('2', '4', 'Albania', 'AL', 'ALB', '', '0', '1', '0.00000'), - ('3', '5', 'Algeria', 'DZ', 'DZA', '', '1', '1', '0.00000'), - ('4', '6', 'American Samoa', 'AS', 'ASM', '', '0', '1', '0.00000'), - ('5', '7', 'Andorra', 'AD', 'AND', '', '0', '1', '0.00000'), - ('6', '8', 'Angola', 'AO', 'AGO', '', '0', '1', '0.00000'), - ('7', '9', 'Anguilla', 'AI', 'AIA', '', '0', '1', '0.00000'), - ('8', '10', 'Antarctica', 'AQ', 'ATA', '', '1', '1', '0.00000'), - ('9', '11', 'Antigua and Barbuda', 'AG', 'ATG', '', '0', '1', '0.00000'), - ('10', '12', 'Argentina', 'AR', 'ARG', '', '1', '1', '0.00000'), - ('11', '13', 'Armenia', 'AM', 'ARM', '', '1', '1', '0.00000'), - ('12', '14', 'Aruba', 'AW', 'ABW', '', '0', '1', '0.00000'), - ('13', '15', 'Australia', 'AU', 'AUS', '', '1', '1', '0.00000'), - ('14', '16', 'Austria', 'AT', 'AUT', '', '1', '1', '0.00000'), - ('15', '17', 'Azerbaijan', 'AZ', 'AZE', '', '1', '1', '0.00000'), - ('16', '18', 'Bahamas', 'BS', 'BHS', '', '0', '1', '0.00000'), - ('17', '19', 'Bahrain', 'BH', 'BHR', '', '0', '1', '0.00000'), - ('18', '20', 'Bangladesh', 'BD', 'BGD', '', '1', '1', '0.00000'), - ('19', '21', 'Barbados', 'BB', 'BRB', '', '0', '1', '0.00000'), - ('20', '22', 'Belarus', 'BY', 'BLR', '', '1', '1', '0.00000'), - ('21', '23', 'Belgium', 'BE', 'BEL', '', '1', '1', '0.00000'), - ('22', '24', 'Belize', 'BZ', 'BLZ', '', '0', '1', '0.00000'), - ('23', '25', 'Benin', 'BJ', 'BEN', '', '0', '1', '0.00000'), - ('24', '26', 'Bermuda', 'BM', 'BMU', '', '0', '1', '0.00000'), - ('25', '27', 'Bhutan', 'BT', 'BTN', '', '0', '1', '0.00000'), - ('26', '28', 'Bolivia', 'BO', 'BOL', '', '0', '1', '0.00000'), - ('27', '29', 'Bosnia and Herzegowina', 'BA', 'BIH', '', '1', '1', '0.00000'), - ('28', '30', 'Botswana', 'BW', 'BWA', '', '0', '1', '0.00000'), - ('29', '31', 'Bouvet Island', 'BV', 'BVT', '', '1', '1', '0.00000'), - ('30', '32', 'Brazil', 'BR', 'BRA', '', '1', '1', '0.00000'), - ('31', '33', 'British Indian Ocean Territory', 'IO', 'IOT', '', '1', '1', '0.00000'), - ('32', '34', 'Brunei Darussalam', 'BN', 'BRN', '', '0', '1', '0.00000'), - ('33', '35', 'Bulgaria', 'BG', 'BGR', '', '1', '1', '0.00000'), - ('34', '36', 'Burkina Faso', 'BF', 'BFA', '', '0', '1', '0.00000'), - ('35', '37', 'Burundi', 'BI', 'BDI', '', '0', '1', '0.00000'), - ('36', '38', 'Cambodia', 'KH', 'KHM', '', '0', '1', '0.00000'), - ('37', '39', 'Cameroon', 'CM', 'CMR', '', '0', '1', '0.00000'), - ('38', '1', 'Canada', 'CA', 'CAN', '', '1', '1', '0.00000'), - ('39', '40', 'Cape Verde', 'CV', 'CPV', '', '0', '1', '0.00000'), - ('40', '41', 'Cayman Islands', 'KY', 'CYM', '', '0', '1', '0.00000'), - ('41', '42', 'Central African Republic', 'CF', 'CAF', '', '0', '1', '0.00000'), - ('42', '43', 'Chad', 'TD', 'TCD', '', '0', '1', '0.00000'), - ('43', '44', 'Chile', 'CL', 'CHL', '', '0', '1', '0.00000'), - ('44', '45', 'China', 'CN', 'CHN', '', '1', '1', '0.00000'), - ('45', '46', 'Christmas Island', 'CX', 'CXR', '', '1', '1', '0.00000'), - ('46', '47', 'Cocos (Keeling) Islands', 'CC', 'CCK', '', '1', '1', '0.00000'), - ('47', '48', 'Colombia', 'CO', 'COL', '', '0', '1', '0.00000'), - ('48', '49', 'Comoros', 'KM', 'COM', '', '1', '1', '0.00000'), - ('49', '50', 'Congo', 'CG', 'COG', '', '0', '1', '0.00000'), - ('50', '51', 'Cook Islands', 'CK', 'COK', '', '0', '1', '0.00000'), - ('51', '52', 'Costa Rica', 'CR', 'CRI', '', '0', '1', '0.00000'), - ('52', '53', 'Cote D\'Ivoire', 'CI', 'CIV', '', '1', '1', '0.00000'), - ('53', '54', 'Croatia', 'HR', 'HRV', '', '1', '1', '0.00000'), - ('54', '55', 'Cuba', 'CU', 'CUB', '', '1', '1', '0.00000'), - ('55', '56', 'Cyprus', 'CY', 'CYP', '', '1', '1', '0.00000'), - ('56', '57', 'Czech Republic', 'CZ', 'CZE', '', '1', '1', '0.00000'), - ('57', '58', 'Denmark', 'DK', 'DNK', '', '1', '1', '0.00000'), - ('58', '59', 'Djibouti', 'DJ', 'DJI', '', '0', '1', '0.00000'), - ('59', '60', 'Dominica', 'DM', 'DMA', '', '0', '1', '0.00000'), - ('60', '61', 'Dominican Republic', 'DO', 'DOM', '', '0', '1', '0.00000'), - ('61', '62', 'East Timor', 'TP', 'TMP', '', '1', '1', '0.00000'), - ('62', '63', 'Ecuador', 'EC', 'ECU', '', '0', '1', '0.00000'), - ('63', '64', 'Egypt', 'EG', 'EGY', '', '0', '1', '0.00000'), - ('64', '65', 'El Salvador', 'SV', 'SLV', '', '0', '1', '0.00000'), - ('65', '66', 'Equatorial Guinea', 'GQ', 'GNQ', '', '0', '1', '0.00000'), - ('66', '67', 'Eritrea', 'ER', 'ERI', '', '0', '1', '0.00000'), - ('67', '68', 'Estonia', 'EE', 'EST', '', '1', '1', '0.00000'), - ('68', '69', 'Ethiopia', 'ET', 'ETH', '', '0', '1', '0.00000'), - ('69', '70', 'Falkland Islands (Malvinas)', 'FK', 'FLK', '', '1', '1', '0.00000'), - ('70', '71', 'Faroe Islands', 'FO', 'FRO', '', '1', '1', '0.00000'), - ('71', '72', 'Fiji', 'FJ', 'FJI', '', '0', '1', '0.00000'), - ('72', '73', 'Finland', 'FI', 'FIN', '', '1', '1', '0.00000'), - ('73', '74', 'France', 'FR', 'FRA', '', '1', '1', '0.00000'), - ('74', '75', 'France, Metropolitan', 'FX', 'FXX', '', '1', '1', '0.00000'), - ('75', '76', 'French Guiana', 'GF', 'GUF', '', '0', '1', '0.00000'), - ('76', '77', 'French Polynesia', 'PF', 'PYF', '', '0', '1', '0.00000'), - ('77', '78', 'French Southern Territories', 'TF', 'ATF', '', '1', '1', '0.00000'), - ('78', '79', 'Gabon', 'GA', 'GAB', '', '0', '1', '0.00000'), - ('79', '80', 'Gambia', 'GM', 'GMB', '', '0', '1', '0.00000'), - ('80', '81', 'Georgia', 'GE', 'GEO', '', '1', '1', '0.00000'), - ('81', '82', 'Germany', 'DE', 'DEU', '', '1', '1', '0.00000'), - ('82', '83', 'Ghana', 'GH', 'GHA', '', '0', '1', '0.00000'), - ('83', '84', 'Gibraltar', 'GI', 'GIB', '', '0', '1', '0.00000'), - ('84', '85', 'Greece', 'GR', 'GRC', '', '1', '1', '0.00000'), - ('85', '86', 'Greenland', 'GL', 'GRL', '', '1', '1', '0.00000'), - ('86', '87', 'Grenada', 'GD', 'GRD', '', '0', '1', '0.00000'), - ('87', '88', 'Guadeloupe', 'GP', 'GLP', '', '0', '1', '0.00000'), - ('88', '89', 'Guam', 'GU', 'GUM', '', '0', '1', '0.00000'), - ('89', '90', 'Guatemala', 'GT', 'GTM', '', '0', '1', '0.00000'), - ('90', '91', 'Guinea', 'GN', 'GIN', '', '0', '1', '0.00000'), - ('91', '92', 'Guinea-bissau', 'GW', 'GNB', '', '0', '1', '0.00000'), - ('92', '93', 'Guyana', 'GY', 'GUY', '', '0', '1', '0.00000'), - ('93', '94', 'Haiti', 'HT', 'HTI', '', '0', '1', '0.00000'), - ('94', '95', 'Heard and Mc Donald Islands', 'HM', 'HMD', '', '1', '1', '0.00000'), - ('95', '96', 'Honduras', 'HN', 'HND', '', '0', '1', '0.00000'), - ('96', '97', 'Hong Kong', 'HK', 'HKG', '', '0', '1', '0.00000'), - ('97', '98', 'Hungary', 'HU', 'HUN', '', '1', '1', '0.00000'), - ('98', '99', 'Iceland', 'IS', 'ISL', '', '1', '1', '0.00000'), - ('99', '100', 'India', 'IN', 'IND', '', '1', '1', '0.00000'), - ('100', '101', 'Indonesia', 'ID', 'IDN', '', '1', '1', '0.00000'), - ('101', '102', 'Iran (Islamic Republic of)', 'IR', 'IRN', '', '1', '1', '0.00000'), - ('102', '103', 'Iraq', 'IQ', 'IRQ', '', '0', '1', '0.00000'), - ('103', '104', 'Ireland', 'IE', 'IRL', '', '0', '1', '0.00000'), - ('104', '105', 'Israel', 'IL', 'ISR', '', '1', '1', '0.00000'), - ('105', '106', 'Italy', 'IT', 'ITA', '', '1', '1', '0.00000'), - ('106', '107', 'Jamaica', 'JM', 'JAM', '', '0', '1', '0.00000'), - ('107', '108', 'Japan', 'JP', 'JPN', '', '1', '1', '0.00000'), - ('108', '109', 'Jordan', 'JO', 'JOR', '', '0', '1', '0.00000'), - ('109', '110', 'Kazakhstan', 'KZ', 'KAZ', '', '1', '1', '0.00000'), - ('110', '111', 'Kenya', 'KE', 'KEN', '', '0', '1', '0.00000'), - ('111', '112', 'Kiribati', 'KI', 'KIR', '', '0', '1', '0.00000'), - ('112', '113', 'North Korea', 'KP', 'PRK', '', '1', '1', '0.00000'), - ('113', '114', 'Korea, Republic of', 'KR', 'KOR', '', '1', '1', '0.00000'), - ('114', '115', 'Kuwait', 'KW', 'KWT', '', '0', '1', '0.00000'), - ('115', '116', 'Kyrgyzstan', 'KG', 'KGZ', '', '1', '1', '0.00000'), - ('116', '117', 'Lao People\'s Democratic Republic', 'LA', 'LAO', '', '0', '1', '0.00000'), - ('117', '118', 'Latvia', 'LV', 'LVA', '', '1', '1', '0.00000'), - ('118', '119', 'Lebanon', 'LB', 'LBN', '', '0', '1', '0.00000'), - ('119', '120', 'Lesotho', 'LS', 'LSO', '', '0', '1', '0.00000'), - ('120', '121', 'Liberia', 'LR', 'LBR', '', '0', '1', '0.00000'), - ('121', '122', 'Libyan Arab Jamahiriya', 'LY', 'LBY', '', '1', '1', '0.00000'), - ('122', '123', 'Liechtenstein', 'LI', 'LIE', '', '1', '1', '0.00000'), - ('123', '124', 'Lithuania', 'LT', 'LTU', '', '1', '1', '0.00000'), - ('124', '125', 'Luxembourg', 'LU', 'LUX', '', '1', '1', '0.00000'), - ('125', '126', 'Macau', 'MO', 'MAC', '', '0', '1', '0.00000'), - ('126', '127', 'Macedonia', 'MK', 'MKD', '', '1', '1', '0.00000'), - ('127', '128', 'Madagascar', 'MG', 'MDG', '', '0', '1', '0.00000'), - ('128', '129', 'Malawi', 'MW', 'MWI', '', '1', '1', '0.00000'), - ('129', '130', 'Malaysia', 'MY', 'MYS', '', '1', '1', '0.00000'), - ('130', '131', 'Maldives', 'MV', 'MDV', '', '0', '1', '0.00000'), - ('131', '132', 'Mali', 'ML', 'MLI', '', '0', '1', '0.00000'), - ('132', '133', 'Malta', 'MT', 'MLT', '', '0', '1', '0.00000'), - ('133', '134', 'Marshall Islands', 'MH', 'MHL', '', '1', '1', '0.00000'), - ('134', '135', 'Martinique', 'MQ', 'MTQ', '', '1', '1', '0.00000'), - ('135', '136', 'Mauritania', 'MR', 'MRT', '', '0', '1', '0.00000'), - ('136', '137', 'Mauritius', 'MU', 'MUS', '', '0', '1', '0.00000'), - ('137', '138', 'Mayotte', 'YT', 'MYT', '', '1', '1', '0.00000'), - ('138', '139', 'Mexico', 'MX', 'MEX', '', '1', '1', '0.00000'), - ('139', '140', 'Micronesia, Federated States of', 'FM', 'FSM', '', '1', '1', '0.00000'), - ('140', '141', 'Moldova, Republic of', 'MD', 'MDA', '', '1', '1', '0.00000'), - ('141', '142', 'Monaco', 'MC', 'MCO', '', '1', '1', '0.00000'), - ('142', '143', 'Mongolia', 'MN', 'MNG', '', '1', '1', '0.00000'), - ('143', '144', 'Montserrat', 'MS', 'MSR', '', '0', '1', '0.00000'), - ('144', '145', 'Morocco', 'MA', 'MAR', '', '0', '1', '0.00000'), - ('145', '146', 'Mozambique', 'MZ', 'MOZ', '', '0', '1', '0.00000'), - ('146', '147', 'Myanmar', 'MM', 'MMR', '', '1', '1', '0.00000'), - ('147', '148', 'Namibia', 'NA', 'NAM', '', '0', '1', '0.00000'), - ('148', '149', 'Nauru', 'NR', 'NRU', '', '1', '1', '0.00000'), - ('149', '150', 'Nepal', 'NP', 'NPL', '', '0', '1', '0.00000'), - ('150', '151', 'Netherlands', 'NL', 'NLD', '', '1', '1', '0.00000'), - ('151', '152', 'Netherlands Antilles', 'AN', 'ANT', '', '0', '1', '0.00000'), - ('152', '153', 'New Caledonia', 'NC', 'NCL', '', '0', '1', '0.00000'), - ('153', '154', 'New Zealand', 'NZ', 'NZL', '', '1', '1', '0.00000'), - ('154', '155', 'Nicaragua', 'NI', 'NIC', '', '0', '1', '0.00000'), - ('155', '156', 'Niger', 'NE', 'NER', '', '0', '1', '0.00000'), - ('156', '157', 'Nigeria', 'NG', 'NGA', '', '0', '1', '0.00000'), - ('157', '158', 'Niue', 'NU', 'NIU', '', '1', '1', '0.00000'), - ('158', '159', 'Norfolk Island', 'NF', 'NFK', '', '0', '1', '0.00000'), - ('159', '160', 'Northern Mariana Islands', 'MP', 'MNP', '', '0', '1', '0.00000'), - ('160', '161', 'Norway', 'NO', 'NOR', '', '1', '1', '0.00000'), - ('161', '162', 'Oman', 'OM', 'OMN', '', '0', '1', '0.00000'), - ('162', '163', 'Pakistan', 'PK', 'PAK', '', '1', '1', '0.00000'), - ('163', '164', 'Palau', 'PW', 'PLW', '', '1', '1', '0.00000'), - ('164', '165', 'Panama', 'PA', 'PAN', '', '0', '1', '0.00000'), - ('165', '166', 'Papua New Guinea', 'PG', 'PNG', '', '0', '1', '0.00000'), - ('166', '167', 'Paraguay', 'PY', 'PRY', '', '0', '1', '0.00000'), - ('167', '168', 'Peru', 'PE', 'PER', '', '0', '1', '0.00000'), - ('168', '169', 'Philippines', 'PH', 'PHL', '', '1', '1', '0.00000'), - ('169', '170', 'Pitcairn', 'PN', 'PCN', '', '1', '1', '0.00000'), - ('170', '171', 'Poland', 'PL', 'POL', '', '1', '1', '0.00000'), - ('171', '172', 'Portugal', 'PT', 'PRT', '', '1', '1', '0.00000'), - ('172', '173', 'Puerto Rico', 'PR', 'PRI', '', '1', '1', '0.00000'), - ('173', '174', 'Qatar', 'QA', 'QAT', '', '0', '1', '0.00000'), - ('174', '175', 'Reunion', 'RE', 'REU', '', '1', '1', '0.00000'), - ('175', '176', 'Romania', 'RO', 'ROM', '', '1', '1', '0.00000'), - ('176', '177', 'Russian Federation', 'RU', 'RUS', '', '1', '1', '0.00000'), - ('177', '178', 'Rwanda', 'RW', 'RWA', '', '0', '1', '0.00000'), - ('178', '179', 'Saint Kitts and Nevis', 'KN', 'KNA', '', '1', '1', '0.00000'), - ('179', '180', 'Saint Lucia', 'LC', 'LCA', '', '1', '1', '0.00000'), - ('180', '181', 'Saint Vincent and the Grenadines', 'VC', 'VCT', '', '1', '1', '0.00000'), - ('181', '182', 'Samoa', 'WS', 'WSM', '', '1', '1', '0.00000'), - ('182', '183', 'San Marino', 'SM', 'SMR', '', '1', '1', '0.00000'), - ('183', '184', 'Sao Tome and Principe', 'ST', 'STP', '', '1', '1', '0.00000'), - ('184', '185', 'Saudi Arabia', 'SA', 'SAU', '', '1', '1', '0.00000'), - ('185', '186', 'Senegal', 'SN', 'SEN', '', '0', '1', '0.00000'), - ('186', '187', 'Seychelles', 'SC', 'SYC', '', '0', '1', '0.00000'), - ('187', '188', 'Sierra Leone', 'SL', 'SLE', '', '0', '1', '0.00000'), - ('188', '189', 'Singapore', 'SG', 'SGP', '', '1', '1', '0.00000'), - ('189', '190', 'Slovak Republic', 'SK', 'SVK', '{firstname} {lastname}\r\n{company}\r\n{address_1}\n{address_2}\r\n{city} {postcode}\r\n{zone}\r\n{country}', '1', '1', '0.00000'), - ('190', '191', 'Slovenia', 'SI', 'SVN', '', '1', '1', '0.00000'), - ('191', '192', 'Solomon Islands', 'SB', 'SLB', '', '0', '1', '0.00000'), - ('192', '193', 'Somalia', 'SO', 'SOM', '', '1', '1', '0.00000'), - ('193', '194', 'South Africa', 'ZA', 'ZAF', '', '1', '1', '0.00000'), - ('194', '195', 'South Georgia & South Sandwich Islands', 'GS', 'SGS', '', '1', '1', '0.00000'), - ('195', '196', 'Spain', 'ES', 'ESP', '', '1', '1', '0.00000'), - ('196', '197', 'Sri Lanka', 'LK', 'LKA', '', '1', '1', '0.00000'), - ('197', '198', 'St. Helena', 'SH', 'SHN', '', '1', '1', '0.00000'), - ('198', '199', 'St. Pierre and Miquelon', 'PM', 'SPM', '', '1', '1', '0.00000'), - ('199', '200', 'Sudan', 'SD', 'SDN', '', '1', '1', '0.00000'), - ('200', '201', 'Suriname', 'SR', 'SUR', '', '0', '1', '0.00000'), - ('201', '202', 'Svalbard and Jan Mayen Islands', 'SJ', 'SJM', '', '1', '1', '0.00000'), - ('202', '203', 'Swaziland', 'SZ', 'SWZ', '', '0', '1', '0.00000'), - ('203', '204', 'Sweden', 'SE', 'SWE', '', '1', '1', '0.00000'), - ('204', '205', 'Switzerland', 'CH', 'CHE', '', '1', '1', '0.00000'), - ('205', '206', 'Syrian Arab Republic', 'SY', 'SYR', '', '0', '1', '0.00000'), - ('206', '207', 'Taiwan', 'TW', 'TWN', '', '1', '1', '0.00000'), - ('207', '208', 'Tajikistan', 'TJ', 'TJK', '', '1', '1', '0.00000'), - ('208', '209', 'Tanzania, United Republic of', 'TZ', 'TZA', '', '0', '1', '0.00000'), - ('209', '210', 'Thailand', 'TH', 'THA', '', '1', '1', '0.00000'), - ('210', '211', 'Togo', 'TG', 'TGO', '', '0', '1', '0.00000'), - ('211', '212', 'Tokelau', 'TK', 'TKL', '', '1', '1', '0.00000'), - ('212', '213', 'Tonga', 'TO', 'TON', '', '0', '1', '0.00000'), - ('213', '214', 'Trinidad and Tobago', 'TT', 'TTO', '', '0', '1', '0.00000'), - ('214', '215', 'Tunisia', 'TN', 'TUN', '', '0', '1', '0.00000'), - ('215', '216', 'Turkey', 'TR', 'TUR', '', '1', '1', '0.00000'), - ('216', '217', 'Turkmenistan', 'TM', 'TKM', '', '1', '1', '0.00000'), - ('217', '218', 'Turks and Caicos Islands', 'TC', 'TCA', '', '0', '1', '0.00000'), - ('218', '219', 'Tuvalu', 'TV', 'TUV', '', '0', '1', '0.00000'), - ('219', '220', 'Uganda', 'UG', 'UGA', '', '0', '1', '0.00000'), - ('220', '221', 'Ukraine', 'UA', 'UKR', '', '1', '1', '0.00000'), - ('221', '222', 'United Arab Emirates', 'AE', 'ARE', '', '0', '1', '0.00000'), - ('222', '2', 'United Kingdom', 'GB', 'GBR', '', '1', '1', '0.00000'), - ('223', '0', 'United States', 'US', 'USA', '{firstname} {lastname}\n{company}\n{address_1}\n{address_2}\n{city}, {zone} {postcode}\n{country}', '1', '1', '0.00000'), - ('224', '223', 'United States Minor Outlying Islands', 'UM', 'UMI', '', '1', '1', '0.00000'), - ('225', '224', 'Uruguay', 'UY', 'URY', '', '1', '1', '0.00000'), - ('226', '225', 'Uzbekistan', 'UZ', 'UZB', '', '1', '1', '0.00000'), - ('227', '226', 'Vanuatu', 'VU', 'VUT', '', '0', '1', '0.00000'), - ('228', '227', 'Vatican City State (Holy See)', 'VA', 'VAT', '', '1', '1', '0.00000'), - ('229', '228', 'Venezuela', 'VE', 'VEN', '', '0', '1', '0.00000'), - ('230', '229', 'Viet Nam', 'VN', 'VNM', '', '1', '1', '0.00000'), - ('231', '230', 'Virgin Islands (British)', 'VG', 'VGB', '', '0', '1', '0.00000'), - ('232', '231', 'Virgin Islands (U.S.)', 'VI', 'VIR', '', '1', '1', '0.00000'), - ('233', '232', 'Wallis and Futuna Islands', 'WF', 'WLF', '', '0', '1', '0.00000'), - ('234', '233', 'Western Sahara', 'EH', 'ESH', '', '1', '1', '0.00000'), - ('235', '234', 'Yemen', 'YE', 'YEM', '', '0', '1', '0.00000'), - ('236', '235', 'Yugoslavia', 'YU', 'YUG', '', '1', '1', '0.00000'), - ('237', '236', 'Democratic Republic of Congo', 'CD', 'COD', '', '1', '1', '0.00000'), - ('238', '237', 'Zambia', 'ZM', 'ZMB', '', '0', '1', '0.00000'), - ('239', '238', 'Zimbabwe', 'ZW', 'ZWE', '', '0', '1', '0.00000');"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."country_zone_areas`;"; - - - $query[] = "CREATE TABLE `".$prefix."country_zone_areas` ( - `id` int(11) NOT NULL auto_increment, - `zone_id` int(11) NOT NULL, - `code` varchar(15) NOT NULL, - `tax` float(10,5) NOT NULL default '0.00000', - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."country_zones`;"; - - - $query[] = "CREATE TABLE `".$prefix."country_zones` ( - `id` int(11) NOT NULL auto_increment, - `country_id` int(11) NOT NULL, - `code` varchar(32) collate utf8_bin NOT NULL default '', - `name` varchar(128) collate utf8_bin NOT NULL, - `status` int(1) NOT NULL default '1', - `tax` float(10,5) NOT NULL default '0.00000', - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=3956 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;"; - - - $query[] = "INSERT INTO `".$prefix."country_zones` VALUES ('1', '1', 'BDS', 'Badakhshan', '1', '0.00000'), - ('2', '1', 'BDG', 'Badghis', '1', '0.00000'), - ('3', '1', 'BGL', 'Baghlan', '1', '0.00000'), - ('4', '1', 'BAL', 'Balkh', '1', '0.00000'), - ('5', '1', 'BAM', 'Bamian', '1', '0.00000'), - ('6', '1', 'FRA', 'Farah', '1', '0.00000'), - ('7', '1', 'FYB', 'Faryab', '1', '0.00000'), - ('8', '1', 'GHA', 'Ghazni', '1', '0.00000'), - ('9', '1', 'GHO', 'Ghowr', '1', '0.00000'), - ('10', '1', 'HEL', 'Helmand', '1', '0.00000'), - ('11', '1', 'HER', 'Herat', '1', '0.00000'), - ('12', '1', 'JOW', 'Jowzjan', '1', '0.00000'), - ('13', '1', 'KAB', 'Kabul', '1', '0.00000'), - ('14', '1', 'KAN', 'Kandahar', '1', '0.00000'), - ('15', '1', 'KAP', 'Kapisa', '1', '0.00000'), - ('16', '1', 'KHO', 'Khost', '1', '0.00000'), - ('17', '1', 'KNR', 'Konar', '1', '0.00000'), - ('18', '1', 'KDZ', 'Kondoz', '1', '0.00000'), - ('19', '1', 'LAG', 'Laghman', '1', '0.00000'), - ('20', '1', 'LOW', 'Lowgar', '1', '0.00000'), - ('21', '1', 'NAN', 'Nangrahar', '1', '0.00000'), - ('22', '1', 'NIM', 'Nimruz', '1', '0.00000'), - ('23', '1', 'NUR', 'Nurestan', '1', '0.00000'), - ('24', '1', 'ORU', 'Oruzgan', '1', '0.00000'), - ('25', '1', 'PIA', 'Paktia', '1', '0.00000'), - ('26', '1', 'PKA', 'Paktika', '1', '0.00000'), - ('27', '1', 'PAR', 'Parwan', '1', '0.00000'), - ('28', '1', 'SAM', 'Samangan', '1', '0.00000'), - ('29', '1', 'SAR', 'Sar-e Pol', '1', '0.00000'), - ('30', '1', 'TAK', 'Takhar', '1', '0.00000'), - ('31', '1', 'WAR', 'Wardak', '1', '0.00000'), - ('32', '1', 'ZAB', 'Zabol', '1', '0.00000'), - ('33', '2', 'BR', 'Berat', '1', '0.00000'), - ('34', '2', 'BU', 'Bulqize', '1', '0.00000'), - ('35', '2', 'DL', 'Delvine', '1', '0.00000'), - ('36', '2', 'DV', 'Devoll', '1', '0.00000'), - ('37', '2', 'DI', 'Diber', '1', '0.00000'), - ('38', '2', 'DR', 'Durres', '1', '0.00000'), - ('39', '2', 'EL', 'Elbasan', '1', '0.00000'), - ('40', '2', 'ER', 'Kolonje', '1', '0.00000'), - ('41', '2', 'FR', 'Fier', '1', '0.00000'), - ('42', '2', 'GJ', 'Gjirokaster', '1', '0.00000'), - ('43', '2', 'GR', 'Gramsh', '1', '0.00000'), - ('44', '2', 'HA', 'Has', '1', '0.00000'), - ('45', '2', 'KA', 'Kavaje', '1', '0.00000'), - ('46', '2', 'KB', 'Kurbin', '1', '0.00000'), - ('47', '2', 'KC', 'Kucove', '1', '0.00000'), - ('48', '2', 'KO', 'Korce', '1', '0.00000'), - ('49', '2', 'KR', 'Kruje', '1', '0.00000'), - ('50', '2', 'KU', 'Kukes', '1', '0.00000'), - ('51', '2', 'LB', 'Librazhd', '1', '0.00000'), - ('52', '2', 'LE', 'Lezhe', '1', '0.00000'), - ('53', '2', 'LU', 'Lushnje', '1', '0.00000'), - ('54', '2', 'MM', 'Malesi e Madhe', '1', '0.00000'), - ('55', '2', 'MK', 'Mallakaster', '1', '0.00000'), - ('56', '2', 'MT', 'Mat', '1', '0.00000'), - ('57', '2', 'MR', 'Mirdite', '1', '0.00000'), - ('58', '2', 'PQ', 'Peqin', '1', '0.00000'), - ('59', '2', 'PR', 'Permet', '1', '0.00000'), - ('60', '2', 'PG', 'Pogradec', '1', '0.00000'), - ('61', '2', 'PU', 'Puke', '1', '0.00000'), - ('62', '2', 'SH', 'Shkoder', '1', '0.00000'), - ('63', '2', 'SK', 'Skrapar', '1', '0.00000'), - ('64', '2', 'SR', 'Sarande', '1', '0.00000'), - ('65', '2', 'TE', 'Tepelene', '1', '0.00000'), - ('66', '2', 'TP', 'Tropoje', '1', '0.00000'), - ('67', '2', 'TR', 'Tirane', '1', '0.00000'), - ('68', '2', 'VL', 'Vlore', '1', '0.00000'), - ('69', '3', 'ADR', 'Adrar', '1', '0.00000'), - ('70', '3', 'ADE', 'Ain Defla', '1', '0.00000'), - ('71', '3', 'ATE', 'Ain Temouchent', '1', '0.00000'), - ('72', '3', 'ALG', 'Alger', '1', '0.00000'), - ('73', '3', 'ANN', 'Annaba', '1', '0.00000'), - ('74', '3', 'BAT', 'Batna', '1', '0.00000'), - ('75', '3', 'BEC', 'Bechar', '1', '0.00000'), - ('76', '3', 'BEJ', 'Bejaia', '1', '0.00000'), - ('77', '3', 'BIS', 'Biskra', '1', '0.00000'), - ('78', '3', 'BLI', 'Blida', '1', '0.00000'), - ('79', '3', 'BBA', 'Bordj Bou Arreridj', '1', '0.00000'), - ('80', '3', 'BOA', 'Bouira', '1', '0.00000'), - ('81', '3', 'BMD', 'Boumerdes', '1', '0.00000'), - ('82', '3', 'CHL', 'Chlef', '1', '0.00000'), - ('83', '3', 'CON', 'Constantine', '1', '0.00000'), - ('84', '3', 'DJE', 'Djelfa', '1', '0.00000'), - ('85', '3', 'EBA', 'El Bayadh', '1', '0.00000'), - ('86', '3', 'EOU', 'El Oued', '1', '0.00000'), - ('87', '3', 'ETA', 'El Tarf', '1', '0.00000'), - ('88', '3', 'GHA', 'Ghardaia', '1', '0.00000'), - ('89', '3', 'GUE', 'Guelma', '1', '0.00000'), - ('90', '3', 'ILL', 'Illizi', '1', '0.00000'), - ('91', '3', 'JIJ', 'Jijel', '1', '0.00000'), - ('92', '3', 'KHE', 'Khenchela', '1', '0.00000'), - ('93', '3', 'LAG', 'Laghouat', '1', '0.00000'), - ('94', '3', 'MUA', 'Muaskar', '1', '0.00000'), - ('95', '3', 'MED', 'Medea', '1', '0.00000'), - ('96', '3', 'MIL', 'Mila', '1', '0.00000'), - ('97', '3', 'MOS', 'Mostaganem', '1', '0.00000'), - ('98', '3', 'MSI', 'M\'Sila', '1', '0.00000'), - ('99', '3', 'NAA', 'Naama', '1', '0.00000'), - ('100', '3', 'ORA', 'Oran', '1', '0.00000'), - ('101', '3', 'OUA', 'Ouargla', '1', '0.00000'), - ('102', '3', 'OEB', 'Oum el-Bouaghi', '1', '0.00000'), - ('103', '3', 'REL', 'Relizane', '1', '0.00000'), - ('104', '3', 'SAI', 'Saida', '1', '0.00000'), - ('105', '3', 'SET', 'Setif', '1', '0.00000'), - ('106', '3', 'SBA', 'Sidi Bel Abbes', '1', '0.00000'), - ('107', '3', 'SKI', 'Skikda', '1', '0.00000'), - ('108', '3', 'SAH', 'Souk Ahras', '1', '0.00000'), - ('109', '3', 'TAM', 'Tamanghasset', '1', '0.00000'), - ('110', '3', 'TEB', 'Tebessa', '1', '0.00000'), - ('111', '3', 'TIA', 'Tiaret', '1', '0.00000'), - ('112', '3', 'TIN', 'Tindouf', '1', '0.00000'), - ('113', '3', 'TIP', 'Tipaza', '1', '0.00000'), - ('114', '3', 'TIS', 'Tissemsilt', '1', '0.00000'), - ('115', '3', 'TOU', 'Tizi Ouzou', '1', '0.00000'), - ('116', '3', 'TLE', 'Tlemcen', '1', '0.00000'), - ('117', '4', 'E', 'Eastern', '1', '0.00000'), - ('118', '4', 'M', 'Manu\'a', '1', '0.00000'), - ('119', '4', 'R', 'Rose Island', '1', '0.00000'), - ('120', '4', 'S', 'Swains Island', '1', '0.00000'), - ('121', '4', 'W', 'Western', '1', '0.00000'), - ('122', '5', 'ALV', 'Andorra la Vella', '1', '0.00000'), - ('123', '5', 'CAN', 'Canillo', '1', '0.00000'), - ('124', '5', 'ENC', 'Encamp', '1', '0.00000'), - ('125', '5', 'ESE', 'Escaldes-Engordany', '1', '0.00000'), - ('126', '5', 'LMA', 'La Massana', '1', '0.00000'), - ('127', '5', 'ORD', 'Ordino', '1', '0.00000'), - ('128', '5', 'SJL', 'Sant Julia de Loria', '1', '0.00000'), - ('129', '6', 'BGO', 'Bengo', '1', '0.00000'), - ('130', '6', 'BGU', 'Benguela', '1', '0.00000'), - ('131', '6', 'BIE', 'Bie', '1', '0.00000'), - ('132', '6', 'CAB', 'Cabinda', '1', '0.00000'), - ('133', '6', 'CCU', 'Cuando-Cubango', '1', '0.00000'), - ('134', '6', 'CNO', 'Cuanza Norte', '1', '0.00000'), - ('135', '6', 'CUS', 'Cuanza Sul', '1', '0.00000'), - ('136', '6', 'CNN', 'Cunene', '1', '0.00000'), - ('137', '6', 'HUA', 'Huambo', '1', '0.00000'), - ('138', '6', 'HUI', 'Huila', '1', '0.00000'), - ('139', '6', 'LUA', 'Luanda', '1', '0.00000'), - ('140', '6', 'LNO', 'Lunda Norte', '1', '0.00000'), - ('141', '6', 'LSU', 'Lunda Sul', '1', '0.00000'), - ('142', '6', 'MAL', 'Malange', '1', '0.00000'), - ('143', '6', 'MOX', 'Moxico', '1', '0.00000'), - ('144', '6', 'NAM', 'Namibe', '1', '0.00000'), - ('145', '6', 'UIG', 'Uige', '1', '0.00000'), - ('146', '6', 'ZAI', 'Zaire', '1', '0.00000'), - ('147', '9', 'ASG', 'Saint George', '1', '0.00000'), - ('148', '9', 'ASJ', 'Saint John', '1', '0.00000'), - ('149', '9', 'ASM', 'Saint Mary', '1', '0.00000'), - ('150', '9', 'ASL', 'Saint Paul', '1', '0.00000'), - ('151', '9', 'ASR', 'Saint Peter', '1', '0.00000'), - ('152', '9', 'ASH', 'Saint Philip', '1', '0.00000'), - ('153', '9', 'BAR', 'Barbuda', '1', '0.00000'), - ('154', '9', 'RED', 'Redonda', '1', '0.00000'), - ('155', '10', 'AN', 'Antartida e Islas del Atlantico', '1', '0.00000'), - ('156', '10', 'BA', 'Buenos Aires', '1', '0.00000'), - ('157', '10', 'CA', 'Catamarca', '1', '0.00000'), - ('158', '10', 'CH', 'Chaco', '1', '0.00000'), - ('159', '10', 'CU', 'Chubut', '1', '0.00000'), - ('160', '10', 'CO', 'Cordoba', '1', '0.00000'), - ('161', '10', 'CR', 'Corrientes', '1', '0.00000'), - ('162', '10', 'DF', 'Distrito Federal', '1', '0.00000'), - ('163', '10', 'ER', 'Entre Rios', '1', '0.00000'), - ('164', '10', 'FO', 'Formosa', '1', '0.00000'), - ('165', '10', 'JU', 'Jujuy', '1', '0.00000'), - ('166', '10', 'LP', 'La Pampa', '1', '0.00000'), - ('167', '10', 'LR', 'La Rioja', '1', '0.00000'), - ('168', '10', 'ME', 'Mendoza', '1', '0.00000'), - ('169', '10', 'MI', 'Misiones', '1', '0.00000'), - ('170', '10', 'NE', 'Neuquen', '1', '0.00000'), - ('171', '10', 'RN', 'Rio Negro', '1', '0.00000'), - ('172', '10', 'SA', 'Salta', '1', '0.00000'), - ('173', '10', 'SJ', 'San Juan', '1', '0.00000'), - ('174', '10', 'SL', 'San Luis', '1', '0.00000'), - ('175', '10', 'SC', 'Santa Cruz', '1', '0.00000'), - ('176', '10', 'SF', 'Santa Fe', '1', '0.00000'), - ('177', '10', 'SD', 'Santiago del Estero', '1', '0.00000'), - ('178', '10', 'TF', 'Tierra del Fuego', '1', '0.00000'), - ('179', '10', 'TU', 'Tucuman', '1', '0.00000'), - ('180', '11', 'AGT', 'Aragatsotn', '1', '0.00000'), - ('181', '11', 'ARR', 'Ararat', '1', '0.00000'), - ('182', '11', 'ARM', 'Armavir', '1', '0.00000'), - ('183', '11', 'GEG', 'Geghark\'unik\'', '1', '0.00000'), - ('184', '11', 'KOT', 'Kotayk\'', '1', '0.00000'), - ('185', '11', 'LOR', 'Lorri', '1', '0.00000'), - ('186', '11', 'SHI', 'Shirak', '1', '0.00000'), - ('187', '11', 'SYU', 'Syunik\'', '1', '0.00000'), - ('188', '11', 'TAV', 'Tavush', '1', '0.00000'), - ('189', '11', 'VAY', 'Vayots\' Dzor', '1', '0.00000'), - ('190', '11', 'YER', 'Yerevan', '1', '0.00000'), - ('191', '13', 'ACT', 'Australian Capital Territory', '1', '0.00000'), - ('192', '13', 'NSW', 'New South Wales', '1', '0.00000'), - ('193', '13', 'NT', 'Northern Territory', '1', '0.00000'), - ('194', '13', 'QLD', 'Queensland', '1', '0.00000'), - ('195', '13', 'SA', 'South Australia', '1', '0.00000'), - ('196', '13', 'TAS', 'Tasmania', '1', '0.00000'), - ('197', '13', 'VIC', 'Victoria', '1', '0.00000'), - ('198', '13', 'WA', 'Western Australia', '1', '0.00000'), - ('199', '14', 'BUR', 'Burgenland', '1', '0.00000'), - ('200', '14', 'KAR', 'Kärnten', '1', '0.00000'), - ('201', '14', 'NOS', 'Niederösterreich', '1', '0.00000'), - ('202', '14', 'OOS', 'Oberösterreich', '1', '0.00000'), - ('203', '14', 'SAL', 'Salzburg', '1', '0.00000'), - ('204', '14', 'STE', 'Steiermark', '1', '0.00000'), - ('205', '14', 'TIR', 'Tirol', '1', '0.00000'), - ('206', '14', 'VOR', 'Vorarlberg', '1', '0.00000'), - ('207', '14', 'WIE', 'Wien', '1', '0.00000'), - ('208', '15', 'AB', 'Ali Bayramli', '1', '0.00000'), - ('209', '15', 'ABS', 'Abseron', '1', '0.00000'), - ('210', '15', 'AGC', 'AgcabAdi', '1', '0.00000'), - ('211', '15', 'AGM', 'Agdam', '1', '0.00000'), - ('212', '15', 'AGS', 'Agdas', '1', '0.00000'), - ('213', '15', 'AGA', 'Agstafa', '1', '0.00000'), - ('214', '15', 'AGU', 'Agsu', '1', '0.00000'), - ('215', '15', 'AST', 'Astara', '1', '0.00000'), - ('216', '15', 'BA', 'Baki', '1', '0.00000'), - ('217', '15', 'BAB', 'BabAk', '1', '0.00000'), - ('218', '15', 'BAL', 'BalakAn', '1', '0.00000'), - ('219', '15', 'BAR', 'BArdA', '1', '0.00000'), - ('220', '15', 'BEY', 'Beylaqan', '1', '0.00000'), - ('221', '15', 'BIL', 'Bilasuvar', '1', '0.00000'), - ('222', '15', 'CAB', 'Cabrayil', '1', '0.00000'), - ('223', '15', 'CAL', 'Calilabab', '1', '0.00000'), - ('224', '15', 'CUL', 'Culfa', '1', '0.00000'), - ('225', '15', 'DAS', 'Daskasan', '1', '0.00000'), - ('226', '15', 'DAV', 'Davaci', '1', '0.00000'), - ('227', '15', 'FUZ', 'Fuzuli', '1', '0.00000'), - ('228', '15', 'GA', 'Ganca', '1', '0.00000'), - ('229', '15', 'GAD', 'Gadabay', '1', '0.00000'), - ('230', '15', 'GOR', 'Goranboy', '1', '0.00000'), - ('231', '15', 'GOY', 'Goycay', '1', '0.00000'), - ('232', '15', 'HAC', 'Haciqabul', '1', '0.00000'), - ('233', '15', 'IMI', 'Imisli', '1', '0.00000'), - ('234', '15', 'ISM', 'Ismayilli', '1', '0.00000'), - ('235', '15', 'KAL', 'Kalbacar', '1', '0.00000'), - ('236', '15', 'KUR', 'Kurdamir', '1', '0.00000'), - ('237', '15', 'LA', 'Lankaran', '1', '0.00000'), - ('238', '15', 'LAC', 'Lacin', '1', '0.00000'), - ('239', '15', 'LAN', 'Lankaran', '1', '0.00000'), - ('240', '15', 'LER', 'Lerik', '1', '0.00000'), - ('241', '15', 'MAS', 'Masalli', '1', '0.00000'), - ('242', '15', 'MI', 'Mingacevir', '1', '0.00000'), - ('243', '15', 'NA', 'Naftalan', '1', '0.00000'), - ('244', '15', 'NEF', 'Neftcala', '1', '0.00000'), - ('245', '15', 'OGU', 'Oguz', '1', '0.00000'), - ('246', '15', 'ORD', 'Ordubad', '1', '0.00000'), - ('247', '15', 'QAB', 'Qabala', '1', '0.00000'), - ('248', '15', 'QAX', 'Qax', '1', '0.00000'), - ('249', '15', 'QAZ', 'Qazax', '1', '0.00000'), - ('250', '15', 'QOB', 'Qobustan', '1', '0.00000'), - ('251', '15', 'QBA', 'Quba', '1', '0.00000'), - ('252', '15', 'QBI', 'Qubadli', '1', '0.00000'), - ('253', '15', 'QUS', 'Qusar', '1', '0.00000'), - ('254', '15', 'SA', 'Saki', '1', '0.00000'), - ('255', '15', 'SAT', 'Saatli', '1', '0.00000'), - ('256', '15', 'SAB', 'Sabirabad', '1', '0.00000'), - ('257', '15', 'SAD', 'Sadarak', '1', '0.00000'), - ('258', '15', 'SAH', 'Sahbuz', '1', '0.00000'), - ('259', '15', 'SAK', 'Saki', '1', '0.00000'), - ('260', '15', 'SAL', 'Salyan', '1', '0.00000'), - ('261', '15', 'SM', 'Sumqayit', '1', '0.00000'), - ('262', '15', 'SMI', 'Samaxi', '1', '0.00000'), - ('263', '15', 'SKR', 'Samkir', '1', '0.00000'), - ('264', '15', 'SMX', 'Samux', '1', '0.00000'), - ('265', '15', 'SAR', 'Sarur', '1', '0.00000'), - ('266', '15', 'SIY', 'Siyazan', '1', '0.00000'), - ('267', '15', 'SS', 'Susa', '1', '0.00000'), - ('268', '15', 'SUS', 'Susa', '1', '0.00000'), - ('269', '15', 'TAR', 'Tartar', '1', '0.00000'), - ('270', '15', 'TOV', 'Tovuz', '1', '0.00000'), - ('271', '15', 'UCA', 'Ucar', '1', '0.00000'), - ('272', '15', 'XA', 'Xankandi', '1', '0.00000'), - ('273', '15', 'XAC', 'Xacmaz', '1', '0.00000'), - ('274', '15', 'XAN', 'Xanlar', '1', '0.00000'), - ('275', '15', 'XIZ', 'Xizi', '1', '0.00000'), - ('276', '15', 'XCI', 'Xocali', '1', '0.00000'), - ('277', '15', 'XVD', 'Xocavand', '1', '0.00000'), - ('278', '15', 'YAR', 'Yardimli', '1', '0.00000'), - ('279', '15', 'YEV', 'Yevlax', '1', '0.00000'), - ('280', '15', 'ZAN', 'Zangilan', '1', '0.00000'), - ('281', '15', 'ZAQ', 'Zaqatala', '1', '0.00000'), - ('282', '15', 'ZAR', 'Zardab', '1', '0.00000'), - ('283', '15', 'NX', 'Naxcivan', '1', '0.00000'), - ('284', '16', 'ACK', 'Acklins', '1', '0.00000'), - ('285', '16', 'BER', 'Berry Islands', '1', '0.00000'), - ('286', '16', 'BIM', 'Bimini', '1', '0.00000'), - ('287', '16', 'BLK', 'Black Point', '1', '0.00000'), - ('288', '16', 'CAT', 'Cat Island', '1', '0.00000'), - ('289', '16', 'CAB', 'Central Abaco', '1', '0.00000'), - ('290', '16', 'CAN', 'Central Andros', '1', '0.00000'), - ('291', '16', 'CEL', 'Central Eleuthera', '1', '0.00000'), - ('292', '16', 'FRE', 'City of Freeport', '1', '0.00000'), - ('293', '16', 'CRO', 'Crooked Island', '1', '0.00000'), - ('294', '16', 'EGB', 'East Grand Bahama', '1', '0.00000'), - ('295', '16', 'EXU', 'Exuma', '1', '0.00000'), - ('296', '16', 'GRD', 'Grand Cay', '1', '0.00000'), - ('297', '16', 'HAR', 'Harbour Island', '1', '0.00000'), - ('298', '16', 'HOP', 'Hope Town', '1', '0.00000'), - ('299', '16', 'INA', 'Inagua', '1', '0.00000'), - ('300', '16', 'LNG', 'Long Island', '1', '0.00000'), - ('301', '16', 'MAN', 'Mangrove Cay', '1', '0.00000'), - ('302', '16', 'MAY', 'Mayaguana', '1', '0.00000'), - ('303', '16', 'MOO', 'Moore\'s Island', '1', '0.00000'), - ('304', '16', 'NAB', 'North Abaco', '1', '0.00000'), - ('305', '16', 'NAN', 'North Andros', '1', '0.00000'), - ('306', '16', 'NEL', 'North Eleuthera', '1', '0.00000'), - ('307', '16', 'RAG', 'Ragged Island', '1', '0.00000'), - ('308', '16', 'RUM', 'Rum Cay', '1', '0.00000'), - ('309', '16', 'SAL', 'San Salvador', '1', '0.00000'), - ('310', '16', 'SAB', 'South Abaco', '1', '0.00000'), - ('311', '16', 'SAN', 'South Andros', '1', '0.00000'), - ('312', '16', 'SEL', 'South Eleuthera', '1', '0.00000'), - ('313', '16', 'SWE', 'Spanish Wells', '1', '0.00000'), - ('314', '16', 'WGB', 'West Grand Bahama', '1', '0.00000'), - ('315', '17', 'CAP', 'Capital', '1', '0.00000'), - ('316', '17', 'CEN', 'Central', '1', '0.00000'), - ('317', '17', 'MUH', 'Muharraq', '1', '0.00000'), - ('318', '17', 'NOR', 'Northern', '1', '0.00000'), - ('319', '17', 'SOU', 'Southern', '1', '0.00000'), - ('320', '18', 'BAR', 'Barisal', '1', '0.00000'), - ('321', '18', 'CHI', 'Chittagong', '1', '0.00000'), - ('322', '18', 'DHA', 'Dhaka', '1', '0.00000'), - ('323', '18', 'KHU', 'Khulna', '1', '0.00000'), - ('324', '18', 'RAJ', 'Rajshahi', '1', '0.00000'), - ('325', '18', 'SYL', 'Sylhet', '1', '0.00000'), - ('326', '19', 'CC', 'Christ Church', '1', '0.00000'), - ('327', '19', 'AND', 'Saint Andrew', '1', '0.00000'), - ('328', '19', 'GEO', 'Saint George', '1', '0.00000'), - ('329', '19', 'JAM', 'Saint James', '1', '0.00000'), - ('330', '19', 'JOH', 'Saint John', '1', '0.00000'), - ('331', '19', 'JOS', 'Saint Joseph', '1', '0.00000'), - ('332', '19', 'LUC', 'Saint Lucy', '1', '0.00000'), - ('333', '19', 'MIC', 'Saint Michael', '1', '0.00000'), - ('334', '19', 'PET', 'Saint Peter', '1', '0.00000'), - ('335', '19', 'PHI', 'Saint Philip', '1', '0.00000'), - ('336', '19', 'THO', 'Saint Thomas', '1', '0.00000'), - ('337', '20', 'BR', 'Brestskaya (Brest)', '1', '0.00000'), - ('338', '20', 'HO', 'Homyel\'skaya (Homyel\')', '1', '0.00000'), - ('339', '20', 'HM', 'Horad Minsk', '1', '0.00000'), - ('340', '20', 'HR', 'Hrodzyenskaya (Hrodna)', '1', '0.00000'), - ('341', '20', 'MA', 'Mahilyowskaya (Mahilyow)', '1', '0.00000'), - ('342', '20', 'MI', 'Minskaya', '1', '0.00000'), - ('343', '20', 'VI', 'Vitsyebskaya (Vitsyebsk)', '1', '0.00000'), - ('344', '21', 'VAN', 'Antwerpen', '1', '0.00000'), - ('345', '21', 'WBR', 'Brabant Wallon', '1', '0.00000'), - ('346', '21', 'WHT', 'Hainaut', '1', '0.00000'), - ('347', '21', 'WLG', 'Liege', '1', '0.00000'), - ('348', '21', 'VLI', 'Limburg', '1', '0.00000'), - ('349', '21', 'WLX', 'Luxembourg', '1', '0.00000'), - ('350', '21', 'WNA', 'Namur', '1', '0.00000'), - ('351', '21', 'VOV', 'Oost-Vlaanderen', '1', '0.00000'), - ('352', '21', 'VBR', 'Vlaams Brabant', '1', '0.00000'), - ('353', '21', 'VWV', 'West-Vlaanderen', '1', '0.00000'), - ('354', '22', 'BZ', 'Belize', '1', '0.00000'), - ('355', '22', 'CY', 'Cayo', '1', '0.00000'), - ('356', '22', 'CR', 'Corozal', '1', '0.00000'), - ('357', '22', 'OW', 'Orange Walk', '1', '0.00000'), - ('358', '22', 'SC', 'Stann Creek', '1', '0.00000'), - ('359', '22', 'TO', 'Toledo', '1', '0.00000'), - ('360', '23', 'AL', 'Alibori', '1', '0.00000'), - ('361', '23', 'AK', 'Atakora', '1', '0.00000'), - ('362', '23', 'AQ', 'Atlantique', '1', '0.00000'), - ('363', '23', 'BO', 'Borgou', '1', '0.00000'), - ('364', '23', 'CO', 'Collines', '1', '0.00000'), - ('365', '23', 'DO', 'Donga', '1', '0.00000'), - ('366', '23', 'KO', 'Kouffo', '1', '0.00000'), - ('367', '23', 'LI', 'Littoral', '1', '0.00000'), - ('368', '23', 'MO', 'Mono', '1', '0.00000'), - ('369', '23', 'OU', 'Oueme', '1', '0.00000'), - ('370', '23', 'PL', 'Plateau', '1', '0.00000'), - ('371', '23', 'ZO', 'Zou', '1', '0.00000'), - ('372', '24', 'DS', 'Devonshire', '1', '0.00000'), - ('373', '24', 'HC', 'Hamilton City', '1', '0.00000'), - ('374', '24', 'HA', 'Hamilton', '1', '0.00000'), - ('375', '24', 'PG', 'Paget', '1', '0.00000'), - ('376', '24', 'PB', 'Pembroke', '1', '0.00000'), - ('377', '24', 'GC', 'Saint George City', '1', '0.00000'), - ('378', '24', 'SG', 'Saint George\'s', '1', '0.00000'), - ('379', '24', 'SA', 'Sandys', '1', '0.00000'), - ('380', '24', 'SM', 'Smith\'s', '1', '0.00000'), - ('381', '24', 'SH', 'Southampton', '1', '0.00000'), - ('382', '24', 'WA', 'Warwick', '1', '0.00000'), - ('383', '25', 'BUM', 'Bumthang', '1', '0.00000'), - ('384', '25', 'CHU', 'Chukha', '1', '0.00000'), - ('385', '25', 'DAG', 'Dagana', '1', '0.00000'), - ('386', '25', 'GAS', 'Gasa', '1', '0.00000'), - ('387', '25', 'HAA', 'Haa', '1', '0.00000'), - ('388', '25', 'LHU', 'Lhuntse', '1', '0.00000'), - ('389', '25', 'MON', 'Mongar', '1', '0.00000'), - ('390', '25', 'PAR', 'Paro', '1', '0.00000'), - ('391', '25', 'PEM', 'Pemagatshel', '1', '0.00000'), - ('392', '25', 'PUN', 'Punakha', '1', '0.00000'), - ('393', '25', 'SJO', 'Samdrup Jongkhar', '1', '0.00000'), - ('394', '25', 'SAT', 'Samtse', '1', '0.00000'), - ('395', '25', 'SAR', 'Sarpang', '1', '0.00000'), - ('396', '25', 'THI', 'Thimphu', '1', '0.00000'), - ('397', '25', 'TRG', 'Trashigang', '1', '0.00000'), - ('398', '25', 'TRY', 'Trashiyangste', '1', '0.00000'), - ('399', '25', 'TRO', 'Trongsa', '1', '0.00000'), - ('400', '25', 'TSI', 'Tsirang', '1', '0.00000'), - ('401', '25', 'WPH', 'Wangdue Phodrang', '1', '0.00000'), - ('402', '25', 'ZHE', 'Zhemgang', '1', '0.00000'), - ('403', '26', 'BEN', 'Beni', '1', '0.00000'), - ('404', '26', 'CHU', 'Chuquisaca', '1', '0.00000'), - ('405', '26', 'COC', 'Cochabamba', '1', '0.00000'), - ('406', '26', 'LPZ', 'La Paz', '1', '0.00000'), - ('407', '26', 'ORU', 'Oruro', '1', '0.00000'), - ('408', '26', 'PAN', 'Pando', '1', '0.00000'), - ('409', '26', 'POT', 'Potosi', '1', '0.00000'), - ('410', '26', 'SCZ', 'Santa Cruz', '1', '0.00000'), - ('411', '26', 'TAR', 'Tarija', '1', '0.00000'), - ('412', '27', 'BRO', 'Brcko district', '1', '0.00000'), - ('413', '27', 'FUS', 'Unsko-Sanski Kanton', '1', '0.00000'), - ('414', '27', 'FPO', 'Posavski Kanton', '1', '0.00000'), - ('415', '27', 'FTU', 'Tuzlanski Kanton', '1', '0.00000'), - ('416', '27', 'FZE', 'Zenicko-Dobojski Kanton', '1', '0.00000'), - ('417', '27', 'FBP', 'Bosanskopodrinjski Kanton', '1', '0.00000'), - ('418', '27', 'FSB', 'Srednjebosanski Kanton', '1', '0.00000'), - ('419', '27', 'FHN', 'Hercegovacko-neretvanski Kanton', '1', '0.00000'), - ('420', '27', 'FZH', 'Zapadnohercegovacka Zupanija', '1', '0.00000'), - ('421', '27', 'FSA', 'Kanton Sarajevo', '1', '0.00000'), - ('422', '27', 'FZA', 'Zapadnobosanska', '1', '0.00000'), - ('423', '27', 'SBL', 'Banja Luka', '1', '0.00000'), - ('424', '27', 'SDO', 'Doboj', '1', '0.00000'), - ('425', '27', 'SBI', 'Bijeljina', '1', '0.00000'), - ('426', '27', 'SVL', 'Vlasenica', '1', '0.00000'), - ('427', '27', 'SSR', 'Sarajevo-Romanija or Sokolac', '1', '0.00000'), - ('428', '27', 'SFO', 'Foca', '1', '0.00000'), - ('429', '27', 'STR', 'Trebinje', '1', '0.00000'), - ('430', '28', 'CE', 'Central', '1', '0.00000'), - ('431', '28', 'GH', 'Ghanzi', '1', '0.00000'), - ('432', '28', 'KD', 'Kgalagadi', '1', '0.00000'), - ('433', '28', 'KT', 'Kgatleng', '1', '0.00000'), - ('434', '28', 'KW', 'Kweneng', '1', '0.00000'), - ('435', '28', 'NG', 'Ngamiland', '1', '0.00000'), - ('436', '28', 'NE', 'North East', '1', '0.00000'), - ('437', '28', 'NW', 'North West', '1', '0.00000'), - ('438', '28', 'SE', 'South East', '1', '0.00000'), - ('439', '28', 'SO', 'Southern', '1', '0.00000'), - ('440', '30', 'AC', 'Acre', '1', '0.00000'), - ('441', '30', 'AL', 'Alagoas', '1', '0.00000'), - ('442', '30', 'AP', 'Amapa', '1', '0.00000'), - ('443', '30', 'AM', 'Amazonas', '1', '0.00000'), - ('444', '30', 'BA', 'Bahia', '1', '0.00000'), - ('445', '30', 'CE', 'Ceara', '1', '0.00000'), - ('446', '30', 'DF', 'Distrito Federal', '1', '0.00000'), - ('447', '30', 'ES', 'Espirito Santo', '1', '0.00000'), - ('448', '30', 'GO', 'Goias', '1', '0.00000'), - ('449', '30', 'MA', 'Maranhao', '1', '0.00000'), - ('450', '30', 'MT', 'Mato Grosso', '1', '0.00000'), - ('451', '30', 'MS', 'Mato Grosso do Sul', '1', '0.00000'), - ('452', '30', 'MG', 'Minas Gerais', '1', '0.00000'), - ('453', '30', 'PA', 'Para', '1', '0.00000'), - ('454', '30', 'PB', 'Paraiba', '1', '0.00000'), - ('455', '30', 'PR', 'Parana', '1', '0.00000'), - ('456', '30', 'PE', 'Pernambuco', '1', '0.00000'), - ('457', '30', 'PI', 'Piaui', '1', '0.00000'), - ('458', '30', 'RJ', 'Rio de Janeiro', '1', '0.00000'), - ('459', '30', 'RN', 'Rio Grande do Norte', '1', '0.00000'), - ('460', '30', 'RS', 'Rio Grande do Sul', '1', '0.00000'), - ('461', '30', 'RO', 'Rondonia', '1', '0.00000'), - ('462', '30', 'RR', 'Roraima', '1', '0.00000'), - ('463', '30', 'SC', 'Santa Catarina', '1', '0.00000'), - ('464', '30', 'SP', 'Sao Paulo', '1', '0.00000'), - ('465', '30', 'SE', 'Sergipe', '1', '0.00000'), - ('466', '30', 'TO', 'Tocantins', '1', '0.00000'), - ('467', '31', 'PB', 'Peros Banhos', '1', '0.00000'), - ('468', '31', 'SI', 'Salomon Islands', '1', '0.00000'), - ('469', '31', 'NI', 'Nelsons Island', '1', '0.00000'), - ('470', '31', 'TB', 'Three Brothers', '1', '0.00000'), - ('471', '31', 'EA', 'Eagle Islands', '1', '0.00000'), - ('472', '31', 'DI', 'Danger Island', '1', '0.00000'), - ('473', '31', 'EG', 'Egmont Islands', '1', '0.00000'), - ('474', '31', 'DG', 'Diego Garcia', '1', '0.00000'), - ('475', '32', 'BEL', 'Belait', '1', '0.00000'), - ('476', '32', 'BRM', 'Brunei and Muara', '1', '0.00000'), - ('477', '32', 'TEM', 'Temburong', '1', '0.00000'), - ('478', '32', 'TUT', 'Tutong', '1', '0.00000'), - ('479', '33', '', 'Blagoevgrad', '1', '0.00000'), - ('480', '33', '', 'Burgas', '1', '0.00000'), - ('481', '33', '', 'Dobrich', '1', '0.00000'), - ('482', '33', '', 'Gabrovo', '1', '0.00000'), - ('483', '33', '', 'Haskovo', '1', '0.00000'), - ('484', '33', '', 'Kardjali', '1', '0.00000'), - ('485', '33', '', 'Kyustendil', '1', '0.00000'), - ('486', '33', '', 'Lovech', '1', '0.00000'), - ('487', '33', '', 'Montana', '1', '0.00000'), - ('488', '33', '', 'Pazardjik', '1', '0.00000'), - ('489', '33', '', 'Pernik', '1', '0.00000'), - ('490', '33', '', 'Pleven', '1', '0.00000'), - ('491', '33', '', 'Plovdiv', '1', '0.00000'), - ('492', '33', '', 'Razgrad', '1', '0.00000'), - ('493', '33', '', 'Shumen', '1', '0.00000'), - ('494', '33', '', 'Silistra', '1', '0.00000'), - ('495', '33', '', 'Sliven', '1', '0.00000'), - ('496', '33', '', 'Smolyan', '1', '0.00000'), - ('497', '33', '', 'Sofia', '1', '0.00000'), - ('498', '33', '', 'Sofia - town', '1', '0.00000'), - ('499', '33', '', 'Stara Zagora', '1', '0.00000'), - ('500', '33', '', 'Targovishte', '1', '0.00000'), - ('501', '33', '', 'Varna', '1', '0.00000'), - ('502', '33', '', 'Veliko Tarnovo', '1', '0.00000'), - ('503', '33', '', 'Vidin', '1', '0.00000'), - ('504', '33', '', 'Vratza', '1', '0.00000'), - ('505', '33', '', 'Yambol', '1', '0.00000'), - ('506', '34', 'BAL', 'Bale', '1', '0.00000'), - ('507', '34', 'BAM', 'Bam', '1', '0.00000'), - ('508', '34', 'BAN', 'Banwa', '1', '0.00000'), - ('509', '34', 'BAZ', 'Bazega', '1', '0.00000'), - ('510', '34', 'BOR', 'Bougouriba', '1', '0.00000'), - ('511', '34', 'BLG', 'Boulgou', '1', '0.00000'), - ('512', '34', 'BOK', 'Boulkiemde', '1', '0.00000'), - ('513', '34', 'COM', 'Comoe', '1', '0.00000'), - ('514', '34', 'GAN', 'Ganzourgou', '1', '0.00000'), - ('515', '34', 'GNA', 'Gnagna', '1', '0.00000'), - ('516', '34', 'GOU', 'Gourma', '1', '0.00000'), - ('517', '34', 'HOU', 'Houet', '1', '0.00000'), - ('518', '34', 'IOA', 'Ioba', '1', '0.00000'), - ('519', '34', 'KAD', 'Kadiogo', '1', '0.00000'), - ('520', '34', 'KEN', 'Kenedougou', '1', '0.00000'), - ('521', '34', 'KOD', 'Komondjari', '1', '0.00000'), - ('522', '34', 'KOP', 'Kompienga', '1', '0.00000'), - ('523', '34', 'KOS', 'Kossi', '1', '0.00000'), - ('524', '34', 'KOL', 'Koulpelogo', '1', '0.00000'), - ('525', '34', 'KOT', 'Kouritenga', '1', '0.00000'), - ('526', '34', 'KOW', 'Kourweogo', '1', '0.00000'), - ('527', '34', 'LER', 'Leraba', '1', '0.00000'), - ('528', '34', 'LOR', 'Loroum', '1', '0.00000'), - ('529', '34', 'MOU', 'Mouhoun', '1', '0.00000'), - ('530', '34', 'NAH', 'Nahouri', '1', '0.00000'), - ('531', '34', 'NAM', 'Namentenga', '1', '0.00000'), - ('532', '34', 'NAY', 'Nayala', '1', '0.00000'), - ('533', '34', 'NOU', 'Noumbiel', '1', '0.00000'), - ('534', '34', 'OUB', 'Oubritenga', '1', '0.00000'), - ('535', '34', 'OUD', 'Oudalan', '1', '0.00000'), - ('536', '34', 'PAS', 'Passore', '1', '0.00000'), - ('537', '34', 'PON', 'Poni', '1', '0.00000'), - ('538', '34', 'SAG', 'Sanguie', '1', '0.00000'), - ('539', '34', 'SAM', 'Sanmatenga', '1', '0.00000'), - ('540', '34', 'SEN', 'Seno', '1', '0.00000'), - ('541', '34', 'SIS', 'Sissili', '1', '0.00000'), - ('542', '34', 'SOM', 'Soum', '1', '0.00000'), - ('543', '34', 'SOR', 'Sourou', '1', '0.00000'), - ('544', '34', 'TAP', 'Tapoa', '1', '0.00000'), - ('545', '34', 'TUY', 'Tuy', '1', '0.00000'), - ('546', '34', 'YAG', 'Yagha', '1', '0.00000'), - ('547', '34', 'YAT', 'Yatenga', '1', '0.00000'), - ('548', '34', 'ZIR', 'Ziro', '1', '0.00000'), - ('549', '34', 'ZOD', 'Zondoma', '1', '0.00000'), - ('550', '34', 'ZOW', 'Zoundweogo', '1', '0.00000'), - ('551', '35', 'BB', 'Bubanza', '1', '0.00000'), - ('552', '35', 'BJ', 'Bujumbura', '1', '0.00000'), - ('553', '35', 'BR', 'Bururi', '1', '0.00000'), - ('554', '35', 'CA', 'Cankuzo', '1', '0.00000'), - ('555', '35', 'CI', 'Cibitoke', '1', '0.00000'), - ('556', '35', 'GI', 'Gitega', '1', '0.00000'), - ('557', '35', 'KR', 'Karuzi', '1', '0.00000'), - ('558', '35', 'KY', 'Kayanza', '1', '0.00000'), - ('559', '35', 'KI', 'Kirundo', '1', '0.00000'), - ('560', '35', 'MA', 'Makamba', '1', '0.00000'), - ('561', '35', 'MU', 'Muramvya', '1', '0.00000'), - ('562', '35', 'MY', 'Muyinga', '1', '0.00000'), - ('563', '35', 'MW', 'Mwaro', '1', '0.00000'), - ('564', '35', 'NG', 'Ngozi', '1', '0.00000'), - ('565', '35', 'RT', 'Rutana', '1', '0.00000'), - ('566', '35', 'RY', 'Ruyigi', '1', '0.00000'), - ('567', '36', 'PP', 'Phnom Penh', '1', '0.00000'), - ('568', '36', 'PS', 'Preah Seihanu (Kompong Som or Sihanoukville)', '1', '0.00000'), - ('569', '36', 'PA', 'Pailin', '1', '0.00000'), - ('570', '36', 'KB', 'Keb', '1', '0.00000'), - ('571', '36', 'BM', 'Banteay Meanchey', '1', '0.00000'), - ('572', '36', 'BA', 'Battambang', '1', '0.00000'), - ('573', '36', 'KM', 'Kampong Cham', '1', '0.00000'), - ('574', '36', 'KN', 'Kampong Chhnang', '1', '0.00000'), - ('575', '36', 'KU', 'Kampong Speu', '1', '0.00000'), - ('576', '36', 'KO', 'Kampong Som', '1', '0.00000'), - ('577', '36', 'KT', 'Kampong Thom', '1', '0.00000'), - ('578', '36', 'KP', 'Kampot', '1', '0.00000'), - ('579', '36', 'KL', 'Kandal', '1', '0.00000'), - ('580', '36', 'KK', 'Kaoh Kong', '1', '0.00000'), - ('581', '36', 'KR', 'Kratie', '1', '0.00000'), - ('582', '36', 'MK', 'Mondul Kiri', '1', '0.00000'), - ('583', '36', 'OM', 'Oddar Meancheay', '1', '0.00000'), - ('584', '36', 'PU', 'Pursat', '1', '0.00000'), - ('585', '36', 'PR', 'Preah Vihear', '1', '0.00000'), - ('586', '36', 'PG', 'Prey Veng', '1', '0.00000'), - ('587', '36', 'RK', 'Ratanak Kiri', '1', '0.00000'), - ('588', '36', 'SI', 'Siemreap', '1', '0.00000'), - ('589', '36', 'ST', 'Stung Treng', '1', '0.00000'), - ('590', '36', 'SR', 'Svay Rieng', '1', '0.00000'), - ('591', '36', 'TK', 'Takeo', '1', '0.00000'), - ('592', '37', 'ADA', 'Adamawa (Adamaoua)', '1', '0.00000'), - ('593', '37', 'CEN', 'Centre', '1', '0.00000'), - ('594', '37', 'EST', 'East (Est)', '1', '0.00000'), - ('595', '37', 'EXN', 'Extreme North (Extreme-Nord)', '1', '0.00000'), - ('596', '37', 'LIT', 'Littoral', '1', '0.00000'), - ('597', '37', 'NOR', 'North (Nord)', '1', '0.00000'), - ('598', '37', 'NOT', 'Northwest (Nord-Ouest)', '1', '0.00000'), - ('599', '37', 'OUE', 'West (Ouest)', '1', '0.00000'), - ('600', '37', 'SUD', 'South (Sud)', '1', '0.00000'), - ('601', '37', 'SOU', 'Southwest (Sud-Ouest).', '1', '0.00000'), - ('602', '38', 'AB', 'Alberta', '1', '0.00000'), - ('603', '38', 'BC', 'British Columbia', '1', '0.00000'), - ('604', '38', 'MB', 'Manitoba', '1', '0.00000'), - ('605', '38', 'NB', 'New Brunswick', '1', '0.00000'), - ('606', '38', 'NL', 'Newfoundland and Labrador', '1', '0.00000'), - ('607', '38', 'NT', 'Northwest Territories', '1', '0.00000'), - ('608', '38', 'NS', 'Nova Scotia', '1', '0.00000'), - ('609', '38', 'NU', 'Nunavut', '1', '0.00000'), - ('610', '38', 'ON', 'Ontario', '1', '0.00000'), - ('611', '38', 'PE', 'Prince Edward Island', '1', '0.00000'), - ('612', '38', 'QC', 'Québec', '1', '0.00000'), - ('613', '38', 'SK', 'Saskatchewan', '1', '0.00000'), - ('614', '38', 'YT', 'Yukon Territory', '1', '0.00000'), - ('615', '39', 'BV', 'Boa Vista', '1', '0.00000'), - ('616', '39', 'BR', 'Brava', '1', '0.00000'), - ('617', '39', 'CS', 'Calheta de Sao Miguel', '1', '0.00000'), - ('618', '39', 'MA', 'Maio', '1', '0.00000'), - ('619', '39', 'MO', 'Mosteiros', '1', '0.00000'), - ('620', '39', 'PA', 'Paul', '1', '0.00000'), - ('621', '39', 'PN', 'Porto Novo', '1', '0.00000'), - ('622', '39', 'PR', 'Praia', '1', '0.00000'), - ('623', '39', 'RG', 'Ribeira Grande', '1', '0.00000'), - ('624', '39', 'SL', 'Sal', '1', '0.00000'), - ('625', '39', 'CA', 'Santa Catarina', '1', '0.00000'), - ('626', '39', 'CR', 'Santa Cruz', '1', '0.00000'), - ('627', '39', 'SD', 'Sao Domingos', '1', '0.00000'), - ('628', '39', 'SF', 'Sao Filipe', '1', '0.00000'), - ('629', '39', 'SN', 'Sao Nicolau', '1', '0.00000'), - ('630', '39', 'SV', 'Sao Vicente', '1', '0.00000'), - ('631', '39', 'TA', 'Tarrafal', '1', '0.00000'), - ('632', '40', 'CR', 'Creek', '1', '0.00000'), - ('633', '40', 'EA', 'Eastern', '1', '0.00000'), - ('634', '40', 'ML', 'Midland', '1', '0.00000'), - ('635', '40', 'ST', 'South Town', '1', '0.00000'), - ('636', '40', 'SP', 'Spot Bay', '1', '0.00000'), - ('637', '40', 'SK', 'Stake Bay', '1', '0.00000'), - ('638', '40', 'WD', 'West End', '1', '0.00000'), - ('639', '40', 'WN', 'Western', '1', '0.00000'), - ('640', '41', 'BBA', 'Bamingui-Bangoran', '1', '0.00000'), - ('641', '41', 'BKO', 'Basse-Kotto', '1', '0.00000'), - ('642', '41', 'HKO', 'Haute-Kotto', '1', '0.00000'), - ('643', '41', 'HMB', 'Haut-Mbomou', '1', '0.00000'), - ('644', '41', 'KEM', 'Kemo', '1', '0.00000'), - ('645', '41', 'LOB', 'Lobaye', '1', '0.00000'), - ('646', '41', 'MKD', 'Mambere-KadeÔ', '1', '0.00000'), - ('647', '41', 'MBO', 'Mbomou', '1', '0.00000'), - ('648', '41', 'NMM', 'Nana-Mambere', '1', '0.00000'), - ('649', '41', 'OMP', 'Ombella-M\'Poko', '1', '0.00000'), - ('650', '41', 'OUK', 'Ouaka', '1', '0.00000'), - ('651', '41', 'OUH', 'Ouham', '1', '0.00000'), - ('652', '41', 'OPE', 'Ouham-Pende', '1', '0.00000'), - ('653', '41', 'VAK', 'Vakaga', '1', '0.00000'), - ('654', '41', 'NGR', 'Nana-Grebizi', '1', '0.00000'), - ('655', '41', 'SMB', 'Sangha-Mbaere', '1', '0.00000'), - ('656', '41', 'BAN', 'Bangui', '1', '0.00000'), - ('657', '42', 'BA', 'Batha', '1', '0.00000'), - ('658', '42', 'BI', 'Biltine', '1', '0.00000'), - ('659', '42', 'BE', 'Borkou-Ennedi-Tibesti', '1', '0.00000'), - ('660', '42', 'CB', 'Chari-Baguirmi', '1', '0.00000'), - ('661', '42', 'GU', 'Guera', '1', '0.00000'), - ('662', '42', 'KA', 'Kanem', '1', '0.00000'), - ('663', '42', 'LA', 'Lac', '1', '0.00000'), - ('664', '42', 'LC', 'Logone Occidental', '1', '0.00000'), - ('665', '42', 'LR', 'Logone Oriental', '1', '0.00000'), - ('666', '42', 'MK', 'Mayo-Kebbi', '1', '0.00000'), - ('667', '42', 'MC', 'Moyen-Chari', '1', '0.00000'), - ('668', '42', 'OU', 'Ouaddai', '1', '0.00000'), - ('669', '42', 'SA', 'Salamat', '1', '0.00000'), - ('670', '42', 'TA', 'Tandjile', '1', '0.00000'), - ('671', '43', 'AI', 'Aisen del General Carlos Ibanez', '1', '0.00000'), - ('672', '43', 'AN', 'Antofagasta', '1', '0.00000'), - ('673', '43', 'AR', 'Araucania', '1', '0.00000'), - ('674', '43', 'AT', 'Atacama', '1', '0.00000'), - ('675', '43', 'BI', 'Bio-Bio', '1', '0.00000'), - ('676', '43', 'CO', 'Coquimbo', '1', '0.00000'), - ('677', '43', 'LI', 'Libertador General Bernardo O\'Hi', '1', '0.00000'), - ('678', '43', 'LL', 'Los Lagos', '1', '0.00000'), - ('679', '43', 'MA', 'Magallanes y de la Antartica Chi', '1', '0.00000'), - ('680', '43', 'ML', 'Maule', '1', '0.00000'), - ('681', '43', 'RM', 'Region Metropolitana', '1', '0.00000'), - ('682', '43', 'TA', 'Tarapaca', '1', '0.00000'), - ('683', '43', 'VS', 'Valparaiso', '1', '0.00000'), - ('684', '44', 'AN', 'Anhui', '1', '0.00000'), - ('685', '44', 'BE', 'Beijing', '1', '0.00000'), - ('686', '44', 'CH', 'Chongqing', '1', '0.00000'), - ('687', '44', 'FU', 'Fujian', '1', '0.00000'), - ('688', '44', 'GA', 'Gansu', '1', '0.00000'), - ('689', '44', 'GU', 'Guangdong', '1', '0.00000'), - ('690', '44', 'GX', 'Guangxi', '1', '0.00000'), - ('691', '44', 'GZ', 'Guizhou', '1', '0.00000'), - ('692', '44', 'HA', 'Hainan', '1', '0.00000'), - ('693', '44', 'HB', 'Hebei', '1', '0.00000'), - ('694', '44', 'HL', 'Heilongjiang', '1', '0.00000'), - ('695', '44', 'HE', 'Henan', '1', '0.00000'), - ('696', '44', 'HK', 'Hong Kong', '1', '0.00000'), - ('697', '44', 'HU', 'Hubei', '1', '0.00000'), - ('698', '44', 'HN', 'Hunan', '1', '0.00000'), - ('699', '44', 'IM', 'Inner Mongolia', '1', '0.00000'), - ('700', '44', 'JI', 'Jiangsu', '1', '0.00000'), - ('701', '44', 'JX', 'Jiangxi', '1', '0.00000'), - ('702', '44', 'JL', 'Jilin', '1', '0.00000'), - ('703', '44', 'LI', 'Liaoning', '1', '0.00000'), - ('704', '44', 'MA', 'Macau', '1', '0.00000'), - ('705', '44', 'NI', 'Ningxia', '1', '0.00000'), - ('706', '44', 'SH', 'Shaanxi', '1', '0.00000'), - ('707', '44', 'SA', 'Shandong', '1', '0.00000'), - ('708', '44', 'SG', 'Shanghai', '1', '0.00000'), - ('709', '44', 'SX', 'Shanxi', '1', '0.00000'), - ('710', '44', 'SI', 'Sichuan', '1', '0.00000'), - ('711', '44', 'TI', 'Tianjin', '1', '0.00000'), - ('712', '44', 'XI', 'Xinjiang', '1', '0.00000'), - ('713', '44', 'YU', 'Yunnan', '1', '0.00000'), - ('714', '44', 'ZH', 'Zhejiang', '1', '0.00000'), - ('715', '46', 'D', 'Direction Island', '1', '0.00000'), - ('716', '46', 'H', 'Home Island', '1', '0.00000'), - ('717', '46', 'O', 'Horsburgh Island', '1', '0.00000'), - ('718', '46', 'S', 'South Island', '1', '0.00000'), - ('719', '46', 'W', 'West Island', '1', '0.00000'), - ('720', '47', 'AMZ', 'Amazonas', '1', '0.00000'), - ('721', '47', 'ANT', 'Antioquia', '1', '0.00000'), - ('722', '47', 'ARA', 'Arauca', '1', '0.00000'), - ('723', '47', 'ATL', 'Atlantico', '1', '0.00000'), - ('724', '47', 'BDC', 'Bogota D.C.', '1', '0.00000'), - ('725', '47', 'BOL', 'Bolivar', '1', '0.00000'), - ('726', '47', 'BOY', 'Boyaca', '1', '0.00000'), - ('727', '47', 'CAL', 'Caldas', '1', '0.00000'), - ('728', '47', 'CAQ', 'Caqueta', '1', '0.00000'), - ('729', '47', 'CAS', 'Casanare', '1', '0.00000'), - ('730', '47', 'CAU', 'Cauca', '1', '0.00000'), - ('731', '47', 'CES', 'Cesar', '1', '0.00000'), - ('732', '47', 'CHO', 'Choco', '1', '0.00000'), - ('733', '47', 'COR', 'Cordoba', '1', '0.00000'), - ('734', '47', 'CAM', 'Cundinamarca', '1', '0.00000'), - ('735', '47', 'GNA', 'Guainia', '1', '0.00000'), - ('736', '47', 'GJR', 'Guajira', '1', '0.00000'), - ('737', '47', 'GVR', 'Guaviare', '1', '0.00000'), - ('738', '47', 'HUI', 'Huila', '1', '0.00000'), - ('739', '47', 'MAG', 'Magdalena', '1', '0.00000'), - ('740', '47', 'MET', 'Meta', '1', '0.00000'), - ('741', '47', 'NAR', 'Narino', '1', '0.00000'), - ('742', '47', 'NDS', 'Norte de Santander', '1', '0.00000'), - ('743', '47', 'PUT', 'Putumayo', '1', '0.00000'), - ('744', '47', 'QUI', 'Quindio', '1', '0.00000'), - ('745', '47', 'RIS', 'Risaralda', '1', '0.00000'), - ('746', '47', 'SAP', 'San Andres y Providencia', '1', '0.00000'), - ('747', '47', 'SAN', 'Santander', '1', '0.00000'), - ('748', '47', 'SUC', 'Sucre', '1', '0.00000'), - ('749', '47', 'TOL', 'Tolima', '1', '0.00000'), - ('750', '47', 'VDC', 'Valle del Cauca', '1', '0.00000'), - ('751', '47', 'VAU', 'Vaupes', '1', '0.00000'), - ('752', '47', 'VIC', 'Vichada', '1', '0.00000'), - ('753', '48', 'G', 'Grande Comore', '1', '0.00000'), - ('754', '48', 'A', 'Anjouan', '1', '0.00000'), - ('755', '48', 'M', 'Moheli', '1', '0.00000'), - ('756', '49', 'BO', 'Bouenza', '1', '0.00000'), - ('757', '49', 'BR', 'Brazzaville', '1', '0.00000'), - ('758', '49', 'CU', 'Cuvette', '1', '0.00000'), - ('759', '49', 'CO', 'Cuvette-Ouest', '1', '0.00000'), - ('760', '49', 'KO', 'Kouilou', '1', '0.00000'), - ('761', '49', 'LE', 'Lekoumou', '1', '0.00000'), - ('762', '49', 'LI', 'Likouala', '1', '0.00000'), - ('763', '49', 'NI', 'Niari', '1', '0.00000'), - ('764', '49', 'PL', 'Plateaux', '1', '0.00000'), - ('765', '49', 'PO', 'Pool', '1', '0.00000'), - ('766', '49', 'SA', 'Sangha', '1', '0.00000'), - ('767', '50', 'PU', 'Pukapuka', '1', '0.00000'), - ('768', '50', 'RK', 'Rakahanga', '1', '0.00000'), - ('769', '50', 'MK', 'Manihiki', '1', '0.00000'), - ('770', '50', 'PE', 'Penrhyn', '1', '0.00000'), - ('771', '50', 'NI', 'Nassau Island', '1', '0.00000'), - ('772', '50', 'SU', 'Surwarrow', '1', '0.00000'), - ('773', '50', 'PA', 'Palmerston', '1', '0.00000'), - ('774', '50', 'AI', 'Aitutaki', '1', '0.00000'), - ('775', '50', 'MA', 'Manuae', '1', '0.00000'), - ('776', '50', 'TA', 'Takutea', '1', '0.00000'), - ('777', '50', 'MT', 'Mitiaro', '1', '0.00000'), - ('778', '50', 'AT', 'Atiu', '1', '0.00000'), - ('779', '50', 'MU', 'Mauke', '1', '0.00000'), - ('780', '50', 'RR', 'Rarotonga', '1', '0.00000'), - ('781', '50', 'MG', 'Mangaia', '1', '0.00000'), - ('782', '51', 'AL', 'Alajuela', '1', '0.00000'), - ('783', '51', 'CA', 'Cartago', '1', '0.00000'), - ('784', '51', 'GU', 'Guanacaste', '1', '0.00000'), - ('785', '51', 'HE', 'Heredia', '1', '0.00000'), - ('786', '51', 'LI', 'Limon', '1', '0.00000'), - ('787', '51', 'PU', 'Puntarenas', '1', '0.00000'), - ('788', '51', 'SJ', 'San Jose', '1', '0.00000'), - ('789', '52', 'ABE', 'Abengourou', '1', '0.00000'), - ('790', '52', 'ABI', 'Abidjan', '1', '0.00000'), - ('791', '52', 'ABO', 'Aboisso', '1', '0.00000'), - ('792', '52', 'ADI', 'Adiake', '1', '0.00000'), - ('793', '52', 'ADZ', 'Adzope', '1', '0.00000'), - ('794', '52', 'AGB', 'Agboville', '1', '0.00000'), - ('795', '52', 'AGN', 'Agnibilekrou', '1', '0.00000'), - ('796', '52', 'ALE', 'Alepe', '1', '0.00000'), - ('797', '52', 'BOC', 'Bocanda', '1', '0.00000'), - ('798', '52', 'BAN', 'Bangolo', '1', '0.00000'), - ('799', '52', 'BEO', 'Beoumi', '1', '0.00000'), - ('800', '52', 'BIA', 'Biankouma', '1', '0.00000'), - ('801', '52', 'BDK', 'Bondoukou', '1', '0.00000'), - ('802', '52', 'BGN', 'Bongouanou', '1', '0.00000'), - ('803', '52', 'BFL', 'Bouafle', '1', '0.00000'), - ('804', '52', 'BKE', 'Bouake', '1', '0.00000'), - ('805', '52', 'BNA', 'Bouna', '1', '0.00000'), - ('806', '52', 'BDL', 'Boundiali', '1', '0.00000'), - ('807', '52', 'DKL', 'Dabakala', '1', '0.00000'), - ('808', '52', 'DBU', 'Dabou', '1', '0.00000'), - ('809', '52', 'DAL', 'Daloa', '1', '0.00000'), - ('810', '52', 'DAN', 'Danane', '1', '0.00000'), - ('811', '52', 'DAO', 'Daoukro', '1', '0.00000'), - ('812', '52', 'DIM', 'Dimbokro', '1', '0.00000'), - ('813', '52', 'DIV', 'Divo', '1', '0.00000'), - ('814', '52', 'DUE', 'Duekoue', '1', '0.00000'), - ('815', '52', 'FER', 'Ferkessedougou', '1', '0.00000'), - ('816', '52', 'GAG', 'Gagnoa', '1', '0.00000'), - ('817', '52', 'GBA', 'Grand-Bassam', '1', '0.00000'), - ('818', '52', 'GLA', 'Grand-Lahou', '1', '0.00000'), - ('819', '52', 'GUI', 'Guiglo', '1', '0.00000'), - ('820', '52', 'ISS', 'Issia', '1', '0.00000'), - ('821', '52', 'JAC', 'Jacqueville', '1', '0.00000'), - ('822', '52', 'KAT', 'Katiola', '1', '0.00000'), - ('823', '52', 'KOR', 'Korhogo', '1', '0.00000'), - ('824', '52', 'LAK', 'Lakota', '1', '0.00000'), - ('825', '52', 'MAN', 'Man', '1', '0.00000'), - ('826', '52', 'MKN', 'Mankono', '1', '0.00000'), - ('827', '52', 'MBA', 'Mbahiakro', '1', '0.00000'), - ('828', '52', 'ODI', 'Odienne', '1', '0.00000'), - ('829', '52', 'OUM', 'Oume', '1', '0.00000'), - ('830', '52', 'SAK', 'Sakassou', '1', '0.00000'), - ('831', '52', 'SPE', 'San-Pedro', '1', '0.00000'), - ('832', '52', 'SAS', 'Sassandra', '1', '0.00000'), - ('833', '52', 'SEG', 'Seguela', '1', '0.00000'), - ('834', '52', 'SIN', 'Sinfra', '1', '0.00000'), - ('835', '52', 'SOU', 'Soubre', '1', '0.00000'), - ('836', '52', 'TAB', 'Tabou', '1', '0.00000'), - ('837', '52', 'TAN', 'Tanda', '1', '0.00000'), - ('838', '52', 'TIE', 'Tiebissou', '1', '0.00000'), - ('839', '52', 'TIN', 'Tingrela', '1', '0.00000'), - ('840', '52', 'TIA', 'Tiassale', '1', '0.00000'), - ('841', '52', 'TBA', 'Touba', '1', '0.00000'), - ('842', '52', 'TLP', 'Toulepleu', '1', '0.00000'), - ('843', '52', 'TMD', 'Toumodi', '1', '0.00000'), - ('844', '52', 'VAV', 'Vavoua', '1', '0.00000'), - ('845', '52', 'YAM', 'Yamoussoukro', '1', '0.00000'), - ('846', '52', 'ZUE', 'Zuenoula', '1', '0.00000'), - ('847', '53', 'BB', 'Bjelovar-Bilogora', '1', '0.00000'), - ('848', '53', 'CZ', 'City of Zagreb', '1', '0.00000'), - ('849', '53', 'DN', 'Dubrovnik-Neretva', '1', '0.00000'), - ('850', '53', 'IS', 'Istra', '1', '0.00000'), - ('851', '53', 'KA', 'Karlovac', '1', '0.00000'), - ('852', '53', 'KK', 'Koprivnica-Krizevci', '1', '0.00000'), - ('853', '53', 'KZ', 'Krapina-Zagorje', '1', '0.00000'), - ('854', '53', 'LS', 'Lika-Senj', '1', '0.00000'), - ('855', '53', 'ME', 'Medimurje', '1', '0.00000'), - ('856', '53', 'OB', 'Osijek-Baranja', '1', '0.00000'), - ('857', '53', 'PS', 'Pozega-Slavonia', '1', '0.00000'), - ('858', '53', 'PG', 'Primorje-Gorski Kotar', '1', '0.00000'), - ('859', '53', 'SI', 'Sibenik', '1', '0.00000'), - ('860', '53', 'SM', 'Sisak-Moslavina', '1', '0.00000'), - ('861', '53', 'SB', 'Slavonski Brod-Posavina', '1', '0.00000'), - ('862', '53', 'SD', 'Split-Dalmatia', '1', '0.00000'), - ('863', '53', 'VA', 'Varazdin', '1', '0.00000'), - ('864', '53', 'VP', 'Virovitica-Podravina', '1', '0.00000'), - ('865', '53', 'VS', 'Vukovar-Srijem', '1', '0.00000'), - ('866', '53', 'ZK', 'Zadar-Knin', '1', '0.00000'), - ('867', '53', 'ZA', 'Zagreb', '1', '0.00000'), - ('868', '54', 'CA', 'Camaguey', '1', '0.00000'), - ('869', '54', 'CD', 'Ciego de Avila', '1', '0.00000'), - ('870', '54', 'CI', 'Cienfuegos', '1', '0.00000'), - ('871', '54', 'CH', 'Ciudad de La Habana', '1', '0.00000'), - ('872', '54', 'GR', 'Granma', '1', '0.00000'), - ('873', '54', 'GU', 'Guantanamo', '1', '0.00000'), - ('874', '54', 'HO', 'Holguin', '1', '0.00000'), - ('875', '54', 'IJ', 'Isla de la Juventud', '1', '0.00000'), - ('876', '54', 'LH', 'La Habana', '1', '0.00000'), - ('877', '54', 'LT', 'Las Tunas', '1', '0.00000'), - ('878', '54', 'MA', 'Matanzas', '1', '0.00000'), - ('879', '54', 'PR', 'Pinar del Rio', '1', '0.00000'), - ('880', '54', 'SS', 'Sancti Spiritus', '1', '0.00000'), - ('881', '54', 'SC', 'Santiago de Cuba', '1', '0.00000'), - ('882', '54', 'VC', 'Villa Clara', '1', '0.00000'), - ('883', '55', 'F', 'Famagusta', '1', '0.00000'), - ('884', '55', 'K', 'Kyrenia', '1', '0.00000'), - ('885', '55', 'A', 'Larnaca', '1', '0.00000'), - ('886', '55', 'I', 'Limassol', '1', '0.00000'), - ('887', '55', 'N', 'Nicosia', '1', '0.00000'), - ('888', '55', 'P', 'Paphos', '1', '0.00000'), - ('889', '56', 'U', 'Ustecky', '1', '0.00000'), - ('890', '56', 'C', 'Jihocesky', '1', '0.00000'), - ('891', '56', 'B', 'Jihomoravsky', '1', '0.00000'), - ('892', '56', 'K', 'Karlovarsky', '1', '0.00000'), - ('893', '56', 'H', 'Kralovehradecky', '1', '0.00000'), - ('894', '56', 'L', 'Liberecky', '1', '0.00000'), - ('895', '56', 'T', 'Moravskoslezsky', '1', '0.00000'), - ('896', '56', 'M', 'Olomoucky', '1', '0.00000'), - ('897', '56', 'E', 'Pardubicky', '1', '0.00000'), - ('898', '56', 'P', 'Plzensky', '1', '0.00000'), - ('899', '56', 'A', 'Praha', '1', '0.00000'), - ('900', '56', 'S', 'Stredocesky', '1', '0.00000'), - ('901', '56', 'J', 'Vysocina', '1', '0.00000'), - ('902', '56', 'Z', 'Zlinsky', '1', '0.00000'), - ('903', '57', 'AR', 'Arhus', '1', '0.00000'), - ('904', '57', 'BH', 'Bornholm', '1', '0.00000'), - ('905', '57', 'CO', 'Copenhagen', '1', '0.00000'), - ('906', '57', 'FO', 'Faroe Islands', '1', '0.00000'), - ('907', '57', 'FR', 'Frederiksborg', '1', '0.00000'), - ('908', '57', 'FY', 'Fyn', '1', '0.00000'), - ('909', '57', 'KO', 'Kobenhavn', '1', '0.00000'), - ('910', '57', 'NO', 'Nordjylland', '1', '0.00000'), - ('911', '57', 'RI', 'Ribe', '1', '0.00000'), - ('912', '57', 'RK', 'Ringkobing', '1', '0.00000'), - ('913', '57', 'RO', 'Roskilde', '1', '0.00000'), - ('914', '57', 'SO', 'Sonderjylland', '1', '0.00000'), - ('915', '57', 'ST', 'Storstrom', '1', '0.00000'), - ('916', '57', 'VK', 'Vejle', '1', '0.00000'), - ('917', '57', 'VJ', 'Vestjælland', '1', '0.00000'), - ('918', '57', 'VB', 'Viborg', '1', '0.00000'), - ('919', '58', 'S', '\'Ali Sabih', '1', '0.00000'), - ('920', '58', 'K', 'Dikhil', '1', '0.00000'), - ('921', '58', 'J', 'Djibouti', '1', '0.00000'), - ('922', '58', 'O', 'Obock', '1', '0.00000'), - ('923', '58', 'T', 'Tadjoura', '1', '0.00000'), - ('924', '59', 'AND', 'Saint Andrew Parish', '1', '0.00000'), - ('925', '59', 'DAV', 'Saint David Parish', '1', '0.00000'), - ('926', '59', 'GEO', 'Saint George Parish', '1', '0.00000'), - ('927', '59', 'JOH', 'Saint John Parish', '1', '0.00000'), - ('928', '59', 'JOS', 'Saint Joseph Parish', '1', '0.00000'), - ('929', '59', 'LUK', 'Saint Luke Parish', '1', '0.00000'), - ('930', '59', 'MAR', 'Saint Mark Parish', '1', '0.00000'), - ('931', '59', 'PAT', 'Saint Patrick Parish', '1', '0.00000'), - ('932', '59', 'PAU', 'Saint Paul Parish', '1', '0.00000'), - ('933', '59', 'PET', 'Saint Peter Parish', '1', '0.00000'), - ('934', '60', 'DN', 'Distrito Nacional', '1', '0.00000'), - ('935', '60', 'AZ', 'Azua', '1', '0.00000'), - ('936', '60', 'BC', 'Baoruco', '1', '0.00000'), - ('937', '60', 'BH', 'Barahona', '1', '0.00000'), - ('938', '60', 'DJ', 'Dajabon', '1', '0.00000'), - ('939', '60', 'DU', 'Duarte', '1', '0.00000'), - ('940', '60', 'EL', 'Elias Pina', '1', '0.00000'), - ('941', '60', 'SY', 'El Seybo', '1', '0.00000'), - ('942', '60', 'ET', 'Espaillat', '1', '0.00000'), - ('943', '60', 'HM', 'Hato Mayor', '1', '0.00000'), - ('944', '60', 'IN', 'Independencia', '1', '0.00000'), - ('945', '60', 'AL', 'La Altagracia', '1', '0.00000'), - ('946', '60', 'RO', 'La Romana', '1', '0.00000'), - ('947', '60', 'VE', 'La Vega', '1', '0.00000'), - ('948', '60', 'MT', 'Maria Trinidad Sanchez', '1', '0.00000'), - ('949', '60', 'MN', 'Monsenor Nouel', '1', '0.00000'), - ('950', '60', 'MC', 'Monte Cristi', '1', '0.00000'), - ('951', '60', 'MP', 'Monte Plata', '1', '0.00000'), - ('952', '60', 'PD', 'Pedernales', '1', '0.00000'), - ('953', '60', 'PR', 'Peravia (Bani)', '1', '0.00000'), - ('954', '60', 'PP', 'Puerto Plata', '1', '0.00000'), - ('955', '60', 'SL', 'Salcedo', '1', '0.00000'), - ('956', '60', 'SM', 'Samana', '1', '0.00000'), - ('957', '60', 'SH', 'Sanchez Ramirez', '1', '0.00000'), - ('958', '60', 'SC', 'San Cristobal', '1', '0.00000'), - ('959', '60', 'JO', 'San Jose de Ocoa', '1', '0.00000'), - ('960', '60', 'SJ', 'San Juan', '1', '0.00000'), - ('961', '60', 'PM', 'San Pedro de Macoris', '1', '0.00000'), - ('962', '60', 'SA', 'Santiago', '1', '0.00000'), - ('963', '60', 'ST', 'Santiago Rodriguez', '1', '0.00000'), - ('964', '60', 'SD', 'Santo Domingo', '1', '0.00000'), - ('965', '60', 'VA', 'Valverde', '1', '0.00000'), - ('966', '61', 'AL', 'Aileu', '1', '0.00000'), - ('967', '61', 'AN', 'Ainaro', '1', '0.00000'), - ('968', '61', 'BA', 'Baucau', '1', '0.00000'), - ('969', '61', 'BO', 'Bobonaro', '1', '0.00000'), - ('970', '61', 'CO', 'Cova Lima', '1', '0.00000'), - ('971', '61', 'DI', 'Dili', '1', '0.00000'), - ('972', '61', 'ER', 'Ermera', '1', '0.00000'), - ('973', '61', 'LA', 'Lautem', '1', '0.00000'), - ('974', '61', 'LI', 'Liquica', '1', '0.00000'), - ('975', '61', 'MT', 'Manatuto', '1', '0.00000'), - ('976', '61', 'MF', 'Manufahi', '1', '0.00000'), - ('977', '61', 'OE', 'Oecussi', '1', '0.00000'), - ('978', '61', 'VI', 'Viqueque', '1', '0.00000'), - ('979', '62', 'AZU', 'Azuay', '1', '0.00000'), - ('980', '62', 'BOL', 'Bolivar', '1', '0.00000'), - ('981', '62', 'CAN', 'Cañar', '1', '0.00000'), - ('982', '62', 'CAR', 'Carchi', '1', '0.00000'), - ('983', '62', 'CHI', 'Chimborazo', '1', '0.00000'), - ('984', '62', 'COT', 'Cotopaxi', '1', '0.00000'), - ('985', '62', 'EOR', 'El Oro', '1', '0.00000'), - ('986', '62', 'ESM', 'Esmeraldas', '1', '0.00000'), - ('987', '62', 'GPS', 'Galápagos', '1', '0.00000'), - ('988', '62', 'GUA', 'Guayas', '1', '0.00000'), - ('989', '62', 'IMB', 'Imbabura', '1', '0.00000'), - ('990', '62', 'LOJ', 'Loja', '1', '0.00000'), - ('991', '62', 'LRO', 'Los Rios', '1', '0.00000'), - ('992', '62', 'MAN', 'Manabí', '1', '0.00000'), - ('993', '62', 'MSA', 'Morona Santiago', '1', '0.00000'), - ('994', '62', 'NAP', 'Napo', '1', '0.00000'), - ('995', '62', 'ORE', 'Orellana', '1', '0.00000'), - ('996', '62', 'PAS', 'Pastaza', '1', '0.00000'), - ('997', '62', 'PIC', 'Pichincha', '1', '0.00000'), - ('998', '62', 'SUC', 'Sucumbíos', '1', '0.00000'), - ('999', '62', 'TUN', 'Tungurahua', '1', '0.00000'), - ('1000', '62', 'ZCH', 'Zamora Chinchipe', '1', '0.00000'), - ('1001', '63', 'DHY', 'Ad Daqahliyah', '1', '0.00000'), - ('1002', '63', 'BAM', 'Al Bahr al Ahmar', '1', '0.00000'), - ('1003', '63', 'BHY', 'Al Buhayrah', '1', '0.00000'), - ('1004', '63', 'FYM', 'Al Fayyum', '1', '0.00000'), - ('1005', '63', 'GBY', 'Al Gharbiyah', '1', '0.00000'), - ('1006', '63', 'IDR', 'Al Iskandariyah', '1', '0.00000'), - ('1007', '63', 'IML', 'Al Isma\'iliyah', '1', '0.00000'), - ('1008', '63', 'JZH', 'Al Jizah', '1', '0.00000'), - ('1009', '63', 'MFY', 'Al Minufiyah', '1', '0.00000'), - ('1010', '63', 'MNY', 'Al Minya', '1', '0.00000'), - ('1011', '63', 'QHR', 'Al Qahirah', '1', '0.00000'), - ('1012', '63', 'QLY', 'Al Qalyubiyah', '1', '0.00000'), - ('1013', '63', 'WJD', 'Al Wadi al Jadid', '1', '0.00000'), - ('1014', '63', 'SHQ', 'Ash Sharqiyah', '1', '0.00000'), - ('1015', '63', 'SWY', 'As Suways', '1', '0.00000'), - ('1016', '63', 'ASW', 'Aswan', '1', '0.00000'), - ('1017', '63', 'ASY', 'Asyut', '1', '0.00000'), - ('1018', '63', 'BSW', 'Bani Suwayf', '1', '0.00000'), - ('1019', '63', 'BSD', 'Bur Sa\'id', '1', '0.00000'), - ('1020', '63', 'DMY', 'Dumyat', '1', '0.00000'), - ('1021', '63', 'JNS', 'Janub Sina\'', '1', '0.00000'), - ('1022', '63', 'KSH', 'Kafr ash Shaykh', '1', '0.00000'), - ('1023', '63', 'MAT', 'Matruh', '1', '0.00000'), - ('1024', '63', 'QIN', 'Qina', '1', '0.00000'), - ('1025', '63', 'SHS', 'Shamal Sina\'', '1', '0.00000'), - ('1026', '63', 'SUH', 'Suhaj', '1', '0.00000'), - ('1027', '64', 'AH', 'Ahuachapan', '1', '0.00000'), - ('1028', '64', 'CA', 'Cabanas', '1', '0.00000'), - ('1029', '64', 'CH', 'Chalatenango', '1', '0.00000'), - ('1030', '64', 'CU', 'Cuscatlan', '1', '0.00000'), - ('1031', '64', 'LB', 'La Libertad', '1', '0.00000'), - ('1032', '64', 'PZ', 'La Paz', '1', '0.00000'), - ('1033', '64', 'UN', 'La Union', '1', '0.00000'), - ('1034', '64', 'MO', 'Morazan', '1', '0.00000'), - ('1035', '64', 'SM', 'San Miguel', '1', '0.00000'), - ('1036', '64', 'SS', 'San Salvador', '1', '0.00000'), - ('1037', '64', 'SV', 'San Vicente', '1', '0.00000'), - ('1038', '64', 'SA', 'Santa Ana', '1', '0.00000'), - ('1039', '64', 'SO', 'Sonsonate', '1', '0.00000'), - ('1040', '64', 'US', 'Usulutan', '1', '0.00000'), - ('1041', '65', 'AN', 'Provincia Annobon', '1', '0.00000'), - ('1042', '65', 'BN', 'Provincia Bioko Norte', '1', '0.00000'), - ('1043', '65', 'BS', 'Provincia Bioko Sur', '1', '0.00000'), - ('1044', '65', 'CS', 'Provincia Centro Sur', '1', '0.00000'), - ('1045', '65', 'KN', 'Provincia Kie-Ntem', '1', '0.00000'), - ('1046', '65', 'LI', 'Provincia Litoral', '1', '0.00000'), - ('1047', '65', 'WN', 'Provincia Wele-Nzas', '1', '0.00000'), - ('1048', '66', 'MA', 'Central (Maekel)', '1', '0.00000'), - ('1049', '66', 'KE', 'Anseba (Keren)', '1', '0.00000'), - ('1050', '66', 'DK', 'Southern Red Sea (Debub-Keih-Bahri)', '1', '0.00000'), - ('1051', '66', 'SK', 'Northern Red Sea (Semien-Keih-Bahri)', '1', '0.00000'), - ('1052', '66', 'DE', 'Southern (Debub)', '1', '0.00000'), - ('1053', '66', 'BR', 'Gash-Barka (Barentu)', '1', '0.00000'), - ('1054', '67', 'HA', 'Harjumaa (Tallinn)', '1', '0.00000'), - ('1055', '67', 'HI', 'Hiiumaa (Kardla)', '1', '0.00000'), - ('1056', '67', 'IV', 'Ida-Virumaa (Johvi)', '1', '0.00000'), - ('1057', '67', 'JA', 'Jarvamaa (Paide)', '1', '0.00000'), - ('1058', '67', 'JO', 'Jogevamaa (Jogeva)', '1', '0.00000'), - ('1059', '67', 'LV', 'Laane-Virumaa (Rakvere)', '1', '0.00000'), - ('1060', '67', 'LA', 'Laanemaa (Haapsalu)', '1', '0.00000'), - ('1061', '67', 'PA', 'Parnumaa (Parnu)', '1', '0.00000'), - ('1062', '67', 'PO', 'Polvamaa (Polva)', '1', '0.00000'), - ('1063', '67', 'RA', 'Raplamaa (Rapla)', '1', '0.00000'), - ('1064', '67', 'SA', 'Saaremaa (Kuessaare)', '1', '0.00000'), - ('1065', '67', 'TA', 'Tartumaa (Tartu)', '1', '0.00000'), - ('1066', '67', 'VA', 'Valgamaa (Valga)', '1', '0.00000'), - ('1067', '67', 'VI', 'Viljandimaa (Viljandi)', '1', '0.00000'), - ('1068', '67', 'VO', 'Vorumaa (Voru)', '1', '0.00000'), - ('1069', '68', 'AF', 'Afar', '1', '0.00000'), - ('1070', '68', 'AH', 'Amhara', '1', '0.00000'), - ('1071', '68', 'BG', 'Benishangul-Gumaz', '1', '0.00000'), - ('1072', '68', 'GB', 'Gambela', '1', '0.00000'), - ('1073', '68', 'HR', 'Hariai', '1', '0.00000'), - ('1074', '68', 'OR', 'Oromia', '1', '0.00000'), - ('1075', '68', 'SM', 'Somali', '1', '0.00000'), - ('1076', '68', 'SN', 'Southern Nations - Nationalities and Peoples Region', '1', '0.00000'), - ('1077', '68', 'TG', 'Tigray', '1', '0.00000'), - ('1078', '68', 'AA', 'Addis Ababa', '1', '0.00000'), - ('1079', '68', 'DD', 'Dire Dawa', '1', '0.00000'), - ('1080', '71', 'C', 'Central Division', '1', '0.00000'), - ('1081', '71', 'N', 'Northern Division', '1', '0.00000'), - ('1082', '71', 'E', 'Eastern Division', '1', '0.00000'), - ('1083', '71', 'W', 'Western Division', '1', '0.00000'), - ('1084', '71', 'R', 'Rotuma', '1', '0.00000'), - ('1085', '72', 'AL', 'Ahvenanmaan Laani', '1', '0.00000'), - ('1086', '72', 'ES', 'Etela-Suomen Laani', '1', '0.00000'), - ('1087', '72', 'IS', 'Ita-Suomen Laani', '1', '0.00000'), - ('1088', '72', 'LS', 'Lansi-Suomen Laani', '1', '0.00000'), - ('1089', '72', 'LA', 'Lapin Lanani', '1', '0.00000'), - ('1090', '72', 'OU', 'Oulun Laani', '1', '0.00000'), - ('1091', '73', 'AL', 'Alsace', '1', '0.00000'), - ('1092', '73', 'AQ', 'Aquitaine', '1', '0.00000'), - ('1093', '73', 'AU', 'Auvergne', '1', '0.00000'), - ('1094', '73', 'BR', 'Brittany', '1', '0.00000'), - ('1095', '73', 'BU', 'Burgundy', '1', '0.00000'), - ('1096', '73', 'CE', 'Center Loire Valley', '1', '0.00000'), - ('1097', '73', 'CH', 'Champagne', '1', '0.00000'), - ('1098', '73', 'CO', 'Corse', '1', '0.00000'), - ('1099', '73', 'FR', 'France Comte', '1', '0.00000'), - ('1100', '73', 'LA', 'Languedoc Roussillon', '1', '0.00000'), - ('1101', '73', 'LI', 'Limousin', '1', '0.00000'), - ('1102', '73', 'LO', 'Lorraine', '1', '0.00000'), - ('1103', '73', 'MI', 'Midi Pyrenees', '1', '0.00000'), - ('1104', '73', 'NO', 'Nord Pas de Calais', '1', '0.00000'), - ('1105', '73', 'NR', 'Normandy', '1', '0.00000'), - ('1106', '73', 'PA', 'Paris / Ill de France', '1', '0.00000'), - ('1107', '73', 'PI', 'Picardie', '1', '0.00000'), - ('1108', '73', 'PO', 'Poitou Charente', '1', '0.00000'), - ('1109', '73', 'PR', 'Provence', '1', '0.00000'), - ('1110', '73', 'RH', 'Rhone Alps', '1', '0.00000'), - ('1111', '73', 'RI', 'Riviera', '1', '0.00000'), - ('1112', '73', 'WE', 'Western Loire Valley', '1', '0.00000'), - ('1113', '74', 'Et', 'Etranger', '1', '0.00000'), - ('1114', '74', '01', 'Ain', '1', '0.00000'), - ('1115', '74', '02', 'Aisne', '1', '0.00000'), - ('1116', '74', '03', 'Allier', '1', '0.00000'), - ('1117', '74', '04', 'Alpes de Haute Provence', '1', '0.00000'), - ('1118', '74', '05', 'Hautes-Alpes', '1', '0.00000'), - ('1119', '74', '06', 'Alpes Maritimes', '1', '0.00000'), - ('1120', '74', '07', 'Ardèche', '1', '0.00000'), - ('1121', '74', '08', 'Ardennes', '1', '0.00000'), - ('1122', '74', '09', 'Ariège', '1', '0.00000'), - ('1123', '74', '10', 'Aube', '1', '0.00000'), - ('1124', '74', '11', 'Aude', '1', '0.00000'), - ('1125', '74', '12', 'Aveyron', '1', '0.00000'), - ('1126', '74', '13', 'Bouches du Rhône', '1', '0.00000'), - ('1127', '74', '14', 'Calvados', '1', '0.00000'), - ('1128', '74', '15', 'Cantal', '1', '0.00000'), - ('1129', '74', '16', 'Charente', '1', '0.00000'), - ('1130', '74', '17', 'Charente Maritime', '1', '0.00000'), - ('1131', '74', '18', 'Cher', '1', '0.00000'), - ('1132', '74', '19', 'Corrèze', '1', '0.00000'), - ('1133', '74', '2A', 'Corse du Sud', '1', '0.00000'), - ('1134', '74', '2B', 'Haute Corse', '1', '0.00000'), - ('1135', '74', '21', 'Côte d'or', '1', '0.00000'), - ('1136', '74', '22', 'Côtes d'Armor', '1', '0.00000'), - ('1137', '74', '23', 'Creuse', '1', '0.00000'), - ('1138', '74', '24', 'Dordogne', '1', '0.00000'), - ('1139', '74', '25', 'Doubs', '1', '0.00000'), - ('1140', '74', '26', 'Drôme', '1', '0.00000'), - ('1141', '74', '27', 'Eure', '1', '0.00000'), - ('1142', '74', '28', 'Eure et Loir', '1', '0.00000'), - ('1143', '74', '29', 'Finistère', '1', '0.00000'), - ('1144', '74', '30', 'Gard', '1', '0.00000'), - ('1145', '74', '31', 'Haute Garonne', '1', '0.00000'), - ('1146', '74', '32', 'Gers', '1', '0.00000'), - ('1147', '74', '33', 'Gironde', '1', '0.00000'), - ('1148', '74', '34', 'Hérault', '1', '0.00000'), - ('1149', '74', '35', 'Ille et Vilaine', '1', '0.00000'), - ('1150', '74', '36', 'Indre', '1', '0.00000'), - ('1151', '74', '37', 'Indre et Loire', '1', '0.00000'), - ('1152', '74', '38', 'Isére', '1', '0.00000'), - ('1153', '74', '39', 'Jura', '1', '0.00000'), - ('1154', '74', '40', 'Landes', '1', '0.00000'), - ('1155', '74', '41', 'Loir et Cher', '1', '0.00000'), - ('1156', '74', '42', 'Loire', '1', '0.00000'), - ('1157', '74', '43', 'Haute Loire', '1', '0.00000'), - ('1158', '74', '44', 'Loire Atlantique', '1', '0.00000'), - ('1159', '74', '45', 'Loiret', '1', '0.00000'), - ('1160', '74', '46', 'Lot', '1', '0.00000'), - ('1161', '74', '47', 'Lot et Garonne', '1', '0.00000'), - ('1162', '74', '48', 'Lozère', '1', '0.00000'), - ('1163', '74', '49', 'Maine et Loire', '1', '0.00000'), - ('1164', '74', '50', 'Manche', '1', '0.00000'), - ('1165', '74', '51', 'Marne', '1', '0.00000'), - ('1166', '74', '52', 'Haute Marne', '1', '0.00000'), - ('1167', '74', '53', 'Mayenne', '1', '0.00000'), - ('1168', '74', '54', 'Meurthe et Moselle', '1', '0.00000'), - ('1169', '74', '55', 'Meuse', '1', '0.00000'), - ('1170', '74', '56', 'Morbihan', '1', '0.00000'), - ('1171', '74', '57', 'Moselle', '1', '0.00000'), - ('1172', '74', '58', 'Nièvre', '1', '0.00000'), - ('1173', '74', '59', 'Nord', '1', '0.00000'), - ('1174', '74', '60', 'Oise', '1', '0.00000'), - ('1175', '74', '61', 'Orne', '1', '0.00000'), - ('1176', '74', '62', 'Pas de Calais', '1', '0.00000'), - ('1177', '74', '63', 'Puy de Dôme', '1', '0.00000'), - ('1178', '74', '64', 'Pyrénées Atlantiques', '1', '0.00000'), - ('1179', '74', '65', 'Hautes Pyrénées', '1', '0.00000'), - ('1180', '74', '66', 'Pyrénées Orientales', '1', '0.00000'), - ('1181', '74', '67', 'Bas Rhin', '1', '0.00000'), - ('1182', '74', '68', 'Haut Rhin', '1', '0.00000'), - ('1183', '74', '69', 'Rhône', '1', '0.00000'), - ('1184', '74', '70', 'Haute Saône', '1', '0.00000'), - ('1185', '74', '71', 'Saône et Loire', '1', '0.00000'), - ('1186', '74', '72', 'Sarthe', '1', '0.00000'), - ('1187', '74', '73', 'Savoie', '1', '0.00000'), - ('1188', '74', '74', 'Haute Savoie', '1', '0.00000'), - ('1189', '74', '75', 'Paris', '1', '0.00000'), - ('1190', '74', '76', 'Seine Maritime', '1', '0.00000'), - ('1191', '74', '77', 'Seine et Marne', '1', '0.00000'), - ('1192', '74', '78', 'Yvelines', '1', '0.00000'), - ('1193', '74', '79', 'Deux Sèvres', '1', '0.00000'), - ('1194', '74', '80', 'Somme', '1', '0.00000'), - ('1195', '74', '81', 'Tarn', '1', '0.00000'), - ('1196', '74', '82', 'Tarn et Garonne', '1', '0.00000'), - ('1197', '74', '83', 'Var', '1', '0.00000'), - ('1198', '74', '84', 'Vaucluse', '1', '0.00000'), - ('1199', '74', '85', 'Vendée', '1', '0.00000'), - ('1200', '74', '86', 'Vienne', '1', '0.00000'), - ('1201', '74', '87', 'Haute Vienne', '1', '0.00000'), - ('1202', '74', '88', 'Vosges', '1', '0.00000'), - ('1203', '74', '89', 'Yonne', '1', '0.00000'), - ('1204', '74', '90', 'Territoire de Belfort', '1', '0.00000'), - ('1205', '74', '91', 'Essonne', '1', '0.00000'), - ('1206', '74', '92', 'Hauts de Seine', '1', '0.00000'), - ('1207', '74', '93', 'Seine St-Denis', '1', '0.00000'), - ('1208', '74', '94', 'Val de Marne', '1', '0.00000'), - ('1209', '74', '95', 'Val d\'Oise', '1', '0.00000'), - ('1210', '76', 'M', 'Archipel des Marquises', '1', '0.00000'), - ('1211', '76', 'T', 'Archipel des Tuamotu', '1', '0.00000'), - ('1212', '76', 'I', 'Archipel des Tubuai', '1', '0.00000'), - ('1213', '76', 'V', 'Iles du Vent', '1', '0.00000'), - ('1214', '76', 'S', 'Iles Sous-le-Vent', '1', '0.00000'), - ('1215', '77', 'C', 'Iles Crozet', '1', '0.00000'), - ('1216', '77', 'K', 'Iles Kerguelen', '1', '0.00000'), - ('1217', '77', 'A', 'Ile Amsterdam', '1', '0.00000'), - ('1218', '77', 'P', 'Ile Saint-Paul', '1', '0.00000'), - ('1219', '77', 'D', 'Adelie Land', '1', '0.00000'), - ('1220', '78', 'ES', 'Estuaire', '1', '0.00000'), - ('1221', '78', 'HO', 'Haut-Ogooue', '1', '0.00000'), - ('1222', '78', 'MO', 'Moyen-Ogooue', '1', '0.00000'), - ('1223', '78', 'NG', 'Ngounie', '1', '0.00000'), - ('1224', '78', 'NY', 'Nyanga', '1', '0.00000'), - ('1225', '78', 'OI', 'Ogooue-Ivindo', '1', '0.00000'), - ('1226', '78', 'OL', 'Ogooue-Lolo', '1', '0.00000'), - ('1227', '78', 'OM', 'Ogooue-Maritime', '1', '0.00000'), - ('1228', '78', 'WN', 'Woleu-Ntem', '1', '0.00000'), - ('1229', '79', 'BJ', 'Banjul', '1', '0.00000'), - ('1230', '79', 'BS', 'Basse', '1', '0.00000'), - ('1231', '79', 'BR', 'Brikama', '1', '0.00000'), - ('1232', '79', 'JA', 'Janjangbure', '1', '0.00000'), - ('1233', '79', 'KA', 'Kanifeng', '1', '0.00000'), - ('1234', '79', 'KE', 'Kerewan', '1', '0.00000'), - ('1235', '79', 'KU', 'Kuntaur', '1', '0.00000'), - ('1236', '79', 'MA', 'Mansakonko', '1', '0.00000'), - ('1237', '79', 'LR', 'Lower River', '1', '0.00000'), - ('1238', '79', 'CR', 'Central River', '1', '0.00000'), - ('1239', '79', 'NB', 'North Bank', '1', '0.00000'), - ('1240', '79', 'UR', 'Upper River', '1', '0.00000'), - ('1241', '79', 'WE', 'Western', '1', '0.00000'), - ('1242', '80', 'AB', 'Abkhazia', '1', '0.00000'), - ('1243', '80', 'AJ', 'Ajaria', '1', '0.00000'), - ('1244', '80', 'TB', 'Tbilisi', '1', '0.00000'), - ('1245', '80', 'GU', 'Guria', '1', '0.00000'), - ('1246', '80', 'IM', 'Imereti', '1', '0.00000'), - ('1247', '80', 'KA', 'Kakheti', '1', '0.00000'), - ('1248', '80', 'KK', 'Kvemo Kartli', '1', '0.00000'), - ('1249', '80', 'MM', 'Mtskheta-Mtianeti', '1', '0.00000'), - ('1250', '80', 'RL', 'Racha Lechkhumi and Kvemo Svanet', '1', '0.00000'), - ('1251', '80', 'SZ', 'Samegrelo-Zemo Svaneti', '1', '0.00000'), - ('1252', '80', 'SJ', 'Samtskhe-Javakheti', '1', '0.00000'), - ('1253', '80', 'SK', 'Shida Kartli', '1', '0.00000'), - ('1254', '81', 'BAW', 'Baden-Württemberg', '1', '0.00000'), - ('1255', '81', 'BAY', 'Bayern', '1', '0.00000'), - ('1256', '81', 'BER', 'Berlin', '1', '0.00000'), - ('1257', '81', 'BRG', 'Brandenburg', '1', '0.00000'), - ('1258', '81', 'BRE', 'Bremen', '1', '0.00000'), - ('1259', '81', 'HAM', 'Hamburg', '1', '0.00000'), - ('1260', '81', 'HES', 'Hessen', '1', '0.00000'), - ('1261', '81', 'MEC', 'Mecklenburg-Vorpommern', '1', '0.00000'), - ('1262', '81', 'NDS', 'Niedersachsen', '1', '0.00000'), - ('1263', '81', 'NRW', 'Nordrhein-Westfalen', '1', '0.00000'), - ('1264', '81', 'RHE', 'Rheinland-Pfalz', '1', '0.00000'), - ('1265', '81', 'SAR', 'Saarland', '1', '0.00000'), - ('1266', '81', 'SAS', 'Sachsen', '1', '0.00000'), - ('1267', '81', 'SAC', 'Sachsen-Anhalt', '1', '0.00000'), - ('1268', '81', 'SCN', 'Schleswig-Holstein', '1', '0.00000'), - ('1269', '81', 'THE', 'Thüringen', '1', '0.00000'), - ('1270', '82', 'AS', 'Ashanti Region', '1', '0.00000'), - ('1271', '82', 'BA', 'Brong-Ahafo Region', '1', '0.00000'), - ('1272', '82', 'CE', 'Central Region', '1', '0.00000'), - ('1273', '82', 'EA', 'Eastern Region', '1', '0.00000'), - ('1274', '82', 'GA', 'Greater Accra Region', '1', '0.00000'), - ('1275', '82', 'NO', 'Northern Region', '1', '0.00000'), - ('1276', '82', 'UE', 'Upper East Region', '1', '0.00000'), - ('1277', '82', 'UW', 'Upper West Region', '1', '0.00000'), - ('1278', '82', 'VO', 'Volta Region', '1', '0.00000'), - ('1279', '82', 'WE', 'Western Region', '1', '0.00000'), - ('1280', '84', 'AT', 'Attica', '1', '0.00000'), - ('1281', '84', 'CN', 'Central Greece', '1', '0.00000'), - ('1282', '84', 'CM', 'Central Macedonia', '1', '0.00000'), - ('1283', '84', 'CR', 'Crete', '1', '0.00000');"; - - - $query[] = "INSERT INTO `".$prefix."country_zones` VALUES ('1284', '84', 'EM', 'East Macedonia and Thrace', '1', '0.00000'), - ('1285', '84', 'EP', 'Epirus', '1', '0.00000'), - ('1286', '84', 'II', 'Ionian Islands', '1', '0.00000'), - ('1287', '84', 'NA', 'North Aegean', '1', '0.00000'), - ('1288', '84', 'PP', 'Peloponnesos', '1', '0.00000'), - ('1289', '84', 'SA', 'South Aegean', '1', '0.00000'), - ('1290', '84', 'TH', 'Thessaly', '1', '0.00000'), - ('1291', '84', 'WG', 'West Greece', '1', '0.00000'), - ('1292', '84', 'WM', 'West Macedonia', '1', '0.00000'), - ('1293', '85', 'A', 'Avannaa', '1', '0.00000'), - ('1294', '85', 'T', 'Tunu', '1', '0.00000'), - ('1295', '85', 'K', 'Kitaa', '1', '0.00000'), - ('1296', '86', 'A', 'Saint Andrew', '1', '0.00000'), - ('1297', '86', 'D', 'Saint David', '1', '0.00000'), - ('1298', '86', 'G', 'Saint George', '1', '0.00000'), - ('1299', '86', 'J', 'Saint John', '1', '0.00000'), - ('1300', '86', 'M', 'Saint Mark', '1', '0.00000'), - ('1301', '86', 'P', 'Saint Patrick', '1', '0.00000'), - ('1302', '86', 'C', 'Carriacou', '1', '0.00000'), - ('1303', '86', 'Q', 'Petit Martinique', '1', '0.00000'), - ('1304', '89', 'AV', 'Alta Verapaz', '1', '0.00000'), - ('1305', '89', 'BV', 'Baja Verapaz', '1', '0.00000'), - ('1306', '89', 'CM', 'Chimaltenango', '1', '0.00000'), - ('1307', '89', 'CQ', 'Chiquimula', '1', '0.00000'), - ('1308', '89', 'PE', 'El Peten', '1', '0.00000'), - ('1309', '89', 'PR', 'El Progreso', '1', '0.00000'), - ('1310', '89', 'QC', 'El Quiche', '1', '0.00000'), - ('1311', '89', 'ES', 'Escuintla', '1', '0.00000'), - ('1312', '89', 'GU', 'Guatemala', '1', '0.00000'), - ('1313', '89', 'HU', 'Huehuetenango', '1', '0.00000'), - ('1314', '89', 'IZ', 'Izabal', '1', '0.00000'), - ('1315', '89', 'JA', 'Jalapa', '1', '0.00000'), - ('1316', '89', 'JU', 'Jutiapa', '1', '0.00000'), - ('1317', '89', 'QZ', 'Quetzaltenango', '1', '0.00000'), - ('1318', '89', 'RE', 'Retalhuleu', '1', '0.00000'), - ('1319', '89', 'ST', 'Sacatepequez', '1', '0.00000'), - ('1320', '89', 'SM', 'San Marcos', '1', '0.00000'), - ('1321', '89', 'SR', 'Santa Rosa', '1', '0.00000'), - ('1322', '89', 'SO', 'Solola', '1', '0.00000'), - ('1323', '89', 'SU', 'Suchitepequez', '1', '0.00000'), - ('1324', '89', 'TO', 'Totonicapan', '1', '0.00000'), - ('1325', '89', 'ZA', 'Zacapa', '1', '0.00000'), - ('1326', '90', 'CNK', 'Conakry', '1', '0.00000'), - ('1327', '90', 'BYL', 'Beyla', '1', '0.00000'), - ('1328', '90', 'BFA', 'Boffa', '1', '0.00000'), - ('1329', '90', 'BOK', 'Boke', '1', '0.00000'), - ('1330', '90', 'COY', 'Coyah', '1', '0.00000'), - ('1331', '90', 'DBL', 'Dabola', '1', '0.00000'), - ('1332', '90', 'DLB', 'Dalaba', '1', '0.00000'), - ('1333', '90', 'DGR', 'Dinguiraye', '1', '0.00000'), - ('1334', '90', 'DBR', 'Dubreka', '1', '0.00000'), - ('1335', '90', 'FRN', 'Faranah', '1', '0.00000'), - ('1336', '90', 'FRC', 'Forecariah', '1', '0.00000'), - ('1337', '90', 'FRI', 'Fria', '1', '0.00000'), - ('1338', '90', 'GAO', 'Gaoual', '1', '0.00000'), - ('1339', '90', 'GCD', 'Gueckedou', '1', '0.00000'), - ('1340', '90', 'KNK', 'Kankan', '1', '0.00000'), - ('1341', '90', 'KRN', 'Kerouane', '1', '0.00000'), - ('1342', '90', 'KND', 'Kindia', '1', '0.00000'), - ('1343', '90', 'KSD', 'Kissidougou', '1', '0.00000'), - ('1344', '90', 'KBA', 'Koubia', '1', '0.00000'), - ('1345', '90', 'KDA', 'Koundara', '1', '0.00000'), - ('1346', '90', 'KRA', 'Kouroussa', '1', '0.00000'), - ('1347', '90', 'LAB', 'Labe', '1', '0.00000'), - ('1348', '90', 'LLM', 'Lelouma', '1', '0.00000'), - ('1349', '90', 'LOL', 'Lola', '1', '0.00000'), - ('1350', '90', 'MCT', 'Macenta', '1', '0.00000'), - ('1351', '90', 'MAL', 'Mali', '1', '0.00000'), - ('1352', '90', 'MAM', 'Mamou', '1', '0.00000'), - ('1353', '90', 'MAN', 'Mandiana', '1', '0.00000'), - ('1354', '90', 'NZR', 'Nzerekore', '1', '0.00000'), - ('1355', '90', 'PIT', 'Pita', '1', '0.00000'), - ('1356', '90', 'SIG', 'Siguiri', '1', '0.00000'), - ('1357', '90', 'TLM', 'Telimele', '1', '0.00000'), - ('1358', '90', 'TOG', 'Tougue', '1', '0.00000'), - ('1359', '90', 'YOM', 'Yomou', '1', '0.00000'), - ('1360', '91', 'BF', 'Bafata Region', '1', '0.00000'), - ('1361', '91', 'BB', 'Biombo Region', '1', '0.00000'), - ('1362', '91', 'BS', 'Bissau Region', '1', '0.00000'), - ('1363', '91', 'BL', 'Bolama Region', '1', '0.00000'), - ('1364', '91', 'CA', 'Cacheu Region', '1', '0.00000'), - ('1365', '91', 'GA', 'Gabu Region', '1', '0.00000'), - ('1366', '91', 'OI', 'Oio Region', '1', '0.00000'), - ('1367', '91', 'QU', 'Quinara Region', '1', '0.00000'), - ('1368', '91', 'TO', 'Tombali Region', '1', '0.00000'), - ('1369', '92', 'BW', 'Barima-Waini', '1', '0.00000'), - ('1370', '92', 'CM', 'Cuyuni-Mazaruni', '1', '0.00000'), - ('1371', '92', 'DM', 'Demerara-Mahaica', '1', '0.00000'), - ('1372', '92', 'EC', 'East Berbice-Corentyne', '1', '0.00000'), - ('1373', '92', 'EW', 'Essequibo Islands-West Demerara', '1', '0.00000'), - ('1374', '92', 'MB', 'Mahaica-Berbice', '1', '0.00000'), - ('1375', '92', 'PM', 'Pomeroon-Supenaam', '1', '0.00000'), - ('1376', '92', 'PI', 'Potaro-Siparuni', '1', '0.00000'), - ('1377', '92', 'UD', 'Upper Demerara-Berbice', '1', '0.00000'), - ('1378', '92', 'UT', 'Upper Takutu-Upper Essequibo', '1', '0.00000'), - ('1379', '93', 'AR', 'Artibonite', '1', '0.00000'), - ('1380', '93', 'CE', 'Centre', '1', '0.00000'), - ('1381', '93', 'GA', 'Grand\'Anse', '1', '0.00000'), - ('1382', '93', 'ND', 'Nord', '1', '0.00000'), - ('1383', '93', 'NE', 'Nord-Est', '1', '0.00000'), - ('1384', '93', 'NO', 'Nord-Ouest', '1', '0.00000'), - ('1385', '93', 'OU', 'Ouest', '1', '0.00000'), - ('1386', '93', 'SD', 'Sud', '1', '0.00000'), - ('1387', '93', 'SE', 'Sud-Est', '1', '0.00000'), - ('1388', '94', 'F', 'Flat Island', '1', '0.00000'), - ('1389', '94', 'M', 'McDonald Island', '1', '0.00000'), - ('1390', '94', 'S', 'Shag Island', '1', '0.00000'), - ('1391', '94', 'H', 'Heard Island', '1', '0.00000'), - ('1392', '95', 'AT', 'Atlantida', '1', '0.00000'), - ('1393', '95', 'CH', 'Choluteca', '1', '0.00000'), - ('1394', '95', 'CL', 'Colon', '1', '0.00000'), - ('1395', '95', 'CM', 'Comayagua', '1', '0.00000'), - ('1396', '95', 'CP', 'Copan', '1', '0.00000'), - ('1397', '95', 'CR', 'Cortes', '1', '0.00000'), - ('1398', '95', 'PA', 'El Paraiso', '1', '0.00000'), - ('1399', '95', 'FM', 'Francisco Morazan', '1', '0.00000'), - ('1400', '95', 'GD', 'Gracias a Dios', '1', '0.00000'), - ('1401', '95', 'IN', 'Intibuca', '1', '0.00000'), - ('1402', '95', 'IB', 'Islas de la Bahia (Bay Islands)', '1', '0.00000'), - ('1403', '95', 'PZ', 'La Paz', '1', '0.00000'), - ('1404', '95', 'LE', 'Lempira', '1', '0.00000'), - ('1405', '95', 'OC', 'Ocotepeque', '1', '0.00000'), - ('1406', '95', 'OL', 'Olancho', '1', '0.00000'), - ('1407', '95', 'SB', 'Santa Barbara', '1', '0.00000'), - ('1408', '95', 'VA', 'Valle', '1', '0.00000'), - ('1409', '95', 'YO', 'Yoro', '1', '0.00000'), - ('1410', '96', 'HCW', 'Central and Western Hong Kong Island', '1', '0.00000'), - ('1411', '96', 'HEA', 'Eastern Hong Kong Island', '1', '0.00000'), - ('1412', '96', 'HSO', 'Southern Hong Kong Island', '1', '0.00000'), - ('1413', '96', 'HWC', 'Wan Chai Hong Kong Island', '1', '0.00000'), - ('1414', '96', 'KKC', 'Kowloon City Kowloon', '1', '0.00000'), - ('1415', '96', 'KKT', 'Kwun Tong Kowloon', '1', '0.00000'), - ('1416', '96', 'KSS', 'Sham Shui Po Kowloon', '1', '0.00000'), - ('1417', '96', 'KWT', 'Wong Tai Sin Kowloon', '1', '0.00000'), - ('1418', '96', 'KYT', 'Yau Tsim Mong Kowloon', '1', '0.00000'), - ('1419', '96', 'NIS', 'Islands New Territories', '1', '0.00000'), - ('1420', '96', 'NKT', 'Kwai Tsing New Territories', '1', '0.00000'), - ('1421', '96', 'NNO', 'North New Territories', '1', '0.00000'), - ('1422', '96', 'NSK', 'Sai Kung New Territories', '1', '0.00000'), - ('1423', '96', 'NST', 'Sha Tin New Territories', '1', '0.00000'), - ('1424', '96', 'NTP', 'Tai Po New Territories', '1', '0.00000'), - ('1425', '96', 'NTW', 'Tsuen Wan New Territories', '1', '0.00000'), - ('1426', '96', 'NTM', 'Tuen Mun New Territories', '1', '0.00000'), - ('1427', '96', 'NYL', 'Yuen Long New Territories', '1', '0.00000'), - ('1428', '97', 'BK', 'Bacs-Kiskun', '1', '0.00000'), - ('1429', '97', 'BA', 'Baranya', '1', '0.00000'), - ('1430', '97', 'BE', 'Bekes', '1', '0.00000'), - ('1431', '97', 'BS', 'Bekescsaba', '1', '0.00000'), - ('1432', '97', 'BZ', 'Borsod-Abauj-Zemplen', '1', '0.00000'), - ('1433', '97', 'BU', 'Budapest', '1', '0.00000'), - ('1434', '97', 'CS', 'Csongrad', '1', '0.00000'), - ('1435', '97', 'DE', 'Debrecen', '1', '0.00000'), - ('1436', '97', 'DU', 'Dunaujvaros', '1', '0.00000'), - ('1437', '97', 'EG', 'Eger', '1', '0.00000'), - ('1438', '97', 'FE', 'Fejer', '1', '0.00000'), - ('1439', '97', 'GY', 'Gyor', '1', '0.00000'), - ('1440', '97', 'GM', 'Gyor-Moson-Sopron', '1', '0.00000'), - ('1441', '97', 'HB', 'Hajdu-Bihar', '1', '0.00000'), - ('1442', '97', 'HE', 'Heves', '1', '0.00000'), - ('1443', '97', 'HO', 'Hodmezovasarhely', '1', '0.00000'), - ('1444', '97', 'JN', 'Jasz-Nagykun-Szolnok', '1', '0.00000'), - ('1445', '97', 'KA', 'Kaposvar', '1', '0.00000'), - ('1446', '97', 'KE', 'Kecskemet', '1', '0.00000'), - ('1447', '97', 'KO', 'Komarom-Esztergom', '1', '0.00000'), - ('1448', '97', 'MI', 'Miskolc', '1', '0.00000'), - ('1449', '97', 'NA', 'Nagykanizsa', '1', '0.00000'), - ('1450', '97', 'NO', 'Nograd', '1', '0.00000'), - ('1451', '97', 'NY', 'Nyiregyhaza', '1', '0.00000'), - ('1452', '97', 'PE', 'Pecs', '1', '0.00000'), - ('1453', '97', 'PS', 'Pest', '1', '0.00000'), - ('1454', '97', 'SO', 'Somogy', '1', '0.00000'), - ('1455', '97', 'SP', 'Sopron', '1', '0.00000'), - ('1456', '97', 'SS', 'Szabolcs-Szatmar-Bereg', '1', '0.00000'), - ('1457', '97', 'SZ', 'Szeged', '1', '0.00000'), - ('1458', '97', 'SE', 'Szekesfehervar', '1', '0.00000'), - ('1459', '97', 'SL', 'Szolnok', '1', '0.00000'), - ('1460', '97', 'SM', 'Szombathely', '1', '0.00000'), - ('1461', '97', 'TA', 'Tatabanya', '1', '0.00000'), - ('1462', '97', 'TO', 'Tolna', '1', '0.00000'), - ('1463', '97', 'VA', 'Vas', '1', '0.00000'), - ('1464', '97', 'VE', 'Veszprem', '1', '0.00000'), - ('1465', '97', 'ZA', 'Zala', '1', '0.00000'), - ('1466', '97', 'ZZ', 'Zalaegerszeg', '1', '0.00000'), - ('1467', '98', 'AL', 'Austurland', '1', '0.00000'), - ('1468', '98', 'HF', 'Hofuoborgarsvaeoi', '1', '0.00000'), - ('1469', '98', 'NE', 'Norourland eystra', '1', '0.00000'), - ('1470', '98', 'NV', 'Norourland vestra', '1', '0.00000'), - ('1471', '98', 'SL', 'Suourland', '1', '0.00000'), - ('1472', '98', 'SN', 'Suournes', '1', '0.00000'), - ('1473', '98', 'VF', 'Vestfiroir', '1', '0.00000'), - ('1474', '98', 'VL', 'Vesturland', '1', '0.00000'), - ('1475', '99', 'AN', 'Andaman and Nicobar Islands', '1', '0.00000'), - ('1476', '99', 'AP', 'Andhra Pradesh', '1', '0.00000'), - ('1477', '99', 'AR', 'Arunachal Pradesh', '1', '0.00000'), - ('1478', '99', 'AS', 'Assam', '1', '0.00000'), - ('1479', '99', 'BI', 'Bihar', '1', '0.00000'), - ('1480', '99', 'CH', 'Chandigarh', '1', '0.00000'), - ('1481', '99', 'DA', 'Dadra and Nagar Haveli', '1', '0.00000'), - ('1482', '99', 'DM', 'Daman and Diu', '1', '0.00000'), - ('1483', '99', 'DE', 'Delhi', '1', '0.00000'), - ('1484', '99', 'GO', 'Goa', '1', '0.00000'), - ('1485', '99', 'GU', 'Gujarat', '1', '0.00000'), - ('1486', '99', 'HA', 'Haryana', '1', '0.00000'), - ('1487', '99', 'HP', 'Himachal Pradesh', '1', '0.00000'), - ('1488', '99', 'JA', 'Jammu and Kashmir', '1', '0.00000'), - ('1489', '99', 'KA', 'Karnataka', '1', '0.00000'), - ('1490', '99', 'KE', 'Kerala', '1', '0.00000'), - ('1491', '99', 'LI', 'Lakshadweep Islands', '1', '0.00000'), - ('1492', '99', 'MP', 'Madhya Pradesh', '1', '0.00000'), - ('1493', '99', 'MA', 'Maharashtra', '1', '0.00000'), - ('1494', '99', 'MN', 'Manipur', '1', '0.00000'), - ('1495', '99', 'ME', 'Meghalaya', '1', '0.00000'), - ('1496', '99', 'MI', 'Mizoram', '1', '0.00000'), - ('1497', '99', 'NA', 'Nagaland', '1', '0.00000'), - ('1498', '99', 'OR', 'Orissa', '1', '0.00000'), - ('1499', '99', 'PO', 'Pondicherry', '1', '0.00000'), - ('1500', '99', 'PU', 'Punjab', '1', '0.00000'), - ('1501', '99', 'RA', 'Rajasthan', '1', '0.00000'), - ('1502', '99', 'SI', 'Sikkim', '1', '0.00000'), - ('1503', '99', 'TN', 'Tamil Nadu', '1', '0.00000'), - ('1504', '99', 'TR', 'Tripura', '1', '0.00000'), - ('1505', '99', 'UP', 'Uttar Pradesh', '1', '0.00000'), - ('1506', '99', 'WB', 'West Bengal', '1', '0.00000'), - ('1507', '100', 'AC', 'Aceh', '1', '0.00000'), - ('1508', '100', 'BA', 'Bali', '1', '0.00000'), - ('1509', '100', 'BT', 'Banten', '1', '0.00000'), - ('1510', '100', 'BE', 'Bengkulu', '1', '0.00000'), - ('1511', '100', 'BD', 'BoDeTaBek', '1', '0.00000'), - ('1512', '100', 'GO', 'Gorontalo', '1', '0.00000'), - ('1513', '100', 'JK', 'Jakarta Raya', '1', '0.00000'), - ('1514', '100', 'JA', 'Jambi', '1', '0.00000'), - ('1515', '100', 'JB', 'Jawa Barat', '1', '0.00000'), - ('1516', '100', 'JT', 'Jawa Tengah', '1', '0.00000'), - ('1517', '100', 'JI', 'Jawa Timur', '1', '0.00000'), - ('1518', '100', 'KB', 'Kalimantan Barat', '1', '0.00000'), - ('1519', '100', 'KS', 'Kalimantan Selatan', '1', '0.00000'), - ('1520', '100', 'KT', 'Kalimantan Tengah', '1', '0.00000'), - ('1521', '100', 'KI', 'Kalimantan Timur', '1', '0.00000'), - ('1522', '100', 'BB', 'Kepulauan Bangka Belitung', '1', '0.00000'), - ('1523', '100', 'LA', 'Lampung', '1', '0.00000'), - ('1524', '100', 'MA', 'Maluku', '1', '0.00000'), - ('1525', '100', 'MU', 'Maluku Utara', '1', '0.00000'), - ('1526', '100', 'NB', 'Nusa Tenggara Barat', '1', '0.00000'), - ('1527', '100', 'NT', 'Nusa Tenggara Timur', '1', '0.00000'), - ('1528', '100', 'PA', 'Papua', '1', '0.00000'), - ('1529', '100', 'RI', 'Riau', '1', '0.00000'), - ('1530', '100', 'SN', 'Sulawesi Selatan', '1', '0.00000'), - ('1531', '100', 'ST', 'Sulawesi Tengah', '1', '0.00000'), - ('1532', '100', 'SG', 'Sulawesi Tenggara', '1', '0.00000'), - ('1533', '100', 'SA', 'Sulawesi Utara', '1', '0.00000'), - ('1534', '100', 'SB', 'Sumatera Barat', '1', '0.00000'), - ('1535', '100', 'SS', 'Sumatera Selatan', '1', '0.00000'), - ('1536', '100', 'SU', 'Sumatera Utara', '1', '0.00000'), - ('1537', '100', 'YO', 'Yogyakarta', '1', '0.00000'), - ('1538', '101', 'TEH', 'Tehran', '1', '0.00000'), - ('1539', '101', 'QOM', 'Qom', '1', '0.00000'), - ('1540', '101', 'MKZ', 'Markazi', '1', '0.00000'), - ('1541', '101', 'QAZ', 'Qazvin', '1', '0.00000'), - ('1542', '101', 'GIL', 'Gilan', '1', '0.00000'), - ('1543', '101', 'ARD', 'Ardabil', '1', '0.00000'), - ('1544', '101', 'ZAN', 'Zanjan', '1', '0.00000'), - ('1545', '101', 'EAZ', 'East Azarbaijan', '1', '0.00000'), - ('1546', '101', 'WEZ', 'West Azarbaijan', '1', '0.00000'), - ('1547', '101', 'KRD', 'Kurdistan', '1', '0.00000'), - ('1548', '101', 'HMD', 'Hamadan', '1', '0.00000'), - ('1549', '101', 'KRM', 'Kermanshah', '1', '0.00000'), - ('1550', '101', 'ILM', 'Ilam', '1', '0.00000'), - ('1551', '101', 'LRS', 'Lorestan', '1', '0.00000'), - ('1552', '101', 'KZT', 'Khuzestan', '1', '0.00000'), - ('1553', '101', 'CMB', 'Chahar Mahaal and Bakhtiari', '1', '0.00000'), - ('1554', '101', 'KBA', 'Kohkiluyeh and Buyer Ahmad', '1', '0.00000'), - ('1555', '101', 'BSH', 'Bushehr', '1', '0.00000'), - ('1556', '101', 'FAR', 'Fars', '1', '0.00000'), - ('1557', '101', 'HRM', 'Hormozgan', '1', '0.00000'), - ('1558', '101', 'SBL', 'Sistan and Baluchistan', '1', '0.00000'), - ('1559', '101', 'KRB', 'Kerman', '1', '0.00000'), - ('1560', '101', 'YZD', 'Yazd', '1', '0.00000'), - ('1561', '101', 'EFH', 'Esfahan', '1', '0.00000'), - ('1562', '101', 'SMN', 'Semnan', '1', '0.00000'), - ('1563', '101', 'MZD', 'Mazandaran', '1', '0.00000'), - ('1564', '101', 'GLS', 'Golestan', '1', '0.00000'), - ('1565', '101', 'NKH', 'North Khorasan', '1', '0.00000'), - ('1566', '101', 'RKH', 'Razavi Khorasan', '1', '0.00000'), - ('1567', '101', 'SKH', 'South Khorasan', '1', '0.00000'), - ('1568', '102', 'BD', 'Baghdad', '1', '0.00000'), - ('1569', '102', 'SD', 'Salah ad Din', '1', '0.00000'), - ('1570', '102', 'DY', 'Diyala', '1', '0.00000'), - ('1571', '102', 'WS', 'Wasit', '1', '0.00000'), - ('1572', '102', 'MY', 'Maysan', '1', '0.00000'), - ('1573', '102', 'BA', 'Al Basrah', '1', '0.00000'), - ('1574', '102', 'DQ', 'Dhi Qar', '1', '0.00000'), - ('1575', '102', 'MU', 'Al Muthanna', '1', '0.00000'), - ('1576', '102', 'QA', 'Al Qadisyah', '1', '0.00000'), - ('1577', '102', 'BB', 'Babil', '1', '0.00000'), - ('1578', '102', 'KB', 'Al Karbala', '1', '0.00000'), - ('1579', '102', 'NJ', 'An Najaf', '1', '0.00000'), - ('1580', '102', 'AB', 'Al Anbar', '1', '0.00000'), - ('1581', '102', 'NN', 'Ninawa', '1', '0.00000'), - ('1582', '102', 'DH', 'Dahuk', '1', '0.00000'), - ('1583', '102', 'AL', 'Arbil', '1', '0.00000'), - ('1584', '102', 'TM', 'At Ta\'mim', '1', '0.00000'), - ('1585', '102', 'SL', 'As Sulaymaniyah', '1', '0.00000'), - ('1586', '103', 'CA', 'Carlow', '1', '0.00000'), - ('1587', '103', 'CV', 'Cavan', '1', '0.00000'), - ('1588', '103', 'CL', 'Clare', '1', '0.00000'), - ('1589', '103', 'CO', 'Cork', '1', '0.00000'), - ('1590', '103', 'DO', 'Donegal', '1', '0.00000'), - ('1591', '103', 'DU', 'Dublin', '1', '0.00000'), - ('1592', '103', 'GA', 'Galway', '1', '0.00000'), - ('1593', '103', 'KE', 'Kerry', '1', '0.00000'), - ('1594', '103', 'KI', 'Kildare', '1', '0.00000'), - ('1595', '103', 'KL', 'Kilkenny', '1', '0.00000'), - ('1596', '103', 'LA', 'Laois', '1', '0.00000'), - ('1597', '103', 'LE', 'Leitrim', '1', '0.00000'), - ('1598', '103', 'LI', 'Limerick', '1', '0.00000'), - ('1599', '103', 'LO', 'Longford', '1', '0.00000'), - ('1600', '103', 'LU', 'Louth', '1', '0.00000'), - ('1601', '103', 'MA', 'Mayo', '1', '0.00000'), - ('1602', '103', 'ME', 'Meath', '1', '0.00000'), - ('1603', '103', 'MO', 'Monaghan', '1', '0.00000'), - ('1604', '103', 'OF', 'Offaly', '1', '0.00000'), - ('1605', '103', 'RO', 'Roscommon', '1', '0.00000'), - ('1606', '103', 'SL', 'Sligo', '1', '0.00000'), - ('1607', '103', 'TI', 'Tipperary', '1', '0.00000'), - ('1608', '103', 'WA', 'Waterford', '1', '0.00000'), - ('1609', '103', 'WE', 'Westmeath', '1', '0.00000'), - ('1610', '103', 'WX', 'Wexford', '1', '0.00000'), - ('1611', '103', 'WI', 'Wicklow', '1', '0.00000'), - ('1612', '104', 'BS', 'Be\'er Sheva', '1', '0.00000'), - ('1613', '104', 'BH', 'Bika\'at Hayarden', '1', '0.00000'), - ('1614', '104', 'EA', 'Eilat and Arava', '1', '0.00000'), - ('1615', '104', 'GA', 'Galil', '1', '0.00000'), - ('1616', '104', 'HA', 'Haifa', '1', '0.00000'), - ('1617', '104', 'JM', 'Jehuda Mountains', '1', '0.00000'), - ('1618', '104', 'JE', 'Jerusalem', '1', '0.00000'), - ('1619', '104', 'NE', 'Negev', '1', '0.00000'), - ('1620', '104', 'SE', 'Semaria', '1', '0.00000'), - ('1621', '104', 'SH', 'Sharon', '1', '0.00000'), - ('1622', '104', 'TA', 'Tel Aviv (Gosh Dan)', '1', '0.00000'), - ('3860', '105', 'CL', 'Caltanissetta', '1', '0.00000'), - ('3842', '105', 'AG', 'Agrigento', '1', '0.00000'), - ('3843', '105', 'AL', 'Alessandria', '1', '0.00000'), - ('3844', '105', 'AN', 'Ancona', '1', '0.00000'), - ('3845', '105', 'AO', 'Aosta', '1', '0.00000'), - ('3846', '105', 'AR', 'Arezzo', '1', '0.00000'), - ('3847', '105', 'AP', 'Ascoli Piceno', '1', '0.00000'), - ('3848', '105', 'AT', 'Asti', '1', '0.00000'), - ('3849', '105', 'AV', 'Avellino', '1', '0.00000'), - ('3850', '105', 'BA', 'Bari', '1', '0.00000'), - ('3851', '105', 'BL', 'Belluno', '1', '0.00000'), - ('3852', '105', 'BN', 'Benevento', '1', '0.00000'), - ('3853', '105', 'BG', 'Bergamo', '1', '0.00000'), - ('3854', '105', 'BI', 'Biella', '1', '0.00000'), - ('3855', '105', 'BO', 'Bologna', '1', '0.00000'), - ('3856', '105', 'BZ', 'Bolzano', '1', '0.00000'), - ('3857', '105', 'BS', 'Brescia', '1', '0.00000'), - ('3858', '105', 'BR', 'Brindisi', '1', '0.00000'), - ('3859', '105', 'CA', 'Cagliari', '1', '0.00000'), - ('1643', '106', 'CLA', 'Clarendon Parish', '1', '0.00000'), - ('1644', '106', 'HAN', 'Hanover Parish', '1', '0.00000'), - ('1645', '106', 'KIN', 'Kingston Parish', '1', '0.00000'), - ('1646', '106', 'MAN', 'Manchester Parish', '1', '0.00000'), - ('1647', '106', 'POR', 'Portland Parish', '1', '0.00000'), - ('1648', '106', 'AND', 'Saint Andrew Parish', '1', '0.00000'), - ('1649', '106', 'ANN', 'Saint Ann Parish', '1', '0.00000'), - ('1650', '106', 'CAT', 'Saint Catherine Parish', '1', '0.00000'), - ('1651', '106', 'ELI', 'Saint Elizabeth Parish', '1', '0.00000'), - ('1652', '106', 'JAM', 'Saint James Parish', '1', '0.00000'), - ('1653', '106', 'MAR', 'Saint Mary Parish', '1', '0.00000'), - ('1654', '106', 'THO', 'Saint Thomas Parish', '1', '0.00000'), - ('1655', '106', 'TRL', 'Trelawny Parish', '1', '0.00000'), - ('1656', '106', 'WML', 'Westmoreland Parish', '1', '0.00000'), - ('1657', '107', 'AI', 'Aichi', '1', '0.00000'), - ('1658', '107', 'AK', 'Akita', '1', '0.00000'), - ('1659', '107', 'AO', 'Aomori', '1', '0.00000'), - ('1660', '107', 'CH', 'Chiba', '1', '0.00000'), - ('1661', '107', 'EH', 'Ehime', '1', '0.00000'), - ('1662', '107', 'FK', 'Fukui', '1', '0.00000'), - ('1663', '107', 'FU', 'Fukuoka', '1', '0.00000'), - ('1664', '107', 'FS', 'Fukushima', '1', '0.00000'), - ('1665', '107', 'GI', 'Gifu', '1', '0.00000'), - ('1666', '107', 'GU', 'Gumma', '1', '0.00000'), - ('1667', '107', 'HI', 'Hiroshima', '1', '0.00000'), - ('1668', '107', 'HO', 'Hokkaido', '1', '0.00000'), - ('1669', '107', 'HY', 'Hyogo', '1', '0.00000'), - ('1670', '107', 'IB', 'Ibaraki', '1', '0.00000'), - ('1671', '107', 'IS', 'Ishikawa', '1', '0.00000'), - ('1672', '107', 'IW', 'Iwate', '1', '0.00000'), - ('1673', '107', 'KA', 'Kagawa', '1', '0.00000'), - ('1674', '107', 'KG', 'Kagoshima', '1', '0.00000'), - ('1675', '107', 'KN', 'Kanagawa', '1', '0.00000'), - ('1676', '107', 'KO', 'Kochi', '1', '0.00000'), - ('1677', '107', 'KU', 'Kumamoto', '1', '0.00000'), - ('1678', '107', 'KY', 'Kyoto', '1', '0.00000'), - ('1679', '107', 'MI', 'Mie', '1', '0.00000'), - ('1680', '107', 'MY', 'Miyagi', '1', '0.00000'), - ('1681', '107', 'MZ', 'Miyazaki', '1', '0.00000'), - ('1682', '107', 'NA', 'Nagano', '1', '0.00000'), - ('1683', '107', 'NG', 'Nagasaki', '1', '0.00000'), - ('1684', '107', 'NR', 'Nara', '1', '0.00000'), - ('1685', '107', 'NI', 'Niigata', '1', '0.00000'), - ('1686', '107', 'OI', 'Oita', '1', '0.00000'), - ('1687', '107', 'OK', 'Okayama', '1', '0.00000'), - ('1688', '107', 'ON', 'Okinawa', '1', '0.00000'), - ('1689', '107', 'OS', 'Osaka', '1', '0.00000'), - ('1690', '107', 'SA', 'Saga', '1', '0.00000'), - ('1691', '107', 'SI', 'Saitama', '1', '0.00000'), - ('1692', '107', 'SH', 'Shiga', '1', '0.00000'), - ('1693', '107', 'SM', 'Shimane', '1', '0.00000'), - ('1694', '107', 'SZ', 'Shizuoka', '1', '0.00000'), - ('1695', '107', 'TO', 'Tochigi', '1', '0.00000'), - ('1696', '107', 'TS', 'Tokushima', '1', '0.00000'), - ('1697', '107', 'TK', 'Tokyo', '1', '0.00000'), - ('1698', '107', 'TT', 'Tottori', '1', '0.00000'), - ('1699', '107', 'TY', 'Toyama', '1', '0.00000'), - ('1700', '107', 'WA', 'Wakayama', '1', '0.00000'), - ('1701', '107', 'YA', 'Yamagata', '1', '0.00000'), - ('1702', '107', 'YM', 'Yamaguchi', '1', '0.00000'), - ('1703', '107', 'YN', 'Yamanashi', '1', '0.00000'), - ('1704', '108', 'AM', '\'Amman', '1', '0.00000'), - ('1705', '108', 'AJ', 'Ajlun', '1', '0.00000'), - ('1706', '108', 'AA', 'Al \'Aqabah', '1', '0.00000'), - ('1707', '108', 'AB', 'Al Balqa\'', '1', '0.00000'), - ('1708', '108', 'AK', 'Al Karak', '1', '0.00000'), - ('1709', '108', 'AL', 'Al Mafraq', '1', '0.00000'), - ('1710', '108', 'AT', 'At Tafilah', '1', '0.00000'), - ('1711', '108', 'AZ', 'Az Zarqa\'', '1', '0.00000'), - ('1712', '108', 'IR', 'Irbid', '1', '0.00000'), - ('1713', '108', 'JA', 'Jarash', '1', '0.00000'), - ('1714', '108', 'MA', 'Ma\'an', '1', '0.00000'), - ('1715', '108', 'MD', 'Madaba', '1', '0.00000'), - ('1716', '109', 'AL', 'Almaty', '1', '0.00000'), - ('1717', '109', 'AC', 'Almaty City', '1', '0.00000'), - ('1718', '109', 'AM', 'Aqmola', '1', '0.00000'), - ('1719', '109', 'AQ', 'Aqtobe', '1', '0.00000'), - ('1720', '109', 'AS', 'Astana City', '1', '0.00000'), - ('1721', '109', 'AT', 'Atyrau', '1', '0.00000'), - ('1722', '109', 'BA', 'Batys Qazaqstan', '1', '0.00000'), - ('1723', '109', 'BY', 'Bayqongyr City', '1', '0.00000'), - ('1724', '109', 'MA', 'Mangghystau', '1', '0.00000'), - ('1725', '109', 'ON', 'Ongtustik Qazaqstan', '1', '0.00000'), - ('1726', '109', 'PA', 'Pavlodar', '1', '0.00000'), - ('1727', '109', 'QA', 'Qaraghandy', '1', '0.00000'), - ('1728', '109', 'QO', 'Qostanay', '1', '0.00000'), - ('1729', '109', 'QY', 'Qyzylorda', '1', '0.00000'), - ('1730', '109', 'SH', 'Shyghys Qazaqstan', '1', '0.00000'), - ('1731', '109', 'SO', 'Soltustik Qazaqstan', '1', '0.00000'), - ('1732', '109', 'ZH', 'Zhambyl', '1', '0.00000'), - ('1733', '110', 'CE', 'Central', '1', '0.00000'), - ('1734', '110', 'CO', 'Coast', '1', '0.00000'), - ('1735', '110', 'EA', 'Eastern', '1', '0.00000'), - ('1736', '110', 'NA', 'Nairobi Area', '1', '0.00000'), - ('1737', '110', 'NE', 'North Eastern', '1', '0.00000'), - ('1738', '110', 'NY', 'Nyanza', '1', '0.00000'), - ('1739', '110', 'RV', 'Rift Valley', '1', '0.00000'), - ('1740', '110', 'WE', 'Western', '1', '0.00000'), - ('1741', '111', 'AG', 'Abaiang', '1', '0.00000'), - ('1742', '111', 'AM', 'Abemama', '1', '0.00000'), - ('1743', '111', 'AK', 'Aranuka', '1', '0.00000'), - ('1744', '111', 'AO', 'Arorae', '1', '0.00000'), - ('1745', '111', 'BA', 'Banaba', '1', '0.00000'), - ('1746', '111', 'BE', 'Beru', '1', '0.00000'), - ('1747', '111', 'bT', 'Butaritari', '1', '0.00000'), - ('1748', '111', 'KA', 'Kanton', '1', '0.00000'), - ('1749', '111', 'KR', 'Kiritimati', '1', '0.00000'), - ('1750', '111', 'KU', 'Kuria', '1', '0.00000'), - ('1751', '111', 'MI', 'Maiana', '1', '0.00000'), - ('1752', '111', 'MN', 'Makin', '1', '0.00000'), - ('1753', '111', 'ME', 'Marakei', '1', '0.00000'), - ('1754', '111', 'NI', 'Nikunau', '1', '0.00000'), - ('1755', '111', 'NO', 'Nonouti', '1', '0.00000'), - ('1756', '111', 'ON', 'Onotoa', '1', '0.00000'), - ('1757', '111', 'TT', 'Tabiteuea', '1', '0.00000'), - ('1758', '111', 'TR', 'Tabuaeran', '1', '0.00000'), - ('1759', '111', 'TM', 'Tamana', '1', '0.00000'), - ('1760', '111', 'TW', 'Tarawa', '1', '0.00000'), - ('1761', '111', 'TE', 'Teraina', '1', '0.00000'), - ('1762', '112', 'CHA', 'Chagang-do', '1', '0.00000'), - ('1763', '112', 'HAB', 'Hamgyong-bukto', '1', '0.00000'), - ('1764', '112', 'HAN', 'Hamgyong-namdo', '1', '0.00000'), - ('1765', '112', 'HWB', 'Hwanghae-bukto', '1', '0.00000'), - ('1766', '112', 'HWN', 'Hwanghae-namdo', '1', '0.00000'), - ('1767', '112', 'KAN', 'Kangwon-do', '1', '0.00000'), - ('1768', '112', 'PYB', 'P\'yongan-bukto', '1', '0.00000'), - ('1769', '112', 'PYN', 'P\'yongan-namdo', '1', '0.00000'), - ('1770', '112', 'YAN', 'Ryanggang-do (Yanggang-do)', '1', '0.00000'), - ('1771', '112', 'NAJ', 'Rason Directly Governed City', '1', '0.00000'), - ('1772', '112', 'PYO', 'P\'yongyang Special City', '1', '0.00000'), - ('1773', '113', 'CO', 'Ch\'ungch\'ong-bukto', '1', '0.00000'), - ('1774', '113', 'CH', 'Ch\'ungch\'ong-namdo', '1', '0.00000'), - ('1775', '113', 'CD', 'Cheju-do', '1', '0.00000'), - ('1776', '113', 'CB', 'Cholla-bukto', '1', '0.00000'), - ('1777', '113', 'CN', 'Cholla-namdo', '1', '0.00000'), - ('1778', '113', 'IG', 'Inch\'on-gwangyoksi', '1', '0.00000'), - ('1779', '113', 'KA', 'Kangwon-do', '1', '0.00000'), - ('1780', '113', 'KG', 'Kwangju-gwangyoksi', '1', '0.00000'), - ('1781', '113', 'KD', 'Kyonggi-do', '1', '0.00000'), - ('1782', '113', 'KB', 'Kyongsang-bukto', '1', '0.00000'), - ('1783', '113', 'KN', 'Kyongsang-namdo', '1', '0.00000'), - ('1784', '113', 'PG', 'Pusan-gwangyoksi', '1', '0.00000'), - ('1785', '113', 'SO', 'Soul-t\'ukpyolsi', '1', '0.00000'), - ('1786', '113', 'TA', 'Taegu-gwangyoksi', '1', '0.00000'), - ('1787', '113', 'TG', 'Taejon-gwangyoksi', '1', '0.00000'), - ('1788', '114', 'AL', 'Al \'Asimah', '1', '0.00000'), - ('1789', '114', 'AA', 'Al Ahmadi', '1', '0.00000'), - ('1790', '114', 'AF', 'Al Farwaniyah', '1', '0.00000'), - ('1791', '114', 'AJ', 'Al Jahra\'', '1', '0.00000'), - ('1792', '114', 'HA', 'Hawalli', '1', '0.00000'), - ('1793', '115', 'GB', 'Bishkek', '1', '0.00000'), - ('1794', '115', 'B', 'Batken', '1', '0.00000'), - ('1795', '115', 'C', 'Chu', '1', '0.00000'), - ('1796', '115', 'J', 'Jalal-Abad', '1', '0.00000'), - ('1797', '115', 'N', 'Naryn', '1', '0.00000'), - ('1798', '115', 'O', 'Osh', '1', '0.00000'), - ('1799', '115', 'T', 'Talas', '1', '0.00000'), - ('1800', '115', 'Y', 'Ysyk-Kol', '1', '0.00000'), - ('1801', '116', 'VT', 'Vientiane', '1', '0.00000'), - ('1802', '116', 'AT', 'Attapu', '1', '0.00000'), - ('1803', '116', 'BK', 'Bokeo', '1', '0.00000'), - ('1804', '116', 'BL', 'Bolikhamxai', '1', '0.00000'), - ('1805', '116', 'CH', 'Champasak', '1', '0.00000'), - ('1806', '116', 'HO', 'Houaphan', '1', '0.00000'), - ('1807', '116', 'KH', 'Khammouan', '1', '0.00000'), - ('1808', '116', 'LM', 'Louang Namtha', '1', '0.00000'), - ('1809', '116', 'LP', 'Louangphabang', '1', '0.00000'), - ('1810', '116', 'OU', 'Oudomxai', '1', '0.00000'), - ('1811', '116', 'PH', 'Phongsali', '1', '0.00000'), - ('1812', '116', 'SL', 'Salavan', '1', '0.00000'), - ('1813', '116', 'SV', 'Savannakhet', '1', '0.00000'), - ('1814', '116', 'VI', 'Vientiane', '1', '0.00000'), - ('1815', '116', 'XA', 'Xaignabouli', '1', '0.00000'), - ('1816', '116', 'XE', 'Xekong', '1', '0.00000'), - ('1817', '116', 'XI', 'Xiangkhoang', '1', '0.00000'), - ('1818', '116', 'XN', 'Xaisomboun', '1', '0.00000'), - ('1819', '117', 'AIZ', 'Aizkraukles Rajons', '1', '0.00000'), - ('1820', '117', 'ALU', 'Aluksnes Rajons', '1', '0.00000'), - ('1821', '117', 'BAL', 'Balvu Rajons', '1', '0.00000'), - ('1822', '117', 'BAU', 'Bauskas Rajons', '1', '0.00000'), - ('1823', '117', 'CES', 'Cesu Rajons', '1', '0.00000'), - ('1824', '117', 'DGR', 'Daugavpils Rajons', '1', '0.00000'), - ('1825', '117', 'DOB', 'Dobeles Rajons', '1', '0.00000'), - ('1826', '117', 'GUL', 'Gulbenes Rajons', '1', '0.00000'), - ('1827', '117', 'JEK', 'Jekabpils Rajons', '1', '0.00000'), - ('1828', '117', 'JGR', 'Jelgavas Rajons', '1', '0.00000'), - ('1829', '117', 'KRA', 'Kraslavas Rajons', '1', '0.00000'), - ('1830', '117', 'KUL', 'Kuldigas Rajons', '1', '0.00000'), - ('1831', '117', 'LPR', 'Liepajas Rajons', '1', '0.00000'), - ('1832', '117', 'LIM', 'Limbazu Rajons', '1', '0.00000'), - ('1833', '117', 'LUD', 'Ludzas Rajons', '1', '0.00000'), - ('1834', '117', 'MAD', 'Madonas Rajons', '1', '0.00000'), - ('1835', '117', 'OGR', 'Ogres Rajons', '1', '0.00000'), - ('1836', '117', 'PRE', 'Preilu Rajons', '1', '0.00000'), - ('1837', '117', 'RZR', 'Rezeknes Rajons', '1', '0.00000'), - ('1838', '117', 'RGR', 'Rigas Rajons', '1', '0.00000'), - ('1839', '117', 'SAL', 'Saldus Rajons', '1', '0.00000'), - ('1840', '117', 'TAL', 'Talsu Rajons', '1', '0.00000'), - ('1841', '117', 'TUK', 'Tukuma Rajons', '1', '0.00000'), - ('1842', '117', 'VLK', 'Valkas Rajons', '1', '0.00000'), - ('1843', '117', 'VLM', 'Valmieras Rajons', '1', '0.00000'), - ('1844', '117', 'VSR', 'Ventspils Rajons', '1', '0.00000'), - ('1845', '117', 'DGV', 'Daugavpils', '1', '0.00000'), - ('1846', '117', 'JGV', 'Jelgava', '1', '0.00000'), - ('1847', '117', 'JUR', 'Jurmala', '1', '0.00000'), - ('1848', '117', 'LPK', 'Liepaja', '1', '0.00000'), - ('1849', '117', 'RZK', 'Rezekne', '1', '0.00000'), - ('1850', '117', 'RGA', 'Riga', '1', '0.00000'), - ('1851', '117', 'VSL', 'Ventspils', '1', '0.00000'), - ('1852', '119', 'BE', 'Berea', '1', '0.00000'), - ('1853', '119', 'BB', 'Butha-Buthe', '1', '0.00000'), - ('1854', '119', 'LE', 'Leribe', '1', '0.00000'), - ('1855', '119', 'MF', 'Mafeteng', '1', '0.00000'), - ('1856', '119', 'MS', 'Maseru', '1', '0.00000'), - ('1857', '119', 'MH', 'Mohale\'s Hoek', '1', '0.00000'), - ('1858', '119', 'MK', 'Mokhotlong', '1', '0.00000'), - ('1859', '119', 'QN', 'Qacha\'s Nek', '1', '0.00000'), - ('1860', '119', 'QT', 'Quthing', '1', '0.00000'), - ('1861', '119', 'TT', 'Thaba-Tseka', '1', '0.00000'), - ('1862', '120', 'BI', 'Bomi', '1', '0.00000'), - ('1863', '120', 'BG', 'Bong', '1', '0.00000'), - ('1864', '120', 'GB', 'Grand Bassa', '1', '0.00000'), - ('1865', '120', 'CM', 'Grand Cape Mount', '1', '0.00000'), - ('1866', '120', 'GG', 'Grand Gedeh', '1', '0.00000'), - ('1867', '120', 'GK', 'Grand Kru', '1', '0.00000'), - ('1868', '120', 'LO', 'Lofa', '1', '0.00000'), - ('1869', '120', 'MG', 'Margibi', '1', '0.00000'), - ('1870', '120', 'ML', 'Maryland', '1', '0.00000'), - ('1871', '120', 'MS', 'Montserrado', '1', '0.00000'), - ('1872', '120', 'NB', 'Nimba', '1', '0.00000'), - ('1873', '120', 'RC', 'River Cess', '1', '0.00000'), - ('1874', '120', 'SN', 'Sinoe', '1', '0.00000'), - ('1875', '121', 'AJ', 'Ajdabiya', '1', '0.00000'), - ('1876', '121', 'AZ', 'Al \'Aziziyah', '1', '0.00000'), - ('1877', '121', 'FA', 'Al Fatih', '1', '0.00000'), - ('1878', '121', 'JA', 'Al Jabal al Akhdar', '1', '0.00000'), - ('1879', '121', 'JU', 'Al Jufrah', '1', '0.00000'), - ('1880', '121', 'KH', 'Al Khums', '1', '0.00000'), - ('1881', '121', 'KU', 'Al Kufrah', '1', '0.00000'), - ('1882', '121', 'NK', 'An Nuqat al Khams', '1', '0.00000'), - ('1883', '121', 'AS', 'Ash Shati\'', '1', '0.00000'), - ('1884', '121', 'AW', 'Awbari', '1', '0.00000'), - ('1885', '121', 'ZA', 'Az Zawiyah', '1', '0.00000'), - ('1886', '121', 'BA', 'Banghazi', '1', '0.00000'), - ('1887', '121', 'DA', 'Darnah', '1', '0.00000'), - ('1888', '121', 'GD', 'Ghadamis', '1', '0.00000'), - ('1889', '121', 'GY', 'Gharyan', '1', '0.00000'), - ('1890', '121', 'MI', 'Misratah', '1', '0.00000'), - ('1891', '121', 'MZ', 'Murzuq', '1', '0.00000'), - ('1892', '121', 'SB', 'Sabha', '1', '0.00000'), - ('1893', '121', 'SW', 'Sawfajjin', '1', '0.00000'), - ('1894', '121', 'SU', 'Surt', '1', '0.00000'), - ('1895', '121', 'TL', 'Tarabulus (Tripoli)', '1', '0.00000'), - ('1896', '121', 'TH', 'Tarhunah', '1', '0.00000'), - ('1897', '121', 'TU', 'Tubruq', '1', '0.00000'), - ('1898', '121', 'YA', 'Yafran', '1', '0.00000'), - ('1899', '121', 'ZL', 'Zlitan', '1', '0.00000'), - ('1900', '122', 'V', 'Vaduz', '1', '0.00000'), - ('1901', '122', 'A', 'Schaan', '1', '0.00000'), - ('1902', '122', 'B', 'Balzers', '1', '0.00000'), - ('1903', '122', 'N', 'Triesen', '1', '0.00000'), - ('1904', '122', 'E', 'Eschen', '1', '0.00000'), - ('1905', '122', 'M', 'Mauren', '1', '0.00000'), - ('1906', '122', 'T', 'Triesenberg', '1', '0.00000'), - ('1907', '122', 'R', 'Ruggell', '1', '0.00000'), - ('1908', '122', 'G', 'Gamprin', '1', '0.00000'), - ('1909', '122', 'L', 'Schellenberg', '1', '0.00000'), - ('1910', '122', 'P', 'Planken', '1', '0.00000'), - ('1911', '123', 'AL', 'Alytus', '1', '0.00000'), - ('1912', '123', 'KA', 'Kaunas', '1', '0.00000'), - ('1913', '123', 'KL', 'Klaipeda', '1', '0.00000'), - ('1914', '123', 'MA', 'Marijampole', '1', '0.00000'), - ('1915', '123', 'PA', 'Panevezys', '1', '0.00000'), - ('1916', '123', 'SI', 'Siauliai', '1', '0.00000'), - ('1917', '123', 'TA', 'Taurage', '1', '0.00000'), - ('1918', '123', 'TE', 'Telsiai', '1', '0.00000'), - ('1919', '123', 'UT', 'Utena', '1', '0.00000'), - ('1920', '123', 'VI', 'Vilnius', '1', '0.00000'), - ('1921', '124', 'DD', 'Diekirch', '1', '0.00000'), - ('1922', '124', 'DC', 'Clervaux', '1', '0.00000'), - ('1923', '124', 'DR', 'Redange', '1', '0.00000'), - ('1924', '124', 'DV', 'Vianden', '1', '0.00000'), - ('1925', '124', 'DW', 'Wiltz', '1', '0.00000'), - ('1926', '124', 'GG', 'Grevenmacher', '1', '0.00000'), - ('1927', '124', 'GE', 'Echternach', '1', '0.00000'), - ('1928', '124', 'GR', 'Remich', '1', '0.00000'), - ('1929', '124', 'LL', 'Luxembourg', '1', '0.00000'), - ('1930', '124', 'LC', 'Capellen', '1', '0.00000'), - ('1931', '124', 'LE', 'Esch-sur-Alzette', '1', '0.00000'), - ('1932', '124', 'LM', 'Mersch', '1', '0.00000'), - ('1933', '125', 'OLF', 'Our Lady Fatima Parish', '1', '0.00000'), - ('1934', '125', 'ANT', 'St. Anthony Parish', '1', '0.00000'), - ('1935', '125', 'LAZ', 'St. Lazarus Parish', '1', '0.00000'), - ('1936', '125', 'CAT', 'Cathedral Parish', '1', '0.00000'), - ('1937', '125', 'LAW', 'St. Lawrence Parish', '1', '0.00000'), - ('1938', '127', 'AN', 'Antananarivo', '1', '0.00000'), - ('1939', '127', 'AS', 'Antsiranana', '1', '0.00000'), - ('1940', '127', 'FN', 'Fianarantsoa', '1', '0.00000'), - ('1941', '127', 'MJ', 'Mahajanga', '1', '0.00000'), - ('1942', '127', 'TM', 'Toamasina', '1', '0.00000'), - ('1943', '127', 'TL', 'Toliara', '1', '0.00000'), - ('1944', '128', 'BLK', 'Balaka', '1', '0.00000'), - ('1945', '128', 'BLT', 'Blantyre', '1', '0.00000'), - ('1946', '128', 'CKW', 'Chikwawa', '1', '0.00000'), - ('1947', '128', 'CRD', 'Chiradzulu', '1', '0.00000'), - ('1948', '128', 'CTP', 'Chitipa', '1', '0.00000'), - ('1949', '128', 'DDZ', 'Dedza', '1', '0.00000'), - ('1950', '128', 'DWA', 'Dowa', '1', '0.00000'), - ('1951', '128', 'KRG', 'Karonga', '1', '0.00000'), - ('1952', '128', 'KSG', 'Kasungu', '1', '0.00000'), - ('1953', '128', 'LKM', 'Likoma', '1', '0.00000'), - ('1954', '128', 'LLG', 'Lilongwe', '1', '0.00000'), - ('1955', '128', 'MCG', 'Machinga', '1', '0.00000'), - ('1956', '128', 'MGC', 'Mangochi', '1', '0.00000'), - ('1957', '128', 'MCH', 'Mchinji', '1', '0.00000'), - ('1958', '128', 'MLJ', 'Mulanje', '1', '0.00000'), - ('1959', '128', 'MWZ', 'Mwanza', '1', '0.00000'), - ('1960', '128', 'MZM', 'Mzimba', '1', '0.00000'), - ('1961', '128', 'NTU', 'Ntcheu', '1', '0.00000'), - ('1962', '128', 'NKB', 'Nkhata Bay', '1', '0.00000'), - ('1963', '128', 'NKH', 'Nkhotakota', '1', '0.00000'), - ('1964', '128', 'NSJ', 'Nsanje', '1', '0.00000'), - ('1965', '128', 'NTI', 'Ntchisi', '1', '0.00000'), - ('1966', '128', 'PHL', 'Phalombe', '1', '0.00000'), - ('1967', '128', 'RMP', 'Rumphi', '1', '0.00000'), - ('1968', '128', 'SLM', 'Salima', '1', '0.00000'), - ('1969', '128', 'THY', 'Thyolo', '1', '0.00000'), - ('1970', '128', 'ZBA', 'Zomba', '1', '0.00000'), - ('1971', '129', 'JO', 'Johor', '1', '0.00000'), - ('1972', '129', 'KE', 'Kedah', '1', '0.00000'), - ('1973', '129', 'KL', 'Kelantan', '1', '0.00000'), - ('1974', '129', 'LA', 'Labuan', '1', '0.00000'), - ('1975', '129', 'ME', 'Melaka', '1', '0.00000'), - ('1976', '129', 'NS', 'Negeri Sembilan', '1', '0.00000'), - ('1977', '129', 'PA', 'Pahang', '1', '0.00000'), - ('1978', '129', 'PE', 'Perak', '1', '0.00000'), - ('1979', '129', 'PR', 'Perlis', '1', '0.00000'), - ('1980', '129', 'PP', 'Pulau Pinang', '1', '0.00000'), - ('1981', '129', 'SA', 'Sabah', '1', '0.00000'), - ('1982', '129', 'SR', 'Sarawak', '1', '0.00000'), - ('1983', '129', 'SE', 'Selangor', '1', '0.00000'), - ('1984', '129', 'TE', 'Terengganu', '1', '0.00000'), - ('1985', '129', 'WP', 'Wilayah Persekutuan', '1', '0.00000'), - ('1986', '130', 'THU', 'Thiladhunmathi Uthuru', '1', '0.00000'), - ('1987', '130', 'THD', 'Thiladhunmathi Dhekunu', '1', '0.00000'), - ('1988', '130', 'MLU', 'Miladhunmadulu Uthuru', '1', '0.00000'), - ('1989', '130', 'MLD', 'Miladhunmadulu Dhekunu', '1', '0.00000'), - ('1990', '130', 'MAU', 'Maalhosmadulu Uthuru', '1', '0.00000'), - ('1991', '130', 'MAD', 'Maalhosmadulu Dhekunu', '1', '0.00000'), - ('1992', '130', 'FAA', 'Faadhippolhu', '1', '0.00000'), - ('1993', '130', 'MAA', 'Male Atoll', '1', '0.00000'), - ('1994', '130', 'AAU', 'Ari Atoll Uthuru', '1', '0.00000'), - ('1995', '130', 'AAD', 'Ari Atoll Dheknu', '1', '0.00000'), - ('1996', '130', 'FEA', 'Felidhe Atoll', '1', '0.00000'), - ('1997', '130', 'MUA', 'Mulaku Atoll', '1', '0.00000'), - ('1998', '130', 'NAU', 'Nilandhe Atoll Uthuru', '1', '0.00000'), - ('1999', '130', 'NAD', 'Nilandhe Atoll Dhekunu', '1', '0.00000'), - ('2000', '130', 'KLH', 'Kolhumadulu', '1', '0.00000'), - ('2001', '130', 'HDH', 'Hadhdhunmathi', '1', '0.00000'), - ('2002', '130', 'HAU', 'Huvadhu Atoll Uthuru', '1', '0.00000'), - ('2003', '130', 'HAD', 'Huvadhu Atoll Dhekunu', '1', '0.00000'), - ('2004', '130', 'FMU', 'Fua Mulaku', '1', '0.00000'), - ('2005', '130', 'ADD', 'Addu', '1', '0.00000'), - ('2006', '131', 'GA', 'Gao', '1', '0.00000'), - ('2007', '131', 'KY', 'Kayes', '1', '0.00000'), - ('2008', '131', 'KD', 'Kidal', '1', '0.00000'), - ('2009', '131', 'KL', 'Koulikoro', '1', '0.00000'), - ('2010', '131', 'MP', 'Mopti', '1', '0.00000'), - ('2011', '131', 'SG', 'Segou', '1', '0.00000'), - ('2012', '131', 'SK', 'Sikasso', '1', '0.00000'), - ('2013', '131', 'TB', 'Tombouctou', '1', '0.00000'), - ('2014', '131', 'CD', 'Bamako Capital District', '1', '0.00000'), - ('2015', '132', 'ATT', 'Attard', '1', '0.00000'), - ('2016', '132', 'BAL', 'Balzan', '1', '0.00000'), - ('2017', '132', 'BGU', 'Birgu', '1', '0.00000'), - ('2018', '132', 'BKK', 'Birkirkara', '1', '0.00000'), - ('2019', '132', 'BRZ', 'Birzebbuga', '1', '0.00000'), - ('2020', '132', 'BOR', 'Bormla', '1', '0.00000'), - ('2021', '132', 'DIN', 'Dingli', '1', '0.00000'), - ('2022', '132', 'FGU', 'Fgura', '1', '0.00000'), - ('2023', '132', 'FLO', 'Floriana', '1', '0.00000'), - ('2024', '132', 'GDJ', 'Gudja', '1', '0.00000'), - ('2025', '132', 'GZR', 'Gzira', '1', '0.00000'), - ('2026', '132', 'GRG', 'Gargur', '1', '0.00000'), - ('2027', '132', 'GXQ', 'Gaxaq', '1', '0.00000'), - ('2028', '132', 'HMR', 'Hamrun', '1', '0.00000'), - ('2029', '132', 'IKL', 'Iklin', '1', '0.00000'), - ('2030', '132', 'ISL', 'Isla', '1', '0.00000'), - ('2031', '132', 'KLK', 'Kalkara', '1', '0.00000'), - ('2032', '132', 'KRK', 'Kirkop', '1', '0.00000'), - ('2033', '132', 'LIJ', 'Lija', '1', '0.00000'), - ('2034', '132', 'LUQ', 'Luqa', '1', '0.00000'), - ('2035', '132', 'MRS', 'Marsa', '1', '0.00000'), - ('2036', '132', 'MKL', 'Marsaskala', '1', '0.00000'), - ('2037', '132', 'MXL', 'Marsaxlokk', '1', '0.00000'), - ('2038', '132', 'MDN', 'Mdina', '1', '0.00000'), - ('2039', '132', 'MEL', 'Melliea', '1', '0.00000'), - ('2040', '132', 'MGR', 'Mgarr', '1', '0.00000'), - ('2041', '132', 'MST', 'Mosta', '1', '0.00000'), - ('2042', '132', 'MQA', 'Mqabba', '1', '0.00000'), - ('2043', '132', 'MSI', 'Msida', '1', '0.00000'), - ('2044', '132', 'MTF', 'Mtarfa', '1', '0.00000'), - ('2045', '132', 'NAX', 'Naxxar', '1', '0.00000'), - ('2046', '132', 'PAO', 'Paola', '1', '0.00000'), - ('2047', '132', 'PEM', 'Pembroke', '1', '0.00000'), - ('2048', '132', 'PIE', 'Pieta', '1', '0.00000'), - ('2049', '132', 'QOR', 'Qormi', '1', '0.00000'), - ('2050', '132', 'QRE', 'Qrendi', '1', '0.00000'), - ('2051', '132', 'RAB', 'Rabat', '1', '0.00000'), - ('2052', '132', 'SAF', 'Safi', '1', '0.00000'), - ('2053', '132', 'SGI', 'San Giljan', '1', '0.00000'), - ('2054', '132', 'SLU', 'Santa Lucija', '1', '0.00000'), - ('2055', '132', 'SPB', 'San Pawl il-Bahar', '1', '0.00000'), - ('2056', '132', 'SGW', 'San Gwann', '1', '0.00000'), - ('2057', '132', 'SVE', 'Santa Venera', '1', '0.00000'), - ('2058', '132', 'SIG', 'Siggiewi', '1', '0.00000'), - ('2059', '132', 'SLM', 'Sliema', '1', '0.00000'), - ('2060', '132', 'SWQ', 'Swieqi', '1', '0.00000'), - ('2061', '132', 'TXB', 'Ta Xbiex', '1', '0.00000'), - ('2062', '132', 'TRX', 'Tarxien', '1', '0.00000'), - ('2063', '132', 'VLT', 'Valletta', '1', '0.00000'), - ('2064', '132', 'XGJ', 'Xgajra', '1', '0.00000'), - ('2065', '132', 'ZBR', 'Zabbar', '1', '0.00000'), - ('2066', '132', 'ZBG', 'Zebbug', '1', '0.00000'), - ('2067', '132', 'ZJT', 'Zejtun', '1', '0.00000'), - ('2068', '132', 'ZRQ', 'Zurrieq', '1', '0.00000'), - ('2069', '132', 'FNT', 'Fontana', '1', '0.00000'), - ('2070', '132', 'GHJ', 'Ghajnsielem', '1', '0.00000'), - ('2071', '132', 'GHR', 'Gharb', '1', '0.00000'), - ('2072', '132', 'GHS', 'Ghasri', '1', '0.00000'), - ('2073', '132', 'KRC', 'Kercem', '1', '0.00000'), - ('2074', '132', 'MUN', 'Munxar', '1', '0.00000'), - ('2075', '132', 'NAD', 'Nadur', '1', '0.00000'), - ('2076', '132', 'QAL', 'Qala', '1', '0.00000'), - ('2077', '132', 'VIC', 'Victoria', '1', '0.00000'), - ('2078', '132', 'SLA', 'San Lawrenz', '1', '0.00000'), - ('2079', '132', 'SNT', 'Sannat', '1', '0.00000'), - ('2080', '132', 'ZAG', 'Xagra', '1', '0.00000'), - ('2081', '132', 'XEW', 'Xewkija', '1', '0.00000'), - ('2082', '132', 'ZEB', 'Zebbug', '1', '0.00000'), - ('2083', '133', 'ALG', 'Ailinginae', '1', '0.00000'), - ('2084', '133', 'ALL', 'Ailinglaplap', '1', '0.00000'), - ('2085', '133', 'ALK', 'Ailuk', '1', '0.00000'), - ('2086', '133', 'ARN', 'Arno', '1', '0.00000'), - ('2087', '133', 'AUR', 'Aur', '1', '0.00000'), - ('2088', '133', 'BKR', 'Bikar', '1', '0.00000'), - ('2089', '133', 'BKN', 'Bikini', '1', '0.00000'), - ('2090', '133', 'BKK', 'Bokak', '1', '0.00000'), - ('2091', '133', 'EBN', 'Ebon', '1', '0.00000'), - ('2092', '133', 'ENT', 'Enewetak', '1', '0.00000'), - ('2093', '133', 'EKB', 'Erikub', '1', '0.00000'), - ('2094', '133', 'JBT', 'Jabat', '1', '0.00000'), - ('2095', '133', 'JLT', 'Jaluit', '1', '0.00000'), - ('2096', '133', 'JEM', 'Jemo', '1', '0.00000'), - ('2097', '133', 'KIL', 'Kili', '1', '0.00000'), - ('2098', '133', 'KWJ', 'Kwajalein', '1', '0.00000'), - ('2099', '133', 'LAE', 'Lae', '1', '0.00000'), - ('2100', '133', 'LIB', 'Lib', '1', '0.00000'), - ('2101', '133', 'LKP', 'Likiep', '1', '0.00000'), - ('2102', '133', 'MJR', 'Majuro', '1', '0.00000'), - ('2103', '133', 'MLP', 'Maloelap', '1', '0.00000'), - ('2104', '133', 'MJT', 'Mejit', '1', '0.00000'), - ('2105', '133', 'MIL', 'Mili', '1', '0.00000'), - ('2106', '133', 'NMK', 'Namorik', '1', '0.00000'), - ('2107', '133', 'NAM', 'Namu', '1', '0.00000'), - ('2108', '133', 'RGL', 'Rongelap', '1', '0.00000'), - ('2109', '133', 'RGK', 'Rongrik', '1', '0.00000'), - ('2110', '133', 'TOK', 'Toke', '1', '0.00000'), - ('2111', '133', 'UJA', 'Ujae', '1', '0.00000'), - ('2112', '133', 'UJL', 'Ujelang', '1', '0.00000'), - ('2113', '133', 'UTK', 'Utirik', '1', '0.00000'), - ('2114', '133', 'WTH', 'Wotho', '1', '0.00000'), - ('2115', '133', 'WTJ', 'Wotje', '1', '0.00000'), - ('2116', '135', 'AD', 'Adrar', '1', '0.00000'), - ('2117', '135', 'AS', 'Assaba', '1', '0.00000'), - ('2118', '135', 'BR', 'Brakna', '1', '0.00000'), - ('2119', '135', 'DN', 'Dakhlet Nouadhibou', '1', '0.00000'), - ('2120', '135', 'GO', 'Gorgol', '1', '0.00000'), - ('2121', '135', 'GM', 'Guidimaka', '1', '0.00000'), - ('2122', '135', 'HC', 'Hodh Ech Chargui', '1', '0.00000'), - ('2123', '135', 'HG', 'Hodh El Gharbi', '1', '0.00000'), - ('2124', '135', 'IN', 'Inchiri', '1', '0.00000'), - ('2125', '135', 'TA', 'Tagant', '1', '0.00000'), - ('2126', '135', 'TZ', 'Tiris Zemmour', '1', '0.00000'), - ('2127', '135', 'TR', 'Trarza', '1', '0.00000'), - ('2128', '135', 'NO', 'Nouakchott', '1', '0.00000'), - ('2129', '136', 'BR', 'Beau Bassin-Rose Hill', '1', '0.00000'), - ('2130', '136', 'CU', 'Curepipe', '1', '0.00000'), - ('2131', '136', 'PU', 'Port Louis', '1', '0.00000'), - ('2132', '136', 'QB', 'Quatre Bornes', '1', '0.00000'), - ('2133', '136', 'VP', 'Vacoas-Phoenix', '1', '0.00000'), - ('2134', '136', 'AG', 'Agalega Islands', '1', '0.00000'), - ('2135', '136', 'CC', 'Cargados Carajos Shoals (Saint Brandon Islands)', '1', '0.00000'), - ('2136', '136', 'RO', 'Rodrigues', '1', '0.00000'), - ('2137', '136', 'BL', 'Black River', '1', '0.00000'), - ('2138', '136', 'FL', 'Flacq', '1', '0.00000'), - ('2139', '136', 'GP', 'Grand Port', '1', '0.00000'), - ('2140', '136', 'MO', 'Moka', '1', '0.00000'), - ('2141', '136', 'PA', 'Pamplemousses', '1', '0.00000'), - ('2142', '136', 'PW', 'Plaines Wilhems', '1', '0.00000'), - ('2143', '136', 'PL', 'Port Louis', '1', '0.00000'), - ('2144', '136', 'RR', 'Riviere du Rempart', '1', '0.00000'), - ('2145', '136', 'SA', 'Savanne', '1', '0.00000'), - ('2146', '138', 'BN', 'Baja California Norte', '1', '0.00000'), - ('2147', '138', 'BS', 'Baja California Sur', '1', '0.00000'), - ('2148', '138', 'CA', 'Campeche', '1', '0.00000'), - ('2149', '138', 'CI', 'Chiapas', '1', '0.00000'), - ('2150', '138', 'CH', 'Chihuahua', '1', '0.00000'), - ('2151', '138', 'CZ', 'Coahuila de Zaragoza', '1', '0.00000'), - ('2152', '138', 'CL', 'Colima', '1', '0.00000'), - ('2153', '138', 'DF', 'Distrito Federal', '1', '0.00000'), - ('2154', '138', 'DU', 'Durango', '1', '0.00000'), - ('2155', '138', 'GA', 'Guanajuato', '1', '0.00000'), - ('2156', '138', 'GE', 'Guerrero', '1', '0.00000'), - ('2157', '138', 'HI', 'Hidalgo', '1', '0.00000'), - ('2158', '138', 'JA', 'Jalisco', '1', '0.00000'), - ('2159', '138', 'ME', 'Mexico', '1', '0.00000'), - ('2160', '138', 'MI', 'Michoacan de Ocampo', '1', '0.00000'), - ('2161', '138', 'MO', 'Morelos', '1', '0.00000'), - ('2162', '138', 'NA', 'Nayarit', '1', '0.00000'), - ('2163', '138', 'NL', 'Nuevo Leon', '1', '0.00000'), - ('2164', '138', 'OA', 'Oaxaca', '1', '0.00000'), - ('2165', '138', 'PU', 'Puebla', '1', '0.00000'), - ('2166', '138', 'QA', 'Queretaro de Arteaga', '1', '0.00000'), - ('2167', '138', 'QR', 'Quintana Roo', '1', '0.00000'), - ('2168', '138', 'SA', 'San Luis Potosi', '1', '0.00000'), - ('2169', '138', 'SI', 'Sinaloa', '1', '0.00000'), - ('2170', '138', 'SO', 'Sonora', '1', '0.00000'), - ('2171', '138', 'TB', 'Tabasco', '1', '0.00000'), - ('2172', '138', 'TM', 'Tamaulipas', '1', '0.00000'), - ('2173', '138', 'TL', 'Tlaxcala', '1', '0.00000'), - ('2174', '138', 'VE', 'Veracruz-Llave', '1', '0.00000'), - ('2175', '138', 'YU', 'Yucatan', '1', '0.00000'), - ('2176', '138', 'ZA', 'Zacatecas', '1', '0.00000'), - ('2177', '139', 'C', 'Chuuk', '1', '0.00000'), - ('2178', '139', 'K', 'Kosrae', '1', '0.00000'), - ('2179', '139', 'P', 'Pohnpei', '1', '0.00000'), - ('2180', '139', 'Y', 'Yap', '1', '0.00000'), - ('2181', '140', 'GA', 'Gagauzia', '1', '0.00000'), - ('2182', '140', 'CU', 'Chisinau', '1', '0.00000'), - ('2183', '140', 'BA', 'Balti', '1', '0.00000'), - ('2184', '140', 'CA', 'Cahul', '1', '0.00000'), - ('2185', '140', 'ED', 'Edinet', '1', '0.00000'), - ('2186', '140', 'LA', 'Lapusna', '1', '0.00000'), - ('2187', '140', 'OR', 'Orhei', '1', '0.00000'), - ('2188', '140', 'SO', 'Soroca', '1', '0.00000'), - ('2189', '140', 'TI', 'Tighina', '1', '0.00000'), - ('2190', '140', 'UN', 'Ungheni', '1', '0.00000'), - ('2191', '140', 'SN', 'St‚Äönga Nistrului', '1', '0.00000'), - ('2192', '141', 'FV', 'Fontvieille', '1', '0.00000'), - ('2193', '141', 'LC', 'La Condamine', '1', '0.00000'), - ('2194', '141', 'MV', 'Monaco-Ville', '1', '0.00000'), - ('2195', '141', 'MC', 'Monte-Carlo', '1', '0.00000'), - ('2196', '142', '1', 'Ulanbaatar', '1', '0.00000'), - ('2197', '142', '035', 'Orhon', '1', '0.00000'), - ('2198', '142', '037', 'Darhan uul', '1', '0.00000'), - ('2199', '142', '039', 'Hentiy', '1', '0.00000'), - ('2200', '142', '041', 'Hovsgol', '1', '0.00000'), - ('2201', '142', '043', 'Hovd', '1', '0.00000'), - ('2202', '142', '046', 'Uvs', '1', '0.00000'), - ('2203', '142', '047', 'Tov', '1', '0.00000'), - ('2204', '142', '049', 'Selenge', '1', '0.00000'), - ('2205', '142', '051', 'Suhbaatar', '1', '0.00000'), - ('2206', '142', '053', 'Omnogovi', '1', '0.00000'), - ('2207', '142', '055', 'Ovorhangay', '1', '0.00000'), - ('2208', '142', '057', 'Dzavhan', '1', '0.00000'), - ('2209', '142', '059', 'DundgovL', '1', '0.00000'), - ('2210', '142', '061', 'Dornod', '1', '0.00000'), - ('2211', '142', '063', 'Dornogov', '1', '0.00000'), - ('2212', '142', '064', 'Govi-Sumber', '1', '0.00000'), - ('2213', '142', '065', 'Govi-Altay', '1', '0.00000'), - ('2214', '142', '067', 'Bulgan', '1', '0.00000'), - ('2215', '142', '069', 'Bayanhongor', '1', '0.00000'), - ('2216', '142', '071', 'Bayan-Olgiy', '1', '0.00000'), - ('2217', '142', '073', 'Arhangay', '1', '0.00000'), - ('2218', '143', 'A', 'Saint Anthony', '1', '0.00000'), - ('2219', '143', 'G', 'Saint Georges', '1', '0.00000'), - ('2220', '143', 'P', 'Saint Peter', '1', '0.00000'), - ('2221', '144', 'AGD', 'Agadir', '1', '0.00000'), - ('2222', '144', 'HOC', 'Al Hoceima', '1', '0.00000'), - ('2223', '144', 'AZI', 'Azilal', '1', '0.00000'), - ('2224', '144', 'BME', 'Beni Mellal', '1', '0.00000'), - ('2225', '144', 'BSL', 'Ben Slimane', '1', '0.00000'), - ('2226', '144', 'BLM', 'Boulemane', '1', '0.00000'), - ('2227', '144', 'CBL', 'Casablanca', '1', '0.00000'), - ('2228', '144', 'CHA', 'Chaouen', '1', '0.00000'), - ('2229', '144', 'EJA', 'El Jadida', '1', '0.00000'), - ('2230', '144', 'EKS', 'El Kelaa des Sraghna', '1', '0.00000'), - ('2231', '144', 'ERA', 'Er Rachidia', '1', '0.00000'), - ('2232', '144', 'ESS', 'Essaouira', '1', '0.00000'), - ('2233', '144', 'FES', 'Fes', '1', '0.00000'), - ('2234', '144', 'FIG', 'Figuig', '1', '0.00000'), - ('2235', '144', 'GLM', 'Guelmim', '1', '0.00000'), - ('2236', '144', 'IFR', 'Ifrane', '1', '0.00000'), - ('2237', '144', 'KEN', 'Kenitra', '1', '0.00000'), - ('2238', '144', 'KHM', 'Khemisset', '1', '0.00000'), - ('2239', '144', 'KHN', 'Khenifra', '1', '0.00000'), - ('2240', '144', 'KHO', 'Khouribga', '1', '0.00000'), - ('2241', '144', 'LYN', 'Laayoune', '1', '0.00000'), - ('2242', '144', 'LAR', 'Larache', '1', '0.00000'), - ('2243', '144', 'MRK', 'Marrakech', '1', '0.00000'), - ('2244', '144', 'MKN', 'Meknes', '1', '0.00000'), - ('2245', '144', 'NAD', 'Nador', '1', '0.00000'), - ('2246', '144', 'ORZ', 'Ouarzazate', '1', '0.00000'), - ('2247', '144', 'OUJ', 'Oujda', '1', '0.00000'), - ('2248', '144', 'RSA', 'Rabat-Sale', '1', '0.00000'), - ('2249', '144', 'SAF', 'Safi', '1', '0.00000'), - ('2250', '144', 'SET', 'Settat', '1', '0.00000'), - ('2251', '144', 'SKA', 'Sidi Kacem', '1', '0.00000'), - ('2252', '144', 'TGR', 'Tangier', '1', '0.00000'), - ('2253', '144', 'TAN', 'Tan-Tan', '1', '0.00000'), - ('2254', '144', 'TAO', 'Taounate', '1', '0.00000'), - ('2255', '144', 'TRD', 'Taroudannt', '1', '0.00000'), - ('2256', '144', 'TAT', 'Tata', '1', '0.00000'), - ('2257', '144', 'TAZ', 'Taza', '1', '0.00000'), - ('2258', '144', 'TET', 'Tetouan', '1', '0.00000'), - ('2259', '144', 'TIZ', 'Tiznit', '1', '0.00000'), - ('2260', '144', 'ADK', 'Ad Dakhla', '1', '0.00000'), - ('2261', '144', 'BJD', 'Boujdour', '1', '0.00000'), - ('2262', '144', 'ESM', 'Es Smara', '1', '0.00000'), - ('2263', '145', 'CD', 'Cabo Delgado', '1', '0.00000'), - ('2264', '145', 'GZ', 'Gaza', '1', '0.00000'), - ('2265', '145', 'IN', 'Inhambane', '1', '0.00000'), - ('2266', '145', 'MN', 'Manica', '1', '0.00000'), - ('2267', '145', 'MC', 'Maputo (city)', '1', '0.00000'), - ('2268', '145', 'MP', 'Maputo', '1', '0.00000'), - ('2269', '145', 'NA', 'Nampula', '1', '0.00000'), - ('2270', '145', 'NI', 'Niassa', '1', '0.00000'), - ('2271', '145', 'SO', 'Sofala', '1', '0.00000'), - ('2272', '145', 'TE', 'Tete', '1', '0.00000'), - ('2273', '145', 'ZA', 'Zambezia', '1', '0.00000'), - ('2274', '146', 'AY', 'Ayeyarwady', '1', '0.00000'), - ('2275', '146', 'BG', 'Bago', '1', '0.00000'), - ('2276', '146', 'MG', 'Magway', '1', '0.00000'), - ('2277', '146', 'MD', 'Mandalay', '1', '0.00000'), - ('2278', '146', 'SG', 'Sagaing', '1', '0.00000'), - ('2279', '146', 'TN', 'Tanintharyi', '1', '0.00000'), - ('2280', '146', 'YG', 'Yangon', '1', '0.00000'), - ('2281', '146', 'CH', 'Chin State', '1', '0.00000'), - ('2282', '146', 'KC', 'Kachin State', '1', '0.00000'), - ('2283', '146', 'KH', 'Kayah State', '1', '0.00000'), - ('2284', '146', 'KN', 'Kayin State', '1', '0.00000'), - ('2285', '146', 'MN', 'Mon State', '1', '0.00000'), - ('2286', '146', 'RK', 'Rakhine State', '1', '0.00000'), - ('2287', '146', 'SH', 'Shan State', '1', '0.00000'), - ('2288', '147', 'CA', 'Caprivi', '1', '0.00000'), - ('2289', '147', 'ER', 'Erongo', '1', '0.00000'), - ('2290', '147', 'HA', 'Hardap', '1', '0.00000'), - ('2291', '147', 'KR', 'Karas', '1', '0.00000'), - ('2292', '147', 'KV', 'Kavango', '1', '0.00000'), - ('2293', '147', 'KH', 'Khomas', '1', '0.00000'), - ('2294', '147', 'KU', 'Kunene', '1', '0.00000'), - ('2295', '147', 'OW', 'Ohangwena', '1', '0.00000'), - ('2296', '147', 'OK', 'Omaheke', '1', '0.00000'), - ('2297', '147', 'OT', 'Omusati', '1', '0.00000'), - ('2298', '147', 'ON', 'Oshana', '1', '0.00000'), - ('2299', '147', 'OO', 'Oshikoto', '1', '0.00000'), - ('2300', '147', 'OJ', 'Otjozondjupa', '1', '0.00000'), - ('2301', '148', 'AO', 'Aiwo', '1', '0.00000'), - ('2302', '148', 'AA', 'Anabar', '1', '0.00000'), - ('2303', '148', 'AT', 'Anetan', '1', '0.00000'), - ('2304', '148', 'AI', 'Anibare', '1', '0.00000'), - ('2305', '148', 'BA', 'Baiti', '1', '0.00000'), - ('2306', '148', 'BO', 'Boe', '1', '0.00000'), - ('2307', '148', 'BU', 'Buada', '1', '0.00000'), - ('2308', '148', 'DE', 'Denigomodu', '1', '0.00000'), - ('2309', '148', 'EW', 'Ewa', '1', '0.00000'), - ('2310', '148', 'IJ', 'Ijuw', '1', '0.00000'), - ('2311', '148', 'ME', 'Meneng', '1', '0.00000'), - ('2312', '148', 'NI', 'Nibok', '1', '0.00000'), - ('2313', '148', 'UA', 'Uaboe', '1', '0.00000'), - ('2314', '148', 'YA', 'Yaren', '1', '0.00000'), - ('2315', '149', 'BA', 'Bagmati', '1', '0.00000'), - ('2316', '149', 'BH', 'Bheri', '1', '0.00000'), - ('2317', '149', 'DH', 'Dhawalagiri', '1', '0.00000'), - ('2318', '149', 'GA', 'Gandaki', '1', '0.00000'), - ('2319', '149', 'JA', 'Janakpur', '1', '0.00000'), - ('2320', '149', 'KA', 'Karnali', '1', '0.00000'), - ('2321', '149', 'KO', 'Kosi', '1', '0.00000'), - ('2322', '149', 'LU', 'Lumbini', '1', '0.00000'), - ('2323', '149', 'MA', 'Mahakali', '1', '0.00000'), - ('2324', '149', 'ME', 'Mechi', '1', '0.00000'), - ('2325', '149', 'NA', 'Narayani', '1', '0.00000'), - ('2326', '149', 'RA', 'Rapti', '1', '0.00000'), - ('2327', '149', 'SA', 'Sagarmatha', '1', '0.00000'), - ('2328', '149', 'SE', 'Seti', '1', '0.00000'), - ('2329', '150', 'DR', 'Drenthe', '1', '0.00000'), - ('2330', '150', 'FL', 'Flevoland', '1', '0.00000'), - ('2331', '150', 'FR', 'Friesland', '1', '0.00000'), - ('2332', '150', 'GE', 'Gelderland', '1', '0.00000'), - ('2333', '150', 'GR', 'Groningen', '1', '0.00000'), - ('2334', '150', 'LI', 'Limburg', '1', '0.00000'), - ('2335', '150', 'NB', 'Noord Brabant', '1', '0.00000'), - ('2336', '150', 'NH', 'Noord Holland', '1', '0.00000'), - ('2337', '150', 'OV', 'Overijssel', '1', '0.00000'), - ('2338', '150', 'UT', 'Utrecht', '1', '0.00000'), - ('2339', '150', 'ZE', 'Zeeland', '1', '0.00000'), - ('2340', '150', 'ZH', 'Zuid Holland', '1', '0.00000'), - ('2341', '152', 'L', 'Iles Loyaute', '1', '0.00000'), - ('2342', '152', 'N', 'Nord', '1', '0.00000'), - ('2343', '152', 'S', 'Sud', '1', '0.00000'), - ('2344', '153', 'AUK', 'Auckland', '1', '0.00000'), - ('2345', '153', 'BOP', 'Bay of Plenty', '1', '0.00000'), - ('2346', '153', 'CAN', 'Canterbury', '1', '0.00000'), - ('2347', '153', 'COR', 'Coromandel', '1', '0.00000'), - ('2348', '153', 'GIS', 'Gisborne', '1', '0.00000'), - ('2349', '153', 'FIO', 'Fiordland', '1', '0.00000'), - ('2350', '153', 'HKB', 'Hawke\'s Bay', '1', '0.00000'), - ('2351', '153', 'MBH', 'Marlborough', '1', '0.00000'), - ('2352', '153', 'MWT', 'Manawatu-Wanganui', '1', '0.00000'), - ('2353', '153', 'MCM', 'Mt Cook-Mackenzie', '1', '0.00000'), - ('2354', '153', 'NSN', 'Nelson', '1', '0.00000'), - ('2355', '153', 'NTL', 'Northland', '1', '0.00000'), - ('2356', '153', 'OTA', 'Otago', '1', '0.00000'), - ('2357', '153', 'STL', 'Southland', '1', '0.00000'), - ('2358', '153', 'TKI', 'Taranaki', '1', '0.00000'), - ('2359', '153', 'WGN', 'Wellington', '1', '0.00000'), - ('2360', '153', 'WKO', 'Waikato', '1', '0.00000'), - ('2361', '153', 'WAI', 'Wairprarapa', '1', '0.00000'), - ('2362', '153', 'WTC', 'West Coast', '1', '0.00000'), - ('2363', '154', 'AN', 'Atlantico Norte', '1', '0.00000'), - ('2364', '154', 'AS', 'Atlantico Sur', '1', '0.00000'), - ('2365', '154', 'BO', 'Boaco', '1', '0.00000'), - ('2366', '154', 'CA', 'Carazo', '1', '0.00000'), - ('2367', '154', 'CI', 'Chinandega', '1', '0.00000'), - ('2368', '154', 'CO', 'Chontales', '1', '0.00000'), - ('2369', '154', 'ES', 'Esteli', '1', '0.00000'), - ('2370', '154', 'GR', 'Granada', '1', '0.00000'), - ('2371', '154', 'JI', 'Jinotega', '1', '0.00000'), - ('2372', '154', 'LE', 'Leon', '1', '0.00000'), - ('2373', '154', 'MD', 'Madriz', '1', '0.00000'), - ('2374', '154', 'MN', 'Managua', '1', '0.00000'), - ('2375', '154', 'MS', 'Masaya', '1', '0.00000'), - ('2376', '154', 'MT', 'Matagalpa', '1', '0.00000'), - ('2377', '154', 'NS', 'Nuevo Segovia', '1', '0.00000'), - ('2378', '154', 'RS', 'Rio San Juan', '1', '0.00000'), - ('2379', '154', 'RI', 'Rivas', '1', '0.00000'), - ('2380', '155', 'AG', 'Agadez', '1', '0.00000'), - ('2381', '155', 'DF', 'Diffa', '1', '0.00000'), - ('2382', '155', 'DS', 'Dosso', '1', '0.00000'), - ('2383', '155', 'MA', 'Maradi', '1', '0.00000'), - ('2384', '155', 'NM', 'Niamey', '1', '0.00000'), - ('2385', '155', 'TH', 'Tahoua', '1', '0.00000'), - ('2386', '155', 'TL', 'Tillaberi', '1', '0.00000'), - ('2387', '155', 'ZD', 'Zinder', '1', '0.00000'), - ('2388', '156', 'AB', 'Abia', '1', '0.00000'), - ('2389', '156', 'CT', 'Abuja Federal Capital Territory', '1', '0.00000'), - ('2390', '156', 'AD', 'Adamawa', '1', '0.00000'), - ('2391', '156', 'AK', 'Akwa Ibom', '1', '0.00000'), - ('2392', '156', 'AN', 'Anambra', '1', '0.00000'), - ('2393', '156', 'BC', 'Bauchi', '1', '0.00000'), - ('2394', '156', 'BY', 'Bayelsa', '1', '0.00000'), - ('2395', '156', 'BN', 'Benue', '1', '0.00000'), - ('2396', '156', 'BO', 'Borno', '1', '0.00000'), - ('2397', '156', 'CR', 'Cross River', '1', '0.00000'), - ('2398', '156', 'DE', 'Delta', '1', '0.00000'), - ('2399', '156', 'EB', 'Ebonyi', '1', '0.00000'), - ('2400', '156', 'ED', 'Edo', '1', '0.00000'), - ('2401', '156', 'EK', 'Ekiti', '1', '0.00000'), - ('2402', '156', 'EN', 'Enugu', '1', '0.00000'), - ('2403', '156', 'GO', 'Gombe', '1', '0.00000'), - ('2404', '156', 'IM', 'Imo', '1', '0.00000'), - ('2405', '156', 'JI', 'Jigawa', '1', '0.00000'), - ('2406', '156', 'KD', 'Kaduna', '1', '0.00000'), - ('2407', '156', 'KN', 'Kano', '1', '0.00000'), - ('2408', '156', 'KT', 'Katsina', '1', '0.00000'), - ('2409', '156', 'KE', 'Kebbi', '1', '0.00000'), - ('2410', '156', 'KO', 'Kogi', '1', '0.00000'), - ('2411', '156', 'KW', 'Kwara', '1', '0.00000'), - ('2412', '156', 'LA', 'Lagos', '1', '0.00000'), - ('2413', '156', 'NA', 'Nassarawa', '1', '0.00000'), - ('2414', '156', 'NI', 'Niger', '1', '0.00000'), - ('2415', '156', 'OG', 'Ogun', '1', '0.00000'), - ('2416', '156', 'ONG', 'Ondo', '1', '0.00000'), - ('2417', '156', 'OS', 'Osun', '1', '0.00000'), - ('2418', '156', 'OY', 'Oyo', '1', '0.00000'), - ('2419', '156', 'PL', 'Plateau', '1', '0.00000'), - ('2420', '156', 'RI', 'Rivers', '1', '0.00000'), - ('2421', '156', 'SO', 'Sokoto', '1', '0.00000'), - ('2422', '156', 'TA', 'Taraba', '1', '0.00000'), - ('2423', '156', 'YO', 'Yobe', '1', '0.00000'), - ('2424', '156', 'ZA', 'Zamfara', '1', '0.00000'), - ('2425', '159', 'N', 'Northern Islands', '1', '0.00000'), - ('2426', '159', 'R', 'Rota', '1', '0.00000'), - ('2427', '159', 'S', 'Saipan', '1', '0.00000'), - ('2428', '159', 'T', 'Tinian', '1', '0.00000'), - ('2429', '160', 'AK', 'Akershus', '1', '0.00000'), - ('2430', '160', 'AA', 'Aust-Agder', '1', '0.00000'), - ('2431', '160', 'BU', 'Buskerud', '1', '0.00000'), - ('2432', '160', 'FM', 'Finnmark', '1', '0.00000'), - ('2433', '160', 'HM', 'Hedmark', '1', '0.00000'), - ('2434', '160', 'HL', 'Hordaland', '1', '0.00000'), - ('2435', '160', 'MR', 'More og Romdal', '1', '0.00000'), - ('2436', '160', 'NT', 'Nord-Trondelag', '1', '0.00000'), - ('2437', '160', 'NL', 'Nordland', '1', '0.00000'), - ('2438', '160', 'OF', 'Ostfold', '1', '0.00000'), - ('2439', '160', 'OP', 'Oppland', '1', '0.00000'), - ('2440', '160', 'OL', 'Oslo', '1', '0.00000'), - ('2441', '160', 'RL', 'Rogaland', '1', '0.00000'), - ('2442', '160', 'ST', 'Sor-Trondelag', '1', '0.00000'), - ('2443', '160', 'SJ', 'Sogn og Fjordane', '1', '0.00000'), - ('2444', '160', 'SV', 'Svalbard', '1', '0.00000'), - ('2445', '160', 'TM', 'Telemark', '1', '0.00000'), - ('2446', '160', 'TR', 'Troms', '1', '0.00000'), - ('2447', '160', 'VA', 'Vest-Agder', '1', '0.00000'), - ('2448', '160', 'VF', 'Vestfold', '1', '0.00000'), - ('2449', '161', 'DA', 'Ad Dakhiliyah', '1', '0.00000'), - ('2450', '161', 'BA', 'Al Batinah', '1', '0.00000'), - ('2451', '161', 'WU', 'Al Wusta', '1', '0.00000'), - ('2452', '161', 'SH', 'Ash Sharqiyah', '1', '0.00000'), - ('2453', '161', 'ZA', 'Az Zahirah', '1', '0.00000'), - ('2454', '161', 'MA', 'Masqat', '1', '0.00000'), - ('2455', '161', 'MU', 'Musandam', '1', '0.00000'), - ('2456', '161', 'ZU', 'Zufar', '1', '0.00000'), - ('2457', '162', 'B', 'Balochistan', '1', '0.00000'), - ('2458', '162', 'T', 'Federally Administered Tribal Areas', '1', '0.00000'), - ('2459', '162', 'I', 'Islamabad Capital Territory', '1', '0.00000'), - ('2460', '162', 'N', 'North-West Frontier', '1', '0.00000'), - ('2461', '162', 'P', 'Punjab', '1', '0.00000'), - ('2462', '162', 'S', 'Sindh', '1', '0.00000'), - ('2463', '163', 'AM', 'Aimeliik', '1', '0.00000'), - ('2464', '163', 'AR', 'Airai', '1', '0.00000'), - ('2465', '163', 'AN', 'Angaur', '1', '0.00000'), - ('2466', '163', 'HA', 'Hatohobei', '1', '0.00000'), - ('2467', '163', 'KA', 'Kayangel', '1', '0.00000'), - ('2468', '163', 'KO', 'Koror', '1', '0.00000'), - ('2469', '163', 'ME', 'Melekeok', '1', '0.00000'), - ('2470', '163', 'NA', 'Ngaraard', '1', '0.00000'), - ('2471', '163', 'NG', 'Ngarchelong', '1', '0.00000'), - ('2472', '163', 'ND', 'Ngardmau', '1', '0.00000'), - ('2473', '163', 'NT', 'Ngatpang', '1', '0.00000'), - ('2474', '163', 'NC', 'Ngchesar', '1', '0.00000'), - ('2475', '163', 'NR', 'Ngeremlengui', '1', '0.00000'), - ('2476', '163', 'NW', 'Ngiwal', '1', '0.00000'), - ('2477', '163', 'PE', 'Peleliu', '1', '0.00000'), - ('2478', '163', 'SO', 'Sonsorol', '1', '0.00000'), - ('2479', '164', 'BT', 'Bocas del Toro', '1', '0.00000'), - ('2480', '164', 'CH', 'Chiriqui', '1', '0.00000'), - ('2481', '164', 'CC', 'Cocle', '1', '0.00000'), - ('2482', '164', 'CL', 'Colon', '1', '0.00000'), - ('2483', '164', 'DA', 'Darien', '1', '0.00000'), - ('2484', '164', 'HE', 'Herrera', '1', '0.00000'), - ('2485', '164', 'LS', 'Los Santos', '1', '0.00000'), - ('2486', '164', 'PA', 'Panama', '1', '0.00000'), - ('2487', '164', 'SB', 'San Blas', '1', '0.00000'), - ('2488', '164', 'VG', 'Veraguas', '1', '0.00000'), - ('2489', '165', 'BV', 'Bougainville', '1', '0.00000'), - ('2490', '165', 'CE', 'Central', '1', '0.00000'), - ('2491', '165', 'CH', 'Chimbu', '1', '0.00000'), - ('2492', '165', 'EH', 'Eastern Highlands', '1', '0.00000'), - ('2493', '165', 'EB', 'East New Britain', '1', '0.00000'), - ('2494', '165', 'ES', 'East Sepik', '1', '0.00000'), - ('2495', '165', 'EN', 'Enga', '1', '0.00000'), - ('2496', '165', 'GU', 'Gulf', '1', '0.00000'), - ('2497', '165', 'MD', 'Madang', '1', '0.00000'), - ('2498', '165', 'MN', 'Manus', '1', '0.00000'), - ('2499', '165', 'MB', 'Milne Bay', '1', '0.00000'), - ('2500', '165', 'MR', 'Morobe', '1', '0.00000'), - ('2501', '165', 'NC', 'National Capital', '1', '0.00000'), - ('2502', '165', 'NI', 'New Ireland', '1', '0.00000'), - ('2503', '165', 'NO', 'Northern', '1', '0.00000'), - ('2504', '165', 'SA', 'Sandaun', '1', '0.00000'), - ('2505', '165', 'SH', 'Southern Highlands', '1', '0.00000'), - ('2506', '165', 'WE', 'Western', '1', '0.00000'), - ('2507', '165', 'WH', 'Western Highlands', '1', '0.00000'), - ('2508', '165', 'WB', 'West New Britain', '1', '0.00000'), - ('2509', '166', 'AG', 'Alto Paraguay', '1', '0.00000'), - ('2510', '166', 'AN', 'Alto Parana', '1', '0.00000'), - ('2511', '166', 'AM', 'Amambay', '1', '0.00000'), - ('2512', '166', 'AS', 'Asuncion', '1', '0.00000'), - ('2513', '166', 'BO', 'Boqueron', '1', '0.00000'), - ('2514', '166', 'CG', 'Caaguazu', '1', '0.00000'), - ('2515', '166', 'CZ', 'Caazapa', '1', '0.00000'), - ('2516', '166', 'CN', 'Canindeyu', '1', '0.00000'), - ('2517', '166', 'CE', 'Central', '1', '0.00000'), - ('2518', '166', 'CC', 'Concepcion', '1', '0.00000'), - ('2519', '166', 'CD', 'Cordillera', '1', '0.00000'), - ('2520', '166', 'GU', 'Guaira', '1', '0.00000'), - ('2521', '166', 'IT', 'Itapua', '1', '0.00000'), - ('2522', '166', 'MI', 'Misiones', '1', '0.00000'), - ('2523', '166', 'NE', 'Neembucu', '1', '0.00000'), - ('2524', '166', 'PA', 'Paraguari', '1', '0.00000'), - ('2525', '166', 'PH', 'Presidente Hayes', '1', '0.00000'), - ('2526', '166', 'SP', 'San Pedro', '1', '0.00000'), - ('2527', '167', 'AM', 'Amazonas', '1', '0.00000'), - ('2528', '167', 'AN', 'Ancash', '1', '0.00000'), - ('2529', '167', 'AP', 'Apurimac', '1', '0.00000'), - ('2530', '167', 'AR', 'Arequipa', '1', '0.00000'), - ('2531', '167', 'AY', 'Ayacucho', '1', '0.00000'), - ('2532', '167', 'CJ', 'Cajamarca', '1', '0.00000'), - ('2533', '167', 'CL', 'Callao', '1', '0.00000'), - ('2534', '167', 'CU', 'Cusco', '1', '0.00000'), - ('2535', '167', 'HV', 'Huancavelica', '1', '0.00000'), - ('2536', '167', 'HO', 'Huanuco', '1', '0.00000');"; - - - $query[] = "INSERT INTO `".$prefix."country_zones` VALUES ('2537', '167', 'IC', 'Ica', '1', '0.00000'), - ('2538', '167', 'JU', 'Junin', '1', '0.00000'), - ('2539', '167', 'LD', 'La Libertad', '1', '0.00000'), - ('2540', '167', 'LY', 'Lambayeque', '1', '0.00000'), - ('2541', '167', 'LI', 'Lima', '1', '0.00000'), - ('2542', '167', 'LO', 'Loreto', '1', '0.00000'), - ('2543', '167', 'MD', 'Madre de Dios', '1', '0.00000'), - ('2544', '167', 'MO', 'Moquegua', '1', '0.00000'), - ('2545', '167', 'PA', 'Pasco', '1', '0.00000'), - ('2546', '167', 'PI', 'Piura', '1', '0.00000'), - ('2547', '167', 'PU', 'Puno', '1', '0.00000'), - ('2548', '167', 'SM', 'San Martin', '1', '0.00000'), - ('2549', '167', 'TA', 'Tacna', '1', '0.00000'), - ('2550', '167', 'TU', 'Tumbes', '1', '0.00000'), - ('2551', '167', 'UC', 'Ucayali', '1', '0.00000'), - ('2552', '168', 'ABR', 'Abra', '1', '0.00000'), - ('2553', '168', 'ANO', 'Agusan del Norte', '1', '0.00000'), - ('2554', '168', 'ASU', 'Agusan del Sur', '1', '0.00000'), - ('2555', '168', 'AKL', 'Aklan', '1', '0.00000'), - ('2556', '168', 'ALB', 'Albay', '1', '0.00000'), - ('2557', '168', 'ANT', 'Antique', '1', '0.00000'), - ('2558', '168', 'APY', 'Apayao', '1', '0.00000'), - ('2559', '168', 'AUR', 'Aurora', '1', '0.00000'), - ('2560', '168', 'BAS', 'Basilan', '1', '0.00000'), - ('2561', '168', 'BTA', 'Bataan', '1', '0.00000'), - ('2562', '168', 'BTE', 'Batanes', '1', '0.00000'), - ('2563', '168', 'BTG', 'Batangas', '1', '0.00000'), - ('2564', '168', 'BLR', 'Biliran', '1', '0.00000'), - ('2565', '168', 'BEN', 'Benguet', '1', '0.00000'), - ('2566', '168', 'BOL', 'Bohol', '1', '0.00000'), - ('2567', '168', 'BUK', 'Bukidnon', '1', '0.00000'), - ('2568', '168', 'BUL', 'Bulacan', '1', '0.00000'), - ('2569', '168', 'CAG', 'Cagayan', '1', '0.00000'), - ('2570', '168', 'CNO', 'Camarines Norte', '1', '0.00000'), - ('2571', '168', 'CSU', 'Camarines Sur', '1', '0.00000'), - ('2572', '168', 'CAM', 'Camiguin', '1', '0.00000'), - ('2573', '168', 'CAP', 'Capiz', '1', '0.00000'), - ('2574', '168', 'CAT', 'Catanduanes', '1', '0.00000'), - ('2575', '168', 'CAV', 'Cavite', '1', '0.00000'), - ('2576', '168', 'CEB', 'Cebu', '1', '0.00000'), - ('2577', '168', 'CMP', 'Compostela', '1', '0.00000'), - ('2578', '168', 'DNO', 'Davao del Norte', '1', '0.00000'), - ('2579', '168', 'DSU', 'Davao del Sur', '1', '0.00000'), - ('2580', '168', 'DOR', 'Davao Oriental', '1', '0.00000'), - ('2581', '168', 'ESA', 'Eastern Samar', '1', '0.00000'), - ('2582', '168', 'GUI', 'Guimaras', '1', '0.00000'), - ('2583', '168', 'IFU', 'Ifugao', '1', '0.00000'), - ('2584', '168', 'INO', 'Ilocos Norte', '1', '0.00000'), - ('2585', '168', 'ISU', 'Ilocos Sur', '1', '0.00000'), - ('2586', '168', 'ILO', 'Iloilo', '1', '0.00000'), - ('2587', '168', 'ISA', 'Isabela', '1', '0.00000'), - ('2588', '168', 'KAL', 'Kalinga', '1', '0.00000'), - ('2589', '168', 'LAG', 'Laguna', '1', '0.00000'), - ('2590', '168', 'LNO', 'Lanao del Norte', '1', '0.00000'), - ('2591', '168', 'LSU', 'Lanao del Sur', '1', '0.00000'), - ('2592', '168', 'UNI', 'La Union', '1', '0.00000'), - ('2593', '168', 'LEY', 'Leyte', '1', '0.00000'), - ('2594', '168', 'MAG', 'Maguindanao', '1', '0.00000'), - ('2595', '168', 'MRN', 'Marinduque', '1', '0.00000'), - ('2596', '168', 'MSB', 'Masbate', '1', '0.00000'), - ('2597', '168', 'MIC', 'Mindoro Occidental', '1', '0.00000'), - ('2598', '168', 'MIR', 'Mindoro Oriental', '1', '0.00000'), - ('2599', '168', 'MSC', 'Misamis Occidental', '1', '0.00000'), - ('2600', '168', 'MOR', 'Misamis Oriental', '1', '0.00000'), - ('2601', '168', 'MOP', 'Mountain', '1', '0.00000'), - ('2602', '168', 'NOC', 'Negros Occidental', '1', '0.00000'), - ('2603', '168', 'NOR', 'Negros Oriental', '1', '0.00000'), - ('2604', '168', 'NCT', 'North Cotabato', '1', '0.00000'), - ('2605', '168', 'NSM', 'Northern Samar', '1', '0.00000'), - ('2606', '168', 'NEC', 'Nueva Ecija', '1', '0.00000'), - ('2607', '168', 'NVZ', 'Nueva Vizcaya', '1', '0.00000'), - ('2608', '168', 'PLW', 'Palawan', '1', '0.00000'), - ('2609', '168', 'PMP', 'Pampanga', '1', '0.00000'), - ('2610', '168', 'PNG', 'Pangasinan', '1', '0.00000'), - ('2611', '168', 'QZN', 'Quezon', '1', '0.00000'), - ('2612', '168', 'QRN', 'Quirino', '1', '0.00000'), - ('2613', '168', 'RIZ', 'Rizal', '1', '0.00000'), - ('2614', '168', 'ROM', 'Romblon', '1', '0.00000'), - ('2615', '168', 'SMR', 'Samar', '1', '0.00000'), - ('2616', '168', 'SRG', 'Sarangani', '1', '0.00000'), - ('2617', '168', 'SQJ', 'Siquijor', '1', '0.00000'), - ('2618', '168', 'SRS', 'Sorsogon', '1', '0.00000'), - ('2619', '168', 'SCO', 'South Cotabato', '1', '0.00000'), - ('2620', '168', 'SLE', 'Southern Leyte', '1', '0.00000'), - ('2621', '168', 'SKU', 'Sultan Kudarat', '1', '0.00000'), - ('2622', '168', 'SLU', 'Sulu', '1', '0.00000'), - ('2623', '168', 'SNO', 'Surigao del Norte', '1', '0.00000'), - ('2624', '168', 'SSU', 'Surigao del Sur', '1', '0.00000'), - ('2625', '168', 'TAR', 'Tarlac', '1', '0.00000'), - ('2626', '168', 'TAW', 'Tawi-Tawi', '1', '0.00000'), - ('2627', '168', 'ZBL', 'Zambales', '1', '0.00000'), - ('2628', '168', 'ZNO', 'Zamboanga del Norte', '1', '0.00000'), - ('2629', '168', 'ZSU', 'Zamboanga del Sur', '1', '0.00000'), - ('2630', '168', 'ZSI', 'Zamboanga Sibugay', '1', '0.00000'), - ('2631', '170', 'DO', 'Dolnoslaskie', '1', '0.00000'), - ('2632', '170', 'KP', 'Kujawsko-Pomorskie', '1', '0.00000'), - ('2633', '170', 'LO', 'Lodzkie', '1', '0.00000'), - ('2634', '170', 'LL', 'Lubelskie', '1', '0.00000'), - ('2635', '170', 'LU', 'Lubuskie', '1', '0.00000'), - ('2636', '170', 'ML', 'Malopolskie', '1', '0.00000'), - ('2637', '170', 'MZ', 'Mazowieckie', '1', '0.00000'), - ('2638', '170', 'OP', 'Opolskie', '1', '0.00000'), - ('2639', '170', 'PP', 'Podkarpackie', '1', '0.00000'), - ('2640', '170', 'PL', 'Podlaskie', '1', '0.00000'), - ('2641', '170', 'PM', 'Pomorskie', '1', '0.00000'), - ('2642', '170', 'SL', 'Slaskie', '1', '0.00000'), - ('2643', '170', 'SW', 'Swietokrzyskie', '1', '0.00000'), - ('2644', '170', 'WM', 'Warminsko-Mazurskie', '1', '0.00000'), - ('2645', '170', 'WP', 'Wielkopolskie', '1', '0.00000'), - ('2646', '170', 'ZA', 'Zachodniopomorskie', '1', '0.00000'), - ('2647', '198', 'P', 'Saint Pierre', '1', '0.00000'), - ('2648', '198', 'M', 'Miquelon', '1', '0.00000'), - ('2649', '171', 'AC', 'Açores', '1', '0.00000'), - ('2650', '171', 'AV', 'Aveiro', '1', '0.00000'), - ('2651', '171', 'BE', 'Beja', '1', '0.00000'), - ('2652', '171', 'BR', 'Braga', '1', '0.00000'), - ('2653', '171', 'BA', 'Bragança', '1', '0.00000'), - ('2654', '171', 'CB', 'Castelo Branco', '1', '0.00000'), - ('2655', '171', 'CO', 'Coimbra', '1', '0.00000'), - ('2656', '171', 'EV', 'Évora', '1', '0.00000'), - ('2657', '171', 'FA', 'Faro', '1', '0.00000'), - ('2658', '171', 'GU', 'Guarda', '1', '0.00000'), - ('2659', '171', 'LE', 'Leiria', '1', '0.00000'), - ('2660', '171', 'LI', 'Lisboa', '1', '0.00000'), - ('2661', '171', 'ME', 'Madeira', '1', '0.00000'), - ('2662', '171', 'PO', 'Portalegre', '1', '0.00000'), - ('2663', '171', 'PR', 'Porto', '1', '0.00000'), - ('2664', '171', 'SA', 'Santarém', '1', '0.00000'), - ('2665', '171', 'SE', 'Setúbal', '1', '0.00000'), - ('2666', '171', 'VC', 'Viana do Castelo', '1', '0.00000'), - ('2667', '171', 'VR', 'Vila Real', '1', '0.00000'), - ('2668', '171', 'VI', 'Viseu', '1', '0.00000'), - ('2669', '173', 'DW', 'Ad Dawhah', '1', '0.00000'), - ('2670', '173', 'GW', 'Al Ghuwayriyah', '1', '0.00000'), - ('2671', '173', 'JM', 'Al Jumayliyah', '1', '0.00000'), - ('2672', '173', 'KR', 'Al Khawr', '1', '0.00000'), - ('2673', '173', 'WK', 'Al Wakrah', '1', '0.00000'), - ('2674', '173', 'RN', 'Ar Rayyan', '1', '0.00000'), - ('2675', '173', 'JB', 'Jarayan al Batinah', '1', '0.00000'), - ('2676', '173', 'MS', 'Madinat ash Shamal', '1', '0.00000'), - ('2677', '173', 'UD', 'Umm Sa\'id', '1', '0.00000'), - ('2678', '173', 'UL', 'Umm Salal', '1', '0.00000'), - ('2679', '175', 'AB', 'Alba', '1', '0.00000'), - ('2680', '175', 'AR', 'Arad', '1', '0.00000'), - ('2681', '175', 'AG', 'Arges', '1', '0.00000'), - ('2682', '175', 'BC', 'Bacau', '1', '0.00000'), - ('2683', '175', 'BH', 'Bihor', '1', '0.00000'), - ('2684', '175', 'BN', 'Bistrita-Nasaud', '1', '0.00000'), - ('2685', '175', 'BT', 'Botosani', '1', '0.00000'), - ('2686', '175', 'BV', 'Brasov', '1', '0.00000'), - ('2687', '175', 'BR', 'Braila', '1', '0.00000'), - ('2688', '175', 'B', 'Bucuresti', '1', '0.00000'), - ('2689', '175', 'BZ', 'Buzau', '1', '0.00000'), - ('2690', '175', 'CS', 'Caras-Severin', '1', '0.00000'), - ('2691', '175', 'CL', 'Calarasi', '1', '0.00000'), - ('2692', '175', 'CJ', 'Cluj', '1', '0.00000'), - ('2693', '175', 'CT', 'Constanta', '1', '0.00000'), - ('2694', '175', 'CV', 'Covasna', '1', '0.00000'), - ('2695', '175', 'DB', 'Dimbovita', '1', '0.00000'), - ('2696', '175', 'DJ', 'Dolj', '1', '0.00000'), - ('2697', '175', 'GL', 'Galati', '1', '0.00000'), - ('2698', '175', 'GR', 'Giurgiu', '1', '0.00000'), - ('2699', '175', 'GJ', 'Gorj', '1', '0.00000'), - ('2700', '175', 'HR', 'Harghita', '1', '0.00000'), - ('2701', '175', 'HD', 'Hunedoara', '1', '0.00000'), - ('2702', '175', 'IL', 'Ialomita', '1', '0.00000'), - ('2703', '175', 'IS', 'Iasi', '1', '0.00000'), - ('2704', '175', 'IF', 'Ilfov', '1', '0.00000'), - ('2705', '175', 'MM', 'Maramures', '1', '0.00000'), - ('2706', '175', 'MH', 'Mehedinti', '1', '0.00000'), - ('2707', '175', 'MS', 'Mures', '1', '0.00000'), - ('2708', '175', 'NT', 'Neamt', '1', '0.00000'), - ('2709', '175', 'OT', 'Olt', '1', '0.00000'), - ('2710', '175', 'PH', 'Prahova', '1', '0.00000'), - ('2711', '175', 'SM', 'Satu-Mare', '1', '0.00000'), - ('2712', '175', 'SJ', 'Salaj', '1', '0.00000'), - ('2713', '175', 'SB', 'Sibiu', '1', '0.00000'), - ('2714', '175', 'SV', 'Suceava', '1', '0.00000'), - ('2715', '175', 'TR', 'Teleorman', '1', '0.00000'), - ('2716', '175', 'TM', 'Timis', '1', '0.00000'), - ('2717', '175', 'TL', 'Tulcea', '1', '0.00000'), - ('2718', '175', 'VS', 'Vaslui', '1', '0.00000'), - ('2719', '175', 'VL', 'Valcea', '1', '0.00000'), - ('2720', '175', 'VN', 'Vrancea', '1', '0.00000'), - ('2721', '176', 'AB', 'Abakan', '1', '0.00000'), - ('2722', '176', 'AG', 'Aginskoye', '1', '0.00000'), - ('2723', '176', 'AN', 'Anadyr', '1', '0.00000'), - ('2724', '176', 'AR', 'Arkahangelsk', '1', '0.00000'), - ('2725', '176', 'AS', 'Astrakhan', '1', '0.00000'), - ('2726', '176', 'BA', 'Barnaul', '1', '0.00000'), - ('2727', '176', 'BE', 'Belgorod', '1', '0.00000'), - ('2728', '176', 'BI', 'Birobidzhan', '1', '0.00000'), - ('2729', '176', 'BL', 'Blagoveshchensk', '1', '0.00000'), - ('2730', '176', 'BR', 'Bryansk', '1', '0.00000'), - ('2731', '176', 'CH', 'Cheboksary', '1', '0.00000'), - ('2732', '176', 'CL', 'Chelyabinsk', '1', '0.00000'), - ('2733', '176', 'CR', 'Cherkessk', '1', '0.00000'), - ('2734', '176', 'CI', 'Chita', '1', '0.00000'), - ('2735', '176', 'DU', 'Dudinka', '1', '0.00000'), - ('2736', '176', 'EL', 'Elista', '1', '0.00000'), - ('2737', '176', 'GO', 'Gomo-Altaysk', '1', '0.00000'), - ('2738', '176', 'GA', 'Gorno-Altaysk', '1', '0.00000'), - ('2739', '176', 'GR', 'Groznyy', '1', '0.00000'), - ('2740', '176', 'IR', 'Irkutsk', '1', '0.00000'), - ('2741', '176', 'IV', 'Ivanovo', '1', '0.00000'), - ('2742', '176', 'IZ', 'Izhevsk', '1', '0.00000'), - ('2743', '176', 'KA', 'Kalinigrad', '1', '0.00000'), - ('2744', '176', 'KL', 'Kaluga', '1', '0.00000'), - ('2745', '176', 'KS', 'Kasnodar', '1', '0.00000'), - ('2746', '176', 'KZ', 'Kazan', '1', '0.00000'), - ('2747', '176', 'KE', 'Kemerovo', '1', '0.00000'), - ('2748', '176', 'KH', 'Khabarovsk', '1', '0.00000'), - ('2749', '176', 'KM', 'Khanty-Mansiysk', '1', '0.00000'), - ('2750', '176', 'KO', 'Kostroma', '1', '0.00000'), - ('2751', '176', 'KR', 'Krasnodar', '1', '0.00000'), - ('2752', '176', 'KN', 'Krasnoyarsk', '1', '0.00000'), - ('2753', '176', 'KU', 'Kudymkar', '1', '0.00000'), - ('2754', '176', 'KG', 'Kurgan', '1', '0.00000'), - ('2755', '176', 'KK', 'Kursk', '1', '0.00000'), - ('2756', '176', 'KY', 'Kyzyl', '1', '0.00000'), - ('2757', '176', 'LI', 'Lipetsk', '1', '0.00000'), - ('2758', '176', 'MA', 'Magadan', '1', '0.00000'), - ('2759', '176', 'MK', 'Makhachkala', '1', '0.00000'), - ('2760', '176', 'MY', 'Maykop', '1', '0.00000'), - ('2761', '176', 'MO', 'Moscow', '1', '0.00000'), - ('2762', '176', 'MU', 'Murmansk', '1', '0.00000'), - ('2763', '176', 'NA', 'Nalchik', '1', '0.00000'), - ('2764', '176', 'NR', 'Naryan Mar', '1', '0.00000'), - ('2765', '176', 'NZ', 'Nazran', '1', '0.00000'), - ('2766', '176', 'NI', 'Nizhniy Novgorod', '1', '0.00000'), - ('2767', '176', 'NO', 'Novgorod', '1', '0.00000'), - ('2768', '176', 'NV', 'Novosibirsk', '1', '0.00000'), - ('2769', '176', 'OM', 'Omsk', '1', '0.00000'), - ('2770', '176', 'OR', 'Orel', '1', '0.00000'), - ('2771', '176', 'OE', 'Orenburg', '1', '0.00000'), - ('2772', '176', 'PA', 'Palana', '1', '0.00000'), - ('2773', '176', 'PE', 'Penza', '1', '0.00000'), - ('2774', '176', 'PR', 'Perm', '1', '0.00000'), - ('2775', '176', 'PK', 'Petropavlovsk-Kamchatskiy', '1', '0.00000'), - ('2776', '176', 'PT', 'Petrozavodsk', '1', '0.00000'), - ('2777', '176', 'PS', 'Pskov', '1', '0.00000'), - ('2778', '176', 'RO', 'Rostov-na-Donu', '1', '0.00000'), - ('2779', '176', 'RY', 'Ryazan', '1', '0.00000'), - ('2780', '176', 'SL', 'Salekhard', '1', '0.00000'), - ('2781', '176', 'SA', 'Samara', '1', '0.00000'), - ('2782', '176', 'SR', 'Saransk', '1', '0.00000'), - ('2783', '176', 'SV', 'Saratov', '1', '0.00000'), - ('2784', '176', 'SM', 'Smolensk', '1', '0.00000'), - ('2785', '176', 'SP', 'St. Petersburg', '1', '0.00000'), - ('2786', '176', 'ST', 'Stavropol', '1', '0.00000'), - ('2787', '176', 'SY', 'Syktyvkar', '1', '0.00000'), - ('2788', '176', 'TA', 'Tambov', '1', '0.00000'), - ('2789', '176', 'TO', 'Tomsk', '1', '0.00000'), - ('2790', '176', 'TU', 'Tula', '1', '0.00000'), - ('2791', '176', 'TR', 'Tura', '1', '0.00000'), - ('2792', '176', 'TV', 'Tver', '1', '0.00000'), - ('2793', '176', 'TY', 'Tyumen', '1', '0.00000'), - ('2794', '176', 'UF', 'Ufa', '1', '0.00000'), - ('2795', '176', 'UL', 'Ul\'yanovsk', '1', '0.00000'), - ('2796', '176', 'UU', 'Ulan-Ude', '1', '0.00000'), - ('2797', '176', 'US', 'Ust\'-Ordynskiy', '1', '0.00000'), - ('2798', '176', 'VL', 'Vladikavkaz', '1', '0.00000'), - ('2799', '176', 'VA', 'Vladimir', '1', '0.00000'), - ('2800', '176', 'VV', 'Vladivostok', '1', '0.00000'), - ('2801', '176', 'VG', 'Volgograd', '1', '0.00000'), - ('2802', '176', 'VD', 'Vologda', '1', '0.00000'), - ('2803', '176', 'VO', 'Voronezh', '1', '0.00000'), - ('2804', '176', 'VY', 'Vyatka', '1', '0.00000'), - ('2805', '176', 'YA', 'Yakutsk', '1', '0.00000'), - ('2806', '176', 'YR', 'Yaroslavl', '1', '0.00000'), - ('2807', '176', 'YE', 'Yekaterinburg', '1', '0.00000'), - ('2808', '176', 'YO', 'Yoshkar-Ola', '1', '0.00000'), - ('2809', '177', 'BU', 'Butare', '1', '0.00000'), - ('2810', '177', 'BY', 'Byumba', '1', '0.00000'), - ('2811', '177', 'CY', 'Cyangugu', '1', '0.00000'), - ('2812', '177', 'GK', 'Gikongoro', '1', '0.00000'), - ('2813', '177', 'GS', 'Gisenyi', '1', '0.00000'), - ('2814', '177', 'GT', 'Gitarama', '1', '0.00000'), - ('2815', '177', 'KG', 'Kibungo', '1', '0.00000'), - ('2816', '177', 'KY', 'Kibuye', '1', '0.00000'), - ('2817', '177', 'KR', 'Kigali Rurale', '1', '0.00000'), - ('2818', '177', 'KV', 'Kigali-ville', '1', '0.00000'), - ('2819', '177', 'RU', 'Ruhengeri', '1', '0.00000'), - ('2820', '177', 'UM', 'Umutara', '1', '0.00000'), - ('2821', '178', 'CCN', 'Christ Church Nichola Town', '1', '0.00000'), - ('2822', '178', 'SAS', 'Saint Anne Sandy Point', '1', '0.00000'), - ('2823', '178', 'SGB', 'Saint George Basseterre', '1', '0.00000'), - ('2824', '178', 'SGG', 'Saint George Gingerland', '1', '0.00000'), - ('2825', '178', 'SJW', 'Saint James Windward', '1', '0.00000'), - ('2826', '178', 'SJC', 'Saint John Capesterre', '1', '0.00000'), - ('2827', '178', 'SJF', 'Saint John Figtree', '1', '0.00000'), - ('2828', '178', 'SMC', 'Saint Mary Cayon', '1', '0.00000'), - ('2829', '178', 'CAP', 'Saint Paul Capesterre', '1', '0.00000'), - ('2830', '178', 'CHA', 'Saint Paul Charlestown', '1', '0.00000'), - ('2831', '178', 'SPB', 'Saint Peter Basseterre', '1', '0.00000'), - ('2832', '178', 'STL', 'Saint Thomas Lowland', '1', '0.00000'), - ('2833', '178', 'STM', 'Saint Thomas Middle Island', '1', '0.00000'), - ('2834', '178', 'TPP', 'Trinity Palmetto Point', '1', '0.00000'), - ('2835', '179', 'AR', 'Anse-la-Raye', '1', '0.00000'), - ('2836', '179', 'CA', 'Castries', '1', '0.00000'), - ('2837', '179', 'CH', 'Choiseul', '1', '0.00000'), - ('2838', '179', 'DA', 'Dauphin', '1', '0.00000'), - ('2839', '179', 'DE', 'Dennery', '1', '0.00000'), - ('2840', '179', 'GI', 'Gros-Islet', '1', '0.00000'), - ('2841', '179', 'LA', 'Laborie', '1', '0.00000'), - ('2842', '179', 'MI', 'Micoud', '1', '0.00000'), - ('2843', '179', 'PR', 'Praslin', '1', '0.00000'), - ('2844', '179', 'SO', 'Soufriere', '1', '0.00000'), - ('2845', '179', 'VF', 'Vieux-Fort', '1', '0.00000'), - ('2846', '180', 'C', 'Charlotte', '1', '0.00000'), - ('2847', '180', 'R', 'Grenadines', '1', '0.00000'), - ('2848', '180', 'A', 'Saint Andrew', '1', '0.00000'), - ('2849', '180', 'D', 'Saint David', '1', '0.00000'), - ('2850', '180', 'G', 'Saint George', '1', '0.00000'), - ('2851', '180', 'P', 'Saint Patrick', '1', '0.00000'), - ('2852', '181', 'AN', 'A\'ana', '1', '0.00000'), - ('2853', '181', 'AI', 'Aiga-i-le-Tai', '1', '0.00000'), - ('2854', '181', 'AT', 'Atua', '1', '0.00000'), - ('2855', '181', 'FA', 'Fa\'asaleleaga', '1', '0.00000'), - ('2856', '181', 'GE', 'Gaga\'emauga', '1', '0.00000'), - ('2857', '181', 'GF', 'Gagaifomauga', '1', '0.00000'), - ('2858', '181', 'PA', 'Palauli', '1', '0.00000'), - ('2859', '181', 'SA', 'Satupa\'itea', '1', '0.00000'), - ('2860', '181', 'TU', 'Tuamasaga', '1', '0.00000'), - ('2861', '181', 'VF', 'Va\'a-o-Fonoti', '1', '0.00000'), - ('2862', '181', 'VS', 'Vaisigano', '1', '0.00000'), - ('2863', '182', 'AC', 'Acquaviva', '1', '0.00000'), - ('2864', '182', 'BM', 'Borgo Maggiore', '1', '0.00000'), - ('2865', '182', 'CH', 'Chiesanuova', '1', '0.00000'), - ('2866', '182', 'DO', 'Domagnano', '1', '0.00000'), - ('2867', '182', 'FA', 'Faetano', '1', '0.00000'), - ('2868', '182', 'FI', 'Fiorentino', '1', '0.00000'), - ('2869', '182', 'MO', 'Montegiardino', '1', '0.00000'), - ('2870', '182', 'SM', 'Citta di San Marino', '1', '0.00000'), - ('2871', '182', 'SE', 'Serravalle', '1', '0.00000'), - ('2872', '183', 'S', 'Sao Tome', '1', '0.00000'), - ('2873', '183', 'P', 'Principe', '1', '0.00000'), - ('2874', '184', 'BH', 'Al Bahah', '1', '0.00000'), - ('2875', '184', 'HS', 'Al Hudud ash Shamaliyah', '1', '0.00000'), - ('2876', '184', 'JF', 'Al Jawf', '1', '0.00000'), - ('2877', '184', 'MD', 'Al Madinah', '1', '0.00000'), - ('2878', '184', 'QS', 'Al Qasim', '1', '0.00000'), - ('2879', '184', 'RD', 'Ar Riyad', '1', '0.00000'), - ('2880', '184', 'AQ', 'Ash Sharqiyah (Eastern)', '1', '0.00000'), - ('2881', '184', 'AS', '\'Asir', '1', '0.00000'), - ('2882', '184', 'HL', 'Ha\'il', '1', '0.00000'), - ('2883', '184', 'JZ', 'Jizan', '1', '0.00000'), - ('2884', '184', 'ML', 'Makkah', '1', '0.00000'), - ('2885', '184', 'NR', 'Najran', '1', '0.00000'), - ('2886', '184', 'TB', 'Tabuk', '1', '0.00000'), - ('2887', '185', 'DA', 'Dakar', '1', '0.00000'), - ('2888', '185', 'DI', 'Diourbel', '1', '0.00000'), - ('2889', '185', 'FA', 'Fatick', '1', '0.00000'), - ('2890', '185', 'KA', 'Kaolack', '1', '0.00000'), - ('2891', '185', 'KO', 'Kolda', '1', '0.00000'), - ('2892', '185', 'LO', 'Louga', '1', '0.00000'), - ('2893', '185', 'MA', 'Matam', '1', '0.00000'), - ('2894', '185', 'SL', 'Saint-Louis', '1', '0.00000'), - ('2895', '185', 'TA', 'Tambacounda', '1', '0.00000'), - ('2896', '185', 'TH', 'Thies', '1', '0.00000'), - ('2897', '185', 'ZI', 'Ziguinchor', '1', '0.00000'), - ('2898', '186', 'AP', 'Anse aux Pins', '1', '0.00000'), - ('2899', '186', 'AB', 'Anse Boileau', '1', '0.00000'), - ('2900', '186', 'AE', 'Anse Etoile', '1', '0.00000'), - ('2901', '186', 'AL', 'Anse Louis', '1', '0.00000'), - ('2902', '186', 'AR', 'Anse Royale', '1', '0.00000'), - ('2903', '186', 'BL', 'Baie Lazare', '1', '0.00000'), - ('2904', '186', 'BS', 'Baie Sainte Anne', '1', '0.00000'), - ('2905', '186', 'BV', 'Beau Vallon', '1', '0.00000'), - ('2906', '186', 'BA', 'Bel Air', '1', '0.00000'), - ('2907', '186', 'BO', 'Bel Ombre', '1', '0.00000'), - ('2908', '186', 'CA', 'Cascade', '1', '0.00000'), - ('2909', '186', 'GL', 'Glacis', '1', '0.00000'), - ('2910', '186', 'GM', 'Grand\' Anse (on Mahe)', '1', '0.00000'), - ('2911', '186', 'GP', 'Grand\' Anse (on Praslin)', '1', '0.00000'), - ('2912', '186', 'DG', 'La Digue', '1', '0.00000'), - ('2913', '186', 'RA', 'La Riviere Anglaise', '1', '0.00000'), - ('2914', '186', 'MB', 'Mont Buxton', '1', '0.00000'), - ('2915', '186', 'MF', 'Mont Fleuri', '1', '0.00000'), - ('2916', '186', 'PL', 'Plaisance', '1', '0.00000'), - ('2917', '186', 'PR', 'Pointe La Rue', '1', '0.00000'), - ('2918', '186', 'PG', 'Port Glaud', '1', '0.00000'), - ('2919', '186', 'SL', 'Saint Louis', '1', '0.00000'), - ('2920', '186', 'TA', 'Takamaka', '1', '0.00000'), - ('2921', '187', 'E', 'Eastern', '1', '0.00000'), - ('2922', '187', 'N', 'Northern', '1', '0.00000'), - ('2923', '187', 'S', 'Southern', '1', '0.00000'), - ('2924', '187', 'W', 'Western', '1', '0.00000'), - ('2925', '189', 'BA', 'Banskobystrick√Ω', '1', '0.00000'), - ('2926', '189', 'BR', 'Bratislavsk√Ω', '1', '0.00000'), - ('2927', '189', 'KO', 'Košick√Ω', '1', '0.00000'), - ('2928', '189', 'NI', 'Nitriansky', '1', '0.00000'), - ('2929', '189', 'PR', 'Prešovsk√Ω', '1', '0.00000'), - ('2930', '189', 'TC', 'Trenčiansky', '1', '0.00000'), - ('2931', '189', 'TV', 'Trnavsk√Ω', '1', '0.00000'), - ('2932', '189', 'ZI', '≈Ωilinsk√Ω', '1', '0.00000'), - ('2933', '191', 'CE', 'Central', '1', '0.00000'), - ('2934', '191', 'CH', 'Choiseul', '1', '0.00000'), - ('2935', '191', 'GC', 'Guadalcanal', '1', '0.00000'), - ('2936', '191', 'HO', 'Honiara', '1', '0.00000'), - ('2937', '191', 'IS', 'Isabel', '1', '0.00000'), - ('2938', '191', 'MK', 'Makira', '1', '0.00000'), - ('2939', '191', 'ML', 'Malaita', '1', '0.00000'), - ('2940', '191', 'RB', 'Rennell and Bellona', '1', '0.00000'), - ('2941', '191', 'TM', 'Temotu', '1', '0.00000'), - ('2942', '191', 'WE', 'Western', '1', '0.00000'), - ('2943', '192', 'AW', 'Awdal', '1', '0.00000'), - ('2944', '192', 'BK', 'Bakool', '1', '0.00000'), - ('2945', '192', 'BN', 'Banaadir', '1', '0.00000'), - ('2946', '192', 'BR', 'Bari', '1', '0.00000'), - ('2947', '192', 'BY', 'Bay', '1', '0.00000'), - ('2948', '192', 'GA', 'Galguduud', '1', '0.00000'), - ('2949', '192', 'GE', 'Gedo', '1', '0.00000'), - ('2950', '192', 'HI', 'Hiiraan', '1', '0.00000'), - ('2951', '192', 'JD', 'Jubbada Dhexe', '1', '0.00000'), - ('2952', '192', 'JH', 'Jubbada Hoose', '1', '0.00000'), - ('2953', '192', 'MU', 'Mudug', '1', '0.00000'), - ('2954', '192', 'NU', 'Nugaal', '1', '0.00000'), - ('2955', '192', 'SA', 'Sanaag', '1', '0.00000'), - ('2956', '192', 'SD', 'Shabeellaha Dhexe', '1', '0.00000'), - ('2957', '192', 'SH', 'Shabeellaha Hoose', '1', '0.00000'), - ('2958', '192', 'SL', 'Sool', '1', '0.00000'), - ('2959', '192', 'TO', 'Togdheer', '1', '0.00000'), - ('2960', '192', 'WG', 'Woqooyi Galbeed', '1', '0.00000'), - ('2961', '193', 'EC', 'Eastern Cape', '1', '0.00000'), - ('2962', '193', 'FS', 'Free State', '1', '0.00000'), - ('2963', '193', 'GT', 'Gauteng', '1', '0.00000'), - ('2964', '193', 'KN', 'KwaZulu-Natal', '1', '0.00000'), - ('2965', '193', 'LP', 'Limpopo', '1', '0.00000'), - ('2966', '193', 'MP', 'Mpumalanga', '1', '0.00000'), - ('2967', '193', 'NW', 'North West', '1', '0.00000'), - ('2968', '193', 'NC', 'Northern Cape', '1', '0.00000'), - ('2969', '193', 'WC', 'Western Cape', '1', '0.00000'), - ('2970', '195', 'CA', 'La Coruña', '1', '0.00000'), - ('2971', '195', 'AL', 'Álava', '1', '0.00000'), - ('2972', '195', 'AB', 'Albacete', '1', '0.00000'), - ('2973', '195', 'AC', 'Alicante', '1', '0.00000'), - ('2974', '195', 'AM', 'Almeria', '1', '0.00000'), - ('2975', '195', 'AS', 'Asturias', '1', '0.00000'), - ('2976', '195', 'AV', 'Ávila', '1', '0.00000'), - ('2977', '195', 'BJ', 'Badajoz', '1', '0.00000'), - ('2978', '195', 'IB', 'Baleares', '1', '0.00000'), - ('2979', '195', 'BA', 'Barcelona', '1', '0.00000'), - ('2980', '195', 'BU', 'Burgos', '1', '0.00000'), - ('2981', '195', 'CC', 'Cáceres', '1', '0.00000'), - ('2982', '195', 'CZ', 'Cádiz', '1', '0.00000'), - ('2983', '195', 'CT', 'Cantabria', '1', '0.00000'), - ('2984', '195', 'CL', 'Castellón', '1', '0.00000'), - ('2985', '195', 'CE', 'Ceuta', '1', '0.00000'), - ('2986', '195', 'CR', 'Ciudad Real', '1', '0.00000'), - ('2987', '195', 'CD', 'Córdoba', '1', '0.00000'), - ('2988', '195', 'CU', 'Cuenca', '1', '0.00000'), - ('2989', '195', 'GI', 'Girona', '1', '0.00000'), - ('2990', '195', 'GD', 'Granada', '1', '0.00000'), - ('2991', '195', 'GJ', 'Guadalajara', '1', '0.00000'), - ('2992', '195', 'GP', 'Guipúzcoa', '1', '0.00000'), - ('2993', '195', 'HL', 'Huelva', '1', '0.00000'), - ('2994', '195', 'HS', 'Huesca', '1', '0.00000'), - ('2995', '195', 'JN', 'Jaén', '1', '0.00000'), - ('2996', '195', 'RJ', 'La Rioja', '1', '0.00000'), - ('2997', '195', 'PM', 'Las Palmas', '1', '0.00000'), - ('2998', '195', 'LE', 'Leon', '1', '0.00000'), - ('2999', '195', 'LL', 'Lleida', '1', '0.00000'), - ('3000', '195', 'LG', 'Lugo', '1', '0.00000'), - ('3001', '195', 'MD', 'Madrid', '1', '0.00000'), - ('3002', '195', 'MA', 'Malaga', '1', '0.00000'), - ('3003', '195', 'ML', 'Melilla', '1', '0.00000'), - ('3004', '195', 'MU', 'Murcia', '1', '0.00000'), - ('3005', '195', 'NV', 'Navarra', '1', '0.00000'), - ('3006', '195', 'OU', 'Ourense', '1', '0.00000'), - ('3007', '195', 'PL', 'Palencia', '1', '0.00000'), - ('3008', '195', 'PO', 'Pontevedra', '1', '0.00000'), - ('3009', '195', 'SL', 'Salamanca', '1', '0.00000'), - ('3010', '195', 'SC', 'Santa Cruz de Tenerife', '1', '0.00000'), - ('3011', '195', 'SG', 'Segovia', '1', '0.00000'), - ('3012', '195', 'SV', 'Sevilla', '1', '0.00000'), - ('3013', '195', 'SO', 'Soria', '1', '0.00000'), - ('3014', '195', 'TA', 'Tarragona', '1', '0.00000'), - ('3015', '195', 'TE', 'Teruel', '1', '0.00000'), - ('3016', '195', 'TO', 'Toledo', '1', '0.00000'), - ('3017', '195', 'VC', 'Valencia', '1', '0.00000'), - ('3018', '195', 'VD', 'Valladolid', '1', '0.00000'), - ('3019', '195', 'VZ', 'Vizcaya', '1', '0.00000'), - ('3020', '195', 'ZM', 'Zamora', '1', '0.00000'), - ('3021', '195', 'ZR', 'Zaragoza', '1', '0.00000'), - ('3022', '196', 'CE', 'Central', '1', '0.00000'), - ('3023', '196', 'EA', 'Eastern', '1', '0.00000'), - ('3024', '196', 'NC', 'North Central', '1', '0.00000'), - ('3025', '196', 'NO', 'Northern', '1', '0.00000'), - ('3026', '196', 'NW', 'North Western', '1', '0.00000'), - ('3027', '196', 'SA', 'Sabaragamuwa', '1', '0.00000'), - ('3028', '196', 'SO', 'Southern', '1', '0.00000'), - ('3029', '196', 'UV', 'Uva', '1', '0.00000'), - ('3030', '196', 'WE', 'Western', '1', '0.00000'), - ('3031', '197', 'A', 'Ascension', '1', '0.00000'), - ('3032', '197', 'S', 'Saint Helena', '1', '0.00000'), - ('3033', '197', 'T', 'Tristan da Cunha', '1', '0.00000'), - ('3034', '199', 'ANL', 'A\'ali an Nil', '1', '0.00000'), - ('3035', '199', 'BAM', 'Al Bahr al Ahmar', '1', '0.00000'), - ('3036', '199', 'BRT', 'Al Buhayrat', '1', '0.00000'), - ('3037', '199', 'JZR', 'Al Jazirah', '1', '0.00000'), - ('3038', '199', 'KRT', 'Al Khartum', '1', '0.00000'), - ('3039', '199', 'QDR', 'Al Qadarif', '1', '0.00000'), - ('3040', '199', 'WDH', 'Al Wahdah', '1', '0.00000'), - ('3041', '199', 'ANB', 'An Nil al Abyad', '1', '0.00000'), - ('3042', '199', 'ANZ', 'An Nil al Azraq', '1', '0.00000'), - ('3043', '199', 'ASH', 'Ash Shamaliyah', '1', '0.00000'), - ('3044', '199', 'BJA', 'Bahr al Jabal', '1', '0.00000'), - ('3045', '199', 'GIS', 'Gharb al Istiwa\'iyah', '1', '0.00000'), - ('3046', '199', 'GBG', 'Gharb Bahr al Ghazal', '1', '0.00000'), - ('3047', '199', 'GDA', 'Gharb Darfur', '1', '0.00000'), - ('3048', '199', 'GKU', 'Gharb Kurdufan', '1', '0.00000'), - ('3049', '199', 'JDA', 'Janub Darfur', '1', '0.00000'), - ('3050', '199', 'JKU', 'Janub Kurdufan', '1', '0.00000'), - ('3051', '199', 'JQL', 'Junqali', '1', '0.00000'), - ('3052', '199', 'KSL', 'Kassala', '1', '0.00000'), - ('3053', '199', 'NNL', 'Nahr an Nil', '1', '0.00000'), - ('3054', '199', 'SBG', 'Shamal Bahr al Ghazal', '1', '0.00000'), - ('3055', '199', 'SDA', 'Shamal Darfur', '1', '0.00000'), - ('3056', '199', 'SKU', 'Shamal Kurdufan', '1', '0.00000'), - ('3057', '199', 'SIS', 'Sharq al Istiwa\'iyah', '1', '0.00000'), - ('3058', '199', 'SNR', 'Sinnar', '1', '0.00000'), - ('3059', '199', 'WRB', 'Warab', '1', '0.00000'), - ('3060', '200', 'BR', 'Brokopondo', '1', '0.00000'), - ('3061', '200', 'CM', 'Commewijne', '1', '0.00000'), - ('3062', '200', 'CR', 'Coronie', '1', '0.00000'), - ('3063', '200', 'MA', 'Marowijne', '1', '0.00000'), - ('3064', '200', 'NI', 'Nickerie', '1', '0.00000'), - ('3065', '200', 'PA', 'Para', '1', '0.00000'), - ('3066', '200', 'PM', 'Paramaribo', '1', '0.00000'), - ('3067', '200', 'SA', 'Saramacca', '1', '0.00000'), - ('3068', '200', 'SI', 'Sipaliwini', '1', '0.00000'), - ('3069', '200', 'WA', 'Wanica', '1', '0.00000'), - ('3070', '202', 'H', 'Hhohho', '1', '0.00000'), - ('3071', '202', 'L', 'Lubombo', '1', '0.00000'), - ('3072', '202', 'M', 'Manzini', '1', '0.00000'), - ('3073', '202', 'S', 'Shishelweni', '1', '0.00000'), - ('3074', '203', 'K', 'Blekinge', '1', '0.00000'), - ('3075', '203', 'W', 'Dalama', '1', '0.00000'), - ('3076', '203', 'X', 'Gävleborg', '1', '0.00000'), - ('3077', '203', 'I', 'Gotland', '1', '0.00000'), - ('3078', '203', 'N', 'Halland', '1', '0.00000'), - ('3079', '203', 'Z', 'Jämtland', '1', '0.00000'), - ('3080', '203', 'F', 'Jönköping', '1', '0.00000'), - ('3081', '203', 'H', 'Kalmar', '1', '0.00000'), - ('3082', '203', 'G', 'Kronoberg', '1', '0.00000'), - ('3083', '203', 'BD', 'Norrbotten', '1', '0.00000'), - ('3084', '203', 'T', 'Örebro', '1', '0.00000'), - ('3085', '203', 'E', 'Östergötland', '1', '0.00000'), - ('3086', '203', 'M', 'Skåne', '1', '0.00000'), - ('3087', '203', 'D', 'Södermanland', '1', '0.00000'), - ('3088', '203', 'AB', 'Stockholm', '1', '0.00000'), - ('3089', '203', 'C', 'Uppsala', '1', '0.00000'), - ('3090', '203', 'S', 'Värmland', '1', '0.00000'), - ('3091', '203', 'AC', 'Västerbotten', '1', '0.00000'), - ('3092', '203', 'Y', 'Västernorrland', '1', '0.00000'), - ('3093', '203', 'U', 'Västmanland', '1', '0.00000'), - ('3094', '203', 'O', 'Västra Götaland', '1', '0.00000'), - ('3095', '204', 'AG', 'Aargau', '1', '0.00000'), - ('3096', '204', 'AR', 'Appenzell Ausserrhoden', '1', '0.00000'), - ('3097', '204', 'AI', 'Appenzell Innerrhoden', '1', '0.00000'), - ('3098', '204', 'BS', 'Basel-Stadt', '1', '0.00000'), - ('3099', '204', 'BL', 'Basel-Landschaft', '1', '0.00000'), - ('3100', '204', 'BE', 'Bern', '1', '0.00000'), - ('3101', '204', 'FR', 'Fribourg', '1', '0.00000'), - ('3102', '204', 'GE', 'Genève', '1', '0.00000'), - ('3103', '204', 'GL', 'Glarus', '1', '0.00000'), - ('3104', '204', 'GR', 'Graubünden', '1', '0.00000'), - ('3105', '204', 'JU', 'Jura', '1', '0.00000'), - ('3106', '204', 'LU', 'Luzern', '1', '0.00000'), - ('3107', '204', 'NE', 'Neuchâtel', '1', '0.00000'), - ('3108', '204', 'NW', 'Nidwald', '1', '0.00000'), - ('3109', '204', 'OW', 'Obwald', '1', '0.00000'), - ('3110', '204', 'SG', 'St. Gallen', '1', '0.00000'), - ('3111', '204', 'SH', 'Schaffhausen', '1', '0.00000'), - ('3112', '204', 'SZ', 'Schwyz', '1', '0.00000'), - ('3113', '204', 'SO', 'Solothurn', '1', '0.00000'), - ('3114', '204', 'TG', 'Thurgau', '1', '0.00000'), - ('3115', '204', 'TI', 'Ticino', '1', '0.00000'), - ('3116', '204', 'UR', 'Uri', '1', '0.00000'), - ('3117', '204', 'VS', 'Valais', '1', '0.00000'), - ('3118', '204', 'VD', 'Vaud', '1', '0.00000'), - ('3119', '204', 'ZG', 'Zug', '1', '0.00000'), - ('3120', '204', 'ZH', 'Zürich', '1', '0.00000'), - ('3121', '205', 'HA', 'Al Hasakah', '1', '0.00000'), - ('3122', '205', 'LA', 'Al Ladhiqiyah', '1', '0.00000'), - ('3123', '205', 'QU', 'Al Qunaytirah', '1', '0.00000'), - ('3124', '205', 'RQ', 'Ar Raqqah', '1', '0.00000'), - ('3125', '205', 'SU', 'As Suwayda', '1', '0.00000'), - ('3126', '205', 'DA', 'Dara', '1', '0.00000'), - ('3127', '205', 'DZ', 'Dayr az Zawr', '1', '0.00000'), - ('3128', '205', 'DI', 'Dimashq', '1', '0.00000'), - ('3129', '205', 'HL', 'Halab', '1', '0.00000'), - ('3130', '205', 'HM', 'Hamah', '1', '0.00000'), - ('3131', '205', 'HI', 'Hims', '1', '0.00000'), - ('3132', '205', 'ID', 'Idlib', '1', '0.00000'), - ('3133', '205', 'RD', 'Rif Dimashq', '1', '0.00000'), - ('3134', '205', 'TA', 'Tartus', '1', '0.00000'), - ('3135', '206', 'CH', 'Chang-hua', '1', '0.00000'), - ('3136', '206', 'CI', 'Chia-i', '1', '0.00000'), - ('3137', '206', 'HS', 'Hsin-chu', '1', '0.00000'), - ('3138', '206', 'HL', 'Hua-lien', '1', '0.00000'), - ('3139', '206', 'IL', 'I-lan', '1', '0.00000'), - ('3140', '206', 'KH', 'Kao-hsiung county', '1', '0.00000'), - ('3141', '206', 'KM', 'Kin-men', '1', '0.00000'), - ('3142', '206', 'LC', 'Lien-chiang', '1', '0.00000'), - ('3143', '206', 'ML', 'Miao-li', '1', '0.00000'), - ('3144', '206', 'NT', 'Nan-t\'ou', '1', '0.00000'), - ('3145', '206', 'PH', 'P\'eng-hu', '1', '0.00000'), - ('3146', '206', 'PT', 'P\'ing-tung', '1', '0.00000'), - ('3147', '206', 'TG', 'T\'ai-chung', '1', '0.00000'), - ('3148', '206', 'TA', 'T\'ai-nan', '1', '0.00000'), - ('3149', '206', 'TP', 'T\'ai-pei county', '1', '0.00000'), - ('3150', '206', 'TT', 'T\'ai-tung', '1', '0.00000'), - ('3151', '206', 'TY', 'T\'ao-yuan', '1', '0.00000'), - ('3152', '206', 'YL', 'Yun-lin', '1', '0.00000'), - ('3153', '206', 'CC', 'Chia-i city', '1', '0.00000'), - ('3154', '206', 'CL', 'Chi-lung', '1', '0.00000'), - ('3155', '206', 'HC', 'Hsin-chu', '1', '0.00000'), - ('3156', '206', 'TH', 'T\'ai-chung', '1', '0.00000'), - ('3157', '206', 'TN', 'T\'ai-nan', '1', '0.00000'), - ('3158', '206', 'KC', 'Kao-hsiung city', '1', '0.00000'), - ('3159', '206', 'TC', 'T\'ai-pei city', '1', '0.00000'), - ('3160', '207', 'GB', 'Gorno-Badakhstan', '1', '0.00000'), - ('3161', '207', 'KT', 'Khatlon', '1', '0.00000'), - ('3162', '207', 'SU', 'Sughd', '1', '0.00000'), - ('3163', '208', 'AR', 'Arusha', '1', '0.00000'), - ('3164', '208', 'DS', 'Dar es Salaam', '1', '0.00000'), - ('3165', '208', 'DO', 'Dodoma', '1', '0.00000'), - ('3166', '208', 'IR', 'Iringa', '1', '0.00000'), - ('3167', '208', 'KA', 'Kagera', '1', '0.00000'), - ('3168', '208', 'KI', 'Kigoma', '1', '0.00000'), - ('3169', '208', 'KJ', 'Kilimanjaro', '1', '0.00000'), - ('3170', '208', 'LN', 'Lindi', '1', '0.00000'), - ('3171', '208', 'MY', 'Manyara', '1', '0.00000'), - ('3172', '208', 'MR', 'Mara', '1', '0.00000'), - ('3173', '208', 'MB', 'Mbeya', '1', '0.00000'), - ('3174', '208', 'MO', 'Morogoro', '1', '0.00000'), - ('3175', '208', 'MT', 'Mtwara', '1', '0.00000'), - ('3176', '208', 'MW', 'Mwanza', '1', '0.00000'), - ('3177', '208', 'PN', 'Pemba North', '1', '0.00000'), - ('3178', '208', 'PS', 'Pemba South', '1', '0.00000'), - ('3179', '208', 'PW', 'Pwani', '1', '0.00000'), - ('3180', '208', 'RK', 'Rukwa', '1', '0.00000'), - ('3181', '208', 'RV', 'Ruvuma', '1', '0.00000'), - ('3182', '208', 'SH', 'Shinyanga', '1', '0.00000'), - ('3183', '208', 'SI', 'Singida', '1', '0.00000'), - ('3184', '208', 'TB', 'Tabora', '1', '0.00000'), - ('3185', '208', 'TN', 'Tanga', '1', '0.00000'), - ('3186', '208', 'ZC', 'Zanzibar Central/South', '1', '0.00000'), - ('3187', '208', 'ZN', 'Zanzibar North', '1', '0.00000'), - ('3188', '208', 'ZU', 'Zanzibar Urban/West', '1', '0.00000'), - ('3189', '209', 'Amnat Charoen', 'Amnat Charoen', '1', '0.00000'), - ('3190', '209', 'Ang Thong', 'Ang Thong', '1', '0.00000'), - ('3191', '209', 'Ayutthaya', 'Ayutthaya', '1', '0.00000'), - ('3192', '209', 'Bangkok', 'Bangkok', '1', '0.00000'), - ('3193', '209', 'Buriram', 'Buriram', '1', '0.00000'), - ('3194', '209', 'Chachoengsao', 'Chachoengsao', '1', '0.00000'), - ('3195', '209', 'Chai Nat', 'Chai Nat', '1', '0.00000'), - ('3196', '209', 'Chaiyaphum', 'Chaiyaphum', '1', '0.00000'), - ('3197', '209', 'Chanthaburi', 'Chanthaburi', '1', '0.00000'), - ('3198', '209', 'Chiang Mai', 'Chiang Mai', '1', '0.00000'), - ('3199', '209', 'Chiang Rai', 'Chiang Rai', '1', '0.00000'), - ('3200', '209', 'Chon Buri', 'Chon Buri', '1', '0.00000'), - ('3201', '209', 'Chumphon', 'Chumphon', '1', '0.00000'), - ('3202', '209', 'Kalasin', 'Kalasin', '1', '0.00000'), - ('3203', '209', 'Kamphaeng Phet', 'Kamphaeng Phet', '1', '0.00000'), - ('3204', '209', 'Kanchanaburi', 'Kanchanaburi', '1', '0.00000'), - ('3205', '209', 'Khon Kaen', 'Khon Kaen', '1', '0.00000'), - ('3206', '209', 'Krabi', 'Krabi', '1', '0.00000'), - ('3207', '209', 'Lampang', 'Lampang', '1', '0.00000'), - ('3208', '209', 'Lamphun', 'Lamphun', '1', '0.00000'), - ('3209', '209', 'Loei', 'Loei', '1', '0.00000'), - ('3210', '209', 'Lop Buri', 'Lop Buri', '1', '0.00000'), - ('3211', '209', 'Mae Hong Son', 'Mae Hong Son', '1', '0.00000'), - ('3212', '209', 'Maha Sarakham', 'Maha Sarakham', '1', '0.00000'), - ('3213', '209', 'Mukdahan', 'Mukdahan', '1', '0.00000'), - ('3214', '209', 'Nakhon Nayok', 'Nakhon Nayok', '1', '0.00000'), - ('3215', '209', 'Nakhon Pathom', 'Nakhon Pathom', '1', '0.00000'), - ('3216', '209', 'Nakhon Phanom', 'Nakhon Phanom', '1', '0.00000'), - ('3217', '209', 'Nakhon Ratchasima', 'Nakhon Ratchasima', '1', '0.00000'), - ('3218', '209', 'Nakhon Sawan', 'Nakhon Sawan', '1', '0.00000'), - ('3219', '209', 'Nakhon Si Thammarat', 'Nakhon Si Thammarat', '1', '0.00000'), - ('3220', '209', 'Nan', 'Nan', '1', '0.00000'), - ('3221', '209', 'Narathiwat', 'Narathiwat', '1', '0.00000'), - ('3222', '209', 'Nong Bua Lamphu', 'Nong Bua Lamphu', '1', '0.00000'), - ('3223', '209', 'Nong Khai', 'Nong Khai', '1', '0.00000'), - ('3224', '209', 'Nonthaburi', 'Nonthaburi', '1', '0.00000'), - ('3225', '209', 'Pathum Thani', 'Pathum Thani', '1', '0.00000'), - ('3226', '209', 'Pattani', 'Pattani', '1', '0.00000'), - ('3227', '209', 'Phangnga', 'Phangnga', '1', '0.00000'), - ('3228', '209', 'Phatthalung', 'Phatthalung', '1', '0.00000'), - ('3229', '209', 'Phayao', 'Phayao', '1', '0.00000'), - ('3230', '209', 'Phetchabun', 'Phetchabun', '1', '0.00000'), - ('3231', '209', 'Phetchaburi', 'Phetchaburi', '1', '0.00000'), - ('3232', '209', 'Phichit', 'Phichit', '1', '0.00000'), - ('3233', '209', 'Phitsanulok', 'Phitsanulok', '1', '0.00000'), - ('3234', '209', 'Phrae', 'Phrae', '1', '0.00000'), - ('3235', '209', 'Phuket', 'Phuket', '1', '0.00000'), - ('3236', '209', 'Prachin Buri', 'Prachin Buri', '1', '0.00000'), - ('3237', '209', 'Prachuap Khiri Khan', 'Prachuap Khiri Khan', '1', '0.00000'), - ('3238', '209', 'Ranong', 'Ranong', '1', '0.00000'), - ('3239', '209', 'Ratchaburi', 'Ratchaburi', '1', '0.00000'), - ('3240', '209', 'Rayong', 'Rayong', '1', '0.00000'), - ('3241', '209', 'Roi Et', 'Roi Et', '1', '0.00000'), - ('3242', '209', 'Sa Kaeo', 'Sa Kaeo', '1', '0.00000'), - ('3243', '209', 'Sakon Nakhon', 'Sakon Nakhon', '1', '0.00000'), - ('3244', '209', 'Samut Prakan', 'Samut Prakan', '1', '0.00000'), - ('3245', '209', 'Samut Sakhon', 'Samut Sakhon', '1', '0.00000'), - ('3246', '209', 'Samut Songkhram', 'Samut Songkhram', '1', '0.00000'), - ('3247', '209', 'Sara Buri', 'Sara Buri', '1', '0.00000'), - ('3248', '209', 'Satun', 'Satun', '1', '0.00000'), - ('3249', '209', 'Sing Buri', 'Sing Buri', '1', '0.00000'), - ('3250', '209', 'Sisaket', 'Sisaket', '1', '0.00000'), - ('3251', '209', 'Songkhla', 'Songkhla', '1', '0.00000'), - ('3252', '209', 'Sukhothai', 'Sukhothai', '1', '0.00000'), - ('3253', '209', 'Suphan Buri', 'Suphan Buri', '1', '0.00000'), - ('3254', '209', 'Surat Thani', 'Surat Thani', '1', '0.00000'), - ('3255', '209', 'Surin', 'Surin', '1', '0.00000'), - ('3256', '209', 'Tak', 'Tak', '1', '0.00000'), - ('3257', '209', 'Trang', 'Trang', '1', '0.00000'), - ('3258', '209', 'Trat', 'Trat', '1', '0.00000'), - ('3259', '209', 'Ubon Ratchathani', 'Ubon Ratchathani', '1', '0.00000'), - ('3260', '209', 'Udon Thani', 'Udon Thani', '1', '0.00000'), - ('3261', '209', 'Uthai Thani', 'Uthai Thani', '1', '0.00000'), - ('3262', '209', 'Uttaradit', 'Uttaradit', '1', '0.00000'), - ('3263', '209', 'Yala', 'Yala', '1', '0.00000'), - ('3264', '209', 'Yasothon', 'Yasothon', '1', '0.00000'), - ('3265', '210', 'K', 'Kara', '1', '0.00000'), - ('3266', '210', 'P', 'Plateaux', '1', '0.00000'), - ('3267', '210', 'S', 'Savanes', '1', '0.00000'), - ('3268', '210', 'C', 'Centrale', '1', '0.00000'), - ('3269', '210', 'M', 'Maritime', '1', '0.00000'), - ('3270', '211', 'A', 'Atafu', '1', '0.00000'), - ('3271', '211', 'F', 'Fakaofo', '1', '0.00000'), - ('3272', '211', 'N', 'Nukunonu', '1', '0.00000'), - ('3273', '212', 'H', 'Ha\'apai', '1', '0.00000'), - ('3274', '212', 'T', 'Tongatapu', '1', '0.00000'), - ('3275', '212', 'V', 'Vava\'u', '1', '0.00000'), - ('3276', '213', 'CT', 'Couva/Tabaquite/Talparo', '1', '0.00000'), - ('3277', '213', 'DM', 'Diego Martin', '1', '0.00000'), - ('3278', '213', 'MR', 'Mayaro/Rio Claro', '1', '0.00000'), - ('3279', '213', 'PD', 'Penal/Debe', '1', '0.00000'), - ('3280', '213', 'PT', 'Princes Town', '1', '0.00000'), - ('3281', '213', 'SG', 'Sangre Grande', '1', '0.00000'), - ('3282', '213', 'SL', 'San Juan/Laventille', '1', '0.00000'), - ('3283', '213', 'SI', 'Siparia', '1', '0.00000'), - ('3284', '213', 'TP', 'Tunapuna/Piarco', '1', '0.00000'), - ('3285', '213', 'PS', 'Port of Spain', '1', '0.00000'), - ('3286', '213', 'SF', 'San Fernando', '1', '0.00000'), - ('3287', '213', 'AR', 'Arima', '1', '0.00000'), - ('3288', '213', 'PF', 'Point Fortin', '1', '0.00000'), - ('3289', '213', 'CH', 'Chaguanas', '1', '0.00000'), - ('3290', '213', 'TO', 'Tobago', '1', '0.00000'), - ('3291', '214', 'AR', 'Ariana', '1', '0.00000'), - ('3292', '214', 'BJ', 'Beja', '1', '0.00000'), - ('3293', '214', 'BA', 'Ben Arous', '1', '0.00000'), - ('3294', '214', 'BI', 'Bizerte', '1', '0.00000'), - ('3295', '214', 'GB', 'Gabes', '1', '0.00000'), - ('3296', '214', 'GF', 'Gafsa', '1', '0.00000'), - ('3297', '214', 'JE', 'Jendouba', '1', '0.00000'), - ('3298', '214', 'KR', 'Kairouan', '1', '0.00000'), - ('3299', '214', 'KS', 'Kasserine', '1', '0.00000'), - ('3300', '214', 'KB', 'Kebili', '1', '0.00000'), - ('3301', '214', 'KF', 'Kef', '1', '0.00000'), - ('3302', '214', 'MH', 'Mahdia', '1', '0.00000'), - ('3303', '214', 'MN', 'Manouba', '1', '0.00000'), - ('3304', '214', 'ME', 'Medenine', '1', '0.00000'), - ('3305', '214', 'MO', 'Monastir', '1', '0.00000'), - ('3306', '214', 'NA', 'Nabeul', '1', '0.00000'), - ('3307', '214', 'SF', 'Sfax', '1', '0.00000'), - ('3308', '214', 'SD', 'Sidi', '1', '0.00000'), - ('3309', '214', 'SL', 'Siliana', '1', '0.00000'), - ('3310', '214', 'SO', 'Sousse', '1', '0.00000'), - ('3311', '214', 'TA', 'Tataouine', '1', '0.00000'), - ('3312', '214', 'TO', 'Tozeur', '1', '0.00000'), - ('3313', '214', 'TU', 'Tunis', '1', '0.00000'), - ('3314', '214', 'ZA', 'Zaghouan', '1', '0.00000'), - ('3315', '215', 'ADA', 'Adana', '1', '0.00000'), - ('3316', '215', 'ADI', 'Adiyaman', '1', '0.00000'), - ('3317', '215', 'AFY', 'Afyonkarahisar', '1', '0.00000'), - ('3318', '215', 'AGR', 'Agri', '1', '0.00000'), - ('3319', '215', 'AKS', 'Aksaray', '1', '0.00000'), - ('3320', '215', 'AMA', 'Amasya', '1', '0.00000'), - ('3321', '215', 'ANK', 'Ankara', '1', '0.00000'), - ('3322', '215', 'ANT', 'Antalya', '1', '0.00000'), - ('3323', '215', 'ARD', 'Ardahan', '1', '0.00000'), - ('3324', '215', 'ART', 'Artvin', '1', '0.00000'), - ('3325', '215', 'AYI', 'Aydin', '1', '0.00000'), - ('3326', '215', 'BAL', 'Balikesir', '1', '0.00000'), - ('3327', '215', 'BAR', 'Bartin', '1', '0.00000'), - ('3328', '215', 'BAT', 'Batman', '1', '0.00000'), - ('3329', '215', 'BAY', 'Bayburt', '1', '0.00000'), - ('3330', '215', 'BIL', 'Bilecik', '1', '0.00000'), - ('3331', '215', 'BIN', 'Bingol', '1', '0.00000'), - ('3332', '215', 'BIT', 'Bitlis', '1', '0.00000'), - ('3333', '215', 'BOL', 'Bolu', '1', '0.00000'), - ('3334', '215', 'BRD', 'Burdur', '1', '0.00000'), - ('3335', '215', 'BRS', 'Bursa', '1', '0.00000'), - ('3336', '215', 'CKL', 'Canakkale', '1', '0.00000'), - ('3337', '215', 'CKR', 'Cankiri', '1', '0.00000'), - ('3338', '215', 'COR', 'Corum', '1', '0.00000'), - ('3339', '215', 'DEN', 'Denizli', '1', '0.00000'), - ('3340', '215', 'DIY', 'Diyarbakir', '1', '0.00000'), - ('3341', '215', 'DUZ', 'Duzce', '1', '0.00000'), - ('3342', '215', 'EDI', 'Edirne', '1', '0.00000'), - ('3343', '215', 'ELA', 'Elazig', '1', '0.00000'), - ('3344', '215', 'EZC', 'Erzincan', '1', '0.00000'), - ('3345', '215', 'EZR', 'Erzurum', '1', '0.00000'), - ('3346', '215', 'ESK', 'Eskisehir', '1', '0.00000'), - ('3347', '215', 'GAZ', 'Gaziantep', '1', '0.00000'), - ('3348', '215', 'GIR', 'Giresun', '1', '0.00000'), - ('3349', '215', 'GMS', 'Gumushane', '1', '0.00000'), - ('3350', '215', 'HKR', 'Hakkari', '1', '0.00000'), - ('3351', '215', 'HTY', 'Hatay', '1', '0.00000'), - ('3352', '215', 'IGD', 'Igdir', '1', '0.00000'), - ('3353', '215', 'ISP', 'Isparta', '1', '0.00000'), - ('3354', '215', 'IST', 'Istanbul', '1', '0.00000'), - ('3355', '215', 'IZM', 'Izmir', '1', '0.00000'), - ('3356', '215', 'KAH', 'Kahramanmaras', '1', '0.00000'), - ('3357', '215', 'KRB', 'Karabuk', '1', '0.00000'), - ('3358', '215', 'KRM', 'Karaman', '1', '0.00000'), - ('3359', '215', 'KRS', 'Kars', '1', '0.00000'), - ('3360', '215', 'KAS', 'Kastamonu', '1', '0.00000'), - ('3361', '215', 'KAY', 'Kayseri', '1', '0.00000'), - ('3362', '215', 'KLS', 'Kilis', '1', '0.00000'), - ('3363', '215', 'KRK', 'Kirikkale', '1', '0.00000'), - ('3364', '215', 'KLR', 'Kirklareli', '1', '0.00000'), - ('3365', '215', 'KRH', 'Kirsehir', '1', '0.00000'), - ('3366', '215', 'KOC', 'Kocaeli', '1', '0.00000'), - ('3367', '215', 'KON', 'Konya', '1', '0.00000'), - ('3368', '215', 'KUT', 'Kutahya', '1', '0.00000'), - ('3369', '215', 'MAL', 'Malatya', '1', '0.00000'), - ('3370', '215', 'MAN', 'Manisa', '1', '0.00000'), - ('3371', '215', 'MAR', 'Mardin', '1', '0.00000'), - ('3372', '215', 'MER', 'Mersin', '1', '0.00000'), - ('3373', '215', 'MUG', 'Mugla', '1', '0.00000'), - ('3374', '215', 'MUS', 'Mus', '1', '0.00000'), - ('3375', '215', 'NEV', 'Nevsehir', '1', '0.00000'), - ('3376', '215', 'NIG', 'Nigde', '1', '0.00000'), - ('3377', '215', 'ORD', 'Ordu', '1', '0.00000'), - ('3378', '215', 'OSM', 'Osmaniye', '1', '0.00000'), - ('3379', '215', 'RIZ', 'Rize', '1', '0.00000'), - ('3380', '215', 'SAK', 'Sakarya', '1', '0.00000'), - ('3381', '215', 'SAM', 'Samsun', '1', '0.00000'), - ('3382', '215', 'SAN', 'Sanliurfa', '1', '0.00000'), - ('3383', '215', 'SII', 'Siirt', '1', '0.00000'), - ('3384', '215', 'SIN', 'Sinop', '1', '0.00000'), - ('3385', '215', 'SIR', 'Sirnak', '1', '0.00000'), - ('3386', '215', 'SIV', 'Sivas', '1', '0.00000'), - ('3387', '215', 'TEL', 'Tekirdag', '1', '0.00000'), - ('3388', '215', 'TOK', 'Tokat', '1', '0.00000'), - ('3389', '215', 'TRA', 'Trabzon', '1', '0.00000'), - ('3390', '215', 'TUN', 'Tunceli', '1', '0.00000'), - ('3391', '215', 'USK', 'Usak', '1', '0.00000'), - ('3392', '215', 'VAN', 'Van', '1', '0.00000'), - ('3393', '215', 'YAL', 'Yalova', '1', '0.00000'), - ('3394', '215', 'YOZ', 'Yozgat', '1', '0.00000'), - ('3395', '215', 'ZON', 'Zonguldak', '1', '0.00000'), - ('3396', '216', 'A', 'Ahal Welayaty', '1', '0.00000'), - ('3397', '216', 'B', 'Balkan Welayaty', '1', '0.00000'), - ('3398', '216', 'D', 'Dashhowuz Welayaty', '1', '0.00000'), - ('3399', '216', 'L', 'Lebap Welayaty', '1', '0.00000'), - ('3400', '216', 'M', 'Mary Welayaty', '1', '0.00000'), - ('3401', '217', 'AC', 'Ambergris Cays', '1', '0.00000'), - ('3402', '217', 'DC', 'Dellis Cay', '1', '0.00000'), - ('3403', '217', 'FC', 'French Cay', '1', '0.00000'), - ('3404', '217', 'LW', 'Little Water Cay', '1', '0.00000'), - ('3405', '217', 'RC', 'Parrot Cay', '1', '0.00000'), - ('3406', '217', 'PN', 'Pine Cay', '1', '0.00000'), - ('3407', '217', 'SL', 'Salt Cay', '1', '0.00000'), - ('3408', '217', 'GT', 'Grand Turk', '1', '0.00000'), - ('3409', '217', 'SC', 'South Caicos', '1', '0.00000'), - ('3410', '217', 'EC', 'East Caicos', '1', '0.00000'), - ('3411', '217', 'MC', 'Middle Caicos', '1', '0.00000'), - ('3412', '217', 'NC', 'North Caicos', '1', '0.00000'), - ('3413', '217', 'PR', 'Providenciales', '1', '0.00000'), - ('3414', '217', 'WC', 'West Caicos', '1', '0.00000'), - ('3415', '218', 'NMG', 'Nanumanga', '1', '0.00000'), - ('3416', '218', 'NLK', 'Niulakita', '1', '0.00000'), - ('3417', '218', 'NTO', 'Niutao', '1', '0.00000'), - ('3418', '218', 'FUN', 'Funafuti', '1', '0.00000'), - ('3419', '218', 'NME', 'Nanumea', '1', '0.00000'), - ('3420', '218', 'NUI', 'Nui', '1', '0.00000'), - ('3421', '218', 'NFT', 'Nukufetau', '1', '0.00000'), - ('3422', '218', 'NLL', 'Nukulaelae', '1', '0.00000'), - ('3423', '218', 'VAI', 'Vaitupu', '1', '0.00000'), - ('3424', '219', 'KAL', 'Kalangala', '1', '0.00000'), - ('3425', '219', 'KMP', 'Kampala', '1', '0.00000'), - ('3426', '219', 'KAY', 'Kayunga', '1', '0.00000'), - ('3427', '219', 'KIB', 'Kiboga', '1', '0.00000'), - ('3428', '219', 'LUW', 'Luwero', '1', '0.00000'), - ('3429', '219', 'MAS', 'Masaka', '1', '0.00000'), - ('3430', '219', 'MPI', 'Mpigi', '1', '0.00000'), - ('3431', '219', 'MUB', 'Mubende', '1', '0.00000'), - ('3432', '219', 'MUK', 'Mukono', '1', '0.00000'), - ('3433', '219', 'NKS', 'Nakasongola', '1', '0.00000'), - ('3434', '219', 'RAK', 'Rakai', '1', '0.00000'), - ('3435', '219', 'SEM', 'Sembabule', '1', '0.00000'), - ('3436', '219', 'WAK', 'Wakiso', '1', '0.00000'), - ('3437', '219', 'BUG', 'Bugiri', '1', '0.00000'), - ('3438', '219', 'BUS', 'Busia', '1', '0.00000'), - ('3439', '219', 'IGA', 'Iganga', '1', '0.00000'), - ('3440', '219', 'JIN', 'Jinja', '1', '0.00000'), - ('3441', '219', 'KAB', 'Kaberamaido', '1', '0.00000'), - ('3442', '219', 'KML', 'Kamuli', '1', '0.00000'), - ('3443', '219', 'KPC', 'Kapchorwa', '1', '0.00000'), - ('3444', '219', 'KTK', 'Katakwi', '1', '0.00000'), - ('3445', '219', 'KUM', 'Kumi', '1', '0.00000'), - ('3446', '219', 'MAY', 'Mayuge', '1', '0.00000'), - ('3447', '219', 'MBA', 'Mbale', '1', '0.00000'), - ('3448', '219', 'PAL', 'Pallisa', '1', '0.00000'), - ('3449', '219', 'SIR', 'Sironko', '1', '0.00000'), - ('3450', '219', 'SOR', 'Soroti', '1', '0.00000'), - ('3451', '219', 'TOR', 'Tororo', '1', '0.00000'), - ('3452', '219', 'ADJ', 'Adjumani', '1', '0.00000'), - ('3453', '219', 'APC', 'Apac', '1', '0.00000'), - ('3454', '219', 'ARU', 'Arua', '1', '0.00000'), - ('3455', '219', 'GUL', 'Gulu', '1', '0.00000'), - ('3456', '219', 'KIT', 'Kitgum', '1', '0.00000'), - ('3457', '219', 'KOT', 'Kotido', '1', '0.00000'), - ('3458', '219', 'LIR', 'Lira', '1', '0.00000'), - ('3459', '219', 'MRT', 'Moroto', '1', '0.00000'), - ('3460', '219', 'MOY', 'Moyo', '1', '0.00000'), - ('3461', '219', 'NAK', 'Nakapiripirit', '1', '0.00000'), - ('3462', '219', 'NEB', 'Nebbi', '1', '0.00000'), - ('3463', '219', 'PAD', 'Pader', '1', '0.00000'), - ('3464', '219', 'YUM', 'Yumbe', '1', '0.00000'), - ('3465', '219', 'BUN', 'Bundibugyo', '1', '0.00000'), - ('3466', '219', 'BSH', 'Bushenyi', '1', '0.00000'), - ('3467', '219', 'HOI', 'Hoima', '1', '0.00000'), - ('3468', '219', 'KBL', 'Kabale', '1', '0.00000'), - ('3469', '219', 'KAR', 'Kabarole', '1', '0.00000'), - ('3470', '219', 'KAM', 'Kamwenge', '1', '0.00000'), - ('3471', '219', 'KAN', 'Kanungu', '1', '0.00000'), - ('3472', '219', 'KAS', 'Kasese', '1', '0.00000'), - ('3473', '219', 'KBA', 'Kibaale', '1', '0.00000'), - ('3474', '219', 'KIS', 'Kisoro', '1', '0.00000'), - ('3475', '219', 'KYE', 'Kyenjojo', '1', '0.00000'), - ('3476', '219', 'MSN', 'Masindi', '1', '0.00000'), - ('3477', '219', 'MBR', 'Mbarara', '1', '0.00000'), - ('3478', '219', 'NTU', 'Ntungamo', '1', '0.00000'), - ('3479', '219', 'RUK', 'Rukungiri', '1', '0.00000'), - ('3480', '220', 'CK', 'Cherkasy', '1', '0.00000'), - ('3481', '220', 'CH', 'Chernihiv', '1', '0.00000'), - ('3482', '220', 'CV', 'Chernivtsi', '1', '0.00000'), - ('3483', '220', 'CR', 'Crimea', '1', '0.00000'), - ('3484', '220', 'DN', 'Dnipropetrovs\'k', '1', '0.00000'), - ('3485', '220', 'DO', 'Donets\'k', '1', '0.00000'), - ('3486', '220', 'IV', 'Ivano-Frankivs\'k', '1', '0.00000'), - ('3487', '220', 'KL', 'Kharkiv Kherson', '1', '0.00000'), - ('3488', '220', 'KM', 'Khmel\'nyts\'kyy', '1', '0.00000'), - ('3489', '220', 'KR', 'Kirovohrad', '1', '0.00000'), - ('3490', '220', 'KV', 'Kiev', '1', '0.00000'), - ('3491', '220', 'KY', 'Kyyiv', '1', '0.00000'), - ('3492', '220', 'LU', 'Luhans\'k', '1', '0.00000'), - ('3493', '220', 'LV', 'L\'viv', '1', '0.00000'), - ('3494', '220', 'MY', 'Mykolayiv', '1', '0.00000'), - ('3495', '220', 'OD', 'Odesa', '1', '0.00000'), - ('3496', '220', 'PO', 'Poltava', '1', '0.00000'), - ('3497', '220', 'RI', 'Rivne', '1', '0.00000'), - ('3498', '220', 'SE', 'Sevastopol', '1', '0.00000'), - ('3499', '220', 'SU', 'Sumy', '1', '0.00000'), - ('3500', '220', 'TE', 'Ternopil\'', '1', '0.00000'), - ('3501', '220', 'VI', 'Vinnytsya', '1', '0.00000'), - ('3502', '220', 'VO', 'Volyn\'', '1', '0.00000'), - ('3503', '220', 'ZK', 'Zakarpattya', '1', '0.00000'), - ('3504', '220', 'ZA', 'Zaporizhzhya', '1', '0.00000'), - ('3505', '220', 'ZH', 'Zhytomyr', '1', '0.00000'), - ('3506', '221', 'AZ', 'Abu Zaby', '1', '0.00000'), - ('3507', '221', 'AJ', '\'Ajman', '1', '0.00000'), - ('3508', '221', 'FU', 'Al Fujayrah', '1', '0.00000'), - ('3509', '221', 'SH', 'Ash Shariqah', '1', '0.00000'), - ('3510', '221', 'DU', 'Dubayy', '1', '0.00000'), - ('3511', '221', 'RK', 'R\'as al Khaymah', '1', '0.00000'), - ('3512', '221', 'UQ', 'Umm al Qaywayn', '1', '0.00000'), - ('3513', '222', 'ABN', 'Aberdeen', '1', '0.00000'), - ('3514', '222', 'ABNS', 'Aberdeenshire', '1', '0.00000'), - ('3515', '222', 'ANG', 'Anglesey', '1', '0.00000'), - ('3516', '222', 'AGS', 'Angus', '1', '0.00000'), - ('3517', '222', 'ARY', 'Argyll and Bute', '1', '0.00000'), - ('3518', '222', 'BEDS', 'Bedfordshire', '1', '0.00000'), - ('3519', '222', 'BERKS', 'Berkshire', '1', '0.00000'), - ('3520', '222', 'BLA', 'Blaenau Gwent', '1', '0.00000'), - ('3521', '222', 'BRI', 'Bridgend', '1', '0.00000'), - ('3522', '222', 'BSTL', 'Bristol', '1', '0.00000'), - ('3523', '222', 'BUCKS', 'Buckinghamshire', '1', '0.00000'), - ('3524', '222', 'CAE', 'Caerphilly', '1', '0.00000'), - ('3525', '222', 'CAMBS', 'Cambridgeshire', '1', '0.00000'), - ('3526', '222', 'CDF', 'Cardiff', '1', '0.00000'), - ('3527', '222', 'CARM', 'Carmarthenshire', '1', '0.00000'), - ('3528', '222', 'CDGN', 'Ceredigion', '1', '0.00000'), - ('3529', '222', 'CHES', 'Cheshire', '1', '0.00000'), - ('3530', '222', 'CLACK', 'Clackmannanshire', '1', '0.00000'), - ('3531', '222', 'CON', 'Conwy', '1', '0.00000'), - ('3532', '222', 'CORN', 'Cornwall', '1', '0.00000'), - ('3533', '222', 'DNBG', 'Denbighshire', '1', '0.00000'), - ('3534', '222', 'DERBY', 'Derbyshire', '1', '0.00000'), - ('3535', '222', 'DVN', 'Devon', '1', '0.00000'), - ('3536', '222', 'DOR', 'Dorset', '1', '0.00000'), - ('3537', '222', 'DGL', 'Dumfries and Galloway', '1', '0.00000'), - ('3538', '222', 'DUND', 'Dundee', '1', '0.00000'), - ('3539', '222', 'DHM', 'Durham', '1', '0.00000'), - ('3540', '222', 'ARYE', 'East Ayrshire', '1', '0.00000'), - ('3541', '222', 'DUNBE', 'East Dunbartonshire', '1', '0.00000'), - ('3542', '222', 'LOTE', 'East Lothian', '1', '0.00000'), - ('3543', '222', 'RENE', 'East Renfrewshire', '1', '0.00000'), - ('3544', '222', 'ERYS', 'East Riding of Yorkshire', '1', '0.00000'), - ('3545', '222', 'SXE', 'East Sussex', '1', '0.00000'), - ('3546', '222', 'EDIN', 'Edinburgh', '1', '0.00000'), - ('3547', '222', 'ESX', 'Essex', '1', '0.00000'), - ('3548', '222', 'FALK', 'Falkirk', '1', '0.00000'), - ('3549', '222', 'FFE', 'Fife', '1', '0.00000'), - ('3550', '222', 'FLINT', 'Flintshire', '1', '0.00000'), - ('3551', '222', 'GLAS', 'Glasgow', '1', '0.00000'), - ('3552', '222', 'GLOS', 'Gloucestershire', '1', '0.00000'), - ('3553', '222', 'LDN', 'Greater London', '1', '0.00000'), - ('3554', '222', 'MCH', 'Greater Manchester', '1', '0.00000'), - ('3555', '222', 'GDD', 'Gwynedd', '1', '0.00000'), - ('3556', '222', 'HANTS', 'Hampshire', '1', '0.00000'), - ('3557', '222', 'HWR', 'Herefordshire', '1', '0.00000'), - ('3558', '222', 'HERTS', 'Hertfordshire', '1', '0.00000'), - ('3559', '222', 'HLD', 'Highlands', '1', '0.00000'), - ('3560', '222', 'IVER', 'Inverclyde', '1', '0.00000'), - ('3561', '222', 'IOW', 'Isle of Wight', '1', '0.00000'), - ('3562', '222', 'KNT', 'Kent', '1', '0.00000'), - ('3563', '222', 'LANCS', 'Lancashire', '1', '0.00000'), - ('3564', '222', 'LEICS', 'Leicestershire', '1', '0.00000'), - ('3565', '222', 'LINCS', 'Lincolnshire', '1', '0.00000'), - ('3566', '222', 'MSY', 'Merseyside', '1', '0.00000'), - ('3567', '222', 'MERT', 'Merthyr Tydfil', '1', '0.00000'), - ('3568', '222', 'MLOT', 'Midlothian', '1', '0.00000'), - ('3569', '222', 'MMOUTH', 'Monmouthshire', '1', '0.00000'), - ('3570', '222', 'MORAY', 'Moray', '1', '0.00000'), - ('3571', '222', 'NPRTAL', 'Neath Port Talbot', '1', '0.00000'), - ('3572', '222', 'NEWPT', 'Newport', '1', '0.00000'), - ('3573', '222', 'NOR', 'Norfolk', '1', '0.00000'), - ('3574', '222', 'ARYN', 'North Ayrshire', '1', '0.00000'), - ('3575', '222', 'LANN', 'North Lanarkshire', '1', '0.00000'), - ('3576', '222', 'YSN', 'North Yorkshire', '1', '0.00000'), - ('3577', '222', 'NHM', 'Northamptonshire', '1', '0.00000'), - ('3578', '222', 'NLD', 'Northumberland', '1', '0.00000'), - ('3579', '222', 'NOT', 'Nottinghamshire', '1', '0.00000'), - ('3580', '222', 'ORK', 'Orkney Islands', '1', '0.00000'), - ('3581', '222', 'OFE', 'Oxfordshire', '1', '0.00000'), - ('3582', '222', 'PEM', 'Pembrokeshire', '1', '0.00000'), - ('3583', '222', 'PERTH', 'Perth and Kinross', '1', '0.00000'), - ('3584', '222', 'PWS', 'Powys', '1', '0.00000'), - ('3585', '222', 'REN', 'Renfrewshire', '1', '0.00000'), - ('3586', '222', 'RHON', 'Rhondda Cynon Taff', '1', '0.00000'), - ('3587', '222', 'RUT', 'Rutland', '1', '0.00000'), - ('3588', '222', 'BOR', 'Scottish Borders', '1', '0.00000'), - ('3589', '222', 'SHET', 'Shetland Islands', '1', '0.00000'), - ('3590', '222', 'SPE', 'Shropshire', '1', '0.00000'), - ('3591', '222', 'SOM', 'Somerset', '1', '0.00000'), - ('3592', '222', 'ARYS', 'South Ayrshire', '1', '0.00000'), - ('3593', '222', 'LANS', 'South Lanarkshire', '1', '0.00000'), - ('3594', '222', 'YSS', 'South Yorkshire', '1', '0.00000'), - ('3595', '222', 'SFD', 'Staffordshire', '1', '0.00000'), - ('3596', '222', 'STIR', 'Stirling', '1', '0.00000'), - ('3597', '222', 'SFK', 'Suffolk', '1', '0.00000'), - ('3598', '222', 'SRY', 'Surrey', '1', '0.00000'), - ('3599', '222', 'SWAN', 'Swansea', '1', '0.00000'), - ('3600', '222', 'TORF', 'Torfaen', '1', '0.00000'), - ('3601', '222', 'TWR', 'Tyne and Wear', '1', '0.00000'), - ('3602', '222', 'VGLAM', 'Vale of Glamorgan', '1', '0.00000'), - ('3603', '222', 'WARKS', 'Warwickshire', '1', '0.00000'), - ('3604', '222', 'WDUN', 'West Dunbartonshire', '1', '0.00000'), - ('3605', '222', 'WLOT', 'West Lothian', '1', '0.00000'), - ('3606', '222', 'WMD', 'West Midlands', '1', '0.00000'), - ('3607', '222', 'SXW', 'West Sussex', '1', '0.00000'), - ('3608', '222', 'YSW', 'West Yorkshire', '1', '0.00000'), - ('3609', '222', 'WIL', 'Western Isles', '1', '0.00000'), - ('3610', '222', 'WLT', 'Wiltshire', '1', '0.00000'), - ('3611', '222', 'WORCS', 'Worcestershire', '1', '0.00000'), - ('3612', '222', 'WRX', 'Wrexham', '1', '0.00000'), - ('3613', '223', 'AL', 'Alabama', '1', '0.00000'), - ('3614', '223', 'AK', 'Alaska', '1', '0.00000'), - ('3615', '223', 'AS', 'American Samoa', '1', '0.00000'), - ('3616', '223', 'AZ', 'Arizona', '1', '0.00000'), - ('3617', '223', 'AR', 'Arkansas', '1', '0.00000'), - ('3618', '223', 'AF', 'Armed Forces Africa', '1', '0.00000'), - ('3619', '223', 'AA', 'Armed Forces Americas', '1', '0.00000'), - ('3620', '223', 'AC', 'Armed Forces Canada', '1', '0.00000'), - ('3621', '223', 'AE', 'Armed Forces Europe', '1', '0.00000'), - ('3622', '223', 'AM', 'Armed Forces Middle East', '1', '0.00000'), - ('3623', '223', 'AP', 'Armed Forces Pacific', '1', '0.00000'), - ('3624', '223', 'CA', 'California', '1', '0.00000'), - ('3625', '223', 'CO', 'Colorado', '1', '0.00000'), - ('3626', '223', 'CT', 'Connecticut', '1', '0.00000'), - ('3627', '223', 'DE', 'Delaware', '1', '0.00000'), - ('3628', '223', 'DC', 'District of Columbia', '1', '0.00000'), - ('3629', '223', 'FM', 'Federated States Of Micronesia', '1', '0.00000'), - ('3630', '223', 'FL', 'Florida', '1', '0.00000'), - ('3631', '223', 'GA', 'Georgia', '1', '0.00000'), - ('3632', '223', 'GU', 'Guam', '1', '0.00000'), - ('3633', '223', 'HI', 'Hawaii', '1', '0.00000'), - ('3634', '223', 'ID', 'Idaho', '1', '0.00000'), - ('3635', '223', 'IL', 'Illinois', '1', '0.00000'), - ('3636', '223', 'IN', 'Indiana', '1', '0.00000'), - ('3637', '223', 'IA', 'Iowa', '1', '0.00000'), - ('3638', '223', 'KS', 'Kansas', '1', '0.00000'), - ('3639', '223', 'KY', 'Kentucky', '1', '0.00000'), - ('3640', '223', 'LA', 'Louisiana', '1', '4.00000'), - ('3641', '223', 'ME', 'Maine', '1', '0.00000'), - ('3642', '223', 'MH', 'Marshall Islands', '1', '0.00000'), - ('3643', '223', 'MD', 'Maryland', '1', '0.00000'), - ('3644', '223', 'MA', 'Massachusetts', '1', '0.00000'), - ('3645', '223', 'MI', 'Michigan', '1', '0.00000'), - ('3646', '223', 'MN', 'Minnesota', '1', '0.00000'), - ('3647', '223', 'MS', 'Mississippi', '1', '0.00000'), - ('3648', '223', 'MO', 'Missouri', '1', '0.00000'), - ('3649', '223', 'MT', 'Montana', '1', '0.00000'), - ('3650', '223', 'NE', 'Nebraska', '1', '0.00000'), - ('3651', '223', 'NV', 'Nevada', '1', '0.00000'), - ('3652', '223', 'NH', 'New Hampshire', '1', '0.00000'), - ('3653', '223', 'NJ', 'New Jersey', '1', '0.00000'), - ('3654', '223', 'NM', 'New Mexico', '1', '0.00000'), - ('3655', '223', 'NY', 'New York', '1', '0.00000'), - ('3656', '223', 'NC', 'North Carolina', '1', '0.00000'), - ('3657', '223', 'ND', 'North Dakota', '1', '0.00000'), - ('3658', '223', 'MP', 'Northern Mariana Islands', '1', '0.00000'), - ('3659', '223', 'OH', 'Ohio', '1', '0.00000'), - ('3660', '223', 'OK', 'Oklahoma', '1', '0.00000'), - ('3661', '223', 'OR', 'Oregon', '1', '0.00000'), - ('3662', '223', 'PW', 'Palau', '1', '0.00000'), - ('3663', '223', 'PA', 'Pennsylvania', '1', '0.00000'), - ('3664', '223', 'PR', 'Puerto Rico', '1', '0.00000'), - ('3665', '223', 'RI', 'Rhode Island', '1', '0.00000'), - ('3666', '223', 'SC', 'South Carolina', '1', '0.00000'), - ('3667', '223', 'SD', 'South Dakota', '1', '0.00000'), - ('3668', '223', 'TN', 'Tennessee', '1', '0.00000'), - ('3669', '223', 'TX', 'Texas', '1', '0.00000'), - ('3670', '223', 'UT', 'Utah', '1', '0.00000'), - ('3671', '223', 'VT', 'Vermont', '1', '0.00000'), - ('3672', '223', 'VI', 'Virgin Islands', '1', '0.00000'), - ('3673', '223', 'VA', 'Virginia', '1', '0.00000'), - ('3674', '223', 'WA', 'Washington', '1', '0.00000'), - ('3675', '223', 'WV', 'West Virginia', '1', '0.00000'), - ('3676', '223', 'WI', 'Wisconsin', '1', '0.00000'), - ('3677', '223', 'WY', 'Wyoming', '1', '0.00000'), - ('3678', '224', 'BI', 'Baker Island', '1', '0.00000'), - ('3679', '224', 'HI', 'Howland Island', '1', '0.00000'), - ('3680', '224', 'JI', 'Jarvis Island', '1', '0.00000'), - ('3681', '224', 'JA', 'Johnston Atoll', '1', '0.00000'), - ('3682', '224', 'KR', 'Kingman Reef', '1', '0.00000'), - ('3683', '224', 'MA', 'Midway Atoll', '1', '0.00000'), - ('3684', '224', 'NI', 'Navassa Island', '1', '0.00000'), - ('3685', '224', 'PA', 'Palmyra Atoll', '1', '0.00000'), - ('3686', '224', 'WI', 'Wake Island', '1', '0.00000'), - ('3687', '225', 'AR', 'Artigas', '1', '0.00000'), - ('3688', '225', 'CA', 'Canelones', '1', '0.00000'), - ('3689', '225', 'CL', 'Cerro Largo', '1', '0.00000'), - ('3690', '225', 'CO', 'Colonia', '1', '0.00000'), - ('3691', '225', 'DU', 'Durazno', '1', '0.00000'), - ('3692', '225', 'FS', 'Flores', '1', '0.00000'), - ('3693', '225', 'FA', 'Florida', '1', '0.00000'), - ('3694', '225', 'LA', 'Lavalleja', '1', '0.00000'), - ('3695', '225', 'MA', 'Maldonado', '1', '0.00000'), - ('3696', '225', 'MO', 'Montevideo', '1', '0.00000'), - ('3697', '225', 'PA', 'Paysandu', '1', '0.00000'), - ('3698', '225', 'RN', 'Rio Negro', '1', '0.00000'), - ('3699', '225', 'RV', 'Rivera', '1', '0.00000'), - ('3700', '225', 'RO', 'Rocha', '1', '0.00000'), - ('3701', '225', 'SL', 'Salto', '1', '0.00000'), - ('3702', '225', 'SJ', 'San Jose', '1', '0.00000'), - ('3703', '225', 'SO', 'Soriano', '1', '0.00000'), - ('3704', '225', 'TA', 'Tacuarembo', '1', '0.00000'), - ('3705', '225', 'TT', 'Treinta y Tres', '1', '0.00000'), - ('3706', '226', 'AN', 'Andijon', '1', '0.00000'), - ('3707', '226', 'BU', 'Buxoro', '1', '0.00000'), - ('3708', '226', 'FA', 'Farg\'ona', '1', '0.00000'), - ('3709', '226', 'JI', 'Jizzax', '1', '0.00000'), - ('3710', '226', 'NG', 'Namangan', '1', '0.00000'), - ('3711', '226', 'NW', 'Navoiy', '1', '0.00000'), - ('3712', '226', 'QA', 'Qashqadaryo', '1', '0.00000'), - ('3713', '226', 'QR', 'Qoraqalpog\'iston Republikasi', '1', '0.00000'), - ('3714', '226', 'SA', 'Samarqand', '1', '0.00000'), - ('3715', '226', 'SI', 'Sirdaryo', '1', '0.00000'), - ('3716', '226', 'SU', 'Surxondaryo', '1', '0.00000'), - ('3717', '226', 'TK', 'Toshkent City', '1', '0.00000'), - ('3718', '226', 'TO', 'Toshkent Region', '1', '0.00000'), - ('3719', '226', 'XO', 'Xorazm', '1', '0.00000'), - ('3720', '227', 'MA', 'Malampa', '1', '0.00000'), - ('3721', '227', 'PE', 'Penama', '1', '0.00000'), - ('3722', '227', 'SA', 'Sanma', '1', '0.00000'), - ('3723', '227', 'SH', 'Shefa', '1', '0.00000'), - ('3724', '227', 'TA', 'Tafea', '1', '0.00000'), - ('3725', '227', 'TO', 'Torba', '1', '0.00000'), - ('3726', '229', 'AM', 'Amazonas', '1', '0.00000'), - ('3727', '229', 'AN', 'Anzoategui', '1', '0.00000'), - ('3728', '229', 'AP', 'Apure', '1', '0.00000'), - ('3729', '229', 'AR', 'Aragua', '1', '0.00000'), - ('3730', '229', 'BA', 'Barinas', '1', '0.00000'), - ('3731', '229', 'BO', 'Bolivar', '1', '0.00000'), - ('3732', '229', 'CA', 'Carabobo', '1', '0.00000'), - ('3733', '229', 'CO', 'Cojedes', '1', '0.00000'), - ('3734', '229', 'DA', 'Delta Amacuro', '1', '0.00000'), - ('3735', '229', 'DF', 'Dependencias Federales', '1', '0.00000'), - ('3736', '229', 'DI', 'Distrito Federal', '1', '0.00000'), - ('3737', '229', 'FA', 'Falcon', '1', '0.00000'), - ('3738', '229', 'GU', 'Guarico', '1', '0.00000'), - ('3739', '229', 'LA', 'Lara', '1', '0.00000'), - ('3740', '229', 'ME', 'Merida', '1', '0.00000'), - ('3741', '229', 'MI', 'Miranda', '1', '0.00000'), - ('3742', '229', 'MO', 'Monagas', '1', '0.00000'), - ('3743', '229', 'NE', 'Nueva Esparta', '1', '0.00000'), - ('3744', '229', 'PO', 'Portuguesa', '1', '0.00000'), - ('3745', '229', 'SU', 'Sucre', '1', '0.00000'), - ('3746', '229', 'TA', 'Tachira', '1', '0.00000'), - ('3747', '229', 'TR', 'Trujillo', '1', '0.00000'), - ('3748', '229', 'VA', 'Vargas', '1', '0.00000'), - ('3749', '229', 'YA', 'Yaracuy', '1', '0.00000'), - ('3750', '229', 'ZU', 'Zulia', '1', '0.00000'), - ('3751', '230', 'AG', 'An Giang', '1', '0.00000'), - ('3752', '230', 'BG', 'Bac Giang', '1', '0.00000'), - ('3753', '230', 'BK', 'Bac Kan', '1', '0.00000'), - ('3754', '230', 'BL', 'Bac Lieu', '1', '0.00000'), - ('3755', '230', 'BC', 'Bac Ninh', '1', '0.00000'), - ('3756', '230', 'BR', 'Ba Ria-Vung Tau', '1', '0.00000'), - ('3757', '230', 'BN', 'Ben Tre', '1', '0.00000'), - ('3758', '230', 'BH', 'Binh Dinh', '1', '0.00000'), - ('3759', '230', 'BU', 'Binh Duong', '1', '0.00000'), - ('3760', '230', 'BP', 'Binh Phuoc', '1', '0.00000'), - ('3761', '230', 'BT', 'Binh Thuan', '1', '0.00000'), - ('3762', '230', 'CM', 'Ca Mau', '1', '0.00000'), - ('3763', '230', 'CT', 'Can Tho', '1', '0.00000'), - ('3764', '230', 'CB', 'Cao Bang', '1', '0.00000'), - ('3765', '230', 'DL', 'Dak Lak', '1', '0.00000'), - ('3766', '230', 'DG', 'Dak Nong', '1', '0.00000'), - ('3767', '230', 'DN', 'Da Nang', '1', '0.00000'), - ('3768', '230', 'DB', 'Dien Bien', '1', '0.00000'), - ('3769', '230', 'DI', 'Dong Nai', '1', '0.00000'), - ('3770', '230', 'DT', 'Dong Thap', '1', '0.00000'), - ('3771', '230', 'GL', 'Gia Lai', '1', '0.00000');"; - - - $query[] = "INSERT INTO `".$prefix."country_zones` VALUES ('3772', '230', 'HG', 'Ha Giang', '1', '0.00000'), - ('3773', '230', 'HD', 'Hai Duong', '1', '0.00000'), - ('3774', '230', 'HP', 'Hai Phong', '1', '0.00000'), - ('3775', '230', 'HM', 'Ha Nam', '1', '0.00000'), - ('3776', '230', 'HI', 'Ha Noi', '1', '0.00000'), - ('3777', '230', 'HT', 'Ha Tay', '1', '0.00000'), - ('3778', '230', 'HH', 'Ha Tinh', '1', '0.00000'), - ('3779', '230', 'HB', 'Hoa Binh', '1', '0.00000'), - ('3780', '230', 'HC', 'Ho Chi Minh City', '1', '0.00000'), - ('3781', '230', 'HU', 'Hau Giang', '1', '0.00000'), - ('3782', '230', 'HY', 'Hung Yen', '1', '0.00000'), - ('3783', '232', 'C', 'Saint Croix', '1', '0.00000'), - ('3784', '232', 'J', 'Saint John', '1', '0.00000'), - ('3785', '232', 'T', 'Saint Thomas', '1', '0.00000'), - ('3786', '233', 'A', 'Alo', '1', '0.00000'), - ('3787', '233', 'S', 'Sigave', '1', '0.00000'), - ('3788', '233', 'W', 'Wallis', '1', '0.00000'), - ('3789', '235', 'AB', 'Abyan', '1', '0.00000'), - ('3790', '235', 'AD', 'Adan', '1', '0.00000'), - ('3791', '235', 'AM', 'Amran', '1', '0.00000'), - ('3792', '235', 'BA', 'Al Bayda', '1', '0.00000'), - ('3793', '235', 'DA', 'Ad Dali', '1', '0.00000'), - ('3794', '235', 'DH', 'Dhamar', '1', '0.00000'), - ('3795', '235', 'HD', 'Hadramawt', '1', '0.00000'), - ('3796', '235', 'HJ', 'Hajjah', '1', '0.00000'), - ('3797', '235', 'HU', 'Al Hudaydah', '1', '0.00000'), - ('3798', '235', 'IB', 'Ibb', '1', '0.00000'), - ('3799', '235', 'JA', 'Al Jawf', '1', '0.00000'), - ('3800', '235', 'LA', 'Lahij', '1', '0.00000'), - ('3801', '235', 'MA', 'Ma\'rib', '1', '0.00000'), - ('3802', '235', 'MR', 'Al Mahrah', '1', '0.00000'), - ('3803', '235', 'MW', 'Al Mahwit', '1', '0.00000'), - ('3804', '235', 'SD', 'Sa\'dah', '1', '0.00000'), - ('3805', '235', 'SN', 'San\'a', '1', '0.00000'), - ('3806', '235', 'SH', 'Shabwah', '1', '0.00000'), - ('3807', '235', 'TA', 'Ta\'izz', '1', '0.00000'), - ('3808', '236', 'KOS', 'Kosovo', '1', '0.00000'), - ('3809', '236', 'MON', 'Montenegro', '1', '0.00000'), - ('3810', '236', 'SER', 'Serbia', '1', '0.00000'), - ('3811', '236', 'VOJ', 'Vojvodina', '1', '0.00000'), - ('3812', '237', 'BC', 'Bas-Congo', '1', '0.00000'), - ('3813', '237', 'BN', 'Bandundu', '1', '0.00000'), - ('3814', '237', 'EQ', 'Equateur', '1', '0.00000'), - ('3815', '237', 'KA', 'Katanga', '1', '0.00000'), - ('3816', '237', 'KE', 'Kasai-Oriental', '1', '0.00000'), - ('3817', '237', 'KN', 'Kinshasa', '1', '0.00000'), - ('3818', '237', 'KW', 'Kasai-Occidental', '1', '0.00000'), - ('3819', '237', 'MA', 'Maniema', '1', '0.00000'), - ('3820', '237', 'NK', 'Nord-Kivu', '1', '0.00000'), - ('3821', '237', 'OR', 'Orientale', '1', '0.00000'), - ('3822', '237', 'SK', 'Sud-Kivu', '1', '0.00000'), - ('3823', '238', 'CE', 'Central', '1', '0.00000'), - ('3824', '238', 'CB', 'Copperbelt', '1', '0.00000'), - ('3825', '238', 'EA', 'Eastern', '1', '0.00000'), - ('3826', '238', 'LP', 'Luapula', '1', '0.00000'), - ('3827', '238', 'LK', 'Lusaka', '1', '0.00000'), - ('3828', '238', 'NO', 'Northern', '1', '0.00000'), - ('3829', '238', 'NW', 'North-Western', '1', '0.00000'), - ('3830', '238', 'SO', 'Southern', '1', '0.00000'), - ('3831', '238', 'WE', 'Western', '1', '0.00000'), - ('3832', '239', 'BU', 'Bulawayo', '1', '0.00000'), - ('3833', '239', 'HA', 'Harare', '1', '0.00000'), - ('3834', '239', 'ML', 'Manicaland', '1', '0.00000'), - ('3835', '239', 'MC', 'Mashonaland Central', '1', '0.00000'), - ('3836', '239', 'ME', 'Mashonaland East', '1', '0.00000'), - ('3837', '239', 'MW', 'Mashonaland West', '1', '0.00000'), - ('3838', '239', 'MV', 'Masvingo', '1', '0.00000'), - ('3839', '239', 'MN', 'Matabeleland North', '1', '0.00000'), - ('3840', '239', 'MS', 'Matabeleland South', '1', '0.00000'), - ('3841', '239', 'MD', 'Midlands', '1', '0.00000'), - ('3861', '105', 'CB', 'Campobasso', '1', '0.00000'), - ('3862', '105', 'CI', 'Carbonia-Iglesias', '1', '0.00000'), - ('3863', '105', 'CE', 'Caserta', '1', '0.00000'), - ('3864', '105', 'CT', 'Catania', '1', '0.00000'), - ('3865', '105', 'CZ', 'Catanzaro', '1', '0.00000'), - ('3866', '105', 'CH', 'Chieti', '1', '0.00000'), - ('3867', '105', 'CO', 'Como', '1', '0.00000'), - ('3868', '105', 'CS', 'Cosenza', '1', '0.00000'), - ('3869', '105', 'CR', 'Cremona', '1', '0.00000'), - ('3870', '105', 'KR', 'Crotone', '1', '0.00000'), - ('3871', '105', 'CN', 'Cuneo', '1', '0.00000'), - ('3872', '105', 'EN', 'Enna', '1', '0.00000'), - ('3873', '105', 'FE', 'Ferrara', '1', '0.00000'), - ('3874', '105', 'FI', 'Firenze', '1', '0.00000'), - ('3875', '105', 'FG', 'Foggia', '1', '0.00000'), - ('3876', '105', 'FC', 'Forli-Cesena', '1', '0.00000'), - ('3877', '105', 'FR', 'Frosinone', '1', '0.00000'), - ('3878', '105', 'GE', 'Genova', '1', '0.00000'), - ('3879', '105', 'GO', 'Gorizia', '1', '0.00000'), - ('3880', '105', 'GR', 'Grosseto', '1', '0.00000'), - ('3881', '105', 'IM', 'Imperia', '1', '0.00000'), - ('3882', '105', 'IS', 'Isernia', '1', '0.00000'), - ('3883', '105', 'AQ', 'L'Aquila', '1', '0.00000'), - ('3884', '105', 'SP', 'La Spezia', '1', '0.00000'), - ('3885', '105', 'LT', 'Latina', '1', '0.00000'), - ('3886', '105', 'LE', 'Lecce', '1', '0.00000'), - ('3887', '105', 'LC', 'Lecco', '1', '0.00000'), - ('3888', '105', 'LI', 'Livorno', '1', '0.00000'), - ('3889', '105', 'LO', 'Lodi', '1', '0.00000'), - ('3890', '105', 'LU', 'Lucca', '1', '0.00000'), - ('3891', '105', 'MC', 'Macerata', '1', '0.00000'), - ('3892', '105', 'MN', 'Mantova', '1', '0.00000'), - ('3893', '105', 'MS', 'Massa-Carrara', '1', '0.00000'), - ('3894', '105', 'MT', 'Matera', '1', '0.00000'), - ('3895', '105', 'VS', 'Medio Campidano', '1', '0.00000'), - ('3896', '105', 'ME', 'Messina', '1', '0.00000'), - ('3897', '105', 'MI', 'Milano', '1', '0.00000'), - ('3898', '105', 'MO', 'Modena', '1', '0.00000'), - ('3899', '105', 'NA', 'Napoli', '1', '0.00000'), - ('3900', '105', 'NO', 'Novara', '1', '0.00000'), - ('3901', '105', 'NU', 'Nuoro', '1', '0.00000'), - ('3902', '105', 'OG', 'Ogliastra', '1', '0.00000'), - ('3903', '105', 'OT', 'Olbia-Tempio', '1', '0.00000'), - ('3904', '105', 'OR', 'Oristano', '1', '0.00000'), - ('3905', '105', 'PD', 'Padova', '1', '0.00000'), - ('3906', '105', 'PA', 'Palermo', '1', '0.00000'), - ('3907', '105', 'PR', 'Parma', '1', '0.00000'), - ('3908', '105', 'PV', 'Pavia', '1', '0.00000'), - ('3909', '105', 'PG', 'Perugia', '1', '0.00000'), - ('3910', '105', 'PU', 'Pesaro e Urbino', '1', '0.00000'), - ('3911', '105', 'PE', 'Pescara', '1', '0.00000'), - ('3912', '105', 'PC', 'Piacenza', '1', '0.00000'), - ('3913', '105', 'PI', 'Pisa', '1', '0.00000'), - ('3914', '105', 'PT', 'Pistoia', '1', '0.00000'), - ('3915', '105', 'PN', 'Pordenone', '1', '0.00000'), - ('3916', '105', 'PZ', 'Potenza', '1', '0.00000'), - ('3917', '105', 'PO', 'Prato', '1', '0.00000'), - ('3918', '105', 'RG', 'Ragusa', '1', '0.00000'), - ('3919', '105', 'RA', 'Ravenna', '1', '0.00000'), - ('3920', '105', 'RC', 'Reggio Calabria', '1', '0.00000'), - ('3921', '105', 'RE', 'Reggio Emilia', '1', '0.00000'), - ('3922', '105', 'RI', 'Rieti', '1', '0.00000'), - ('3923', '105', 'RN', 'Rimini', '1', '0.00000'), - ('3924', '105', 'RM', 'Roma', '1', '0.00000'), - ('3925', '105', 'RO', 'Rovigo', '1', '0.00000'), - ('3926', '105', 'SA', 'Salerno', '1', '0.00000'), - ('3927', '105', 'SS', 'Sassari', '1', '0.00000'), - ('3928', '105', 'SV', 'Savona', '1', '0.00000'), - ('3929', '105', 'SI', 'Siena', '1', '0.00000'), - ('3930', '105', 'SR', 'Siracusa', '1', '0.00000'), - ('3931', '105', 'SO', 'Sondrio', '1', '0.00000'), - ('3932', '105', 'TA', 'Taranto', '1', '0.00000'), - ('3933', '105', 'TE', 'Teramo', '1', '0.00000'), - ('3934', '105', 'TR', 'Terni', '1', '0.00000'), - ('3935', '105', 'TO', 'Torino', '1', '0.00000'), - ('3936', '105', 'TP', 'Trapani', '1', '0.00000'), - ('3937', '105', 'TN', 'Trento', '1', '0.00000'), - ('3938', '105', 'TV', 'Treviso', '1', '0.00000'), - ('3939', '105', 'TS', 'Trieste', '1', '0.00000'), - ('3940', '105', 'UD', 'Udine', '1', '0.00000'), - ('3941', '105', 'VA', 'Varese', '1', '0.00000'), - ('3942', '105', 'VE', 'Venezia', '1', '0.00000'), - ('3943', '105', 'VB', 'Verbano-Cusio-Ossola', '1', '0.00000'), - ('3944', '105', 'VC', 'Vercelli', '1', '0.00000'), - ('3945', '105', 'VR', 'Verona', '1', '0.00000'), - ('3946', '105', 'VV', 'Vibo Valentia', '1', '0.00000'), - ('3947', '105', 'VI', 'Vicenza', '1', '0.00000'), - ('3948', '105', 'VT', 'Viterbo', '1', '0.00000'), - ('3949', '222', 'ANT', 'County Antrim', '1', '0.00000'), - ('3950', '222', 'ARM', 'County Armagh', '1', '0.00000'), - ('3951', '222', 'DOW', 'County Down', '1', '0.00000'), - ('3952', '222', 'FER', 'County Fermanagh', '1', '0.00000'), - ('3953', '222', 'LDY', 'County Londonderry', '1', '0.00000'), - ('3954', '222', 'TYR', 'County Tyrone', '1', '0.00000'), - ('3955', '222', 'CMA', 'Cumbria', '1', '0.00000');"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."coupons`;"; - - - $query[] = "CREATE TABLE `".$prefix."coupons` ( - `id` int(10) unsigned NOT NULL auto_increment, - `code` varchar(50) character set utf8 NOT NULL, - `start_date` date NOT NULL, - `end_date` date NOT NULL, - `whole_order_coupon` tinyint(1) NOT NULL, - `max_product_instances` mediumint(8) unsigned NOT NULL default '0', - `max_uses` mediumint(8) unsigned NOT NULL, - `num_uses` mediumint(8) unsigned NOT NULL, - `reduction_target` varchar(8) NOT NULL, - `reduction_type` varchar(10) character set utf8 NOT NULL, - `reduction_amount` float NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."coupons_products`;"; - - - $query[] = "CREATE TABLE `".$prefix."coupons_products` ( - `coupon_id` int(11) NOT NULL, - `product_id` int(11) NOT NULL, - `sequence` int(11) NOT NULL, - KEY `promotion_id` (`coupon_id`,`product_id`) - ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."customer_groups`;"; - - $query[] = "CREATE TABLE `".$prefix."customer_groups` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `discount` float DEFAULT NULL, - `name` varchar(50) DEFAULT NULL, - `discount_type` enum('fixed','percent') DEFAULT 'percent', - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;"; - - $query[] = "INSERT INTO `".$prefix."customer_groups` (`id`,`discount`,`name`,`discount_type`) - VALUES (1,0,'Shoppers','fixed');"; - - $query[] = "DROP TABLE IF EXISTS `".$prefix."customers`;"; - - - $query[] = "CREATE TABLE `".$prefix."customers` ( - `id` int(10) unsigned NOT NULL auto_increment, - `firstname` varchar(32) collate utf8_general_ci NOT NULL, - `lastname` varchar(32) collate utf8_general_ci NOT NULL, - `email` varchar(128) collate utf8_general_ci NOT NULL, - `email_subscribe` tinyint(1) default NULL, - `phone` varchar(32) collate utf8_general_ci NOT NULL, - `company` varchar(128) collate utf8_general_ci NOT NULL, - `default_billing_address` int(11) default NULL, - `default_shipping_address` int(11) default NULL, - `ship_to_bill_address` enum('false','true') collate utf8_general_ci NOT NULL default 'true', - `password` varchar(40) collate utf8_general_ci NOT NULL, - `active` tinyint(1) NOT NULL, - `group_id` int(11) NOT NULL default '1', - `confirmed` tinyint(1) NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."customers_address_bank`;"; - - - $query[] = "CREATE TABLE `".$prefix."customers_address_bank` ( - `id` int(11) NOT NULL auto_increment, - `customer_id` int(11) default NULL, - `entry_name` varchar(20) default NULL, - `field_data` text, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."gift_cards`;"; - - - $query[] = "CREATE TABLE `".$prefix."gift_cards` ( - `id` int(10) unsigned NOT NULL auto_increment, - `order_number` varchar(60) collate utf8_general_ci NOT NULL, - `code` varchar(16) collate utf8_general_ci NOT NULL, - `expiry_date` date NOT NULL, - `beginning_amount` float NOT NULL, - `amount_used` float NOT NULL, - `to_name` varchar(70) collate utf8_general_ci default NULL, - `to_email` varchar(75) collate utf8_general_ci NOT NULL, - `from` varchar(70) collate utf8_general_ci default NULL, - `personal_message` mediumtext collate utf8_general_ci, - `activated` tinyint(1) NOT NULL default '0', - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."items_sold`;"; - - - $query[] = "CREATE TABLE `".$prefix."items_sold` ( - `product_id` int(11) NOT NULL, - `purchased_on` date NOT NULL, - KEY `product_id` (`product_id`,`purchased_on`) - ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."option_values`;"; - - - $query[] = "CREATE TABLE `".$prefix."option_values` ( - `id` int(11) NOT NULL auto_increment, - `option_id` int(11) NOT NULL, - `name` varchar(255) NOT NULL, - `value` varchar(255) NOT NULL, - `price` float(10,2) NOT NULL, - `weight` float(10,2) NOT NULL, - `sequence` int(11) NOT NULL, - `limit` int(11) default NULL, - PRIMARY KEY (`id`) - ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."options`;"; - - - $query[] = "CREATE TABLE `".$prefix."options` ( - `id` int(11) NOT NULL auto_increment, - `product_id` int(11) NOT NULL, - `sequence` int(11) NOT NULL, - `name` varchar(64) NOT NULL, - `type` varchar(24) NOT NULL, - `required` tinyint(1) NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."order_items`;"; - - - $query[] = "CREATE TABLE `".$prefix."order_items` ( - `id` bigint(20) NOT NULL auto_increment, - `order_id` int(11) default NULL, - `product_id` int(11) NOT NULL, - `quantity` int(11) NOT NULL, - `contents` longtext collate utf8_general_ci, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."orders`;"; - - - $query[] = "CREATE TABLE `".$prefix."orders` ( - `id` int(10) unsigned NOT NULL auto_increment, - `order_number` varchar(60) NOT NULL, - `customer_id` int(10) unsigned default NULL, - `status` varchar(255) NOT NULL, - `ordered_on` datetime NOT NULL, - `shipped_on` datetime default NULL, - `tax` float(10,2) NOT NULL, - `total` float(10,2) NOT NULL, - `subtotal` float(10,2) NOT NULL, - `gift_card_discount` float(10,2) NOT NULL, - `coupon_discount` float(10,2) NOT NULL, - `shipping` float(10,2) NOT NULL, - `shipping_notes` text NOT NULL, - `shipping_method` tinytext NOT NULL, - `heard_about` tinytext NOT NULL, - `notes` tinytext NOT NULL, - `payment_info` text NOT NULL, - `referral` text NOT NULL, - `company` varchar(255) default NULL, - `firstname` varchar(255) default NULL, - `lastname` varchar(255) default NULL, - `phone` varchar(40) default NULL, - `email` varchar(255) default NULL, - `ship_company` varchar(255) default NULL, - `ship_firstname` varchar(255) default NULL, - `ship_lastname` varchar(255) default NULL, - `ship_email` varchar(255) default NULL, - `ship_phone` varchar(40) default NULL, - `ship_address1` varchar(255) default NULL, - `ship_address2` varchar(255) default NULL, - `ship_city` varchar(255) default NULL, - `ship_zip` varchar(11) default NULL, - `ship_zone` varchar(255) default NULL, - `ship_zone_id` int(11) default NULL, - `ship_country` varchar(255) default NULL, - `ship_country_code` varchar(10) default NULL, - `ship_country_id` int(11) default NULL, - `bill_company` varchar(255) default NULL, - `bill_firstname` varchar(255) default NULL, - `bill_lastname` varchar(255) default NULL, - `bill_email` varchar(255) default NULL, - `bill_phone` varchar(40) default NULL, - `bill_address1` varchar(255) default NULL, - `bill_address2` varchar(255) default NULL, - `bill_city` varchar(255) default NULL, - `bill_zip` varchar(11) default NULL, - `bill_zone` varchar(255) default NULL, - `bill_zone_id` int(11) default NULL, - `bill_country` varchar(255) default NULL, - `bill_country_code` varchar(10) default NULL, - `bill_country_id` int(11) default NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."pages`;"; - - - $query[] = "CREATE TABLE `".$prefix."pages` ( - `id` int(11) NOT NULL auto_increment, - `parent_id` int(11) NOT NULL, - `title` varchar(128) collate utf8_general_ci NOT NULL, - `menu_title` varchar(128) collate utf8_general_ci NOT NULL, - `slug` varchar(255) collate utf8_general_ci NOT NULL, - `route_id` int(128) NOT NULL, - `content` longtext collate utf8_general_ci NOT NULL, - `sequence` int(11) NOT NULL default '0', - `seo_title` text collate utf8_general_ci NOT NULL, - `meta` text collate utf8_general_ci NOT NULL, - `url` varchar(255) collate utf8_general_ci default NULL, - `new_window` tinyint(1) default '0', - PRIMARY KEY (`id`), - FULLTEXT KEY `title` (`title`,`content`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."products`;"; - - - $query[] = "CREATE TABLE `".$prefix."products` ( - `id` int(10) unsigned NOT NULL auto_increment, - `sku` varchar(30) collate utf8_general_ci default NULL, - `name` varchar(128) collate utf8_general_ci default NULL, - `slug` varchar(128) collate utf8_general_ci default NULL, - `route_id` int(11) NOT NULL, - `description` text collate utf8_general_ci, - `excerpt` text collate utf8_general_ci, - `price` float(10,2) NOT NULL default '0.00', - `saleprice` float(10,2) NOT NULL default '0.00', - `free_shipping` tinyint(1) NOT NULL default '0', - `shippable` tinyint(1) NOT NULL default '1', - `weight` varchar(10) collate utf8_general_ci NOT NULL default '0', - `in_stock` tinyint(1) NOT NULL default '1', - `related_products` text collate utf8_general_ci, - `images` text collate utf8_general_ci, - `seo_title` text collate utf8_general_ci, - `meta` text collate utf8_general_ci, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."routes`;"; - - - $query[] = "CREATE TABLE `".$prefix."routes` ( - `id` int(11) NOT NULL auto_increment, - `slug` varchar(255) character set utf8 NOT NULL, - `route` varchar(32) character set utf8 default NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."search`;"; - - - $query[] = "CREATE TABLE `".$prefix."search` ( - `code` varchar(40) collate utf8_general_ci NOT NULL, - `term` varchar(255) collate utf8_general_ci NOT NULL, - PRIMARY KEY (`code`) - ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."sessions`;"; - - - $query[] = "CREATE TABLE `".$prefix."sessions` ( - `session_id` varchar(40) NOT NULL default '0', - `ip_address` varchar(16) NOT NULL default '0', - `user_agent` varchar(120) NOT NULL, - `last_activity` int(10) unsigned NOT NULL default '0', - `user_data` text NOT NULL, - PRIMARY KEY (`session_id`), - KEY `last_activity_idx` (`last_activity`) - ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; - - - $query[] = "DROP TABLE IF EXISTS `".$prefix."settings`;"; - - - $query[] = "CREATE TABLE `".$prefix."settings` ( - `id` int(11) NOT NULL auto_increment, - `code` varchar(255) collate utf8_general_ci NOT NULL, - `setting_key` varchar(255) collate utf8_general_ci NOT NULL, - `setting` longtext collate utf8_general_ci NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"; - - $query[] = "INSERT INTO `".$prefix."settings` (`id`,`code`,`setting_key`,`setting`) - VALUES (181,'gift_cards','predefined_card_amounts','10,20,25,50,100'), - (182,'gift_cards','enabled','1'), - (183,'gift_cards','allow_custom_amount','1');"; - - return $query; - } -} \ No newline at end of file diff --git a/install/application/views/install.php b/install/application/views/install.php old mode 100755 new mode 100644 index d368c607..51d11727 --- a/install/application/views/install.php +++ b/install/application/views/install.php @@ -3,143 +3,28 @@ Thanks for using GoCart! - - - - - - -
    GoCart
    -
    -
    +
    GoCart
    +
    +
    +
    -
    +

    The folder is not writable! This is required to generate the config files.

    -
    -

    The root folder is not writable! This is required if you want to use "Cleaner URLs" to generate .htaccess file.

    +
    +

    The root folder is not writable! This is required if you want to eliminate "index.php" from the URL by generating an .htaccess file.

    -
    +
    @@ -149,56 +34,68 @@
    Database Information - 'hostname', 'value'=>set_value('hostname', 'localhost') ));?>
    - 'database', 'value'=>set_value('database') ));?>
    - 'username', 'value'=>set_value('username') ));?>
    - 'password', 'value'=>set_value('password') ));?>
    - 'prefix', 'value'=>set_value('prefix', 'gc_') ));?> +
    +

    Note…

    +

    Installing GoCart will not create a database. It will simply fill your existing database with the appropriate tables and records required to run.

    +
    + + 'span8', 'name'=>'hostname', 'value'=>set_value('hostname', 'localhost') ));?> + 'span8', 'name'=>'database', 'value'=>set_value('database') ));?> + 'span8', 'name'=>'username', 'value'=>set_value('username') ));?> + 'span8', 'name'=>'password', 'value'=>set_value('password') ));?> + 'span8', 'name'=>'prefix', 'value'=>set_value('prefix', 'gc_') ));?>
    Admin Information - 'admin_email', 'value'=>set_value('admin_email') ));?>
    - 'admin_password', 'value'=>set_value('admin_password') ));?> + 'span8', 'name'=>'admin_email', 'value'=>set_value('admin_email') ));?> + 'span8', 'name'=>'admin_password', 'value'=>set_value('admin_password') ));?>
    Cart Information - 'company_name', 'value'=>set_value('company_name') ));?>
    - 'website_email', 'value'=>set_value('website_email') ));?>
    -
    - Removes "index.php" from the url and requires Apache with mod_rewrite + 'span8', 'name'=>'company_name', 'value'=>set_value('company_name') ));?> + 'span8', 'name'=>'website_email', 'value'=>set_value('website_email') ));?> + + +
    Location Information -

    - Address information is only required for carts using live rate shipping modules such as FedEx, UPS, or USPS. -

    +
    +

    Note…

    +

    Address information is only required for carts using live rate shipping modules such as FedEx, UPS, or USPS.

    +
    - 'address1', 'value'=>set_value('address1') ));?>
    - 'address2', 'value'=>set_value('address2') ));?>
    - 'city', 'value'=>set_value('city') ));?>
    - 'state', 'value'=>set_value('state') ));?>
    - 'zip', 'value'=>set_value('zip') ));?>
    - 'country', 'value'=>set_value('country') ));?> + 'span8', 'name'=>'address1', 'value'=>set_value('address1') ));?> + 'span8', 'name'=>'address2', 'value'=>set_value('address2') ));?> + 'span8', 'name'=>'city', 'value'=>set_value('city') ));?> + 'span8', 'name'=>'state', 'value'=>set_value('state') ));?> + 'span8', 'name'=>'zip', 'value'=>set_value('zip') ));?> + 'span8', 'name'=>'country', 'value'=>set_value('country') ));?>

    - +

    - -
    - +
    + \ No newline at end of file diff --git a/install/application/views/templates/config.php b/install/application/views/templates/config.php old mode 100755 new mode 100644 diff --git a/install/application/views/templates/gocart.php b/install/application/views/templates/gocart.php index aaddd8da..7db77d73 100644 --- a/install/application/views/templates/gocart.php +++ b/install/application/views/templates/gocart.php @@ -1,8 +1,12 @@ -//SSL support + +// GoCart Theme +$config['theme'] = 'default'; + +// SSL support $config['ssl_support'] = ; -//Business information +// Business information $config['company_name'] = ''; $config['address1'] = ''; $config['address2'] = ''; @@ -13,12 +17,18 @@ $config['email'] = ''; // Store currency -$config['currency'] = 'USD'; // USD, EUR, etc -$config['currency_symbol'] = '$'; -//$config['currency_separator'] = ','; +$config['currency'] = 'USD'; // USD, EUR, etc +$config['currency_symbol'] = '$'; +$config['currency_symbol_side'] = 'left'; // anything that is not "left" is automatically right +$config['currency_decimal'] = '.'; +$config['currency_thousands_separator'] = ','; + +// Shipping config units +$config['weight_unit'] = 'LB'; // LB, KG, etc +$config['dimension_unit'] = 'IN'; // FT, CM, etc // site logo path (for packing slip) -$config['site_logo'] = '/images/logo.png'; +$config['site_logo'] = '/assets/img/logo.png'; //change the name of the admin controller folder $config['admin_folder'] = 'admin'; @@ -35,14 +45,21 @@ //default order status $config['order_status'] = 'Pending'; +// default Status for non-shippable orders (downloads) +$config['nonship_status'] = 'Delivered'; + $config['order_statuses'] = array( 'Pending' => 'Pending', 'Processing' => 'Processing', 'Shipped' => 'Shipped', 'On Hold' => 'On Hold', - 'Cancelled' => 'Cancelled' + 'Cancelled' => 'Cancelled', + 'Delivered' => 'Delivered' ); +// enable inventory control ? +$config['inventory_enabled'] = true; + // allow customers to purchase inventory flagged as out of stock? $config['allow_os_purchase'] = true; diff --git a/install/application/views/templates/sql.php b/install/application/views/templates/sql.php new file mode 100644 index 00000000..5a05dfb4 --- /dev/null +++ b/install/application/views/templates/sql.php @@ -0,0 +1,444 @@ + +CREATE TABLE `prefix_admin` ( +`id` int(10) unsigned NOT NULL auto_increment, +`firstname` varchar(32) default NULL, +`lastname` varchar(32) default NULL, +`email` varchar(128) NOT NULL, +`access` varchar(11) NOT NULL, +`password` varchar(40) NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_banners` ( +`id` int(11) NOT NULL auto_increment, +`title` varchar(128) NOT NULL default '', +`enable_on` date NOT NULL default '0000-00-00', +`disable_on` date NOT NULL default '0000-00-00', +`image` varchar(64) NOT NULL, +`link` varchar(128) default NULL, +`new_window` tinyint(1) NOT NULL default '0', +`sequence` int(11) NOT NULL default '0', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_boxes` ( +`id` int(11) NOT NULL auto_increment, +`title` varchar(128) NOT NULL default '', +`enable_on` date NOT NULL default '0000-00-00', +`disable_on` date NOT NULL default '0000-00-00', +`image` varchar(64) NOT NULL, +`link` varchar(128) default NULL, +`new_window` tinyint(1) NOT NULL default '0', +`sequence` int(11) NOT NULL default '0', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_canned_messages` ( +`id` int(11) NOT NULL auto_increment, +`deletable` tinyint(1) NOT NULL default '1', +`type` enum('internal','order') default NULL, +`name` varchar(50) default NULL, +`subject` varchar(100) default NULL, +`content` text, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +INSERT INTO `prefix_canned_messages` VALUES ('1', '0', 'internal', 'Gift Card Email Notification', 'You have received a gift card from {from} to {site_name}!', '

    Congrats on your new {site_name} gift card!

    Card Code: {code}
    Gift Amount: {amount}
    From: {from}
    Redeemable at: {site_name} {url}

    Personal Message from Sender:
    {personal_message}

    Be sure to save this email in a safe place. Your gift card code is as good as cash.

    '), ('3', '0', 'order', 'Order Shipped Notification', 'Your order has shipped (order: {order_number})!', '

    Dear {customer_name},

    \n

    Thank you for your purchase at {site_name}!

    \n

    This message is to inform you that your order ({order_number}) has been shipped.

    \n

    Enjoy your purchase!

    '), ('6', '0', 'internal', 'Registration Confirmation', 'Thank you for registring at {site_name}!', '

    Dear {customer_name},

    \n

    Thanks for registering at {site_name}. Your participation is appreciated. After registering, you should have been logged in automatically. You may access your account by using the email address this notice was sent to, and the password you signed up with. If you forget your password, on the login page, click the \"forgot password\" link and you can get a new password generated and sent to you.

    Thanks,
    {site_name}

    '), ('7', '0', 'internal', 'Order Submitted Confirmation', 'Thank you for your order with {site_name}!', '

    Dear {customer_name},

    \n

    Thank you for your order with {site_name}!

    \n

    {order_summary}

    '), ('8', '0', 'order', 'Digital Download Notification', 'Digital Download Notification', '

    {download_link}

    '); + +-- new query + +CREATE TABLE `prefix_categories` ( +`id` int(10) unsigned NOT NULL auto_increment, +`parent_id` int(10) unsigned NOT NULL, +`name` varchar(64) NOT NULL, +`slug` varchar(64) NOT NULL, +`route_id` int(11) NOT NULL, +`description` text NOT NULL, +`excerpt` text NOT NULL, +`sequence` int(10) unsigned NOT NULL, +`image` varchar(255) default NULL, +`seo_title` text NOT NULL, +`meta` text NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_category_products` ( +`product_id` int(10) unsigned NOT NULL, +`category_id` int(10) unsigned NOT NULL, +`sequence` int(10) unsigned NOT NULL default '0', +PRIMARY KEY (`product_id`,`category_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_countries` ( +`id` int(11) NOT NULL auto_increment, +`sequence` int(11) NOT NULL default '0', +`name` varchar(128) collate utf8_bin NOT NULL, +`iso_code_2` varchar(2) collate utf8_bin NOT NULL default '', +`iso_code_3` varchar(3) collate utf8_bin NOT NULL default '', +`address_format` text character set utf8 NOT NULL, +`postcode_required` int(1) NOT NULL default '0', +`status` int(1) NOT NULL default '1', +`tax` float(10,5) NOT NULL default '0.00000', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- new query + +INSERT INTO `prefix_countries` VALUES ('1', '3', 'Afghanistan', 'AF', 'AFG', '', '0', '1', '0.00000'), ('2', '4', 'Albania', 'AL', 'ALB', '', '0', '1', '0.00000'), ('3', '5', 'Algeria', 'DZ', 'DZA', '', '1', '1', '0.00000'), ('4', '6', 'American Samoa', 'AS', 'ASM', '', '0', '1', '0.00000'), ('5', '7', 'Andorra', 'AD', 'AND', '', '0', '1', '0.00000'), ('6', '8', 'Angola', 'AO', 'AGO', '', '0', '1', '0.00000'), ('7', '9', 'Anguilla', 'AI', 'AIA', '', '0', '1', '0.00000'), ('8', '10', 'Antarctica', 'AQ', 'ATA', '', '1', '1', '0.00000'), ('9', '11', 'Antigua and Barbuda', 'AG', 'ATG', '', '0', '1', '0.00000'), ('10', '12', 'Argentina', 'AR', 'ARG', '', '1', '1', '0.00000'), ('11', '13', 'Armenia', 'AM', 'ARM', '', '1', '1', '0.00000'), ('12', '14', 'Aruba', 'AW', 'ABW', '', '0', '1', '0.00000'), ('13', '15', 'Australia', 'AU', 'AUS', '', '1', '1', '0.00000'), ('14', '16', 'Austria', 'AT', 'AUT', '', '1', '1', '0.00000'), ('15', '17', 'Azerbaijan', 'AZ', 'AZE', '', '1', '1', '0.00000'), ('16', '18', 'Bahamas', 'BS', 'BHS', '', '0', '1', '0.00000'), ('17', '19', 'Bahrain', 'BH', 'BHR', '', '0', '1', '0.00000'), ('18', '20', 'Bangladesh', 'BD', 'BGD', '', '1', '1', '0.00000'), ('19', '21', 'Barbados', 'BB', 'BRB', '', '0', '1', '0.00000'), ('20', '22', 'Belarus', 'BY', 'BLR', '', '1', '1', '0.00000'), ('21', '23', 'Belgium', 'BE', 'BEL', '', '1', '1', '0.00000'), ('22', '24', 'Belize', 'BZ', 'BLZ', '', '0', '1', '0.00000'), ('23', '25', 'Benin', 'BJ', 'BEN', '', '0', '1', '0.00000'), ('24', '26', 'Bermuda', 'BM', 'BMU', '', '0', '1', '0.00000'), ('25', '27', 'Bhutan', 'BT', 'BTN', '', '0', '1', '0.00000'), ('26', '28', 'Bolivia', 'BO', 'BOL', '', '0', '1', '0.00000'), ('27', '29', 'Bosnia and Herzegowina', 'BA', 'BIH', '', '1', '1', '0.00000'), ('28', '30', 'Botswana', 'BW', 'BWA', '', '0', '1', '0.00000'), ('29', '31', 'Bouvet Island', 'BV', 'BVT', '', '1', '1', '0.00000'), ('30', '32', 'Brazil', 'BR', 'BRA', '', '1', '1', '0.00000'), ('31', '33', 'British Indian Ocean Territory', 'IO', 'IOT', '', '1', '1', '0.00000'), ('32', '34', 'Brunei Darussalam', 'BN', 'BRN', '', '0', '1', '0.00000'), ('33', '35', 'Bulgaria', 'BG', 'BGR', '', '1', '1', '0.00000'), ('34', '36', 'Burkina Faso', 'BF', 'BFA', '', '0', '1', '0.00000'), ('35', '37', 'Burundi', 'BI', 'BDI', '', '0', '1', '0.00000'), ('36', '38', 'Cambodia', 'KH', 'KHM', '', '0', '1', '0.00000'), ('37', '39', 'Cameroon', 'CM', 'CMR', '', '0', '1', '0.00000'), ('38', '1', 'Canada', 'CA', 'CAN', '', '1', '1', '0.00000'), ('39', '40', 'Cape Verde', 'CV', 'CPV', '', '0', '1', '0.00000'), ('40', '41', 'Cayman Islands', 'KY', 'CYM', '', '0', '1', '0.00000'), ('41', '42', 'Central African Republic', 'CF', 'CAF', '', '0', '1', '0.00000'), ('42', '43', 'Chad', 'TD', 'TCD', '', '0', '1', '0.00000'), ('43', '44', 'Chile', 'CL', 'CHL', '', '0', '1', '0.00000'), ('44', '45', 'China', 'CN', 'CHN', '', '1', '1', '0.00000'), ('45', '46', 'Christmas Island', 'CX', 'CXR', '', '1', '1', '0.00000'), ('46', '47', 'Cocos (Keeling) Islands', 'CC', 'CCK', '', '1', '1', '0.00000'), ('47', '48', 'Colombia', 'CO', 'COL', '', '0', '1', '0.00000'), ('48', '49', 'Comoros', 'KM', 'COM', '', '1', '1', '0.00000'), ('49', '50', 'Congo', 'CG', 'COG', '', '0', '1', '0.00000'), ('50', '51', 'Cook Islands', 'CK', 'COK', '', '0', '1', '0.00000'), ('51', '52', 'Costa Rica', 'CR', 'CRI', '', '0', '1', '0.00000'), ('52', '53', 'Cote D\'Ivoire', 'CI', 'CIV', '', '1', '1', '0.00000'), ('53', '54', 'Croatia', 'HR', 'HRV', '', '1', '1', '0.00000'), ('54', '55', 'Cuba', 'CU', 'CUB', '', '1', '1', '0.00000'), ('55', '56', 'Cyprus', 'CY', 'CYP', '', '1', '1', '0.00000'), ('56', '57', 'Czech Republic', 'CZ', 'CZE', '', '1', '1', '0.00000'), ('57', '58', 'Denmark', 'DK', 'DNK', '', '1', '1', '0.00000'), ('58', '59', 'Djibouti', 'DJ', 'DJI', '', '0', '1', '0.00000'), ('59', '60', 'Dominica', 'DM', 'DMA', '', '0', '1', '0.00000'), ('60', '61', 'Dominican Republic', 'DO', 'DOM', '', '0', '1', '0.00000'), ('61', '62', 'East Timor', 'TP', 'TMP', '', '1', '1', '0.00000'), ('62', '63', 'Ecuador', 'EC', 'ECU', '', '0', '1', '0.00000'), ('63', '64', 'Egypt', 'EG', 'EGY', '', '0', '1', '0.00000'), ('64', '65', 'El Salvador', 'SV', 'SLV', '', '0', '1', '0.00000'), ('65', '66', 'Equatorial Guinea', 'GQ', 'GNQ', '', '0', '1', '0.00000'), ('66', '67', 'Eritrea', 'ER', 'ERI', '', '0', '1', '0.00000'), ('67', '68', 'Estonia', 'EE', 'EST', '', '1', '1', '0.00000'), ('68', '69', 'Ethiopia', 'ET', 'ETH', '', '0', '1', '0.00000'), ('69', '70', 'Falkland Islands (Malvinas)', 'FK', 'FLK', '', '1', '1', '0.00000'), ('70', '71', 'Faroe Islands', 'FO', 'FRO', '', '1', '1', '0.00000'), ('71', '72', 'Fiji', 'FJ', 'FJI', '', '0', '1', '0.00000'), ('72', '73', 'Finland', 'FI', 'FIN', '', '1', '1', '0.00000'), ('73', '74', 'France', 'FR', 'FRA', '', '1', '1', '0.00000'), ('74', '75', 'France, Metropolitan', 'FX', 'FXX', '', '1', '1', '0.00000'), ('75', '76', 'French Guiana', 'GF', 'GUF', '', '0', '1', '0.00000'), ('76', '77', 'French Polynesia', 'PF', 'PYF', '', '0', '1', '0.00000'), ('77', '78', 'French Southern Territories', 'TF', 'ATF', '', '1', '1', '0.00000'), ('78', '79', 'Gabon', 'GA', 'GAB', '', '0', '1', '0.00000'), ('79', '80', 'Gambia', 'GM', 'GMB', '', '0', '1', '0.00000'), ('80', '81', 'Georgia', 'GE', 'GEO', '', '1', '1', '0.00000'), ('81', '82', 'Germany', 'DE', 'DEU', '', '1', '1', '0.00000'), ('82', '83', 'Ghana', 'GH', 'GHA', '', '0', '1', '0.00000'), ('83', '84', 'Gibraltar', 'GI', 'GIB', '', '0', '1', '0.00000'), ('84', '85', 'Greece', 'GR', 'GRC', '', '1', '1', '0.00000'), ('85', '86', 'Greenland', 'GL', 'GRL', '', '1', '1', '0.00000'), ('86', '87', 'Grenada', 'GD', 'GRD', '', '0', '1', '0.00000'), ('87', '88', 'Guadeloupe', 'GP', 'GLP', '', '0', '1', '0.00000'), ('88', '89', 'Guam', 'GU', 'GUM', '', '0', '1', '0.00000'), ('89', '90', 'Guatemala', 'GT', 'GTM', '', '0', '1', '0.00000'), ('90', '91', 'Guinea', 'GN', 'GIN', '', '0', '1', '0.00000'), ('91', '92', 'Guinea-bissau', 'GW', 'GNB', '', '0', '1', '0.00000'), ('92', '93', 'Guyana', 'GY', 'GUY', '', '0', '1', '0.00000'), ('93', '94', 'Haiti', 'HT', 'HTI', '', '0', '1', '0.00000'), ('94', '95', 'Heard and Mc Donald Islands', 'HM', 'HMD', '', '1', '1', '0.00000'), ('95', '96', 'Honduras', 'HN', 'HND', '', '0', '1', '0.00000'), ('96', '97', 'Hong Kong', 'HK', 'HKG', '', '0', '1', '0.00000'), ('97', '98', 'Hungary', 'HU', 'HUN', '', '1', '1', '0.00000'), ('98', '99', 'Iceland', 'IS', 'ISL', '', '1', '1', '0.00000'), ('99', '100', 'India', 'IN', 'IND', '', '1', '1', '0.00000'), ('100', '101', 'Indonesia', 'ID', 'IDN', '', '1', '1', '0.00000'), ('101', '102', 'Iran (Islamic Republic of)', 'IR', 'IRN', '', '1', '1', '0.00000'), ('102', '103', 'Iraq', 'IQ', 'IRQ', '', '0', '1', '0.00000'), ('103', '104', 'Ireland', 'IE', 'IRL', '', '0', '1', '0.00000'), ('104', '105', 'Israel', 'IL', 'ISR', '', '1', '1', '0.00000'), ('105', '106', 'Italy', 'IT', 'ITA', '', '1', '1', '0.00000'), ('106', '107', 'Jamaica', 'JM', 'JAM', '', '0', '1', '0.00000'), ('107', '108', 'Japan', 'JP', 'JPN', '', '1', '1', '0.00000'), ('108', '109', 'Jordan', 'JO', 'JOR', '', '0', '1', '0.00000'), ('109', '110', 'Kazakhstan', 'KZ', 'KAZ', '', '1', '1', '0.00000'), ('110', '111', 'Kenya', 'KE', 'KEN', '', '0', '1', '0.00000'), ('111', '112', 'Kiribati', 'KI', 'KIR', '', '0', '1', '0.00000'), ('112', '113', 'North Korea', 'KP', 'PRK', '', '1', '1', '0.00000'), ('113', '114', 'Korea, Republic of', 'KR', 'KOR', '', '1', '1', '0.00000'), ('114', '115', 'Kuwait', 'KW', 'KWT', '', '0', '1', '0.00000'), ('115', '116', 'Kyrgyzstan', 'KG', 'KGZ', '', '1', '1', '0.00000'), ('116', '117', 'Lao People\'s Democratic Republic', 'LA', 'LAO', '', '0', '1', '0.00000'), ('117', '118', 'Latvia', 'LV', 'LVA', '', '1', '1', '0.00000'), ('118', '119', 'Lebanon', 'LB', 'LBN', '', '0', '1', '0.00000'), ('119', '120', 'Lesotho', 'LS', 'LSO', '', '0', '1', '0.00000'), ('120', '121', 'Liberia', 'LR', 'LBR', '', '0', '1', '0.00000'), ('121', '122', 'Libyan Arab Jamahiriya', 'LY', 'LBY', '', '1', '1', '0.00000'), ('122', '123', 'Liechtenstein', 'LI', 'LIE', '', '1', '1', '0.00000'), ('123', '124', 'Lithuania', 'LT', 'LTU', '', '1', '1', '0.00000'), ('124', '125', 'Luxembourg', 'LU', 'LUX', '', '1', '1', '0.00000'), ('125', '126', 'Macau', 'MO', 'MAC', '', '0', '1', '0.00000'), ('126', '127', 'Macedonia', 'MK', 'MKD', '', '1', '1', '0.00000'), ('127', '128', 'Madagascar', 'MG', 'MDG', '', '0', '1', '0.00000'), ('128', '129', 'Malawi', 'MW', 'MWI', '', '1', '1', '0.00000'), ('129', '130', 'Malaysia', 'MY', 'MYS', '', '1', '1', '0.00000'), ('130', '131', 'Maldives', 'MV', 'MDV', '', '0', '1', '0.00000'), ('131', '132', 'Mali', 'ML', 'MLI', '', '0', '1', '0.00000'), ('132', '133', 'Malta', 'MT', 'MLT', '', '0', '1', '0.00000'), ('133', '134', 'Marshall Islands', 'MH', 'MHL', '', '1', '1', '0.00000'), ('134', '135', 'Martinique', 'MQ', 'MTQ', '', '1', '1', '0.00000'), ('135', '136', 'Mauritania', 'MR', 'MRT', '', '0', '1', '0.00000'), ('136', '137', 'Mauritius', 'MU', 'MUS', '', '0', '1', '0.00000'), ('137', '138', 'Mayotte', 'YT', 'MYT', '', '1', '1', '0.00000'), ('138', '139', 'Mexico', 'MX', 'MEX', '', '1', '1', '0.00000'), ('139', '140', 'Micronesia, Federated States of', 'FM', 'FSM', '', '1', '1', '0.00000'), ('140', '141', 'Moldova, Republic of', 'MD', 'MDA', '', '1', '1', '0.00000'), ('141', '142', 'Monaco', 'MC', 'MCO', '', '1', '1', '0.00000'), ('142', '143', 'Mongolia', 'MN', 'MNG', '', '1', '1', '0.00000'), ('143', '144', 'Montserrat', 'MS', 'MSR', '', '0', '1', '0.00000'), ('144', '145', 'Morocco', 'MA', 'MAR', '', '0', '1', '0.00000'), ('145', '146', 'Mozambique', 'MZ', 'MOZ', '', '0', '1', '0.00000'), ('146', '147', 'Myanmar', 'MM', 'MMR', '', '1', '1', '0.00000'), ('147', '148', 'Namibia', 'NA', 'NAM', '', '0', '1', '0.00000'), ('148', '149', 'Nauru', 'NR', 'NRU', '', '1', '1', '0.00000'), ('149', '150', 'Nepal', 'NP', 'NPL', '', '0', '1', '0.00000'), ('150', '151', 'Netherlands', 'NL', 'NLD', '', '1', '1', '0.00000'), ('151', '152', 'Netherlands Antilles', 'AN', 'ANT', '', '0', '1', '0.00000'), ('152', '153', 'New Caledonia', 'NC', 'NCL', '', '0', '1', '0.00000'), ('153', '154', 'New Zealand', 'NZ', 'NZL', '', '1', '1', '0.00000'), ('154', '155', 'Nicaragua', 'NI', 'NIC', '', '0', '1', '0.00000'), ('155', '156', 'Niger', 'NE', 'NER', '', '0', '1', '0.00000'), ('156', '157', 'Nigeria', 'NG', 'NGA', '', '0', '1', '0.00000'), ('157', '158', 'Niue', 'NU', 'NIU', '', '1', '1', '0.00000'), ('158', '159', 'Norfolk Island', 'NF', 'NFK', '', '0', '1', '0.00000'), ('159', '160', 'Northern Mariana Islands', 'MP', 'MNP', '', '0', '1', '0.00000'), ('160', '161', 'Norway', 'NO', 'NOR', '', '1', '1', '0.00000'), ('161', '162', 'Oman', 'OM', 'OMN', '', '0', '1', '0.00000'), ('162', '163', 'Pakistan', 'PK', 'PAK', '', '1', '1', '0.00000'), ('163', '164', 'Palau', 'PW', 'PLW', '', '1', '1', '0.00000'), ('164', '165', 'Panama', 'PA', 'PAN', '', '0', '1', '0.00000'), ('165', '166', 'Papua New Guinea', 'PG', 'PNG', '', '0', '1', '0.00000'), ('166', '167', 'Paraguay', 'PY', 'PRY', '', '0', '1', '0.00000'), ('167', '168', 'Peru', 'PE', 'PER', '', '0', '1', '0.00000'), ('168', '169', 'Philippines', 'PH', 'PHL', '', '1', '1', '0.00000'), ('169', '170', 'Pitcairn', 'PN', 'PCN', '', '1', '1', '0.00000'), ('170', '171', 'Poland', 'PL', 'POL', '', '1', '1', '0.00000'), ('171', '172', 'Portugal', 'PT', 'PRT', '', '1', '1', '0.00000'), ('172', '173', 'Puerto Rico', 'PR', 'PRI', '', '1', '1', '0.00000'), ('173', '174', 'Qatar', 'QA', 'QAT', '', '0', '1', '0.00000'), ('174', '175', 'Reunion', 'RE', 'REU', '', '1', '1', '0.00000'), ('175', '176', 'Romania', 'RO', 'ROM', '', '1', '1', '0.00000'), ('176', '177', 'Russian Federation', 'RU', 'RUS', '', '1', '1', '0.00000'), ('177', '178', 'Rwanda', 'RW', 'RWA', '', '0', '1', '0.00000'), ('178', '179', 'Saint Kitts and Nevis', 'KN', 'KNA', '', '1', '1', '0.00000'), ('179', '180', 'Saint Lucia', 'LC', 'LCA', '', '1', '1', '0.00000'), ('180', '181', 'Saint Vincent and the Grenadines', 'VC', 'VCT', '', '1', '1', '0.00000'), ('181', '182', 'Samoa', 'WS', 'WSM', '', '1', '1', '0.00000'), ('182', '183', 'San Marino', 'SM', 'SMR', '', '1', '1', '0.00000'), ('183', '184', 'Sao Tome and Principe', 'ST', 'STP', '', '1', '1', '0.00000'), ('184', '185', 'Saudi Arabia', 'SA', 'SAU', '', '1', '1', '0.00000'), ('185', '186', 'Senegal', 'SN', 'SEN', '', '0', '1', '0.00000'), ('186', '187', 'Seychelles', 'SC', 'SYC', '', '0', '1', '0.00000'), ('187', '188', 'Sierra Leone', 'SL', 'SLE', '', '0', '1', '0.00000'), ('188', '189', 'Singapore', 'SG', 'SGP', '', '1', '1', '0.00000'), ('189', '190', 'Slovak Republic', 'SK', 'SVK', '{firstname} {lastname}\r\n{company}\r\n{address_1}\n{address_2}\r\n{city} {postcode}\r\n{zone}\r\n{country}', '1', '1', '0.00000'), ('190', '191', 'Slovenia', 'SI', 'SVN', '', '1', '1', '0.00000'), ('191', '192', 'Solomon Islands', 'SB', 'SLB', '', '0', '1', '0.00000'), ('192', '193', 'Somalia', 'SO', 'SOM', '', '1', '1', '0.00000'), ('193', '194', 'South Africa', 'ZA', 'ZAF', '', '1', '1', '0.00000'), ('194', '195', 'South Georgia & South Sandwich Islands', 'GS', 'SGS', '', '1', '1', '0.00000'), ('195', '196', 'Spain', 'ES', 'ESP', '', '1', '1', '0.00000'), ('196', '197', 'Sri Lanka', 'LK', 'LKA', '', '1', '1', '0.00000'), ('197', '198', 'St. Helena', 'SH', 'SHN', '', '1', '1', '0.00000'), ('198', '199', 'St. Pierre and Miquelon', 'PM', 'SPM', '', '1', '1', '0.00000'), ('199', '200', 'Sudan', 'SD', 'SDN', '', '1', '1', '0.00000'), ('200', '201', 'Suriname', 'SR', 'SUR', '', '0', '1', '0.00000'), ('201', '202', 'Svalbard and Jan Mayen Islands', 'SJ', 'SJM', '', '1', '1', '0.00000'), ('202', '203', 'Swaziland', 'SZ', 'SWZ', '', '0', '1', '0.00000'), ('203', '204', 'Sweden', 'SE', 'SWE', '', '1', '1', '0.00000'), ('204', '205', 'Switzerland', 'CH', 'CHE', '', '1', '1', '0.00000'), ('205', '206', 'Syrian Arab Republic', 'SY', 'SYR', '', '0', '1', '0.00000'), ('206', '207', 'Taiwan', 'TW', 'TWN', '', '1', '1', '0.00000'), ('207', '208', 'Tajikistan', 'TJ', 'TJK', '', '1', '1', '0.00000'), ('208', '209', 'Tanzania, United Republic of', 'TZ', 'TZA', '', '0', '1', '0.00000'), ('209', '210', 'Thailand', 'TH', 'THA', '', '1', '1', '0.00000'), ('210', '211', 'Togo', 'TG', 'TGO', '', '0', '1', '0.00000'), ('211', '212', 'Tokelau', 'TK', 'TKL', '', '1', '1', '0.00000'), ('212', '213', 'Tonga', 'TO', 'TON', '', '0', '1', '0.00000'), ('213', '214', 'Trinidad and Tobago', 'TT', 'TTO', '', '0', '1', '0.00000'), ('214', '215', 'Tunisia', 'TN', 'TUN', '', '0', '1', '0.00000'), ('215', '216', 'Turkey', 'TR', 'TUR', '', '1', '1', '0.00000'), ('216', '217', 'Turkmenistan', 'TM', 'TKM', '', '1', '1', '0.00000'), ('217', '218', 'Turks and Caicos Islands', 'TC', 'TCA', '', '0', '1', '0.00000'), ('218', '219', 'Tuvalu', 'TV', 'TUV', '', '0', '1', '0.00000'), ('219', '220', 'Uganda', 'UG', 'UGA', '', '0', '1', '0.00000'), ('220', '221', 'Ukraine', 'UA', 'UKR', '', '1', '1', '0.00000'), ('221', '222', 'United Arab Emirates', 'AE', 'ARE', '', '0', '1', '0.00000'), ('222', '2', 'United Kingdom', 'GB', 'GBR', '', '1', '1', '0.00000'), ('223', '0', 'United States', 'US', 'USA', '{firstname} {lastname}\n{company}\n{address_1}\n{address_2}\n{city}, {zone} {postcode}\n{country}', '1', '1', '0.00000'), ('224', '223', 'United States Minor Outlying Islands', 'UM', 'UMI', '', '1', '1', '0.00000'), ('225', '224', 'Uruguay', 'UY', 'URY', '', '1', '1', '0.00000'), ('226', '225', 'Uzbekistan', 'UZ', 'UZB', '', '1', '1', '0.00000'), ('227', '226', 'Vanuatu', 'VU', 'VUT', '', '0', '1', '0.00000'), ('228', '227', 'Vatican City State (Holy See)', 'VA', 'VAT', '', '1', '1', '0.00000'), ('229', '228', 'Venezuela', 'VE', 'VEN', '', '0', '1', '0.00000'), ('230', '229', 'Viet Nam', 'VN', 'VNM', '', '1', '1', '0.00000'), ('231', '230', 'Virgin Islands (British)', 'VG', 'VGB', '', '0', '1', '0.00000'), ('232', '231', 'Virgin Islands (U.S.)', 'VI', 'VIR', '', '1', '1', '0.00000'), ('233', '232', 'Wallis and Futuna Islands', 'WF', 'WLF', '', '0', '1', '0.00000'), ('234', '233', 'Western Sahara', 'EH', 'ESH', '', '1', '1', '0.00000'), ('235', '234', 'Yemen', 'YE', 'YEM', '', '0', '1', '0.00000'), ('236', '235', 'Yugoslavia', 'YU', 'YUG', '', '1', '1', '0.00000'), ('237', '236', 'Democratic Republic of Congo', 'CD', 'COD', '', '1', '1', '0.00000'), ('238', '237', 'Zambia', 'ZM', 'ZMB', '', '0', '1', '0.00000'), ('239', '238', 'Zimbabwe', 'ZW', 'ZWE', '', '0', '1', '0.00000'); + +-- new query + +CREATE TABLE `prefix_country_zone_areas` ( +`id` int(11) NOT NULL auto_increment, +`zone_id` int(11) NOT NULL, +`code` varchar(15) NOT NULL, +`tax` float(10,5) NOT NULL default '0.00000', +PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_country_zones` ( +`id` int(11) NOT NULL auto_increment, +`country_id` int(11) NOT NULL, +`code` varchar(32) collate utf8_bin NOT NULL default '', +`name` varchar(128) collate utf8_bin NOT NULL, +`status` int(1) NOT NULL default '1', +`tax` float(10,5) NOT NULL default '0.00000', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- new query + +INSERT INTO `prefix_country_zones` VALUES ('1', '1', 'BDS', 'Badakhshan', '1', '0.00000'), ('2', '1', 'BDG', 'Badghis', '1', '0.00000'), ('3', '1', 'BGL', 'Baghlan', '1', '0.00000'), ('4', '1', 'BAL', 'Balkh', '1', '0.00000'), ('5', '1', 'BAM', 'Bamian', '1', '0.00000'), ('6', '1', 'FRA', 'Farah', '1', '0.00000'), ('7', '1', 'FYB', 'Faryab', '1', '0.00000'), ('8', '1', 'GHA', 'Ghazni', '1', '0.00000'), ('9', '1', 'GHO', 'Ghowr', '1', '0.00000'), ('10', '1', 'HEL', 'Helmand', '1', '0.00000'), ('11', '1', 'HER', 'Herat', '1', '0.00000'), ('12', '1', 'JOW', 'Jowzjan', '1', '0.00000'), ('13', '1', 'KAB', 'Kabul', '1', '0.00000'), ('14', '1', 'KAN', 'Kandahar', '1', '0.00000'), ('15', '1', 'KAP', 'Kapisa', '1', '0.00000'), ('16', '1', 'KHO', 'Khost', '1', '0.00000'), ('17', '1', 'KNR', 'Konar', '1', '0.00000'), ('18', '1', 'KDZ', 'Kondoz', '1', '0.00000'), ('19', '1', 'LAG', 'Laghman', '1', '0.00000'), ('20', '1', 'LOW', 'Lowgar', '1', '0.00000'), ('21', '1', 'NAN', 'Nangrahar', '1', '0.00000'), ('22', '1', 'NIM', 'Nimruz', '1', '0.00000'), ('23', '1', 'NUR', 'Nurestan', '1', '0.00000'), ('24', '1', 'ORU', 'Oruzgan', '1', '0.00000'), ('25', '1', 'PIA', 'Paktia', '1', '0.00000'), ('26', '1', 'PKA', 'Paktika', '1', '0.00000'), ('27', '1', 'PAR', 'Parwan', '1', '0.00000'), ('28', '1', 'SAM', 'Samangan', '1', '0.00000'), ('29', '1', 'SAR', 'Sar-e Pol', '1', '0.00000'), ('30', '1', 'TAK', 'Takhar', '1', '0.00000'), ('31', '1', 'WAR', 'Wardak', '1', '0.00000'), ('32', '1', 'ZAB', 'Zabol', '1', '0.00000'), ('33', '2', 'BR', 'Berat', '1', '0.00000'), ('34', '2', 'BU', 'Bulqize', '1', '0.00000'), ('35', '2', 'DL', 'Delvine', '1', '0.00000'), ('36', '2', 'DV', 'Devoll', '1', '0.00000'), ('37', '2', 'DI', 'Diber', '1', '0.00000'), ('38', '2', 'DR', 'Durres', '1', '0.00000'), ('39', '2', 'EL', 'Elbasan', '1', '0.00000'), ('40', '2', 'ER', 'Kolonje', '1', '0.00000'), ('41', '2', 'FR', 'Fier', '1', '0.00000'), ('42', '2', 'GJ', 'Gjirokaster', '1', '0.00000'), ('43', '2', 'GR', 'Gramsh', '1', '0.00000'), ('44', '2', 'HA', 'Has', '1', '0.00000'), ('45', '2', 'KA', 'Kavaje', '1', '0.00000'), ('46', '2', 'KB', 'Kurbin', '1', '0.00000'), ('47', '2', 'KC', 'Kucove', '1', '0.00000'), ('48', '2', 'KO', 'Korce', '1', '0.00000'), ('49', '2', 'KR', 'Kruje', '1', '0.00000'), ('50', '2', 'KU', 'Kukes', '1', '0.00000'), ('51', '2', 'LB', 'Librazhd', '1', '0.00000'), ('52', '2', 'LE', 'Lezhe', '1', '0.00000'), ('53', '2', 'LU', 'Lushnje', '1', '0.00000'), ('54', '2', 'MM', 'Malesi e Madhe', '1', '0.00000'), ('55', '2', 'MK', 'Mallakaster', '1', '0.00000'), ('56', '2', 'MT', 'Mat', '1', '0.00000'), ('57', '2', 'MR', 'Mirdite', '1', '0.00000'), ('58', '2', 'PQ', 'Peqin', '1', '0.00000'), ('59', '2', 'PR', 'Permet', '1', '0.00000'), ('60', '2', 'PG', 'Pogradec', '1', '0.00000'), ('61', '2', 'PU', 'Puke', '1', '0.00000'), ('62', '2', 'SH', 'Shkoder', '1', '0.00000'), ('63', '2', 'SK', 'Skrapar', '1', '0.00000'), ('64', '2', 'SR', 'Sarande', '1', '0.00000'), ('65', '2', 'TE', 'Tepelene', '1', '0.00000'), ('66', '2', 'TP', 'Tropoje', '1', '0.00000'), ('67', '2', 'TR', 'Tirane', '1', '0.00000'), ('68', '2', 'VL', 'Vlore', '1', '0.00000'), ('69', '3', 'ADR', 'Adrar', '1', '0.00000'), ('70', '3', 'ADE', 'Ain Defla', '1', '0.00000'), ('71', '3', 'ATE', 'Ain Temouchent', '1', '0.00000'), ('72', '3', 'ALG', 'Alger', '1', '0.00000'), ('73', '3', 'ANN', 'Annaba', '1', '0.00000'), ('74', '3', 'BAT', 'Batna', '1', '0.00000'), ('75', '3', 'BEC', 'Bechar', '1', '0.00000'), ('76', '3', 'BEJ', 'Bejaia', '1', '0.00000'), ('77', '3', 'BIS', 'Biskra', '1', '0.00000'), ('78', '3', 'BLI', 'Blida', '1', '0.00000'), ('79', '3', 'BBA', 'Bordj Bou Arreridj', '1', '0.00000'), ('80', '3', 'BOA', 'Bouira', '1', '0.00000'), ('81', '3', 'BMD', 'Boumerdes', '1', '0.00000'), ('82', '3', 'CHL', 'Chlef', '1', '0.00000'), ('83', '3', 'CON', 'Constantine', '1', '0.00000'), ('84', '3', 'DJE', 'Djelfa', '1', '0.00000'), ('85', '3', 'EBA', 'El Bayadh', '1', '0.00000'), ('86', '3', 'EOU', 'El Oued', '1', '0.00000'), ('87', '3', 'ETA', 'El Tarf', '1', '0.00000'), ('88', '3', 'GHA', 'Ghardaia', '1', '0.00000'), ('89', '3', 'GUE', 'Guelma', '1', '0.00000'), ('90', '3', 'ILL', 'Illizi', '1', '0.00000'), ('91', '3', 'JIJ', 'Jijel', '1', '0.00000'), ('92', '3', 'KHE', 'Khenchela', '1', '0.00000'), ('93', '3', 'LAG', 'Laghouat', '1', '0.00000'), ('94', '3', 'MUA', 'Muaskar', '1', '0.00000'), ('95', '3', 'MED', 'Medea', '1', '0.00000'), ('96', '3', 'MIL', 'Mila', '1', '0.00000'), ('97', '3', 'MOS', 'Mostaganem', '1', '0.00000'), ('98', '3', 'MSI', 'M\'Sila', '1', '0.00000'), ('99', '3', 'NAA', 'Naama', '1', '0.00000'), ('100', '3', 'ORA', 'Oran', '1', '0.00000'), ('101', '3', 'OUA', 'Ouargla', '1', '0.00000'), ('102', '3', 'OEB', 'Oum el-Bouaghi', '1', '0.00000'), ('103', '3', 'REL', 'Relizane', '1', '0.00000'), ('104', '3', 'SAI', 'Saida', '1', '0.00000'), ('105', '3', 'SET', 'Setif', '1', '0.00000'), ('106', '3', 'SBA', 'Sidi Bel Abbes', '1', '0.00000'), ('107', '3', 'SKI', 'Skikda', '1', '0.00000'), ('108', '3', 'SAH', 'Souk Ahras', '1', '0.00000'), ('109', '3', 'TAM', 'Tamanghasset', '1', '0.00000'), ('110', '3', 'TEB', 'Tebessa', '1', '0.00000'), ('111', '3', 'TIA', 'Tiaret', '1', '0.00000'), ('112', '3', 'TIN', 'Tindouf', '1', '0.00000'), ('113', '3', 'TIP', 'Tipaza', '1', '0.00000'), ('114', '3', 'TIS', 'Tissemsilt', '1', '0.00000'), ('115', '3', 'TOU', 'Tizi Ouzou', '1', '0.00000'), ('116', '3', 'TLE', 'Tlemcen', '1', '0.00000'), ('117', '4', 'E', 'Eastern', '1', '0.00000'), ('118', '4', 'M', 'Manu\'a', '1', '0.00000'), ('119', '4', 'R', 'Rose Island', '1', '0.00000'), ('120', '4', 'S', 'Swains Island', '1', '0.00000'), ('121', '4', 'W', 'Western', '1', '0.00000'), ('122', '5', 'ALV', 'Andorra la Vella', '1', '0.00000'), ('123', '5', 'CAN', 'Canillo', '1', '0.00000'), ('124', '5', 'ENC', 'Encamp', '1', '0.00000'), ('125', '5', 'ESE', 'Escaldes-Engordany', '1', '0.00000'), ('126', '5', 'LMA', 'La Massana', '1', '0.00000'), ('127', '5', 'ORD', 'Ordino', '1', '0.00000'), ('128', '5', 'SJL', 'Sant Julia de Loria', '1', '0.00000'), ('129', '6', 'BGO', 'Bengo', '1', '0.00000'), ('130', '6', 'BGU', 'Benguela', '1', '0.00000'), ('131', '6', 'BIE', 'Bie', '1', '0.00000'), ('132', '6', 'CAB', 'Cabinda', '1', '0.00000'), ('133', '6', 'CCU', 'Cuando-Cubango', '1', '0.00000'), ('134', '6', 'CNO', 'Cuanza Norte', '1', '0.00000'), ('135', '6', 'CUS', 'Cuanza Sul', '1', '0.00000'), ('136', '6', 'CNN', 'Cunene', '1', '0.00000'), ('137', '6', 'HUA', 'Huambo', '1', '0.00000'), ('138', '6', 'HUI', 'Huila', '1', '0.00000'), ('139', '6', 'LUA', 'Luanda', '1', '0.00000'), ('140', '6', 'LNO', 'Lunda Norte', '1', '0.00000'), ('141', '6', 'LSU', 'Lunda Sul', '1', '0.00000'), ('142', '6', 'MAL', 'Malange', '1', '0.00000'), ('143', '6', 'MOX', 'Moxico', '1', '0.00000'), ('144', '6', 'NAM', 'Namibe', '1', '0.00000'), ('145', '6', 'UIG', 'Uige', '1', '0.00000'), ('146', '6', 'ZAI', 'Zaire', '1', '0.00000'), ('147', '9', 'ASG', 'Saint George', '1', '0.00000'), ('148', '9', 'ASJ', 'Saint John', '1', '0.00000'), ('149', '9', 'ASM', 'Saint Mary', '1', '0.00000'), ('150', '9', 'ASL', 'Saint Paul', '1', '0.00000'), ('151', '9', 'ASR', 'Saint Peter', '1', '0.00000'), ('152', '9', 'ASH', 'Saint Philip', '1', '0.00000'), ('153', '9', 'BAR', 'Barbuda', '1', '0.00000'), ('154', '9', 'RED', 'Redonda', '1', '0.00000'), ('155', '10', 'AN', 'Antartida e Islas del Atlantico', '1', '0.00000'), ('156', '10', 'BA', 'Buenos Aires', '1', '0.00000'), ('157', '10', 'CA', 'Catamarca', '1', '0.00000'), ('158', '10', 'CH', 'Chaco', '1', '0.00000'), ('159', '10', 'CU', 'Chubut', '1', '0.00000'), ('160', '10', 'CO', 'Cordoba', '1', '0.00000'), ('161', '10', 'CR', 'Corrientes', '1', '0.00000'), ('162', '10', 'DF', 'Distrito Federal', '1', '0.00000'), ('163', '10', 'ER', 'Entre Rios', '1', '0.00000'), ('164', '10', 'FO', 'Formosa', '1', '0.00000'), ('165', '10', 'JU', 'Jujuy', '1', '0.00000'), ('166', '10', 'LP', 'La Pampa', '1', '0.00000'), ('167', '10', 'LR', 'La Rioja', '1', '0.00000'), ('168', '10', 'ME', 'Mendoza', '1', '0.00000'), ('169', '10', 'MI', 'Misiones', '1', '0.00000'), ('170', '10', 'NE', 'Neuquen', '1', '0.00000'), ('171', '10', 'RN', 'Rio Negro', '1', '0.00000'), ('172', '10', 'SA', 'Salta', '1', '0.00000'), ('173', '10', 'SJ', 'San Juan', '1', '0.00000'), ('174', '10', 'SL', 'San Luis', '1', '0.00000'), ('175', '10', 'SC', 'Santa Cruz', '1', '0.00000'), ('176', '10', 'SF', 'Santa Fe', '1', '0.00000'), ('177', '10', 'SD', 'Santiago del Estero', '1', '0.00000'), ('178', '10', 'TF', 'Tierra del Fuego', '1', '0.00000'), ('179', '10', 'TU', 'Tucuman', '1', '0.00000'), ('180', '11', 'AGT', 'Aragatsotn', '1', '0.00000'), ('181', '11', 'ARR', 'Ararat', '1', '0.00000'), ('182', '11', 'ARM', 'Armavir', '1', '0.00000'), ('183', '11', 'GEG', 'Geghark\'unik\'', '1', '0.00000'), ('184', '11', 'KOT', 'Kotayk\'', '1', '0.00000'), ('185', '11', 'LOR', 'Lorri', '1', '0.00000'), ('186', '11', 'SHI', 'Shirak', '1', '0.00000'), ('187', '11', 'SYU', 'Syunik\'', '1', '0.00000'), ('188', '11', 'TAV', 'Tavush', '1', '0.00000'), ('189', '11', 'VAY', 'Vayots\' Dzor', '1', '0.00000'), ('190', '11', 'YER', 'Yerevan', '1', '0.00000'), ('191', '13', 'ACT', 'Australian Capital Territory', '1', '0.00000'), ('192', '13', 'NSW', 'New South Wales', '1', '0.00000'), ('193', '13', 'NT', 'Northern Territory', '1', '0.00000'), ('194', '13', 'QLD', 'Queensland', '1', '0.00000'), ('195', '13', 'SA', 'South Australia', '1', '0.00000'), ('196', '13', 'TAS', 'Tasmania', '1', '0.00000'), ('197', '13', 'VIC', 'Victoria', '1', '0.00000'), ('198', '13', 'WA', 'Western Australia', '1', '0.00000'), ('199', '14', 'BUR', 'Burgenland', '1', '0.00000'), ('200', '14', 'KAR', 'Kärnten', '1', '0.00000'), ('201', '14', 'NOS', 'Niederösterreich', '1', '0.00000'), ('202', '14', 'OOS', 'Oberösterreich', '1', '0.00000'), ('203', '14', 'SAL', 'Salzburg', '1', '0.00000'), ('204', '14', 'STE', 'Steiermark', '1', '0.00000'), ('205', '14', 'TIR', 'Tirol', '1', '0.00000'), ('206', '14', 'VOR', 'Vorarlberg', '1', '0.00000'), ('207', '14', 'WIE', 'Wien', '1', '0.00000'), ('208', '15', 'AB', 'Ali Bayramli', '1', '0.00000'), ('209', '15', 'ABS', 'Abseron', '1', '0.00000'), ('210', '15', 'AGC', 'AgcabAdi', '1', '0.00000'), ('211', '15', 'AGM', 'Agdam', '1', '0.00000'), ('212', '15', 'AGS', 'Agdas', '1', '0.00000'), ('213', '15', 'AGA', 'Agstafa', '1', '0.00000'), ('214', '15', 'AGU', 'Agsu', '1', '0.00000'), ('215', '15', 'AST', 'Astara', '1', '0.00000'), ('216', '15', 'BA', 'Baki', '1', '0.00000'), ('217', '15', 'BAB', 'BabAk', '1', '0.00000'), ('218', '15', 'BAL', 'BalakAn', '1', '0.00000'), ('219', '15', 'BAR', 'BArdA', '1', '0.00000'), ('220', '15', 'BEY', 'Beylaqan', '1', '0.00000'), ('221', '15', 'BIL', 'Bilasuvar', '1', '0.00000'), ('222', '15', 'CAB', 'Cabrayil', '1', '0.00000'), ('223', '15', 'CAL', 'Calilabab', '1', '0.00000'), ('224', '15', 'CUL', 'Culfa', '1', '0.00000'), ('225', '15', 'DAS', 'Daskasan', '1', '0.00000'), ('226', '15', 'DAV', 'Davaci', '1', '0.00000'), ('227', '15', 'FUZ', 'Fuzuli', '1', '0.00000'), ('228', '15', 'GA', 'Ganca', '1', '0.00000'), ('229', '15', 'GAD', 'Gadabay', '1', '0.00000'), ('230', '15', 'GOR', 'Goranboy', '1', '0.00000'), ('231', '15', 'GOY', 'Goycay', '1', '0.00000'), ('232', '15', 'HAC', 'Haciqabul', '1', '0.00000'), ('233', '15', 'IMI', 'Imisli', '1', '0.00000'), ('234', '15', 'ISM', 'Ismayilli', '1', '0.00000'), ('235', '15', 'KAL', 'Kalbacar', '1', '0.00000'), ('236', '15', 'KUR', 'Kurdamir', '1', '0.00000'), ('237', '15', 'LA', 'Lankaran', '1', '0.00000'), ('238', '15', 'LAC', 'Lacin', '1', '0.00000'), ('239', '15', 'LAN', 'Lankaran', '1', '0.00000'), ('240', '15', 'LER', 'Lerik', '1', '0.00000'), ('241', '15', 'MAS', 'Masalli', '1', '0.00000'), ('242', '15', 'MI', 'Mingacevir', '1', '0.00000'), ('243', '15', 'NA', 'Naftalan', '1', '0.00000'), ('244', '15', 'NEF', 'Neftcala', '1', '0.00000'), ('245', '15', 'OGU', 'Oguz', '1', '0.00000'), ('246', '15', 'ORD', 'Ordubad', '1', '0.00000'), ('247', '15', 'QAB', 'Qabala', '1', '0.00000'), ('248', '15', 'QAX', 'Qax', '1', '0.00000'), ('249', '15', 'QAZ', 'Qazax', '1', '0.00000'), ('250', '15', 'QOB', 'Qobustan', '1', '0.00000'), ('251', '15', 'QBA', 'Quba', '1', '0.00000'), ('252', '15', 'QBI', 'Qubadli', '1', '0.00000'), ('253', '15', 'QUS', 'Qusar', '1', '0.00000'), ('254', '15', 'SA', 'Saki', '1', '0.00000'), ('255', '15', 'SAT', 'Saatli', '1', '0.00000'), ('256', '15', 'SAB', 'Sabirabad', '1', '0.00000'), ('257', '15', 'SAD', 'Sadarak', '1', '0.00000'), ('258', '15', 'SAH', 'Sahbuz', '1', '0.00000'), ('259', '15', 'SAK', 'Saki', '1', '0.00000'), ('260', '15', 'SAL', 'Salyan', '1', '0.00000'), ('261', '15', 'SM', 'Sumqayit', '1', '0.00000'), ('262', '15', 'SMI', 'Samaxi', '1', '0.00000'), ('263', '15', 'SKR', 'Samkir', '1', '0.00000'), ('264', '15', 'SMX', 'Samux', '1', '0.00000'), ('265', '15', 'SAR', 'Sarur', '1', '0.00000'), ('266', '15', 'SIY', 'Siyazan', '1', '0.00000'), ('267', '15', 'SS', 'Susa', '1', '0.00000'), ('268', '15', 'SUS', 'Susa', '1', '0.00000'), ('269', '15', 'TAR', 'Tartar', '1', '0.00000'), ('270', '15', 'TOV', 'Tovuz', '1', '0.00000'), ('271', '15', 'UCA', 'Ucar', '1', '0.00000'), ('272', '15', 'XA', 'Xankandi', '1', '0.00000'), ('273', '15', 'XAC', 'Xacmaz', '1', '0.00000'), ('274', '15', 'XAN', 'Xanlar', '1', '0.00000'), ('275', '15', 'XIZ', 'Xizi', '1', '0.00000'), ('276', '15', 'XCI', 'Xocali', '1', '0.00000'), ('277', '15', 'XVD', 'Xocavand', '1', '0.00000'), ('278', '15', 'YAR', 'Yardimli', '1', '0.00000'), ('279', '15', 'YEV', 'Yevlax', '1', '0.00000'), ('280', '15', 'ZAN', 'Zangilan', '1', '0.00000'), ('281', '15', 'ZAQ', 'Zaqatala', '1', '0.00000'), ('282', '15', 'ZAR', 'Zardab', '1', '0.00000'), ('283', '15', 'NX', 'Naxcivan', '1', '0.00000'), ('284', '16', 'ACK', 'Acklins', '1', '0.00000'), ('285', '16', 'BER', 'Berry Islands', '1', '0.00000'), ('286', '16', 'BIM', 'Bimini', '1', '0.00000'), ('287', '16', 'BLK', 'Black Point', '1', '0.00000'), ('288', '16', 'CAT', 'Cat Island', '1', '0.00000'), ('289', '16', 'CAB', 'Central Abaco', '1', '0.00000'), ('290', '16', 'CAN', 'Central Andros', '1', '0.00000'), ('291', '16', 'CEL', 'Central Eleuthera', '1', '0.00000'), ('292', '16', 'FRE', 'City of Freeport', '1', '0.00000'), ('293', '16', 'CRO', 'Crooked Island', '1', '0.00000'), ('294', '16', 'EGB', 'East Grand Bahama', '1', '0.00000'), ('295', '16', 'EXU', 'Exuma', '1', '0.00000'), ('296', '16', 'GRD', 'Grand Cay', '1', '0.00000'), ('297', '16', 'HAR', 'Harbour Island', '1', '0.00000'), ('298', '16', 'HOP', 'Hope Town', '1', '0.00000'), ('299', '16', 'INA', 'Inagua', '1', '0.00000'), ('300', '16', 'LNG', 'Long Island', '1', '0.00000'), ('301', '16', 'MAN', 'Mangrove Cay', '1', '0.00000'), ('302', '16', 'MAY', 'Mayaguana', '1', '0.00000'), ('303', '16', 'MOO', 'Moore\'s Island', '1', '0.00000'), ('304', '16', 'NAB', 'North Abaco', '1', '0.00000'), ('305', '16', 'NAN', 'North Andros', '1', '0.00000'), ('306', '16', 'NEL', 'North Eleuthera', '1', '0.00000'), ('307', '16', 'RAG', 'Ragged Island', '1', '0.00000'), ('308', '16', 'RUM', 'Rum Cay', '1', '0.00000'), ('309', '16', 'SAL', 'San Salvador', '1', '0.00000'), ('310', '16', 'SAB', 'South Abaco', '1', '0.00000'), ('311', '16', 'SAN', 'South Andros', '1', '0.00000'), ('312', '16', 'SEL', 'South Eleuthera', '1', '0.00000'), ('313', '16', 'SWE', 'Spanish Wells', '1', '0.00000'), ('314', '16', 'WGB', 'West Grand Bahama', '1', '0.00000'), ('315', '17', 'CAP', 'Capital', '1', '0.00000'), ('316', '17', 'CEN', 'Central', '1', '0.00000'), ('317', '17', 'MUH', 'Muharraq', '1', '0.00000'), ('318', '17', 'NOR', 'Northern', '1', '0.00000'), ('319', '17', 'SOU', 'Southern', '1', '0.00000'), ('320', '18', 'BAR', 'Barisal', '1', '0.00000'), ('321', '18', 'CHI', 'Chittagong', '1', '0.00000'), ('322', '18', 'DHA', 'Dhaka', '1', '0.00000'), ('323', '18', 'KHU', 'Khulna', '1', '0.00000'), ('324', '18', 'RAJ', 'Rajshahi', '1', '0.00000'), ('325', '18', 'SYL', 'Sylhet', '1', '0.00000'), ('326', '19', 'CC', 'Christ Church', '1', '0.00000'), ('327', '19', 'AND', 'Saint Andrew', '1', '0.00000'), ('328', '19', 'GEO', 'Saint George', '1', '0.00000'), ('329', '19', 'JAM', 'Saint James', '1', '0.00000'), ('330', '19', 'JOH', 'Saint John', '1', '0.00000'), ('331', '19', 'JOS', 'Saint Joseph', '1', '0.00000'), ('332', '19', 'LUC', 'Saint Lucy', '1', '0.00000'), ('333', '19', 'MIC', 'Saint Michael', '1', '0.00000'), ('334', '19', 'PET', 'Saint Peter', '1', '0.00000'), ('335', '19', 'PHI', 'Saint Philip', '1', '0.00000'), ('336', '19', 'THO', 'Saint Thomas', '1', '0.00000'), ('337', '20', 'BR', 'Brestskaya (Brest)', '1', '0.00000'), ('338', '20', 'HO', 'Homyel\'skaya (Homyel\')', '1', '0.00000'), ('339', '20', 'HM', 'Horad Minsk', '1', '0.00000'), ('340', '20', 'HR', 'Hrodzyenskaya (Hrodna)', '1', '0.00000'), ('341', '20', 'MA', 'Mahilyowskaya (Mahilyow)', '1', '0.00000'), ('342', '20', 'MI', 'Minskaya', '1', '0.00000'), ('343', '20', 'VI', 'Vitsyebskaya (Vitsyebsk)', '1', '0.00000'), ('344', '21', 'VAN', 'Antwerpen', '1', '0.00000'), ('345', '21', 'WBR', 'Brabant Wallon', '1', '0.00000'), ('346', '21', 'WHT', 'Hainaut', '1', '0.00000'), ('347', '21', 'WLG', 'Liege', '1', '0.00000'), ('348', '21', 'VLI', 'Limburg', '1', '0.00000'), ('349', '21', 'WLX', 'Luxembourg', '1', '0.00000'), ('350', '21', 'WNA', 'Namur', '1', '0.00000'), ('351', '21', 'VOV', 'Oost-Vlaanderen', '1', '0.00000'), ('352', '21', 'VBR', 'Vlaams Brabant', '1', '0.00000'), ('353', '21', 'VWV', 'West-Vlaanderen', '1', '0.00000'), ('354', '22', 'BZ', 'Belize', '1', '0.00000'), ('355', '22', 'CY', 'Cayo', '1', '0.00000'), ('356', '22', 'CR', 'Corozal', '1', '0.00000'), ('357', '22', 'OW', 'Orange Walk', '1', '0.00000'), ('358', '22', 'SC', 'Stann Creek', '1', '0.00000'), ('359', '22', 'TO', 'Toledo', '1', '0.00000'), ('360', '23', 'AL', 'Alibori', '1', '0.00000'), ('361', '23', 'AK', 'Atakora', '1', '0.00000'), ('362', '23', 'AQ', 'Atlantique', '1', '0.00000'), ('363', '23', 'BO', 'Borgou', '1', '0.00000'), ('364', '23', 'CO', 'Collines', '1', '0.00000'), ('365', '23', 'DO', 'Donga', '1', '0.00000'), ('366', '23', 'KO', 'Kouffo', '1', '0.00000'), ('367', '23', 'LI', 'Littoral', '1', '0.00000'), ('368', '23', 'MO', 'Mono', '1', '0.00000'), ('369', '23', 'OU', 'Oueme', '1', '0.00000'), ('370', '23', 'PL', 'Plateau', '1', '0.00000'), ('371', '23', 'ZO', 'Zou', '1', '0.00000'), ('372', '24', 'DS', 'Devonshire', '1', '0.00000'), ('373', '24', 'HC', 'Hamilton City', '1', '0.00000'), ('374', '24', 'HA', 'Hamilton', '1', '0.00000'), ('375', '24', 'PG', 'Paget', '1', '0.00000'), ('376', '24', 'PB', 'Pembroke', '1', '0.00000'), ('377', '24', 'GC', 'Saint George City', '1', '0.00000'), ('378', '24', 'SG', 'Saint George\'s', '1', '0.00000'), ('379', '24', 'SA', 'Sandys', '1', '0.00000'), ('380', '24', 'SM', 'Smith\'s', '1', '0.00000'), ('381', '24', 'SH', 'Southampton', '1', '0.00000'), ('382', '24', 'WA', 'Warwick', '1', '0.00000'), ('383', '25', 'BUM', 'Bumthang', '1', '0.00000'), ('384', '25', 'CHU', 'Chukha', '1', '0.00000'), ('385', '25', 'DAG', 'Dagana', '1', '0.00000'), ('386', '25', 'GAS', 'Gasa', '1', '0.00000'), ('387', '25', 'HAA', 'Haa', '1', '0.00000'), ('388', '25', 'LHU', 'Lhuntse', '1', '0.00000'), ('389', '25', 'MON', 'Mongar', '1', '0.00000'), ('390', '25', 'PAR', 'Paro', '1', '0.00000'), ('391', '25', 'PEM', 'Pemagatshel', '1', '0.00000'), ('392', '25', 'PUN', 'Punakha', '1', '0.00000'), ('393', '25', 'SJO', 'Samdrup Jongkhar', '1', '0.00000'), ('394', '25', 'SAT', 'Samtse', '1', '0.00000'), ('395', '25', 'SAR', 'Sarpang', '1', '0.00000'), ('396', '25', 'THI', 'Thimphu', '1', '0.00000'), ('397', '25', 'TRG', 'Trashigang', '1', '0.00000'), ('398', '25', 'TRY', 'Trashiyangste', '1', '0.00000'), ('399', '25', 'TRO', 'Trongsa', '1', '0.00000'), ('400', '25', 'TSI', 'Tsirang', '1', '0.00000'), ('401', '25', 'WPH', 'Wangdue Phodrang', '1', '0.00000'), ('402', '25', 'ZHE', 'Zhemgang', '1', '0.00000'), ('403', '26', 'BEN', 'Beni', '1', '0.00000'), ('404', '26', 'CHU', 'Chuquisaca', '1', '0.00000'), ('405', '26', 'COC', 'Cochabamba', '1', '0.00000'), ('406', '26', 'LPZ', 'La Paz', '1', '0.00000'), ('407', '26', 'ORU', 'Oruro', '1', '0.00000'), ('408', '26', 'PAN', 'Pando', '1', '0.00000'), ('409', '26', 'POT', 'Potosi', '1', '0.00000'), ('410', '26', 'SCZ', 'Santa Cruz', '1', '0.00000'), ('411', '26', 'TAR', 'Tarija', '1', '0.00000'), ('412', '27', 'BRO', 'Brcko district', '1', '0.00000'), ('413', '27', 'FUS', 'Unsko-Sanski Kanton', '1', '0.00000'), ('414', '27', 'FPO', 'Posavski Kanton', '1', '0.00000'), ('415', '27', 'FTU', 'Tuzlanski Kanton', '1', '0.00000'), ('416', '27', 'FZE', 'Zenicko-Dobojski Kanton', '1', '0.00000'), ('417', '27', 'FBP', 'Bosanskopodrinjski Kanton', '1', '0.00000'), ('418', '27', 'FSB', 'Srednjebosanski Kanton', '1', '0.00000'), ('419', '27', 'FHN', 'Hercegovacko-neretvanski Kanton', '1', '0.00000'), ('420', '27', 'FZH', 'Zapadnohercegovacka Zupanija', '1', '0.00000'), ('421', '27', 'FSA', 'Kanton Sarajevo', '1', '0.00000'), ('422', '27', 'FZA', 'Zapadnobosanska', '1', '0.00000'), ('423', '27', 'SBL', 'Banja Luka', '1', '0.00000'), ('424', '27', 'SDO', 'Doboj', '1', '0.00000'), ('425', '27', 'SBI', 'Bijeljina', '1', '0.00000'), ('426', '27', 'SVL', 'Vlasenica', '1', '0.00000'), ('427', '27', 'SSR', 'Sarajevo-Romanija or Sokolac', '1', '0.00000'), ('428', '27', 'SFO', 'Foca', '1', '0.00000'), ('429', '27', 'STR', 'Trebinje', '1', '0.00000'), ('430', '28', 'CE', 'Central', '1', '0.00000'), ('431', '28', 'GH', 'Ghanzi', '1', '0.00000'), ('432', '28', 'KD', 'Kgalagadi', '1', '0.00000'), ('433', '28', 'KT', 'Kgatleng', '1', '0.00000'), ('434', '28', 'KW', 'Kweneng', '1', '0.00000'), ('435', '28', 'NG', 'Ngamiland', '1', '0.00000'), ('436', '28', 'NE', 'North East', '1', '0.00000'), ('437', '28', 'NW', 'North West', '1', '0.00000'), ('438', '28', 'SE', 'South East', '1', '0.00000'), ('439', '28', 'SO', 'Southern', '1', '0.00000'), ('440', '30', 'AC', 'Acre', '1', '0.00000'), ('441', '30', 'AL', 'Alagoas', '1', '0.00000'), ('442', '30', 'AP', 'Amapa', '1', '0.00000'), ('443', '30', 'AM', 'Amazonas', '1', '0.00000'), ('444', '30', 'BA', 'Bahia', '1', '0.00000'), ('445', '30', 'CE', 'Ceara', '1', '0.00000'), ('446', '30', 'DF', 'Distrito Federal', '1', '0.00000'), ('447', '30', 'ES', 'Espirito Santo', '1', '0.00000'), ('448', '30', 'GO', 'Goias', '1', '0.00000'), ('449', '30', 'MA', 'Maranhao', '1', '0.00000'), ('450', '30', 'MT', 'Mato Grosso', '1', '0.00000'), ('451', '30', 'MS', 'Mato Grosso do Sul', '1', '0.00000'), ('452', '30', 'MG', 'Minas Gerais', '1', '0.00000'), ('453', '30', 'PA', 'Para', '1', '0.00000'), ('454', '30', 'PB', 'Paraiba', '1', '0.00000'), ('455', '30', 'PR', 'Parana', '1', '0.00000'), ('456', '30', 'PE', 'Pernambuco', '1', '0.00000'), ('457', '30', 'PI', 'Piaui', '1', '0.00000'), ('458', '30', 'RJ', 'Rio de Janeiro', '1', '0.00000'), ('459', '30', 'RN', 'Rio Grande do Norte', '1', '0.00000'), ('460', '30', 'RS', 'Rio Grande do Sul', '1', '0.00000'), ('461', '30', 'RO', 'Rondonia', '1', '0.00000'), ('462', '30', 'RR', 'Roraima', '1', '0.00000'), ('463', '30', 'SC', 'Santa Catarina', '1', '0.00000'), ('464', '30', 'SP', 'Sao Paulo', '1', '0.00000'), ('465', '30', 'SE', 'Sergipe', '1', '0.00000'), ('466', '30', 'TO', 'Tocantins', '1', '0.00000'), ('467', '31', 'PB', 'Peros Banhos', '1', '0.00000'), ('468', '31', 'SI', 'Salomon Islands', '1', '0.00000'), ('469', '31', 'NI', 'Nelsons Island', '1', '0.00000'), ('470', '31', 'TB', 'Three Brothers', '1', '0.00000'), ('471', '31', 'EA', 'Eagle Islands', '1', '0.00000'), ('472', '31', 'DI', 'Danger Island', '1', '0.00000'), ('473', '31', 'EG', 'Egmont Islands', '1', '0.00000'), ('474', '31', 'DG', 'Diego Garcia', '1', '0.00000'), ('475', '32', 'BEL', 'Belait', '1', '0.00000'), ('476', '32', 'BRM', 'Brunei and Muara', '1', '0.00000'), ('477', '32', 'TEM', 'Temburong', '1', '0.00000'), ('478', '32', 'TUT', 'Tutong', '1', '0.00000'), ('479', '33', '', 'Blagoevgrad', '1', '0.00000'), ('480', '33', '', 'Burgas', '1', '0.00000'), ('481', '33', '', 'Dobrich', '1', '0.00000'), ('482', '33', '', 'Gabrovo', '1', '0.00000'), ('483', '33', '', 'Haskovo', '1', '0.00000'), ('484', '33', '', 'Kardjali', '1', '0.00000'), ('485', '33', '', 'Kyustendil', '1', '0.00000'), ('486', '33', '', 'Lovech', '1', '0.00000'), ('487', '33', '', 'Montana', '1', '0.00000'), ('488', '33', '', 'Pazardjik', '1', '0.00000'), ('489', '33', '', 'Pernik', '1', '0.00000'), ('490', '33', '', 'Pleven', '1', '0.00000'), ('491', '33', '', 'Plovdiv', '1', '0.00000'), ('492', '33', '', 'Razgrad', '1', '0.00000'), ('493', '33', '', 'Shumen', '1', '0.00000'), ('494', '33', '', 'Silistra', '1', '0.00000'), ('495', '33', '', 'Sliven', '1', '0.00000'), ('496', '33', '', 'Smolyan', '1', '0.00000'), ('497', '33', '', 'Sofia', '1', '0.00000'), ('498', '33', '', 'Sofia - town', '1', '0.00000'), ('499', '33', '', 'Stara Zagora', '1', '0.00000'), ('500', '33', '', 'Targovishte', '1', '0.00000'), ('501', '33', '', 'Varna', '1', '0.00000'), ('502', '33', '', 'Veliko Tarnovo', '1', '0.00000'), ('503', '33', '', 'Vidin', '1', '0.00000'), ('504', '33', '', 'Vratza', '1', '0.00000'), ('505', '33', '', 'Yambol', '1', '0.00000'), ('506', '34', 'BAL', 'Bale', '1', '0.00000'), ('507', '34', 'BAM', 'Bam', '1', '0.00000'), ('508', '34', 'BAN', 'Banwa', '1', '0.00000'), ('509', '34', 'BAZ', 'Bazega', '1', '0.00000'), ('510', '34', 'BOR', 'Bougouriba', '1', '0.00000'), ('511', '34', 'BLG', 'Boulgou', '1', '0.00000'), ('512', '34', 'BOK', 'Boulkiemde', '1', '0.00000'), ('513', '34', 'COM', 'Comoe', '1', '0.00000'), ('514', '34', 'GAN', 'Ganzourgou', '1', '0.00000'), ('515', '34', 'GNA', 'Gnagna', '1', '0.00000'), ('516', '34', 'GOU', 'Gourma', '1', '0.00000'), ('517', '34', 'HOU', 'Houet', '1', '0.00000'), ('518', '34', 'IOA', 'Ioba', '1', '0.00000'), ('519', '34', 'KAD', 'Kadiogo', '1', '0.00000'), ('520', '34', 'KEN', 'Kenedougou', '1', '0.00000'), ('521', '34', 'KOD', 'Komondjari', '1', '0.00000'), ('522', '34', 'KOP', 'Kompienga', '1', '0.00000'), ('523', '34', 'KOS', 'Kossi', '1', '0.00000'), ('524', '34', 'KOL', 'Koulpelogo', '1', '0.00000'), ('525', '34', 'KOT', 'Kouritenga', '1', '0.00000'), ('526', '34', 'KOW', 'Kourweogo', '1', '0.00000'), ('527', '34', 'LER', 'Leraba', '1', '0.00000'), ('528', '34', 'LOR', 'Loroum', '1', '0.00000'), ('529', '34', 'MOU', 'Mouhoun', '1', '0.00000'), ('530', '34', 'NAH', 'Nahouri', '1', '0.00000'), ('531', '34', 'NAM', 'Namentenga', '1', '0.00000'), ('532', '34', 'NAY', 'Nayala', '1', '0.00000'), ('533', '34', 'NOU', 'Noumbiel', '1', '0.00000'), ('534', '34', 'OUB', 'Oubritenga', '1', '0.00000'), ('535', '34', 'OUD', 'Oudalan', '1', '0.00000'), ('536', '34', 'PAS', 'Passore', '1', '0.00000'), ('537', '34', 'PON', 'Poni', '1', '0.00000'), ('538', '34', 'SAG', 'Sanguie', '1', '0.00000'), ('539', '34', 'SAM', 'Sanmatenga', '1', '0.00000'), ('540', '34', 'SEN', 'Seno', '1', '0.00000'), ('541', '34', 'SIS', 'Sissili', '1', '0.00000'), ('542', '34', 'SOM', 'Soum', '1', '0.00000'), ('543', '34', 'SOR', 'Sourou', '1', '0.00000'), ('544', '34', 'TAP', 'Tapoa', '1', '0.00000'), ('545', '34', 'TUY', 'Tuy', '1', '0.00000'), ('546', '34', 'YAG', 'Yagha', '1', '0.00000'), ('547', '34', 'YAT', 'Yatenga', '1', '0.00000'), ('548', '34', 'ZIR', 'Ziro', '1', '0.00000'), ('549', '34', 'ZOD', 'Zondoma', '1', '0.00000'), ('550', '34', 'ZOW', 'Zoundweogo', '1', '0.00000'), ('551', '35', 'BB', 'Bubanza', '1', '0.00000'), ('552', '35', 'BJ', 'Bujumbura', '1', '0.00000'), ('553', '35', 'BR', 'Bururi', '1', '0.00000'), ('554', '35', 'CA', 'Cankuzo', '1', '0.00000'), ('555', '35', 'CI', 'Cibitoke', '1', '0.00000'), ('556', '35', 'GI', 'Gitega', '1', '0.00000'), ('557', '35', 'KR', 'Karuzi', '1', '0.00000'), ('558', '35', 'KY', 'Kayanza', '1', '0.00000'), ('559', '35', 'KI', 'Kirundo', '1', '0.00000'), ('560', '35', 'MA', 'Makamba', '1', '0.00000'), ('561', '35', 'MU', 'Muramvya', '1', '0.00000'), ('562', '35', 'MY', 'Muyinga', '1', '0.00000'), ('563', '35', 'MW', 'Mwaro', '1', '0.00000'), ('564', '35', 'NG', 'Ngozi', '1', '0.00000'), ('565', '35', 'RT', 'Rutana', '1', '0.00000'), ('566', '35', 'RY', 'Ruyigi', '1', '0.00000'), ('567', '36', 'PP', 'Phnom Penh', '1', '0.00000'), ('568', '36', 'PS', 'Preah Seihanu (Kompong Som or Sihanoukville)', '1', '0.00000'), ('569', '36', 'PA', 'Pailin', '1', '0.00000'), ('570', '36', 'KB', 'Keb', '1', '0.00000'), ('571', '36', 'BM', 'Banteay Meanchey', '1', '0.00000'), ('572', '36', 'BA', 'Battambang', '1', '0.00000'), ('573', '36', 'KM', 'Kampong Cham', '1', '0.00000'), ('574', '36', 'KN', 'Kampong Chhnang', '1', '0.00000'), ('575', '36', 'KU', 'Kampong Speu', '1', '0.00000'), ('576', '36', 'KO', 'Kampong Som', '1', '0.00000'), ('577', '36', 'KT', 'Kampong Thom', '1', '0.00000'), ('578', '36', 'KP', 'Kampot', '1', '0.00000'), ('579', '36', 'KL', 'Kandal', '1', '0.00000'), ('580', '36', 'KK', 'Kaoh Kong', '1', '0.00000'), ('581', '36', 'KR', 'Kratie', '1', '0.00000'), ('582', '36', 'MK', 'Mondul Kiri', '1', '0.00000'), ('583', '36', 'OM', 'Oddar Meancheay', '1', '0.00000'), ('584', '36', 'PU', 'Pursat', '1', '0.00000'), ('585', '36', 'PR', 'Preah Vihear', '1', '0.00000'), ('586', '36', 'PG', 'Prey Veng', '1', '0.00000'), ('587', '36', 'RK', 'Ratanak Kiri', '1', '0.00000'), ('588', '36', 'SI', 'Siemreap', '1', '0.00000'), ('589', '36', 'ST', 'Stung Treng', '1', '0.00000'), ('590', '36', 'SR', 'Svay Rieng', '1', '0.00000'), ('591', '36', 'TK', 'Takeo', '1', '0.00000'), ('592', '37', 'ADA', 'Adamawa (Adamaoua)', '1', '0.00000'), ('593', '37', 'CEN', 'Centre', '1', '0.00000'), ('594', '37', 'EST', 'East (Est)', '1', '0.00000'), ('595', '37', 'EXN', 'Extreme North (Extreme-Nord)', '1', '0.00000'), ('596', '37', 'LIT', 'Littoral', '1', '0.00000'), ('597', '37', 'NOR', 'North (Nord)', '1', '0.00000'), ('598', '37', 'NOT', 'Northwest (Nord-Ouest)', '1', '0.00000'), ('599', '37', 'OUE', 'West (Ouest)', '1', '0.00000'), ('600', '37', 'SUD', 'South (Sud)', '1', '0.00000'), ('601', '37', 'SOU', 'Southwest (Sud-Ouest).', '1', '0.00000'), ('602', '38', 'AB', 'Alberta', '1', '0.00000'), ('603', '38', 'BC', 'British Columbia', '1', '0.00000'), ('604', '38', 'MB', 'Manitoba', '1', '0.00000'), ('605', '38', 'NB', 'New Brunswick', '1', '0.00000'), ('606', '38', 'NL', 'Newfoundland and Labrador', '1', '0.00000'), ('607', '38', 'NT', 'Northwest Territories', '1', '0.00000'), ('608', '38', 'NS', 'Nova Scotia', '1', '0.00000'), ('609', '38', 'NU', 'Nunavut', '1', '0.00000'), ('610', '38', 'ON', 'Ontario', '1', '0.00000'), ('611', '38', 'PE', 'Prince Edward Island', '1', '0.00000'), ('612', '38', 'QC', 'Québec', '1', '0.00000'), ('613', '38', 'SK', 'Saskatchewan', '1', '0.00000'), ('614', '38', 'YT', 'Yukon Territory', '1', '0.00000'), ('615', '39', 'BV', 'Boa Vista', '1', '0.00000'), ('616', '39', 'BR', 'Brava', '1', '0.00000'), ('617', '39', 'CS', 'Calheta de Sao Miguel', '1', '0.00000'), ('618', '39', 'MA', 'Maio', '1', '0.00000'), ('619', '39', 'MO', 'Mosteiros', '1', '0.00000'), ('620', '39', 'PA', 'Paul', '1', '0.00000'), ('621', '39', 'PN', 'Porto Novo', '1', '0.00000'), ('622', '39', 'PR', 'Praia', '1', '0.00000'), ('623', '39', 'RG', 'Ribeira Grande', '1', '0.00000'), ('624', '39', 'SL', 'Sal', '1', '0.00000'), ('625', '39', 'CA', 'Santa Catarina', '1', '0.00000'), ('626', '39', 'CR', 'Santa Cruz', '1', '0.00000'), ('627', '39', 'SD', 'Sao Domingos', '1', '0.00000'), ('628', '39', 'SF', 'Sao Filipe', '1', '0.00000'), ('629', '39', 'SN', 'Sao Nicolau', '1', '0.00000'), ('630', '39', 'SV', 'Sao Vicente', '1', '0.00000'), ('631', '39', 'TA', 'Tarrafal', '1', '0.00000'), ('632', '40', 'CR', 'Creek', '1', '0.00000'), ('633', '40', 'EA', 'Eastern', '1', '0.00000'), ('634', '40', 'ML', 'Midland', '1', '0.00000'), ('635', '40', 'ST', 'South Town', '1', '0.00000'), ('636', '40', 'SP', 'Spot Bay', '1', '0.00000'), ('637', '40', 'SK', 'Stake Bay', '1', '0.00000'), ('638', '40', 'WD', 'West End', '1', '0.00000'), ('639', '40', 'WN', 'Western', '1', '0.00000'), ('640', '41', 'BBA', 'Bamingui-Bangoran', '1', '0.00000'), ('641', '41', 'BKO', 'Basse-Kotto', '1', '0.00000'), ('642', '41', 'HKO', 'Haute-Kotto', '1', '0.00000'), ('643', '41', 'HMB', 'Haut-Mbomou', '1', '0.00000'), ('644', '41', 'KEM', 'Kemo', '1', '0.00000'), ('645', '41', 'LOB', 'Lobaye', '1', '0.00000'), ('646', '41', 'MKD', 'Mambere-KadeÔ', '1', '0.00000'), ('647', '41', 'MBO', 'Mbomou', '1', '0.00000'), ('648', '41', 'NMM', 'Nana-Mambere', '1', '0.00000'), ('649', '41', 'OMP', 'Ombella-M\'Poko', '1', '0.00000'), ('650', '41', 'OUK', 'Ouaka', '1', '0.00000'), ('651', '41', 'OUH', 'Ouham', '1', '0.00000'), ('652', '41', 'OPE', 'Ouham-Pende', '1', '0.00000'), ('653', '41', 'VAK', 'Vakaga', '1', '0.00000'), ('654', '41', 'NGR', 'Nana-Grebizi', '1', '0.00000'), ('655', '41', 'SMB', 'Sangha-Mbaere', '1', '0.00000'), ('656', '41', 'BAN', 'Bangui', '1', '0.00000'), ('657', '42', 'BA', 'Batha', '1', '0.00000'), ('658', '42', 'BI', 'Biltine', '1', '0.00000'), ('659', '42', 'BE', 'Borkou-Ennedi-Tibesti', '1', '0.00000'), ('660', '42', 'CB', 'Chari-Baguirmi', '1', '0.00000'), ('661', '42', 'GU', 'Guera', '1', '0.00000'), ('662', '42', 'KA', 'Kanem', '1', '0.00000'), ('663', '42', 'LA', 'Lac', '1', '0.00000'), ('664', '42', 'LC', 'Logone Occidental', '1', '0.00000'), ('665', '42', 'LR', 'Logone Oriental', '1', '0.00000'), ('666', '42', 'MK', 'Mayo-Kebbi', '1', '0.00000'), ('667', '42', 'MC', 'Moyen-Chari', '1', '0.00000'), ('668', '42', 'OU', 'Ouaddai', '1', '0.00000'), ('669', '42', 'SA', 'Salamat', '1', '0.00000'), ('670', '42', 'TA', 'Tandjile', '1', '0.00000'), ('671', '43', 'AI', 'Aisen del General Carlos Ibanez', '1', '0.00000'), ('672', '43', 'AN', 'Antofagasta', '1', '0.00000'), ('673', '43', 'AR', 'Araucania', '1', '0.00000'), ('674', '43', 'AT', 'Atacama', '1', '0.00000'), ('675', '43', 'BI', 'Bio-Bio', '1', '0.00000'), ('676', '43', 'CO', 'Coquimbo', '1', '0.00000'), ('677', '43', 'LI', 'Libertador General Bernardo O\'Hi', '1', '0.00000'), ('678', '43', 'LL', 'Los Lagos', '1', '0.00000'), ('679', '43', 'MA', 'Magallanes y de la Antartica Chi', '1', '0.00000'), ('680', '43', 'ML', 'Maule', '1', '0.00000'), ('681', '43', 'RM', 'Region Metropolitana', '1', '0.00000'), ('682', '43', 'TA', 'Tarapaca', '1', '0.00000'), ('683', '43', 'VS', 'Valparaiso', '1', '0.00000'), ('684', '44', 'AN', 'Anhui', '1', '0.00000'), ('685', '44', 'BE', 'Beijing', '1', '0.00000'), ('686', '44', 'CH', 'Chongqing', '1', '0.00000'), ('687', '44', 'FU', 'Fujian', '1', '0.00000'), ('688', '44', 'GA', 'Gansu', '1', '0.00000'), ('689', '44', 'GU', 'Guangdong', '1', '0.00000'), ('690', '44', 'GX', 'Guangxi', '1', '0.00000'), ('691', '44', 'GZ', 'Guizhou', '1', '0.00000'), ('692', '44', 'HA', 'Hainan', '1', '0.00000'), ('693', '44', 'HB', 'Hebei', '1', '0.00000'), ('694', '44', 'HL', 'Heilongjiang', '1', '0.00000'), ('695', '44', 'HE', 'Henan', '1', '0.00000'), ('696', '44', 'HK', 'Hong Kong', '1', '0.00000'), ('697', '44', 'HU', 'Hubei', '1', '0.00000'), ('698', '44', 'HN', 'Hunan', '1', '0.00000'), ('699', '44', 'IM', 'Inner Mongolia', '1', '0.00000'), ('700', '44', 'JI', 'Jiangsu', '1', '0.00000'), ('701', '44', 'JX', 'Jiangxi', '1', '0.00000'), ('702', '44', 'JL', 'Jilin', '1', '0.00000'), ('703', '44', 'LI', 'Liaoning', '1', '0.00000'), ('704', '44', 'MA', 'Macau', '1', '0.00000'), ('705', '44', 'NI', 'Ningxia', '1', '0.00000'), ('706', '44', 'SH', 'Shaanxi', '1', '0.00000'), ('707', '44', 'SA', 'Shandong', '1', '0.00000'), ('708', '44', 'SG', 'Shanghai', '1', '0.00000'), ('709', '44', 'SX', 'Shanxi', '1', '0.00000'), ('710', '44', 'SI', 'Sichuan', '1', '0.00000'), ('711', '44', 'TI', 'Tianjin', '1', '0.00000'), ('712', '44', 'XI', 'Xinjiang', '1', '0.00000'), ('713', '44', 'YU', 'Yunnan', '1', '0.00000'), ('714', '44', 'ZH', 'Zhejiang', '1', '0.00000'), ('715', '46', 'D', 'Direction Island', '1', '0.00000'), ('716', '46', 'H', 'Home Island', '1', '0.00000'), ('717', '46', 'O', 'Horsburgh Island', '1', '0.00000'), ('718', '46', 'S', 'South Island', '1', '0.00000'), ('719', '46', 'W', 'West Island', '1', '0.00000'), ('720', '47', 'AMZ', 'Amazonas', '1', '0.00000'), ('721', '47', 'ANT', 'Antioquia', '1', '0.00000'), ('722', '47', 'ARA', 'Arauca', '1', '0.00000'), ('723', '47', 'ATL', 'Atlantico', '1', '0.00000'), ('724', '47', 'BDC', 'Bogota D.C.', '1', '0.00000'), ('725', '47', 'BOL', 'Bolivar', '1', '0.00000'), ('726', '47', 'BOY', 'Boyaca', '1', '0.00000'), ('727', '47', 'CAL', 'Caldas', '1', '0.00000'), ('728', '47', 'CAQ', 'Caqueta', '1', '0.00000'), ('729', '47', 'CAS', 'Casanare', '1', '0.00000'), ('730', '47', 'CAU', 'Cauca', '1', '0.00000'), ('731', '47', 'CES', 'Cesar', '1', '0.00000'), ('732', '47', 'CHO', 'Choco', '1', '0.00000'), ('733', '47', 'COR', 'Cordoba', '1', '0.00000'), ('734', '47', 'CAM', 'Cundinamarca', '1', '0.00000'), ('735', '47', 'GNA', 'Guainia', '1', '0.00000'), ('736', '47', 'GJR', 'Guajira', '1', '0.00000'), ('737', '47', 'GVR', 'Guaviare', '1', '0.00000'), ('738', '47', 'HUI', 'Huila', '1', '0.00000'), ('739', '47', 'MAG', 'Magdalena', '1', '0.00000'), ('740', '47', 'MET', 'Meta', '1', '0.00000'), ('741', '47', 'NAR', 'Narino', '1', '0.00000'), ('742', '47', 'NDS', 'Norte de Santander', '1', '0.00000'), ('743', '47', 'PUT', 'Putumayo', '1', '0.00000'), ('744', '47', 'QUI', 'Quindio', '1', '0.00000'), ('745', '47', 'RIS', 'Risaralda', '1', '0.00000'), ('746', '47', 'SAP', 'San Andres y Providencia', '1', '0.00000'), ('747', '47', 'SAN', 'Santander', '1', '0.00000'), ('748', '47', 'SUC', 'Sucre', '1', '0.00000'), ('749', '47', 'TOL', 'Tolima', '1', '0.00000'), ('750', '47', 'VDC', 'Valle del Cauca', '1', '0.00000'), ('751', '47', 'VAU', 'Vaupes', '1', '0.00000'), ('752', '47', 'VIC', 'Vichada', '1', '0.00000'), ('753', '48', 'G', 'Grande Comore', '1', '0.00000'), ('754', '48', 'A', 'Anjouan', '1', '0.00000'), ('755', '48', 'M', 'Moheli', '1', '0.00000'), ('756', '49', 'BO', 'Bouenza', '1', '0.00000'), ('757', '49', 'BR', 'Brazzaville', '1', '0.00000'), ('758', '49', 'CU', 'Cuvette', '1', '0.00000'), ('759', '49', 'CO', 'Cuvette-Ouest', '1', '0.00000'), ('760', '49', 'KO', 'Kouilou', '1', '0.00000'), ('761', '49', 'LE', 'Lekoumou', '1', '0.00000'), ('762', '49', 'LI', 'Likouala', '1', '0.00000'), ('763', '49', 'NI', 'Niari', '1', '0.00000'), ('764', '49', 'PL', 'Plateaux', '1', '0.00000'), ('765', '49', 'PO', 'Pool', '1', '0.00000'), ('766', '49', 'SA', 'Sangha', '1', '0.00000'), ('767', '50', 'PU', 'Pukapuka', '1', '0.00000'), ('768', '50', 'RK', 'Rakahanga', '1', '0.00000'), ('769', '50', 'MK', 'Manihiki', '1', '0.00000'), ('770', '50', 'PE', 'Penrhyn', '1', '0.00000'), ('771', '50', 'NI', 'Nassau Island', '1', '0.00000'), ('772', '50', 'SU', 'Surwarrow', '1', '0.00000'), ('773', '50', 'PA', 'Palmerston', '1', '0.00000'), ('774', '50', 'AI', 'Aitutaki', '1', '0.00000'), ('775', '50', 'MA', 'Manuae', '1', '0.00000'), ('776', '50', 'TA', 'Takutea', '1', '0.00000'), ('777', '50', 'MT', 'Mitiaro', '1', '0.00000'), ('778', '50', 'AT', 'Atiu', '1', '0.00000'), ('779', '50', 'MU', 'Mauke', '1', '0.00000'), ('780', '50', 'RR', 'Rarotonga', '1', '0.00000'), ('781', '50', 'MG', 'Mangaia', '1', '0.00000'), ('782', '51', 'AL', 'Alajuela', '1', '0.00000'), ('783', '51', 'CA', 'Cartago', '1', '0.00000'), ('784', '51', 'GU', 'Guanacaste', '1', '0.00000'), ('785', '51', 'HE', 'Heredia', '1', '0.00000'), ('786', '51', 'LI', 'Limon', '1', '0.00000'), ('787', '51', 'PU', 'Puntarenas', '1', '0.00000'), ('788', '51', 'SJ', 'San Jose', '1', '0.00000'), ('789', '52', 'ABE', 'Abengourou', '1', '0.00000'), ('790', '52', 'ABI', 'Abidjan', '1', '0.00000'), ('791', '52', 'ABO', 'Aboisso', '1', '0.00000'), ('792', '52', 'ADI', 'Adiake', '1', '0.00000'), ('793', '52', 'ADZ', 'Adzope', '1', '0.00000'), ('794', '52', 'AGB', 'Agboville', '1', '0.00000'), ('795', '52', 'AGN', 'Agnibilekrou', '1', '0.00000'), ('796', '52', 'ALE', 'Alepe', '1', '0.00000'), ('797', '52', 'BOC', 'Bocanda', '1', '0.00000'), ('798', '52', 'BAN', 'Bangolo', '1', '0.00000'), ('799', '52', 'BEO', 'Beoumi', '1', '0.00000'), ('800', '52', 'BIA', 'Biankouma', '1', '0.00000'), ('801', '52', 'BDK', 'Bondoukou', '1', '0.00000'), ('802', '52', 'BGN', 'Bongouanou', '1', '0.00000'), ('803', '52', 'BFL', 'Bouafle', '1', '0.00000'), ('804', '52', 'BKE', 'Bouake', '1', '0.00000'), ('805', '52', 'BNA', 'Bouna', '1', '0.00000'), ('806', '52', 'BDL', 'Boundiali', '1', '0.00000'), ('807', '52', 'DKL', 'Dabakala', '1', '0.00000'), ('808', '52', 'DBU', 'Dabou', '1', '0.00000'), ('809', '52', 'DAL', 'Daloa', '1', '0.00000'), ('810', '52', 'DAN', 'Danane', '1', '0.00000'), ('811', '52', 'DAO', 'Daoukro', '1', '0.00000'), ('812', '52', 'DIM', 'Dimbokro', '1', '0.00000'), ('813', '52', 'DIV', 'Divo', '1', '0.00000'), ('814', '52', 'DUE', 'Duekoue', '1', '0.00000'), ('815', '52', 'FER', 'Ferkessedougou', '1', '0.00000'), ('816', '52', 'GAG', 'Gagnoa', '1', '0.00000'), ('817', '52', 'GBA', 'Grand-Bassam', '1', '0.00000'), ('818', '52', 'GLA', 'Grand-Lahou', '1', '0.00000'), ('819', '52', 'GUI', 'Guiglo', '1', '0.00000'), ('820', '52', 'ISS', 'Issia', '1', '0.00000'), ('821', '52', 'JAC', 'Jacqueville', '1', '0.00000'), ('822', '52', 'KAT', 'Katiola', '1', '0.00000'), ('823', '52', 'KOR', 'Korhogo', '1', '0.00000'), ('824', '52', 'LAK', 'Lakota', '1', '0.00000'), ('825', '52', 'MAN', 'Man', '1', '0.00000'), ('826', '52', 'MKN', 'Mankono', '1', '0.00000'), ('827', '52', 'MBA', 'Mbahiakro', '1', '0.00000'), ('828', '52', 'ODI', 'Odienne', '1', '0.00000'), ('829', '52', 'OUM', 'Oume', '1', '0.00000'), ('830', '52', 'SAK', 'Sakassou', '1', '0.00000'), ('831', '52', 'SPE', 'San-Pedro', '1', '0.00000'), ('832', '52', 'SAS', 'Sassandra', '1', '0.00000'), ('833', '52', 'SEG', 'Seguela', '1', '0.00000'), ('834', '52', 'SIN', 'Sinfra', '1', '0.00000'), ('835', '52', 'SOU', 'Soubre', '1', '0.00000'), ('836', '52', 'TAB', 'Tabou', '1', '0.00000'), ('837', '52', 'TAN', 'Tanda', '1', '0.00000'), ('838', '52', 'TIE', 'Tiebissou', '1', '0.00000'), ('839', '52', 'TIN', 'Tingrela', '1', '0.00000'), ('840', '52', 'TIA', 'Tiassale', '1', '0.00000'), ('841', '52', 'TBA', 'Touba', '1', '0.00000'), ('842', '52', 'TLP', 'Toulepleu', '1', '0.00000'), ('843', '52', 'TMD', 'Toumodi', '1', '0.00000'), ('844', '52', 'VAV', 'Vavoua', '1', '0.00000'), ('845', '52', 'YAM', 'Yamoussoukro', '1', '0.00000'), ('846', '52', 'ZUE', 'Zuenoula', '1', '0.00000'), ('847', '53', 'BB', 'Bjelovar-Bilogora', '1', '0.00000'), ('848', '53', 'CZ', 'City of Zagreb', '1', '0.00000'), ('849', '53', 'DN', 'Dubrovnik-Neretva', '1', '0.00000'), ('850', '53', 'IS', 'Istra', '1', '0.00000'), ('851', '53', 'KA', 'Karlovac', '1', '0.00000'), ('852', '53', 'KK', 'Koprivnica-Krizevci', '1', '0.00000'), ('853', '53', 'KZ', 'Krapina-Zagorje', '1', '0.00000'), ('854', '53', 'LS', 'Lika-Senj', '1', '0.00000'), ('855', '53', 'ME', 'Medimurje', '1', '0.00000'), ('856', '53', 'OB', 'Osijek-Baranja', '1', '0.00000'), ('857', '53', 'PS', 'Pozega-Slavonia', '1', '0.00000'), ('858', '53', 'PG', 'Primorje-Gorski Kotar', '1', '0.00000'), ('859', '53', 'SI', 'Sibenik', '1', '0.00000'), ('860', '53', 'SM', 'Sisak-Moslavina', '1', '0.00000'), ('861', '53', 'SB', 'Slavonski Brod-Posavina', '1', '0.00000'), ('862', '53', 'SD', 'Split-Dalmatia', '1', '0.00000'), ('863', '53', 'VA', 'Varazdin', '1', '0.00000'), ('864', '53', 'VP', 'Virovitica-Podravina', '1', '0.00000'), ('865', '53', 'VS', 'Vukovar-Srijem', '1', '0.00000'), ('866', '53', 'ZK', 'Zadar-Knin', '1', '0.00000'), ('867', '53', 'ZA', 'Zagreb', '1', '0.00000'), ('868', '54', 'CA', 'Camaguey', '1', '0.00000'), ('869', '54', 'CD', 'Ciego de Avila', '1', '0.00000'), ('870', '54', 'CI', 'Cienfuegos', '1', '0.00000'), ('871', '54', 'CH', 'Ciudad de La Habana', '1', '0.00000'), ('872', '54', 'GR', 'Granma', '1', '0.00000'), ('873', '54', 'GU', 'Guantanamo', '1', '0.00000'), ('874', '54', 'HO', 'Holguin', '1', '0.00000'), ('875', '54', 'IJ', 'Isla de la Juventud', '1', '0.00000'), ('876', '54', 'LH', 'La Habana', '1', '0.00000'), ('877', '54', 'LT', 'Las Tunas', '1', '0.00000'), ('878', '54', 'MA', 'Matanzas', '1', '0.00000'), ('879', '54', 'PR', 'Pinar del Rio', '1', '0.00000'), ('880', '54', 'SS', 'Sancti Spiritus', '1', '0.00000'), ('881', '54', 'SC', 'Santiago de Cuba', '1', '0.00000'), ('882', '54', 'VC', 'Villa Clara', '1', '0.00000'), ('883', '55', 'F', 'Famagusta', '1', '0.00000'), ('884', '55', 'K', 'Kyrenia', '1', '0.00000'), ('885', '55', 'A', 'Larnaca', '1', '0.00000'), ('886', '55', 'I', 'Limassol', '1', '0.00000'), ('887', '55', 'N', 'Nicosia', '1', '0.00000'), ('888', '55', 'P', 'Paphos', '1', '0.00000'), ('889', '56', 'U', 'Ustecky', '1', '0.00000'), ('890', '56', 'C', 'Jihocesky', '1', '0.00000'), ('891', '56', 'B', 'Jihomoravsky', '1', '0.00000'), ('892', '56', 'K', 'Karlovarsky', '1', '0.00000'), ('893', '56', 'H', 'Kralovehradecky', '1', '0.00000'), ('894', '56', 'L', 'Liberecky', '1', '0.00000'), ('895', '56', 'T', 'Moravskoslezsky', '1', '0.00000'), ('896', '56', 'M', 'Olomoucky', '1', '0.00000'), ('897', '56', 'E', 'Pardubicky', '1', '0.00000'), ('898', '56', 'P', 'Plzensky', '1', '0.00000'), ('899', '56', 'A', 'Praha', '1', '0.00000'), ('900', '56', 'S', 'Stredocesky', '1', '0.00000'), ('901', '56', 'J', 'Vysocina', '1', '0.00000'), ('902', '56', 'Z', 'Zlinsky', '1', '0.00000'), ('903', '57', 'AR', 'Arhus', '1', '0.00000'), ('904', '57', 'BH', 'Bornholm', '1', '0.00000'), ('905', '57', 'CO', 'Copenhagen', '1', '0.00000'), ('906', '57', 'FO', 'Faroe Islands', '1', '0.00000'), ('907', '57', 'FR', 'Frederiksborg', '1', '0.00000'), ('908', '57', 'FY', 'Fyn', '1', '0.00000'), ('909', '57', 'KO', 'Kobenhavn', '1', '0.00000'), ('910', '57', 'NO', 'Nordjylland', '1', '0.00000'), ('911', '57', 'RI', 'Ribe', '1', '0.00000'), ('912', '57', 'RK', 'Ringkobing', '1', '0.00000'), ('913', '57', 'RO', 'Roskilde', '1', '0.00000'), ('914', '57', 'SO', 'Sonderjylland', '1', '0.00000'), ('915', '57', 'ST', 'Storstrom', '1', '0.00000'), ('916', '57', 'VK', 'Vejle', '1', '0.00000'), ('917', '57', 'VJ', 'Vestjælland', '1', '0.00000'), ('918', '57', 'VB', 'Viborg', '1', '0.00000'), ('919', '58', 'S', '\'Ali Sabih', '1', '0.00000'), ('920', '58', 'K', 'Dikhil', '1', '0.00000'), ('921', '58', 'J', 'Djibouti', '1', '0.00000'), ('922', '58', 'O', 'Obock', '1', '0.00000'), ('923', '58', 'T', 'Tadjoura', '1', '0.00000'), ('924', '59', 'AND', 'Saint Andrew Parish', '1', '0.00000'), ('925', '59', 'DAV', 'Saint David Parish', '1', '0.00000'), ('926', '59', 'GEO', 'Saint George Parish', '1', '0.00000'), ('927', '59', 'JOH', 'Saint John Parish', '1', '0.00000'), ('928', '59', 'JOS', 'Saint Joseph Parish', '1', '0.00000'), ('929', '59', 'LUK', 'Saint Luke Parish', '1', '0.00000'), ('930', '59', 'MAR', 'Saint Mark Parish', '1', '0.00000'), ('931', '59', 'PAT', 'Saint Patrick Parish', '1', '0.00000'), ('932', '59', 'PAU', 'Saint Paul Parish', '1', '0.00000'), ('933', '59', 'PET', 'Saint Peter Parish', '1', '0.00000'), ('934', '60', 'DN', 'Distrito Nacional', '1', '0.00000'), ('935', '60', 'AZ', 'Azua', '1', '0.00000'), ('936', '60', 'BC', 'Baoruco', '1', '0.00000'), ('937', '60', 'BH', 'Barahona', '1', '0.00000'), ('938', '60', 'DJ', 'Dajabon', '1', '0.00000'), ('939', '60', 'DU', 'Duarte', '1', '0.00000'), ('940', '60', 'EL', 'Elias Pina', '1', '0.00000'), ('941', '60', 'SY', 'El Seybo', '1', '0.00000'), ('942', '60', 'ET', 'Espaillat', '1', '0.00000'), ('943', '60', 'HM', 'Hato Mayor', '1', '0.00000'), ('944', '60', 'IN', 'Independencia', '1', '0.00000'), ('945', '60', 'AL', 'La Altagracia', '1', '0.00000'), ('946', '60', 'RO', 'La Romana', '1', '0.00000'), ('947', '60', 'VE', 'La Vega', '1', '0.00000'), ('948', '60', 'MT', 'Maria Trinidad Sanchez', '1', '0.00000'), ('949', '60', 'MN', 'Monsenor Nouel', '1', '0.00000'), ('950', '60', 'MC', 'Monte Cristi', '1', '0.00000'), ('951', '60', 'MP', 'Monte Plata', '1', '0.00000'), ('952', '60', 'PD', 'Pedernales', '1', '0.00000'), ('953', '60', 'PR', 'Peravia (Bani)', '1', '0.00000'), ('954', '60', 'PP', 'Puerto Plata', '1', '0.00000'), ('955', '60', 'SL', 'Salcedo', '1', '0.00000'), ('956', '60', 'SM', 'Samana', '1', '0.00000'), ('957', '60', 'SH', 'Sanchez Ramirez', '1', '0.00000'), ('958', '60', 'SC', 'San Cristobal', '1', '0.00000'), ('959', '60', 'JO', 'San Jose de Ocoa', '1', '0.00000'), ('960', '60', 'SJ', 'San Juan', '1', '0.00000'), ('961', '60', 'PM', 'San Pedro de Macoris', '1', '0.00000'), ('962', '60', 'SA', 'Santiago', '1', '0.00000'), ('963', '60', 'ST', 'Santiago Rodriguez', '1', '0.00000'), ('964', '60', 'SD', 'Santo Domingo', '1', '0.00000'), ('965', '60', 'VA', 'Valverde', '1', '0.00000'), ('966', '61', 'AL', 'Aileu', '1', '0.00000'), ('967', '61', 'AN', 'Ainaro', '1', '0.00000'), ('968', '61', 'BA', 'Baucau', '1', '0.00000'), ('969', '61', 'BO', 'Bobonaro', '1', '0.00000'), ('970', '61', 'CO', 'Cova Lima', '1', '0.00000'), ('971', '61', 'DI', 'Dili', '1', '0.00000'), ('972', '61', 'ER', 'Ermera', '1', '0.00000'), ('973', '61', 'LA', 'Lautem', '1', '0.00000'), ('974', '61', 'LI', 'Liquica', '1', '0.00000'), ('975', '61', 'MT', 'Manatuto', '1', '0.00000'), ('976', '61', 'MF', 'Manufahi', '1', '0.00000'), ('977', '61', 'OE', 'Oecussi', '1', '0.00000'), ('978', '61', 'VI', 'Viqueque', '1', '0.00000'), ('979', '62', 'AZU', 'Azuay', '1', '0.00000'), ('980', '62', 'BOL', 'Bolivar', '1', '0.00000'), ('981', '62', 'CAN', 'Cañar', '1', '0.00000'), ('982', '62', 'CAR', 'Carchi', '1', '0.00000'), ('983', '62', 'CHI', 'Chimborazo', '1', '0.00000'), ('984', '62', 'COT', 'Cotopaxi', '1', '0.00000'), ('985', '62', 'EOR', 'El Oro', '1', '0.00000'), ('986', '62', 'ESM', 'Esmeraldas', '1', '0.00000'), ('987', '62', 'GPS', 'Galápagos', '1', '0.00000'), ('988', '62', 'GUA', 'Guayas', '1', '0.00000'), ('989', '62', 'IMB', 'Imbabura', '1', '0.00000'), ('990', '62', 'LOJ', 'Loja', '1', '0.00000'), ('991', '62', 'LRO', 'Los Rios', '1', '0.00000'), ('992', '62', 'MAN', 'Manabí', '1', '0.00000'), ('993', '62', 'MSA', 'Morona Santiago', '1', '0.00000'), ('994', '62', 'NAP', 'Napo', '1', '0.00000'), ('995', '62', 'ORE', 'Orellana', '1', '0.00000'), ('996', '62', 'PAS', 'Pastaza', '1', '0.00000'), ('997', '62', 'PIC', 'Pichincha', '1', '0.00000'), ('998', '62', 'SUC', 'Sucumbíos', '1', '0.00000'), ('999', '62', 'TUN', 'Tungurahua', '1', '0.00000'), ('1000', '62', 'ZCH', 'Zamora Chinchipe', '1', '0.00000'), ('1001', '63', 'DHY', 'Ad Daqahliyah', '1', '0.00000'), ('1002', '63', 'BAM', 'Al Bahr al Ahmar', '1', '0.00000'), ('1003', '63', 'BHY', 'Al Buhayrah', '1', '0.00000'), ('1004', '63', 'FYM', 'Al Fayyum', '1', '0.00000'), ('1005', '63', 'GBY', 'Al Gharbiyah', '1', '0.00000'), ('1006', '63', 'IDR', 'Al Iskandariyah', '1', '0.00000'), ('1007', '63', 'IML', 'Al Isma\'iliyah', '1', '0.00000'), ('1008', '63', 'JZH', 'Al Jizah', '1', '0.00000'), ('1009', '63', 'MFY', 'Al Minufiyah', '1', '0.00000'), ('1010', '63', 'MNY', 'Al Minya', '1', '0.00000'), ('1011', '63', 'QHR', 'Al Qahirah', '1', '0.00000'), ('1012', '63', 'QLY', 'Al Qalyubiyah', '1', '0.00000'), ('1013', '63', 'WJD', 'Al Wadi al Jadid', '1', '0.00000'), ('1014', '63', 'SHQ', 'Ash Sharqiyah', '1', '0.00000'), ('1015', '63', 'SWY', 'As Suways', '1', '0.00000'), ('1016', '63', 'ASW', 'Aswan', '1', '0.00000'), ('1017', '63', 'ASY', 'Asyut', '1', '0.00000'), ('1018', '63', 'BSW', 'Bani Suwayf', '1', '0.00000'), ('1019', '63', 'BSD', 'Bur Sa\'id', '1', '0.00000'), ('1020', '63', 'DMY', 'Dumyat', '1', '0.00000'), ('1021', '63', 'JNS', 'Janub Sina\'', '1', '0.00000'), ('1022', '63', 'KSH', 'Kafr ash Shaykh', '1', '0.00000'), ('1023', '63', 'MAT', 'Matruh', '1', '0.00000'), ('1024', '63', 'QIN', 'Qina', '1', '0.00000'), ('1025', '63', 'SHS', 'Shamal Sina\'', '1', '0.00000'), ('1026', '63', 'SUH', 'Suhaj', '1', '0.00000'), ('1027', '64', 'AH', 'Ahuachapan', '1', '0.00000'), ('1028', '64', 'CA', 'Cabanas', '1', '0.00000'), ('1029', '64', 'CH', 'Chalatenango', '1', '0.00000'), ('1030', '64', 'CU', 'Cuscatlan', '1', '0.00000'), ('1031', '64', 'LB', 'La Libertad', '1', '0.00000'), ('1032', '64', 'PZ', 'La Paz', '1', '0.00000'), ('1033', '64', 'UN', 'La Union', '1', '0.00000'), ('1034', '64', 'MO', 'Morazan', '1', '0.00000'), ('1035', '64', 'SM', 'San Miguel', '1', '0.00000'), ('1036', '64', 'SS', 'San Salvador', '1', '0.00000'), ('1037', '64', 'SV', 'San Vicente', '1', '0.00000'), ('1038', '64', 'SA', 'Santa Ana', '1', '0.00000'), ('1039', '64', 'SO', 'Sonsonate', '1', '0.00000'), ('1040', '64', 'US', 'Usulutan', '1', '0.00000'), ('1041', '65', 'AN', 'Provincia Annobon', '1', '0.00000'), ('1042', '65', 'BN', 'Provincia Bioko Norte', '1', '0.00000'), ('1043', '65', 'BS', 'Provincia Bioko Sur', '1', '0.00000'), ('1044', '65', 'CS', 'Provincia Centro Sur', '1', '0.00000'), ('1045', '65', 'KN', 'Provincia Kie-Ntem', '1', '0.00000'), ('1046', '65', 'LI', 'Provincia Litoral', '1', '0.00000'), ('1047', '65', 'WN', 'Provincia Wele-Nzas', '1', '0.00000'), ('1048', '66', 'MA', 'Central (Maekel)', '1', '0.00000'), ('1049', '66', 'KE', 'Anseba (Keren)', '1', '0.00000'), ('1050', '66', 'DK', 'Southern Red Sea (Debub-Keih-Bahri)', '1', '0.00000'), ('1051', '66', 'SK', 'Northern Red Sea (Semien-Keih-Bahri)', '1', '0.00000'), ('1052', '66', 'DE', 'Southern (Debub)', '1', '0.00000'), ('1053', '66', 'BR', 'Gash-Barka (Barentu)', '1', '0.00000'), ('1054', '67', 'HA', 'Harjumaa (Tallinn)', '1', '0.00000'), ('1055', '67', 'HI', 'Hiiumaa (Kardla)', '1', '0.00000'), ('1056', '67', 'IV', 'Ida-Virumaa (Johvi)', '1', '0.00000'), ('1057', '67', 'JA', 'Jarvamaa (Paide)', '1', '0.00000'), ('1058', '67', 'JO', 'Jogevamaa (Jogeva)', '1', '0.00000'), ('1059', '67', 'LV', 'Laane-Virumaa (Rakvere)', '1', '0.00000'), ('1060', '67', 'LA', 'Laanemaa (Haapsalu)', '1', '0.00000'), ('1061', '67', 'PA', 'Parnumaa (Parnu)', '1', '0.00000'), ('1062', '67', 'PO', 'Polvamaa (Polva)', '1', '0.00000'), ('1063', '67', 'RA', 'Raplamaa (Rapla)', '1', '0.00000'), ('1064', '67', 'SA', 'Saaremaa (Kuessaare)', '1', '0.00000'), ('1065', '67', 'TA', 'Tartumaa (Tartu)', '1', '0.00000'), ('1066', '67', 'VA', 'Valgamaa (Valga)', '1', '0.00000'), ('1067', '67', 'VI', 'Viljandimaa (Viljandi)', '1', '0.00000'), ('1068', '67', 'VO', 'Vorumaa (Voru)', '1', '0.00000'), ('1069', '68', 'AF', 'Afar', '1', '0.00000'), ('1070', '68', 'AH', 'Amhara', '1', '0.00000'), ('1071', '68', 'BG', 'Benishangul-Gumaz', '1', '0.00000'), ('1072', '68', 'GB', 'Gambela', '1', '0.00000'), ('1073', '68', 'HR', 'Hariai', '1', '0.00000'), ('1074', '68', 'OR', 'Oromia', '1', '0.00000'), ('1075', '68', 'SM', 'Somali', '1', '0.00000'), ('1076', '68', 'SN', 'Southern Nations - Nationalities and Peoples Region', '1', '0.00000'), ('1077', '68', 'TG', 'Tigray', '1', '0.00000'), ('1078', '68', 'AA', 'Addis Ababa', '1', '0.00000'), ('1079', '68', 'DD', 'Dire Dawa', '1', '0.00000'), ('1080', '71', 'C', 'Central Division', '1', '0.00000'), ('1081', '71', 'N', 'Northern Division', '1', '0.00000'), ('1082', '71', 'E', 'Eastern Division', '1', '0.00000'), ('1083', '71', 'W', 'Western Division', '1', '0.00000'), ('1084', '71', 'R', 'Rotuma', '1', '0.00000'), ('1085', '72', 'AL', 'Ahvenanmaan Laani', '1', '0.00000'), ('1086', '72', 'ES', 'Etela-Suomen Laani', '1', '0.00000'), ('1087', '72', 'IS', 'Ita-Suomen Laani', '1', '0.00000'), ('1088', '72', 'LS', 'Lansi-Suomen Laani', '1', '0.00000'), ('1089', '72', 'LA', 'Lapin Lanani', '1', '0.00000'), ('1090', '72', 'OU', 'Oulun Laani', '1', '0.00000'), ('1091', '73', 'AL', 'Alsace', '1', '0.00000'), ('1092', '73', 'AQ', 'Aquitaine', '1', '0.00000'), ('1093', '73', 'AU', 'Auvergne', '1', '0.00000'), ('1094', '73', 'BR', 'Brittany', '1', '0.00000'), ('1095', '73', 'BU', 'Burgundy', '1', '0.00000'), ('1096', '73', 'CE', 'Center Loire Valley', '1', '0.00000'), ('1097', '73', 'CH', 'Champagne', '1', '0.00000'), ('1098', '73', 'CO', 'Corse', '1', '0.00000'), ('1099', '73', 'FR', 'France Comte', '1', '0.00000'), ('1100', '73', 'LA', 'Languedoc Roussillon', '1', '0.00000'), ('1101', '73', 'LI', 'Limousin', '1', '0.00000'), ('1102', '73', 'LO', 'Lorraine', '1', '0.00000'), ('1103', '73', 'MI', 'Midi Pyrenees', '1', '0.00000'), ('1104', '73', 'NO', 'Nord Pas de Calais', '1', '0.00000'), ('1105', '73', 'NR', 'Normandy', '1', '0.00000'), ('1106', '73', 'PA', 'Paris / Ill de France', '1', '0.00000'), ('1107', '73', 'PI', 'Picardie', '1', '0.00000'), ('1108', '73', 'PO', 'Poitou Charente', '1', '0.00000'), ('1109', '73', 'PR', 'Provence', '1', '0.00000'), ('1110', '73', 'RH', 'Rhone Alps', '1', '0.00000'), ('1111', '73', 'RI', 'Riviera', '1', '0.00000'), ('1112', '73', 'WE', 'Western Loire Valley', '1', '0.00000'), ('1113', '74', 'Et', 'Etranger', '1', '0.00000'), ('1114', '74', '01', 'Ain', '1', '0.00000'), ('1115', '74', '02', 'Aisne', '1', '0.00000'), ('1116', '74', '03', 'Allier', '1', '0.00000'), ('1117', '74', '04', 'Alpes de Haute Provence', '1', '0.00000'), ('1118', '74', '05', 'Hautes-Alpes', '1', '0.00000'), ('1119', '74', '06', 'Alpes Maritimes', '1', '0.00000'), ('1120', '74', '07', 'Ardèche', '1', '0.00000'), ('1121', '74', '08', 'Ardennes', '1', '0.00000'), ('1122', '74', '09', 'Ariège', '1', '0.00000'), ('1123', '74', '10', 'Aube', '1', '0.00000'), ('1124', '74', '11', 'Aude', '1', '0.00000'), ('1125', '74', '12', 'Aveyron', '1', '0.00000'), ('1126', '74', '13', 'Bouches du Rhône', '1', '0.00000'), ('1127', '74', '14', 'Calvados', '1', '0.00000'), ('1128', '74', '15', 'Cantal', '1', '0.00000'), ('1129', '74', '16', 'Charente', '1', '0.00000'), ('1130', '74', '17', 'Charente Maritime', '1', '0.00000'), ('1131', '74', '18', 'Cher', '1', '0.00000'), ('1132', '74', '19', 'Corrèze', '1', '0.00000'), ('1133', '74', '2A', 'Corse du Sud', '1', '0.00000'), ('1134', '74', '2B', 'Haute Corse', '1', '0.00000'), ('1135', '74', '21', 'Côte d'or', '1', '0.00000'), ('1136', '74', '22', 'Côtes d'Armor', '1', '0.00000'), ('1137', '74', '23', 'Creuse', '1', '0.00000'), ('1138', '74', '24', 'Dordogne', '1', '0.00000'), ('1139', '74', '25', 'Doubs', '1', '0.00000'), ('1140', '74', '26', 'Drôme', '1', '0.00000'), ('1141', '74', '27', 'Eure', '1', '0.00000'), ('1142', '74', '28', 'Eure et Loir', '1', '0.00000'), ('1143', '74', '29', 'Finistère', '1', '0.00000'), ('1144', '74', '30', 'Gard', '1', '0.00000'), ('1145', '74', '31', 'Haute Garonne', '1', '0.00000'), ('1146', '74', '32', 'Gers', '1', '0.00000'), ('1147', '74', '33', 'Gironde', '1', '0.00000'), ('1148', '74', '34', 'Hérault', '1', '0.00000'), ('1149', '74', '35', 'Ille et Vilaine', '1', '0.00000'), ('1150', '74', '36', 'Indre', '1', '0.00000'), ('1151', '74', '37', 'Indre et Loire', '1', '0.00000'), ('1152', '74', '38', 'Isére', '1', '0.00000'), ('1153', '74', '39', 'Jura', '1', '0.00000'), ('1154', '74', '40', 'Landes', '1', '0.00000'), ('1155', '74', '41', 'Loir et Cher', '1', '0.00000'), ('1156', '74', '42', 'Loire', '1', '0.00000'), ('1157', '74', '43', 'Haute Loire', '1', '0.00000'), ('1158', '74', '44', 'Loire Atlantique', '1', '0.00000'), ('1159', '74', '45', 'Loiret', '1', '0.00000'), ('1160', '74', '46', 'Lot', '1', '0.00000'), ('1161', '74', '47', 'Lot et Garonne', '1', '0.00000'), ('1162', '74', '48', 'Lozère', '1', '0.00000'), ('1163', '74', '49', 'Maine et Loire', '1', '0.00000'), ('1164', '74', '50', 'Manche', '1', '0.00000'), ('1165', '74', '51', 'Marne', '1', '0.00000'), ('1166', '74', '52', 'Haute Marne', '1', '0.00000'), ('1167', '74', '53', 'Mayenne', '1', '0.00000'), ('1168', '74', '54', 'Meurthe et Moselle', '1', '0.00000'), ('1169', '74', '55', 'Meuse', '1', '0.00000'), ('1170', '74', '56', 'Morbihan', '1', '0.00000'), ('1171', '74', '57', 'Moselle', '1', '0.00000'), ('1172', '74', '58', 'Nièvre', '1', '0.00000'), ('1173', '74', '59', 'Nord', '1', '0.00000'), ('1174', '74', '60', 'Oise', '1', '0.00000'), ('1175', '74', '61', 'Orne', '1', '0.00000'), ('1176', '74', '62', 'Pas de Calais', '1', '0.00000'), ('1177', '74', '63', 'Puy de Dôme', '1', '0.00000'), ('1178', '74', '64', 'Pyrénées Atlantiques', '1', '0.00000'), ('1179', '74', '65', 'Hautes Pyrénées', '1', '0.00000'), ('1180', '74', '66', 'Pyrénées Orientales', '1', '0.00000'), ('1181', '74', '67', 'Bas Rhin', '1', '0.00000'), ('1182', '74', '68', 'Haut Rhin', '1', '0.00000'), ('1183', '74', '69', 'Rhône', '1', '0.00000'), ('1184', '74', '70', 'Haute Saône', '1', '0.00000'), ('1185', '74', '71', 'Saône et Loire', '1', '0.00000'), ('1186', '74', '72', 'Sarthe', '1', '0.00000'), ('1187', '74', '73', 'Savoie', '1', '0.00000'), ('1188', '74', '74', 'Haute Savoie', '1', '0.00000'), ('1189', '74', '75', 'Paris', '1', '0.00000'), ('1190', '74', '76', 'Seine Maritime', '1', '0.00000'), ('1191', '74', '77', 'Seine et Marne', '1', '0.00000'), ('1192', '74', '78', 'Yvelines', '1', '0.00000'), ('1193', '74', '79', 'Deux Sèvres', '1', '0.00000'), ('1194', '74', '80', 'Somme', '1', '0.00000'), ('1195', '74', '81', 'Tarn', '1', '0.00000'), ('1196', '74', '82', 'Tarn et Garonne', '1', '0.00000'), ('1197', '74', '83', 'Var', '1', '0.00000'), ('1198', '74', '84', 'Vaucluse', '1', '0.00000'), ('1199', '74', '85', 'Vendée', '1', '0.00000'), ('1200', '74', '86', 'Vienne', '1', '0.00000'), ('1201', '74', '87', 'Haute Vienne', '1', '0.00000'), ('1202', '74', '88', 'Vosges', '1', '0.00000'), ('1203', '74', '89', 'Yonne', '1', '0.00000'), ('1204', '74', '90', 'Territoire de Belfort', '1', '0.00000'), ('1205', '74', '91', 'Essonne', '1', '0.00000'), ('1206', '74', '92', 'Hauts de Seine', '1', '0.00000'), ('1207', '74', '93', 'Seine St-Denis', '1', '0.00000'), ('1208', '74', '94', 'Val de Marne', '1', '0.00000'), ('1209', '74', '95', 'Val d\'Oise', '1', '0.00000'), ('1210', '76', 'M', 'Archipel des Marquises', '1', '0.00000'), ('1211', '76', 'T', 'Archipel des Tuamotu', '1', '0.00000'), ('1212', '76', 'I', 'Archipel des Tubuai', '1', '0.00000'), ('1213', '76', 'V', 'Iles du Vent', '1', '0.00000'), ('1214', '76', 'S', 'Iles Sous-le-Vent', '1', '0.00000'), ('1215', '77', 'C', 'Iles Crozet', '1', '0.00000'), ('1216', '77', 'K', 'Iles Kerguelen', '1', '0.00000'), ('1217', '77', 'A', 'Ile Amsterdam', '1', '0.00000'), ('1218', '77', 'P', 'Ile Saint-Paul', '1', '0.00000'), ('1219', '77', 'D', 'Adelie Land', '1', '0.00000'), ('1220', '78', 'ES', 'Estuaire', '1', '0.00000'), ('1221', '78', 'HO', 'Haut-Ogooue', '1', '0.00000'), ('1222', '78', 'MO', 'Moyen-Ogooue', '1', '0.00000'), ('1223', '78', 'NG', 'Ngounie', '1', '0.00000'), ('1224', '78', 'NY', 'Nyanga', '1', '0.00000'), ('1225', '78', 'OI', 'Ogooue-Ivindo', '1', '0.00000'), ('1226', '78', 'OL', 'Ogooue-Lolo', '1', '0.00000'), ('1227', '78', 'OM', 'Ogooue-Maritime', '1', '0.00000'), ('1228', '78', 'WN', 'Woleu-Ntem', '1', '0.00000'), ('1229', '79', 'BJ', 'Banjul', '1', '0.00000'), ('1230', '79', 'BS', 'Basse', '1', '0.00000'), ('1231', '79', 'BR', 'Brikama', '1', '0.00000'), ('1232', '79', 'JA', 'Janjangbure', '1', '0.00000'), ('1233', '79', 'KA', 'Kanifeng', '1', '0.00000'), ('1234', '79', 'KE', 'Kerewan', '1', '0.00000'), ('1235', '79', 'KU', 'Kuntaur', '1', '0.00000'), ('1236', '79', 'MA', 'Mansakonko', '1', '0.00000'), ('1237', '79', 'LR', 'Lower River', '1', '0.00000'), ('1238', '79', 'CR', 'Central River', '1', '0.00000'), ('1239', '79', 'NB', 'North Bank', '1', '0.00000'), ('1240', '79', 'UR', 'Upper River', '1', '0.00000'), ('1241', '79', 'WE', 'Western', '1', '0.00000'), ('1242', '80', 'AB', 'Abkhazia', '1', '0.00000'), ('1243', '80', 'AJ', 'Ajaria', '1', '0.00000'), ('1244', '80', 'TB', 'Tbilisi', '1', '0.00000'), ('1245', '80', 'GU', 'Guria', '1', '0.00000'), ('1246', '80', 'IM', 'Imereti', '1', '0.00000'), ('1247', '80', 'KA', 'Kakheti', '1', '0.00000'), ('1248', '80', 'KK', 'Kvemo Kartli', '1', '0.00000'), ('1249', '80', 'MM', 'Mtskheta-Mtianeti', '1', '0.00000'), ('1250', '80', 'RL', 'Racha Lechkhumi and Kvemo Svanet', '1', '0.00000'), ('1251', '80', 'SZ', 'Samegrelo-Zemo Svaneti', '1', '0.00000'), ('1252', '80', 'SJ', 'Samtskhe-Javakheti', '1', '0.00000'), ('1253', '80', 'SK', 'Shida Kartli', '1', '0.00000'), ('1254', '81', 'BAW', 'Baden-Württemberg', '1', '0.00000'), ('1255', '81', 'BAY', 'Bayern', '1', '0.00000'), ('1256', '81', 'BER', 'Berlin', '1', '0.00000'), ('1257', '81', 'BRG', 'Brandenburg', '1', '0.00000'), ('1258', '81', 'BRE', 'Bremen', '1', '0.00000'), ('1259', '81', 'HAM', 'Hamburg', '1', '0.00000'), ('1260', '81', 'HES', 'Hessen', '1', '0.00000'), ('1261', '81', 'MEC', 'Mecklenburg-Vorpommern', '1', '0.00000'), ('1262', '81', 'NDS', 'Niedersachsen', '1', '0.00000'), ('1263', '81', 'NRW', 'Nordrhein-Westfalen', '1', '0.00000'), ('1264', '81', 'RHE', 'Rheinland-Pfalz', '1', '0.00000'), ('1265', '81', 'SAR', 'Saarland', '1', '0.00000'), ('1266', '81', 'SAS', 'Sachsen', '1', '0.00000'), ('1267', '81', 'SAC', 'Sachsen-Anhalt', '1', '0.00000'), ('1268', '81', 'SCN', 'Schleswig-Holstein', '1', '0.00000'), ('1269', '81', 'THE', 'Thüringen', '1', '0.00000'), ('1270', '82', 'AS', 'Ashanti Region', '1', '0.00000'), ('1271', '82', 'BA', 'Brong-Ahafo Region', '1', '0.00000'), ('1272', '82', 'CE', 'Central Region', '1', '0.00000'), ('1273', '82', 'EA', 'Eastern Region', '1', '0.00000'), ('1274', '82', 'GA', 'Greater Accra Region', '1', '0.00000'), ('1275', '82', 'NO', 'Northern Region', '1', '0.00000'), ('1276', '82', 'UE', 'Upper East Region', '1', '0.00000'), ('1277', '82', 'UW', 'Upper West Region', '1', '0.00000'), ('1278', '82', 'VO', 'Volta Region', '1', '0.00000'), ('1279', '82', 'WE', 'Western Region', '1', '0.00000'), ('1280', '84', 'AT', 'Attica', '1', '0.00000'), ('1281', '84', 'CN', 'Central Greece', '1', '0.00000'), ('1282', '84', 'CM', 'Central Macedonia', '1', '0.00000'), ('1283', '84', 'CR', 'Crete', '1', '0.00000'); + +-- new query + +INSERT INTO `prefix_country_zones` VALUES ('1284', '84', 'EM', 'East Macedonia and Thrace', '1', '0.00000'), ('1285', '84', 'EP', 'Epirus', '1', '0.00000'), ('1286', '84', 'II', 'Ionian Islands', '1', '0.00000'), ('1287', '84', 'NA', 'North Aegean', '1', '0.00000'), ('1288', '84', 'PP', 'Peloponnesos', '1', '0.00000'), ('1289', '84', 'SA', 'South Aegean', '1', '0.00000'), ('1290', '84', 'TH', 'Thessaly', '1', '0.00000'), ('1291', '84', 'WG', 'West Greece', '1', '0.00000'), ('1292', '84', 'WM', 'West Macedonia', '1', '0.00000'), ('1293', '85', 'A', 'Avannaa', '1', '0.00000'), ('1294', '85', 'T', 'Tunu', '1', '0.00000'), ('1295', '85', 'K', 'Kitaa', '1', '0.00000'), ('1296', '86', 'A', 'Saint Andrew', '1', '0.00000'), ('1297', '86', 'D', 'Saint David', '1', '0.00000'), ('1298', '86', 'G', 'Saint George', '1', '0.00000'), ('1299', '86', 'J', 'Saint John', '1', '0.00000'), ('1300', '86', 'M', 'Saint Mark', '1', '0.00000'), ('1301', '86', 'P', 'Saint Patrick', '1', '0.00000'), ('1302', '86', 'C', 'Carriacou', '1', '0.00000'), ('1303', '86', 'Q', 'Petit Martinique', '1', '0.00000'), ('1304', '89', 'AV', 'Alta Verapaz', '1', '0.00000'), ('1305', '89', 'BV', 'Baja Verapaz', '1', '0.00000'), ('1306', '89', 'CM', 'Chimaltenango', '1', '0.00000'), ('1307', '89', 'CQ', 'Chiquimula', '1', '0.00000'), ('1308', '89', 'PE', 'El Peten', '1', '0.00000'), ('1309', '89', 'PR', 'El Progreso', '1', '0.00000'), ('1310', '89', 'QC', 'El Quiche', '1', '0.00000'), ('1311', '89', 'ES', 'Escuintla', '1', '0.00000'), ('1312', '89', 'GU', 'Guatemala', '1', '0.00000'), ('1313', '89', 'HU', 'Huehuetenango', '1', '0.00000'), ('1314', '89', 'IZ', 'Izabal', '1', '0.00000'), ('1315', '89', 'JA', 'Jalapa', '1', '0.00000'), ('1316', '89', 'JU', 'Jutiapa', '1', '0.00000'), ('1317', '89', 'QZ', 'Quetzaltenango', '1', '0.00000'), ('1318', '89', 'RE', 'Retalhuleu', '1', '0.00000'), ('1319', '89', 'ST', 'Sacatepequez', '1', '0.00000'), ('1320', '89', 'SM', 'San Marcos', '1', '0.00000'), ('1321', '89', 'SR', 'Santa Rosa', '1', '0.00000'), ('1322', '89', 'SO', 'Solola', '1', '0.00000'), ('1323', '89', 'SU', 'Suchitepequez', '1', '0.00000'), ('1324', '89', 'TO', 'Totonicapan', '1', '0.00000'), ('1325', '89', 'ZA', 'Zacapa', '1', '0.00000'), ('1326', '90', 'CNK', 'Conakry', '1', '0.00000'), ('1327', '90', 'BYL', 'Beyla', '1', '0.00000'), ('1328', '90', 'BFA', 'Boffa', '1', '0.00000'), ('1329', '90', 'BOK', 'Boke', '1', '0.00000'), ('1330', '90', 'COY', 'Coyah', '1', '0.00000'), ('1331', '90', 'DBL', 'Dabola', '1', '0.00000'), ('1332', '90', 'DLB', 'Dalaba', '1', '0.00000'), ('1333', '90', 'DGR', 'Dinguiraye', '1', '0.00000'), ('1334', '90', 'DBR', 'Dubreka', '1', '0.00000'), ('1335', '90', 'FRN', 'Faranah', '1', '0.00000'), ('1336', '90', 'FRC', 'Forecariah', '1', '0.00000'), ('1337', '90', 'FRI', 'Fria', '1', '0.00000'), ('1338', '90', 'GAO', 'Gaoual', '1', '0.00000'), ('1339', '90', 'GCD', 'Gueckedou', '1', '0.00000'), ('1340', '90', 'KNK', 'Kankan', '1', '0.00000'), ('1341', '90', 'KRN', 'Kerouane', '1', '0.00000'), ('1342', '90', 'KND', 'Kindia', '1', '0.00000'), ('1343', '90', 'KSD', 'Kissidougou', '1', '0.00000'), ('1344', '90', 'KBA', 'Koubia', '1', '0.00000'), ('1345', '90', 'KDA', 'Koundara', '1', '0.00000'), ('1346', '90', 'KRA', 'Kouroussa', '1', '0.00000'), ('1347', '90', 'LAB', 'Labe', '1', '0.00000'), ('1348', '90', 'LLM', 'Lelouma', '1', '0.00000'), ('1349', '90', 'LOL', 'Lola', '1', '0.00000'), ('1350', '90', 'MCT', 'Macenta', '1', '0.00000'), ('1351', '90', 'MAL', 'Mali', '1', '0.00000'), ('1352', '90', 'MAM', 'Mamou', '1', '0.00000'), ('1353', '90', 'MAN', 'Mandiana', '1', '0.00000'), ('1354', '90', 'NZR', 'Nzerekore', '1', '0.00000'), ('1355', '90', 'PIT', 'Pita', '1', '0.00000'), ('1356', '90', 'SIG', 'Siguiri', '1', '0.00000'), ('1357', '90', 'TLM', 'Telimele', '1', '0.00000'), ('1358', '90', 'TOG', 'Tougue', '1', '0.00000'), ('1359', '90', 'YOM', 'Yomou', '1', '0.00000'), ('1360', '91', 'BF', 'Bafata Region', '1', '0.00000'), ('1361', '91', 'BB', 'Biombo Region', '1', '0.00000'), ('1362', '91', 'BS', 'Bissau Region', '1', '0.00000'), ('1363', '91', 'BL', 'Bolama Region', '1', '0.00000'), ('1364', '91', 'CA', 'Cacheu Region', '1', '0.00000'), ('1365', '91', 'GA', 'Gabu Region', '1', '0.00000'), ('1366', '91', 'OI', 'Oio Region', '1', '0.00000'), ('1367', '91', 'QU', 'Quinara Region', '1', '0.00000'), ('1368', '91', 'TO', 'Tombali Region', '1', '0.00000'), ('1369', '92', 'BW', 'Barima-Waini', '1', '0.00000'), ('1370', '92', 'CM', 'Cuyuni-Mazaruni', '1', '0.00000'), ('1371', '92', 'DM', 'Demerara-Mahaica', '1', '0.00000'), ('1372', '92', 'EC', 'East Berbice-Corentyne', '1', '0.00000'), ('1373', '92', 'EW', 'Essequibo Islands-West Demerara', '1', '0.00000'), ('1374', '92', 'MB', 'Mahaica-Berbice', '1', '0.00000'), ('1375', '92', 'PM', 'Pomeroon-Supenaam', '1', '0.00000'), ('1376', '92', 'PI', 'Potaro-Siparuni', '1', '0.00000'), ('1377', '92', 'UD', 'Upper Demerara-Berbice', '1', '0.00000'), ('1378', '92', 'UT', 'Upper Takutu-Upper Essequibo', '1', '0.00000'), ('1379', '93', 'AR', 'Artibonite', '1', '0.00000'), ('1380', '93', 'CE', 'Centre', '1', '0.00000'), ('1381', '93', 'GA', 'Grand\'Anse', '1', '0.00000'), ('1382', '93', 'ND', 'Nord', '1', '0.00000'), ('1383', '93', 'NE', 'Nord-Est', '1', '0.00000'), ('1384', '93', 'NO', 'Nord-Ouest', '1', '0.00000'), ('1385', '93', 'OU', 'Ouest', '1', '0.00000'), ('1386', '93', 'SD', 'Sud', '1', '0.00000'), ('1387', '93', 'SE', 'Sud-Est', '1', '0.00000'), ('1388', '94', 'F', 'Flat Island', '1', '0.00000'), ('1389', '94', 'M', 'McDonald Island', '1', '0.00000'), ('1390', '94', 'S', 'Shag Island', '1', '0.00000'), ('1391', '94', 'H', 'Heard Island', '1', '0.00000'), ('1392', '95', 'AT', 'Atlantida', '1', '0.00000'), ('1393', '95', 'CH', 'Choluteca', '1', '0.00000'), ('1394', '95', 'CL', 'Colon', '1', '0.00000'), ('1395', '95', 'CM', 'Comayagua', '1', '0.00000'), ('1396', '95', 'CP', 'Copan', '1', '0.00000'), ('1397', '95', 'CR', 'Cortes', '1', '0.00000'), ('1398', '95', 'PA', 'El Paraiso', '1', '0.00000'), ('1399', '95', 'FM', 'Francisco Morazan', '1', '0.00000'), ('1400', '95', 'GD', 'Gracias a Dios', '1', '0.00000'), ('1401', '95', 'IN', 'Intibuca', '1', '0.00000'), ('1402', '95', 'IB', 'Islas de la Bahia (Bay Islands)', '1', '0.00000'), ('1403', '95', 'PZ', 'La Paz', '1', '0.00000'), ('1404', '95', 'LE', 'Lempira', '1', '0.00000'), ('1405', '95', 'OC', 'Ocotepeque', '1', '0.00000'), ('1406', '95', 'OL', 'Olancho', '1', '0.00000'), ('1407', '95', 'SB', 'Santa Barbara', '1', '0.00000'), ('1408', '95', 'VA', 'Valle', '1', '0.00000'), ('1409', '95', 'YO', 'Yoro', '1', '0.00000'), ('1410', '96', 'HCW', 'Central and Western Hong Kong Island', '1', '0.00000'), ('1411', '96', 'HEA', 'Eastern Hong Kong Island', '1', '0.00000'), ('1412', '96', 'HSO', 'Southern Hong Kong Island', '1', '0.00000'), ('1413', '96', 'HWC', 'Wan Chai Hong Kong Island', '1', '0.00000'), ('1414', '96', 'KKC', 'Kowloon City Kowloon', '1', '0.00000'), ('1415', '96', 'KKT', 'Kwun Tong Kowloon', '1', '0.00000'), ('1416', '96', 'KSS', 'Sham Shui Po Kowloon', '1', '0.00000'), ('1417', '96', 'KWT', 'Wong Tai Sin Kowloon', '1', '0.00000'), ('1418', '96', 'KYT', 'Yau Tsim Mong Kowloon', '1', '0.00000'), ('1419', '96', 'NIS', 'Islands New Territories', '1', '0.00000'), ('1420', '96', 'NKT', 'Kwai Tsing New Territories', '1', '0.00000'), ('1421', '96', 'NNO', 'North New Territories', '1', '0.00000'), ('1422', '96', 'NSK', 'Sai Kung New Territories', '1', '0.00000'), ('1423', '96', 'NST', 'Sha Tin New Territories', '1', '0.00000'), ('1424', '96', 'NTP', 'Tai Po New Territories', '1', '0.00000'), ('1425', '96', 'NTW', 'Tsuen Wan New Territories', '1', '0.00000'), ('1426', '96', 'NTM', 'Tuen Mun New Territories', '1', '0.00000'), ('1427', '96', 'NYL', 'Yuen Long New Territories', '1', '0.00000'), ('1428', '97', 'BK', 'Bacs-Kiskun', '1', '0.00000'), ('1429', '97', 'BA', 'Baranya', '1', '0.00000'), ('1430', '97', 'BE', 'Bekes', '1', '0.00000'), ('1431', '97', 'BS', 'Bekescsaba', '1', '0.00000'), ('1432', '97', 'BZ', 'Borsod-Abauj-Zemplen', '1', '0.00000'), ('1433', '97', 'BU', 'Budapest', '1', '0.00000'), ('1434', '97', 'CS', 'Csongrad', '1', '0.00000'), ('1435', '97', 'DE', 'Debrecen', '1', '0.00000'), ('1436', '97', 'DU', 'Dunaujvaros', '1', '0.00000'), ('1437', '97', 'EG', 'Eger', '1', '0.00000'), ('1438', '97', 'FE', 'Fejer', '1', '0.00000'), ('1439', '97', 'GY', 'Gyor', '1', '0.00000'), ('1440', '97', 'GM', 'Gyor-Moson-Sopron', '1', '0.00000'), ('1441', '97', 'HB', 'Hajdu-Bihar', '1', '0.00000'), ('1442', '97', 'HE', 'Heves', '1', '0.00000'), ('1443', '97', 'HO', 'Hodmezovasarhely', '1', '0.00000'), ('1444', '97', 'JN', 'Jasz-Nagykun-Szolnok', '1', '0.00000'), ('1445', '97', 'KA', 'Kaposvar', '1', '0.00000'), ('1446', '97', 'KE', 'Kecskemet', '1', '0.00000'), ('1447', '97', 'KO', 'Komarom-Esztergom', '1', '0.00000'), ('1448', '97', 'MI', 'Miskolc', '1', '0.00000'), ('1449', '97', 'NA', 'Nagykanizsa', '1', '0.00000'), ('1450', '97', 'NO', 'Nograd', '1', '0.00000'), ('1451', '97', 'NY', 'Nyiregyhaza', '1', '0.00000'), ('1452', '97', 'PE', 'Pecs', '1', '0.00000'), ('1453', '97', 'PS', 'Pest', '1', '0.00000'), ('1454', '97', 'SO', 'Somogy', '1', '0.00000'), ('1455', '97', 'SP', 'Sopron', '1', '0.00000'), ('1456', '97', 'SS', 'Szabolcs-Szatmar-Bereg', '1', '0.00000'), ('1457', '97', 'SZ', 'Szeged', '1', '0.00000'), ('1458', '97', 'SE', 'Szekesfehervar', '1', '0.00000'), ('1459', '97', 'SL', 'Szolnok', '1', '0.00000'), ('1460', '97', 'SM', 'Szombathely', '1', '0.00000'), ('1461', '97', 'TA', 'Tatabanya', '1', '0.00000'), ('1462', '97', 'TO', 'Tolna', '1', '0.00000'), ('1463', '97', 'VA', 'Vas', '1', '0.00000'), ('1464', '97', 'VE', 'Veszprem', '1', '0.00000'), ('1465', '97', 'ZA', 'Zala', '1', '0.00000'), ('1466', '97', 'ZZ', 'Zalaegerszeg', '1', '0.00000'), ('1467', '98', 'AL', 'Austurland', '1', '0.00000'), ('1468', '98', 'HF', 'Hofuoborgarsvaeoi', '1', '0.00000'), ('1469', '98', 'NE', 'Norourland eystra', '1', '0.00000'), ('1470', '98', 'NV', 'Norourland vestra', '1', '0.00000'), ('1471', '98', 'SL', 'Suourland', '1', '0.00000'), ('1472', '98', 'SN', 'Suournes', '1', '0.00000'), ('1473', '98', 'VF', 'Vestfiroir', '1', '0.00000'), ('1474', '98', 'VL', 'Vesturland', '1', '0.00000'), ('1475', '99', 'AN', 'Andaman and Nicobar Islands', '1', '0.00000'), ('1476', '99', 'AP', 'Andhra Pradesh', '1', '0.00000'), ('1477', '99', 'AR', 'Arunachal Pradesh', '1', '0.00000'), ('1478', '99', 'AS', 'Assam', '1', '0.00000'), ('1479', '99', 'BI', 'Bihar', '1', '0.00000'), ('1480', '99', 'CH', 'Chandigarh', '1', '0.00000'), ('1481', '99', 'DA', 'Dadra and Nagar Haveli', '1', '0.00000'), ('1482', '99', 'DM', 'Daman and Diu', '1', '0.00000'), ('1483', '99', 'DE', 'Delhi', '1', '0.00000'), ('1484', '99', 'GO', 'Goa', '1', '0.00000'), ('1485', '99', 'GU', 'Gujarat', '1', '0.00000'), ('1486', '99', 'HA', 'Haryana', '1', '0.00000'), ('1487', '99', 'HP', 'Himachal Pradesh', '1', '0.00000'), ('1488', '99', 'JA', 'Jammu and Kashmir', '1', '0.00000'), ('1489', '99', 'KA', 'Karnataka', '1', '0.00000'), ('1490', '99', 'KE', 'Kerala', '1', '0.00000'), ('1491', '99', 'LI', 'Lakshadweep Islands', '1', '0.00000'), ('1492', '99', 'MP', 'Madhya Pradesh', '1', '0.00000'), ('1493', '99', 'MA', 'Maharashtra', '1', '0.00000'), ('1494', '99', 'MN', 'Manipur', '1', '0.00000'), ('1495', '99', 'ME', 'Meghalaya', '1', '0.00000'), ('1496', '99', 'MI', 'Mizoram', '1', '0.00000'), ('1497', '99', 'NA', 'Nagaland', '1', '0.00000'), ('1498', '99', 'OR', 'Orissa', '1', '0.00000'), ('1499', '99', 'PO', 'Pondicherry', '1', '0.00000'), ('1500', '99', 'PU', 'Punjab', '1', '0.00000'), ('1501', '99', 'RA', 'Rajasthan', '1', '0.00000'), ('1502', '99', 'SI', 'Sikkim', '1', '0.00000'), ('1503', '99', 'TN', 'Tamil Nadu', '1', '0.00000'), ('1504', '99', 'TR', 'Tripura', '1', '0.00000'), ('1505', '99', 'UP', 'Uttar Pradesh', '1', '0.00000'), ('1506', '99', 'WB', 'West Bengal', '1', '0.00000'), ('1507', '100', 'AC', 'Aceh', '1', '0.00000'), ('1508', '100', 'BA', 'Bali', '1', '0.00000'), ('1509', '100', 'BT', 'Banten', '1', '0.00000'), ('1510', '100', 'BE', 'Bengkulu', '1', '0.00000'), ('1511', '100', 'BD', 'BoDeTaBek', '1', '0.00000'), ('1512', '100', 'GO', 'Gorontalo', '1', '0.00000'), ('1513', '100', 'JK', 'Jakarta Raya', '1', '0.00000'), ('1514', '100', 'JA', 'Jambi', '1', '0.00000'), ('1515', '100', 'JB', 'Jawa Barat', '1', '0.00000'), ('1516', '100', 'JT', 'Jawa Tengah', '1', '0.00000'), ('1517', '100', 'JI', 'Jawa Timur', '1', '0.00000'), ('1518', '100', 'KB', 'Kalimantan Barat', '1', '0.00000'), ('1519', '100', 'KS', 'Kalimantan Selatan', '1', '0.00000'), ('1520', '100', 'KT', 'Kalimantan Tengah', '1', '0.00000'), ('1521', '100', 'KI', 'Kalimantan Timur', '1', '0.00000'), ('1522', '100', 'BB', 'Kepulauan Bangka Belitung', '1', '0.00000'), ('1523', '100', 'LA', 'Lampung', '1', '0.00000'), ('1524', '100', 'MA', 'Maluku', '1', '0.00000'), ('1525', '100', 'MU', 'Maluku Utara', '1', '0.00000'), ('1526', '100', 'NB', 'Nusa Tenggara Barat', '1', '0.00000'), ('1527', '100', 'NT', 'Nusa Tenggara Timur', '1', '0.00000'), ('1528', '100', 'PA', 'Papua', '1', '0.00000'), ('1529', '100', 'RI', 'Riau', '1', '0.00000'), ('1530', '100', 'SN', 'Sulawesi Selatan', '1', '0.00000'), ('1531', '100', 'ST', 'Sulawesi Tengah', '1', '0.00000'), ('1532', '100', 'SG', 'Sulawesi Tenggara', '1', '0.00000'), ('1533', '100', 'SA', 'Sulawesi Utara', '1', '0.00000'), ('1534', '100', 'SB', 'Sumatera Barat', '1', '0.00000'), ('1535', '100', 'SS', 'Sumatera Selatan', '1', '0.00000'), ('1536', '100', 'SU', 'Sumatera Utara', '1', '0.00000'), ('1537', '100', 'YO', 'Yogyakarta', '1', '0.00000'), ('1538', '101', 'TEH', 'Tehran', '1', '0.00000'), ('1539', '101', 'QOM', 'Qom', '1', '0.00000'), ('1540', '101', 'MKZ', 'Markazi', '1', '0.00000'), ('1541', '101', 'QAZ', 'Qazvin', '1', '0.00000'), ('1542', '101', 'GIL', 'Gilan', '1', '0.00000'), ('1543', '101', 'ARD', 'Ardabil', '1', '0.00000'), ('1544', '101', 'ZAN', 'Zanjan', '1', '0.00000'), ('1545', '101', 'EAZ', 'East Azarbaijan', '1', '0.00000'), ('1546', '101', 'WEZ', 'West Azarbaijan', '1', '0.00000'), ('1547', '101', 'KRD', 'Kurdistan', '1', '0.00000'), ('1548', '101', 'HMD', 'Hamadan', '1', '0.00000'), ('1549', '101', 'KRM', 'Kermanshah', '1', '0.00000'), ('1550', '101', 'ILM', 'Ilam', '1', '0.00000'), ('1551', '101', 'LRS', 'Lorestan', '1', '0.00000'), ('1552', '101', 'KZT', 'Khuzestan', '1', '0.00000'), ('1553', '101', 'CMB', 'Chahar Mahaal and Bakhtiari', '1', '0.00000'), ('1554', '101', 'KBA', 'Kohkiluyeh and Buyer Ahmad', '1', '0.00000'), ('1555', '101', 'BSH', 'Bushehr', '1', '0.00000'), ('1556', '101', 'FAR', 'Fars', '1', '0.00000'), ('1557', '101', 'HRM', 'Hormozgan', '1', '0.00000'), ('1558', '101', 'SBL', 'Sistan and Baluchistan', '1', '0.00000'), ('1559', '101', 'KRB', 'Kerman', '1', '0.00000'), ('1560', '101', 'YZD', 'Yazd', '1', '0.00000'), ('1561', '101', 'EFH', 'Esfahan', '1', '0.00000'), ('1562', '101', 'SMN', 'Semnan', '1', '0.00000'), ('1563', '101', 'MZD', 'Mazandaran', '1', '0.00000'), ('1564', '101', 'GLS', 'Golestan', '1', '0.00000'), ('1565', '101', 'NKH', 'North Khorasan', '1', '0.00000'), ('1566', '101', 'RKH', 'Razavi Khorasan', '1', '0.00000'), ('1567', '101', 'SKH', 'South Khorasan', '1', '0.00000'), ('1568', '102', 'BD', 'Baghdad', '1', '0.00000'), ('1569', '102', 'SD', 'Salah ad Din', '1', '0.00000'), ('1570', '102', 'DY', 'Diyala', '1', '0.00000'), ('1571', '102', 'WS', 'Wasit', '1', '0.00000'), ('1572', '102', 'MY', 'Maysan', '1', '0.00000'), ('1573', '102', 'BA', 'Al Basrah', '1', '0.00000'), ('1574', '102', 'DQ', 'Dhi Qar', '1', '0.00000'), ('1575', '102', 'MU', 'Al Muthanna', '1', '0.00000'), ('1576', '102', 'QA', 'Al Qadisyah', '1', '0.00000'), ('1577', '102', 'BB', 'Babil', '1', '0.00000'), ('1578', '102', 'KB', 'Al Karbala', '1', '0.00000'), ('1579', '102', 'NJ', 'An Najaf', '1', '0.00000'), ('1580', '102', 'AB', 'Al Anbar', '1', '0.00000'), ('1581', '102', 'NN', 'Ninawa', '1', '0.00000'), ('1582', '102', 'DH', 'Dahuk', '1', '0.00000'), ('1583', '102', 'AL', 'Arbil', '1', '0.00000'), ('1584', '102', 'TM', 'At Ta\'mim', '1', '0.00000'), ('1585', '102', 'SL', 'As Sulaymaniyah', '1', '0.00000'), ('1586', '103', 'CA', 'Carlow', '1', '0.00000'), ('1587', '103', 'CV', 'Cavan', '1', '0.00000'), ('1588', '103', 'CL', 'Clare', '1', '0.00000'), ('1589', '103', 'CO', 'Cork', '1', '0.00000'), ('1590', '103', 'DO', 'Donegal', '1', '0.00000'), ('1591', '103', 'DU', 'Dublin', '1', '0.00000'), ('1592', '103', 'GA', 'Galway', '1', '0.00000'), ('1593', '103', 'KE', 'Kerry', '1', '0.00000'), ('1594', '103', 'KI', 'Kildare', '1', '0.00000'), ('1595', '103', 'KL', 'Kilkenny', '1', '0.00000'), ('1596', '103', 'LA', 'Laois', '1', '0.00000'), ('1597', '103', 'LE', 'Leitrim', '1', '0.00000'), ('1598', '103', 'LI', 'Limerick', '1', '0.00000'), ('1599', '103', 'LO', 'Longford', '1', '0.00000'), ('1600', '103', 'LU', 'Louth', '1', '0.00000'), ('1601', '103', 'MA', 'Mayo', '1', '0.00000'), ('1602', '103', 'ME', 'Meath', '1', '0.00000'), ('1603', '103', 'MO', 'Monaghan', '1', '0.00000'), ('1604', '103', 'OF', 'Offaly', '1', '0.00000'), ('1605', '103', 'RO', 'Roscommon', '1', '0.00000'), ('1606', '103', 'SL', 'Sligo', '1', '0.00000'), ('1607', '103', 'TI', 'Tipperary', '1', '0.00000'), ('1608', '103', 'WA', 'Waterford', '1', '0.00000'), ('1609', '103', 'WE', 'Westmeath', '1', '0.00000'), ('1610', '103', 'WX', 'Wexford', '1', '0.00000'), ('1611', '103', 'WI', 'Wicklow', '1', '0.00000'), ('1612', '104', 'BS', 'Be\'er Sheva', '1', '0.00000'), ('1613', '104', 'BH', 'Bika\'at Hayarden', '1', '0.00000'), ('1614', '104', 'EA', 'Eilat and Arava', '1', '0.00000'), ('1615', '104', 'GA', 'Galil', '1', '0.00000'), ('1616', '104', 'HA', 'Haifa', '1', '0.00000'), ('1617', '104', 'JM', 'Jehuda Mountains', '1', '0.00000'), ('1618', '104', 'JE', 'Jerusalem', '1', '0.00000'), ('1619', '104', 'NE', 'Negev', '1', '0.00000'), ('1620', '104', 'SE', 'Semaria', '1', '0.00000'), ('1621', '104', 'SH', 'Sharon', '1', '0.00000'), ('1622', '104', 'TA', 'Tel Aviv (Gosh Dan)', '1', '0.00000'), ('3860', '105', 'CL', 'Caltanissetta', '1', '0.00000'), ('3842', '105', 'AG', 'Agrigento', '1', '0.00000'), ('3843', '105', 'AL', 'Alessandria', '1', '0.00000'), ('3844', '105', 'AN', 'Ancona', '1', '0.00000'), ('3845', '105', 'AO', 'Aosta', '1', '0.00000'), ('3846', '105', 'AR', 'Arezzo', '1', '0.00000'), ('3847', '105', 'AP', 'Ascoli Piceno', '1', '0.00000'), ('3848', '105', 'AT', 'Asti', '1', '0.00000'), ('3849', '105', 'AV', 'Avellino', '1', '0.00000'), ('3850', '105', 'BA', 'Bari', '1', '0.00000'), ('3851', '105', 'BL', 'Belluno', '1', '0.00000'), ('3852', '105', 'BN', 'Benevento', '1', '0.00000'), ('3853', '105', 'BG', 'Bergamo', '1', '0.00000'), ('3854', '105', 'BI', 'Biella', '1', '0.00000'), ('3855', '105', 'BO', 'Bologna', '1', '0.00000'), ('3856', '105', 'BZ', 'Bolzano', '1', '0.00000'), ('3857', '105', 'BS', 'Brescia', '1', '0.00000'), ('3858', '105', 'BR', 'Brindisi', '1', '0.00000'), ('3859', '105', 'CA', 'Cagliari', '1', '0.00000'), ('1643', '106', 'CLA', 'Clarendon Parish', '1', '0.00000'), ('1644', '106', 'HAN', 'Hanover Parish', '1', '0.00000'), ('1645', '106', 'KIN', 'Kingston Parish', '1', '0.00000'), ('1646', '106', 'MAN', 'Manchester Parish', '1', '0.00000'), ('1647', '106', 'POR', 'Portland Parish', '1', '0.00000'), ('1648', '106', 'AND', 'Saint Andrew Parish', '1', '0.00000'), ('1649', '106', 'ANN', 'Saint Ann Parish', '1', '0.00000'), ('1650', '106', 'CAT', 'Saint Catherine Parish', '1', '0.00000'), ('1651', '106', 'ELI', 'Saint Elizabeth Parish', '1', '0.00000'), ('1652', '106', 'JAM', 'Saint James Parish', '1', '0.00000'), ('1653', '106', 'MAR', 'Saint Mary Parish', '1', '0.00000'), ('1654', '106', 'THO', 'Saint Thomas Parish', '1', '0.00000'), ('1655', '106', 'TRL', 'Trelawny Parish', '1', '0.00000'), ('1656', '106', 'WML', 'Westmoreland Parish', '1', '0.00000'), ('1657', '107', 'AI', 'Aichi', '1', '0.00000'), ('1658', '107', 'AK', 'Akita', '1', '0.00000'), ('1659', '107', 'AO', 'Aomori', '1', '0.00000'), ('1660', '107', 'CH', 'Chiba', '1', '0.00000'), ('1661', '107', 'EH', 'Ehime', '1', '0.00000'), ('1662', '107', 'FK', 'Fukui', '1', '0.00000'), ('1663', '107', 'FU', 'Fukuoka', '1', '0.00000'), ('1664', '107', 'FS', 'Fukushima', '1', '0.00000'), ('1665', '107', 'GI', 'Gifu', '1', '0.00000'), ('1666', '107', 'GU', 'Gumma', '1', '0.00000'), ('1667', '107', 'HI', 'Hiroshima', '1', '0.00000'), ('1668', '107', 'HO', 'Hokkaido', '1', '0.00000'), ('1669', '107', 'HY', 'Hyogo', '1', '0.00000'), ('1670', '107', 'IB', 'Ibaraki', '1', '0.00000'), ('1671', '107', 'IS', 'Ishikawa', '1', '0.00000'), ('1672', '107', 'IW', 'Iwate', '1', '0.00000'), ('1673', '107', 'KA', 'Kagawa', '1', '0.00000'), ('1674', '107', 'KG', 'Kagoshima', '1', '0.00000'), ('1675', '107', 'KN', 'Kanagawa', '1', '0.00000'), ('1676', '107', 'KO', 'Kochi', '1', '0.00000'), ('1677', '107', 'KU', 'Kumamoto', '1', '0.00000'), ('1678', '107', 'KY', 'Kyoto', '1', '0.00000'), ('1679', '107', 'MI', 'Mie', '1', '0.00000'), ('1680', '107', 'MY', 'Miyagi', '1', '0.00000'), ('1681', '107', 'MZ', 'Miyazaki', '1', '0.00000'), ('1682', '107', 'NA', 'Nagano', '1', '0.00000'), ('1683', '107', 'NG', 'Nagasaki', '1', '0.00000'), ('1684', '107', 'NR', 'Nara', '1', '0.00000'), ('1685', '107', 'NI', 'Niigata', '1', '0.00000'), ('1686', '107', 'OI', 'Oita', '1', '0.00000'), ('1687', '107', 'OK', 'Okayama', '1', '0.00000'), ('1688', '107', 'ON', 'Okinawa', '1', '0.00000'), ('1689', '107', 'OS', 'Osaka', '1', '0.00000'), ('1690', '107', 'SA', 'Saga', '1', '0.00000'), ('1691', '107', 'SI', 'Saitama', '1', '0.00000'), ('1692', '107', 'SH', 'Shiga', '1', '0.00000'), ('1693', '107', 'SM', 'Shimane', '1', '0.00000'), ('1694', '107', 'SZ', 'Shizuoka', '1', '0.00000'), ('1695', '107', 'TO', 'Tochigi', '1', '0.00000'), ('1696', '107', 'TS', 'Tokushima', '1', '0.00000'), ('1697', '107', 'TK', 'Tokyo', '1', '0.00000'), ('1698', '107', 'TT', 'Tottori', '1', '0.00000'), ('1699', '107', 'TY', 'Toyama', '1', '0.00000'), ('1700', '107', 'WA', 'Wakayama', '1', '0.00000'), ('1701', '107', 'YA', 'Yamagata', '1', '0.00000'), ('1702', '107', 'YM', 'Yamaguchi', '1', '0.00000'), ('1703', '107', 'YN', 'Yamanashi', '1', '0.00000'), ('1704', '108', 'AM', '\'Amman', '1', '0.00000'), ('1705', '108', 'AJ', 'Ajlun', '1', '0.00000'), ('1706', '108', 'AA', 'Al \'Aqabah', '1', '0.00000'), ('1707', '108', 'AB', 'Al Balqa\'', '1', '0.00000'), ('1708', '108', 'AK', 'Al Karak', '1', '0.00000'), ('1709', '108', 'AL', 'Al Mafraq', '1', '0.00000'), ('1710', '108', 'AT', 'At Tafilah', '1', '0.00000'), ('1711', '108', 'AZ', 'Az Zarqa\'', '1', '0.00000'), ('1712', '108', 'IR', 'Irbid', '1', '0.00000'), ('1713', '108', 'JA', 'Jarash', '1', '0.00000'), ('1714', '108', 'MA', 'Ma\'an', '1', '0.00000'), ('1715', '108', 'MD', 'Madaba', '1', '0.00000'), ('1716', '109', 'AL', 'Almaty', '1', '0.00000'), ('1717', '109', 'AC', 'Almaty City', '1', '0.00000'), ('1718', '109', 'AM', 'Aqmola', '1', '0.00000'), ('1719', '109', 'AQ', 'Aqtobe', '1', '0.00000'), ('1720', '109', 'AS', 'Astana City', '1', '0.00000'), ('1721', '109', 'AT', 'Atyrau', '1', '0.00000'), ('1722', '109', 'BA', 'Batys Qazaqstan', '1', '0.00000'), ('1723', '109', 'BY', 'Bayqongyr City', '1', '0.00000'), ('1724', '109', 'MA', 'Mangghystau', '1', '0.00000'), ('1725', '109', 'ON', 'Ongtustik Qazaqstan', '1', '0.00000'), ('1726', '109', 'PA', 'Pavlodar', '1', '0.00000'), ('1727', '109', 'QA', 'Qaraghandy', '1', '0.00000'), ('1728', '109', 'QO', 'Qostanay', '1', '0.00000'), ('1729', '109', 'QY', 'Qyzylorda', '1', '0.00000'), ('1730', '109', 'SH', 'Shyghys Qazaqstan', '1', '0.00000'), ('1731', '109', 'SO', 'Soltustik Qazaqstan', '1', '0.00000'), ('1732', '109', 'ZH', 'Zhambyl', '1', '0.00000'), ('1733', '110', 'CE', 'Central', '1', '0.00000'), ('1734', '110', 'CO', 'Coast', '1', '0.00000'), ('1735', '110', 'EA', 'Eastern', '1', '0.00000'), ('1736', '110', 'NA', 'Nairobi Area', '1', '0.00000'), ('1737', '110', 'NE', 'North Eastern', '1', '0.00000'), ('1738', '110', 'NY', 'Nyanza', '1', '0.00000'), ('1739', '110', 'RV', 'Rift Valley', '1', '0.00000'), ('1740', '110', 'WE', 'Western', '1', '0.00000'), ('1741', '111', 'AG', 'Abaiang', '1', '0.00000'), ('1742', '111', 'AM', 'Abemama', '1', '0.00000'), ('1743', '111', 'AK', 'Aranuka', '1', '0.00000'), ('1744', '111', 'AO', 'Arorae', '1', '0.00000'), ('1745', '111', 'BA', 'Banaba', '1', '0.00000'), ('1746', '111', 'BE', 'Beru', '1', '0.00000'), ('1747', '111', 'bT', 'Butaritari', '1', '0.00000'), ('1748', '111', 'KA', 'Kanton', '1', '0.00000'), ('1749', '111', 'KR', 'Kiritimati', '1', '0.00000'), ('1750', '111', 'KU', 'Kuria', '1', '0.00000'), ('1751', '111', 'MI', 'Maiana', '1', '0.00000'), ('1752', '111', 'MN', 'Makin', '1', '0.00000'), ('1753', '111', 'ME', 'Marakei', '1', '0.00000'), ('1754', '111', 'NI', 'Nikunau', '1', '0.00000'), ('1755', '111', 'NO', 'Nonouti', '1', '0.00000'), ('1756', '111', 'ON', 'Onotoa', '1', '0.00000'), ('1757', '111', 'TT', 'Tabiteuea', '1', '0.00000'), ('1758', '111', 'TR', 'Tabuaeran', '1', '0.00000'), ('1759', '111', 'TM', 'Tamana', '1', '0.00000'), ('1760', '111', 'TW', 'Tarawa', '1', '0.00000'), ('1761', '111', 'TE', 'Teraina', '1', '0.00000'), ('1762', '112', 'CHA', 'Chagang-do', '1', '0.00000'), ('1763', '112', 'HAB', 'Hamgyong-bukto', '1', '0.00000'), ('1764', '112', 'HAN', 'Hamgyong-namdo', '1', '0.00000'), ('1765', '112', 'HWB', 'Hwanghae-bukto', '1', '0.00000'), ('1766', '112', 'HWN', 'Hwanghae-namdo', '1', '0.00000'), ('1767', '112', 'KAN', 'Kangwon-do', '1', '0.00000'), ('1768', '112', 'PYB', 'P\'yongan-bukto', '1', '0.00000'), ('1769', '112', 'PYN', 'P\'yongan-namdo', '1', '0.00000'), ('1770', '112', 'YAN', 'Ryanggang-do (Yanggang-do)', '1', '0.00000'), ('1771', '112', 'NAJ', 'Rason Directly Governed City', '1', '0.00000'), ('1772', '112', 'PYO', 'P\'yongyang Special City', '1', '0.00000'), ('1773', '113', 'CO', 'Ch\'ungch\'ong-bukto', '1', '0.00000'), ('1774', '113', 'CH', 'Ch\'ungch\'ong-namdo', '1', '0.00000'), ('1775', '113', 'CD', 'Cheju-do', '1', '0.00000'), ('1776', '113', 'CB', 'Cholla-bukto', '1', '0.00000'), ('1777', '113', 'CN', 'Cholla-namdo', '1', '0.00000'), ('1778', '113', 'IG', 'Inch\'on-gwangyoksi', '1', '0.00000'), ('1779', '113', 'KA', 'Kangwon-do', '1', '0.00000'), ('1780', '113', 'KG', 'Kwangju-gwangyoksi', '1', '0.00000'), ('1781', '113', 'KD', 'Kyonggi-do', '1', '0.00000'), ('1782', '113', 'KB', 'Kyongsang-bukto', '1', '0.00000'), ('1783', '113', 'KN', 'Kyongsang-namdo', '1', '0.00000'), ('1784', '113', 'PG', 'Pusan-gwangyoksi', '1', '0.00000'), ('1785', '113', 'SO', 'Soul-t\'ukpyolsi', '1', '0.00000'), ('1786', '113', 'TA', 'Taegu-gwangyoksi', '1', '0.00000'), ('1787', '113', 'TG', 'Taejon-gwangyoksi', '1', '0.00000'), ('1788', '114', 'AL', 'Al \'Asimah', '1', '0.00000'), ('1789', '114', 'AA', 'Al Ahmadi', '1', '0.00000'), ('1790', '114', 'AF', 'Al Farwaniyah', '1', '0.00000'), ('1791', '114', 'AJ', 'Al Jahra\'', '1', '0.00000'), ('1792', '114', 'HA', 'Hawalli', '1', '0.00000'), ('1793', '115', 'GB', 'Bishkek', '1', '0.00000'), ('1794', '115', 'B', 'Batken', '1', '0.00000'), ('1795', '115', 'C', 'Chu', '1', '0.00000'), ('1796', '115', 'J', 'Jalal-Abad', '1', '0.00000'), ('1797', '115', 'N', 'Naryn', '1', '0.00000'), ('1798', '115', 'O', 'Osh', '1', '0.00000'), ('1799', '115', 'T', 'Talas', '1', '0.00000'), ('1800', '115', 'Y', 'Ysyk-Kol', '1', '0.00000'), ('1801', '116', 'VT', 'Vientiane', '1', '0.00000'), ('1802', '116', 'AT', 'Attapu', '1', '0.00000'), ('1803', '116', 'BK', 'Bokeo', '1', '0.00000'), ('1804', '116', 'BL', 'Bolikhamxai', '1', '0.00000'), ('1805', '116', 'CH', 'Champasak', '1', '0.00000'), ('1806', '116', 'HO', 'Houaphan', '1', '0.00000'), ('1807', '116', 'KH', 'Khammouan', '1', '0.00000'), ('1808', '116', 'LM', 'Louang Namtha', '1', '0.00000'), ('1809', '116', 'LP', 'Louangphabang', '1', '0.00000'), ('1810', '116', 'OU', 'Oudomxai', '1', '0.00000'), ('1811', '116', 'PH', 'Phongsali', '1', '0.00000'), ('1812', '116', 'SL', 'Salavan', '1', '0.00000'), ('1813', '116', 'SV', 'Savannakhet', '1', '0.00000'), ('1814', '116', 'VI', 'Vientiane', '1', '0.00000'), ('1815', '116', 'XA', 'Xaignabouli', '1', '0.00000'), ('1816', '116', 'XE', 'Xekong', '1', '0.00000'), ('1817', '116', 'XI', 'Xiangkhoang', '1', '0.00000'), ('1818', '116', 'XN', 'Xaisomboun', '1', '0.00000'), ('1819', '117', 'AIZ', 'Aizkraukles Rajons', '1', '0.00000'), ('1820', '117', 'ALU', 'Aluksnes Rajons', '1', '0.00000'), ('1821', '117', 'BAL', 'Balvu Rajons', '1', '0.00000'), ('1822', '117', 'BAU', 'Bauskas Rajons', '1', '0.00000'), ('1823', '117', 'CES', 'Cesu Rajons', '1', '0.00000'), ('1824', '117', 'DGR', 'Daugavpils Rajons', '1', '0.00000'), ('1825', '117', 'DOB', 'Dobeles Rajons', '1', '0.00000'), ('1826', '117', 'GUL', 'Gulbenes Rajons', '1', '0.00000'), ('1827', '117', 'JEK', 'Jekabpils Rajons', '1', '0.00000'), ('1828', '117', 'JGR', 'Jelgavas Rajons', '1', '0.00000'), ('1829', '117', 'KRA', 'Kraslavas Rajons', '1', '0.00000'), ('1830', '117', 'KUL', 'Kuldigas Rajons', '1', '0.00000'), ('1831', '117', 'LPR', 'Liepajas Rajons', '1', '0.00000'), ('1832', '117', 'LIM', 'Limbazu Rajons', '1', '0.00000'), ('1833', '117', 'LUD', 'Ludzas Rajons', '1', '0.00000'), ('1834', '117', 'MAD', 'Madonas Rajons', '1', '0.00000'), ('1835', '117', 'OGR', 'Ogres Rajons', '1', '0.00000'), ('1836', '117', 'PRE', 'Preilu Rajons', '1', '0.00000'), ('1837', '117', 'RZR', 'Rezeknes Rajons', '1', '0.00000'), ('1838', '117', 'RGR', 'Rigas Rajons', '1', '0.00000'), ('1839', '117', 'SAL', 'Saldus Rajons', '1', '0.00000'), ('1840', '117', 'TAL', 'Talsu Rajons', '1', '0.00000'), ('1841', '117', 'TUK', 'Tukuma Rajons', '1', '0.00000'), ('1842', '117', 'VLK', 'Valkas Rajons', '1', '0.00000'), ('1843', '117', 'VLM', 'Valmieras Rajons', '1', '0.00000'), ('1844', '117', 'VSR', 'Ventspils Rajons', '1', '0.00000'), ('1845', '117', 'DGV', 'Daugavpils', '1', '0.00000'), ('1846', '117', 'JGV', 'Jelgava', '1', '0.00000'), ('1847', '117', 'JUR', 'Jurmala', '1', '0.00000'), ('1848', '117', 'LPK', 'Liepaja', '1', '0.00000'), ('1849', '117', 'RZK', 'Rezekne', '1', '0.00000'), ('1850', '117', 'RGA', 'Riga', '1', '0.00000'), ('1851', '117', 'VSL', 'Ventspils', '1', '0.00000'), ('1852', '119', 'BE', 'Berea', '1', '0.00000'), ('1853', '119', 'BB', 'Butha-Buthe', '1', '0.00000'), ('1854', '119', 'LE', 'Leribe', '1', '0.00000'), ('1855', '119', 'MF', 'Mafeteng', '1', '0.00000'), ('1856', '119', 'MS', 'Maseru', '1', '0.00000'), ('1857', '119', 'MH', 'Mohale\'s Hoek', '1', '0.00000'), ('1858', '119', 'MK', 'Mokhotlong', '1', '0.00000'), ('1859', '119', 'QN', 'Qacha\'s Nek', '1', '0.00000'), ('1860', '119', 'QT', 'Quthing', '1', '0.00000'), ('1861', '119', 'TT', 'Thaba-Tseka', '1', '0.00000'), ('1862', '120', 'BI', 'Bomi', '1', '0.00000'), ('1863', '120', 'BG', 'Bong', '1', '0.00000'), ('1864', '120', 'GB', 'Grand Bassa', '1', '0.00000'), ('1865', '120', 'CM', 'Grand Cape Mount', '1', '0.00000'), ('1866', '120', 'GG', 'Grand Gedeh', '1', '0.00000'), ('1867', '120', 'GK', 'Grand Kru', '1', '0.00000'), ('1868', '120', 'LO', 'Lofa', '1', '0.00000'), ('1869', '120', 'MG', 'Margibi', '1', '0.00000'), ('1870', '120', 'ML', 'Maryland', '1', '0.00000'), ('1871', '120', 'MS', 'Montserrado', '1', '0.00000'), ('1872', '120', 'NB', 'Nimba', '1', '0.00000'), ('1873', '120', 'RC', 'River Cess', '1', '0.00000'), ('1874', '120', 'SN', 'Sinoe', '1', '0.00000'), ('1875', '121', 'AJ', 'Ajdabiya', '1', '0.00000'), ('1876', '121', 'AZ', 'Al \'Aziziyah', '1', '0.00000'), ('1877', '121', 'FA', 'Al Fatih', '1', '0.00000'), ('1878', '121', 'JA', 'Al Jabal al Akhdar', '1', '0.00000'), ('1879', '121', 'JU', 'Al Jufrah', '1', '0.00000'), ('1880', '121', 'KH', 'Al Khums', '1', '0.00000'), ('1881', '121', 'KU', 'Al Kufrah', '1', '0.00000'), ('1882', '121', 'NK', 'An Nuqat al Khams', '1', '0.00000'), ('1883', '121', 'AS', 'Ash Shati\'', '1', '0.00000'), ('1884', '121', 'AW', 'Awbari', '1', '0.00000'), ('1885', '121', 'ZA', 'Az Zawiyah', '1', '0.00000'), ('1886', '121', 'BA', 'Banghazi', '1', '0.00000'), ('1887', '121', 'DA', 'Darnah', '1', '0.00000'), ('1888', '121', 'GD', 'Ghadamis', '1', '0.00000'), ('1889', '121', 'GY', 'Gharyan', '1', '0.00000'), ('1890', '121', 'MI', 'Misratah', '1', '0.00000'), ('1891', '121', 'MZ', 'Murzuq', '1', '0.00000'), ('1892', '121', 'SB', 'Sabha', '1', '0.00000'), ('1893', '121', 'SW', 'Sawfajjin', '1', '0.00000'), ('1894', '121', 'SU', 'Surt', '1', '0.00000'), ('1895', '121', 'TL', 'Tarabulus (Tripoli)', '1', '0.00000'), ('1896', '121', 'TH', 'Tarhunah', '1', '0.00000'), ('1897', '121', 'TU', 'Tubruq', '1', '0.00000'), ('1898', '121', 'YA', 'Yafran', '1', '0.00000'), ('1899', '121', 'ZL', 'Zlitan', '1', '0.00000'), ('1900', '122', 'V', 'Vaduz', '1', '0.00000'), ('1901', '122', 'A', 'Schaan', '1', '0.00000'), ('1902', '122', 'B', 'Balzers', '1', '0.00000'), ('1903', '122', 'N', 'Triesen', '1', '0.00000'), ('1904', '122', 'E', 'Eschen', '1', '0.00000'), ('1905', '122', 'M', 'Mauren', '1', '0.00000'), ('1906', '122', 'T', 'Triesenberg', '1', '0.00000'), ('1907', '122', 'R', 'Ruggell', '1', '0.00000'), ('1908', '122', 'G', 'Gamprin', '1', '0.00000'), ('1909', '122', 'L', 'Schellenberg', '1', '0.00000'), ('1910', '122', 'P', 'Planken', '1', '0.00000'), ('1911', '123', 'AL', 'Alytus', '1', '0.00000'), ('1912', '123', 'KA', 'Kaunas', '1', '0.00000'), ('1913', '123', 'KL', 'Klaipeda', '1', '0.00000'), ('1914', '123', 'MA', 'Marijampole', '1', '0.00000'), ('1915', '123', 'PA', 'Panevezys', '1', '0.00000'), ('1916', '123', 'SI', 'Siauliai', '1', '0.00000'), ('1917', '123', 'TA', 'Taurage', '1', '0.00000'), ('1918', '123', 'TE', 'Telsiai', '1', '0.00000'), ('1919', '123', 'UT', 'Utena', '1', '0.00000'), ('1920', '123', 'VI', 'Vilnius', '1', '0.00000'), ('1921', '124', 'DD', 'Diekirch', '1', '0.00000'), ('1922', '124', 'DC', 'Clervaux', '1', '0.00000'), ('1923', '124', 'DR', 'Redange', '1', '0.00000'), ('1924', '124', 'DV', 'Vianden', '1', '0.00000'), ('1925', '124', 'DW', 'Wiltz', '1', '0.00000'), ('1926', '124', 'GG', 'Grevenmacher', '1', '0.00000'), ('1927', '124', 'GE', 'Echternach', '1', '0.00000'), ('1928', '124', 'GR', 'Remich', '1', '0.00000'), ('1929', '124', 'LL', 'Luxembourg', '1', '0.00000'), ('1930', '124', 'LC', 'Capellen', '1', '0.00000'), ('1931', '124', 'LE', 'Esch-sur-Alzette', '1', '0.00000'), ('1932', '124', 'LM', 'Mersch', '1', '0.00000'), ('1933', '125', 'OLF', 'Our Lady Fatima Parish', '1', '0.00000'), ('1934', '125', 'ANT', 'St. Anthony Parish', '1', '0.00000'), ('1935', '125', 'LAZ', 'St. Lazarus Parish', '1', '0.00000'), ('1936', '125', 'CAT', 'Cathedral Parish', '1', '0.00000'), ('1937', '125', 'LAW', 'St. Lawrence Parish', '1', '0.00000'), ('1938', '127', 'AN', 'Antananarivo', '1', '0.00000'), ('1939', '127', 'AS', 'Antsiranana', '1', '0.00000'), ('1940', '127', 'FN', 'Fianarantsoa', '1', '0.00000'), ('1941', '127', 'MJ', 'Mahajanga', '1', '0.00000'), ('1942', '127', 'TM', 'Toamasina', '1', '0.00000'), ('1943', '127', 'TL', 'Toliara', '1', '0.00000'), ('1944', '128', 'BLK', 'Balaka', '1', '0.00000'), ('1945', '128', 'BLT', 'Blantyre', '1', '0.00000'), ('1946', '128', 'CKW', 'Chikwawa', '1', '0.00000'), ('1947', '128', 'CRD', 'Chiradzulu', '1', '0.00000'), ('1948', '128', 'CTP', 'Chitipa', '1', '0.00000'), ('1949', '128', 'DDZ', 'Dedza', '1', '0.00000'), ('1950', '128', 'DWA', 'Dowa', '1', '0.00000'), ('1951', '128', 'KRG', 'Karonga', '1', '0.00000'), ('1952', '128', 'KSG', 'Kasungu', '1', '0.00000'), ('1953', '128', 'LKM', 'Likoma', '1', '0.00000'), ('1954', '128', 'LLG', 'Lilongwe', '1', '0.00000'), ('1955', '128', 'MCG', 'Machinga', '1', '0.00000'), ('1956', '128', 'MGC', 'Mangochi', '1', '0.00000'), ('1957', '128', 'MCH', 'Mchinji', '1', '0.00000'), ('1958', '128', 'MLJ', 'Mulanje', '1', '0.00000'), ('1959', '128', 'MWZ', 'Mwanza', '1', '0.00000'), ('1960', '128', 'MZM', 'Mzimba', '1', '0.00000'), ('1961', '128', 'NTU', 'Ntcheu', '1', '0.00000'), ('1962', '128', 'NKB', 'Nkhata Bay', '1', '0.00000'), ('1963', '128', 'NKH', 'Nkhotakota', '1', '0.00000'), ('1964', '128', 'NSJ', 'Nsanje', '1', '0.00000'), ('1965', '128', 'NTI', 'Ntchisi', '1', '0.00000'), ('1966', '128', 'PHL', 'Phalombe', '1', '0.00000'), ('1967', '128', 'RMP', 'Rumphi', '1', '0.00000'), ('1968', '128', 'SLM', 'Salima', '1', '0.00000'), ('1969', '128', 'THY', 'Thyolo', '1', '0.00000'), ('1970', '128', 'ZBA', 'Zomba', '1', '0.00000'), ('1971', '129', 'JO', 'Johor', '1', '0.00000'), ('1972', '129', 'KE', 'Kedah', '1', '0.00000'), ('1973', '129', 'KL', 'Kelantan', '1', '0.00000'), ('1974', '129', 'LA', 'Labuan', '1', '0.00000'), ('1975', '129', 'ME', 'Melaka', '1', '0.00000'), ('1976', '129', 'NS', 'Negeri Sembilan', '1', '0.00000'), ('1977', '129', 'PA', 'Pahang', '1', '0.00000'), ('1978', '129', 'PE', 'Perak', '1', '0.00000'), ('1979', '129', 'PR', 'Perlis', '1', '0.00000'), ('1980', '129', 'PP', 'Pulau Pinang', '1', '0.00000'), ('1981', '129', 'SA', 'Sabah', '1', '0.00000'), ('1982', '129', 'SR', 'Sarawak', '1', '0.00000'), ('1983', '129', 'SE', 'Selangor', '1', '0.00000'), ('1984', '129', 'TE', 'Terengganu', '1', '0.00000'), ('1985', '129', 'WP', 'Wilayah Persekutuan', '1', '0.00000'), ('1986', '130', 'THU', 'Thiladhunmathi Uthuru', '1', '0.00000'), ('1987', '130', 'THD', 'Thiladhunmathi Dhekunu', '1', '0.00000'), ('1988', '130', 'MLU', 'Miladhunmadulu Uthuru', '1', '0.00000'), ('1989', '130', 'MLD', 'Miladhunmadulu Dhekunu', '1', '0.00000'), ('1990', '130', 'MAU', 'Maalhosmadulu Uthuru', '1', '0.00000'), ('1991', '130', 'MAD', 'Maalhosmadulu Dhekunu', '1', '0.00000'), ('1992', '130', 'FAA', 'Faadhippolhu', '1', '0.00000'), ('1993', '130', 'MAA', 'Male Atoll', '1', '0.00000'), ('1994', '130', 'AAU', 'Ari Atoll Uthuru', '1', '0.00000'), ('1995', '130', 'AAD', 'Ari Atoll Dheknu', '1', '0.00000'), ('1996', '130', 'FEA', 'Felidhe Atoll', '1', '0.00000'), ('1997', '130', 'MUA', 'Mulaku Atoll', '1', '0.00000'), ('1998', '130', 'NAU', 'Nilandhe Atoll Uthuru', '1', '0.00000'), ('1999', '130', 'NAD', 'Nilandhe Atoll Dhekunu', '1', '0.00000'), ('2000', '130', 'KLH', 'Kolhumadulu', '1', '0.00000'), ('2001', '130', 'HDH', 'Hadhdhunmathi', '1', '0.00000'), ('2002', '130', 'HAU', 'Huvadhu Atoll Uthuru', '1', '0.00000'), ('2003', '130', 'HAD', 'Huvadhu Atoll Dhekunu', '1', '0.00000'), ('2004', '130', 'FMU', 'Fua Mulaku', '1', '0.00000'), ('2005', '130', 'ADD', 'Addu', '1', '0.00000'), ('2006', '131', 'GA', 'Gao', '1', '0.00000'), ('2007', '131', 'KY', 'Kayes', '1', '0.00000'), ('2008', '131', 'KD', 'Kidal', '1', '0.00000'), ('2009', '131', 'KL', 'Koulikoro', '1', '0.00000'), ('2010', '131', 'MP', 'Mopti', '1', '0.00000'), ('2011', '131', 'SG', 'Segou', '1', '0.00000'), ('2012', '131', 'SK', 'Sikasso', '1', '0.00000'), ('2013', '131', 'TB', 'Tombouctou', '1', '0.00000'), ('2014', '131', 'CD', 'Bamako Capital District', '1', '0.00000'), ('2015', '132', 'ATT', 'Attard', '1', '0.00000'), ('2016', '132', 'BAL', 'Balzan', '1', '0.00000'), ('2017', '132', 'BGU', 'Birgu', '1', '0.00000'), ('2018', '132', 'BKK', 'Birkirkara', '1', '0.00000'), ('2019', '132', 'BRZ', 'Birzebbuga', '1', '0.00000'), ('2020', '132', 'BOR', 'Bormla', '1', '0.00000'), ('2021', '132', 'DIN', 'Dingli', '1', '0.00000'), ('2022', '132', 'FGU', 'Fgura', '1', '0.00000'), ('2023', '132', 'FLO', 'Floriana', '1', '0.00000'), ('2024', '132', 'GDJ', 'Gudja', '1', '0.00000'), ('2025', '132', 'GZR', 'Gzira', '1', '0.00000'), ('2026', '132', 'GRG', 'Gargur', '1', '0.00000'), ('2027', '132', 'GXQ', 'Gaxaq', '1', '0.00000'), ('2028', '132', 'HMR', 'Hamrun', '1', '0.00000'), ('2029', '132', 'IKL', 'Iklin', '1', '0.00000'), ('2030', '132', 'ISL', 'Isla', '1', '0.00000'), ('2031', '132', 'KLK', 'Kalkara', '1', '0.00000'), ('2032', '132', 'KRK', 'Kirkop', '1', '0.00000'), ('2033', '132', 'LIJ', 'Lija', '1', '0.00000'), ('2034', '132', 'LUQ', 'Luqa', '1', '0.00000'), ('2035', '132', 'MRS', 'Marsa', '1', '0.00000'), ('2036', '132', 'MKL', 'Marsaskala', '1', '0.00000'), ('2037', '132', 'MXL', 'Marsaxlokk', '1', '0.00000'), ('2038', '132', 'MDN', 'Mdina', '1', '0.00000'), ('2039', '132', 'MEL', 'Melliea', '1', '0.00000'), ('2040', '132', 'MGR', 'Mgarr', '1', '0.00000'), ('2041', '132', 'MST', 'Mosta', '1', '0.00000'), ('2042', '132', 'MQA', 'Mqabba', '1', '0.00000'), ('2043', '132', 'MSI', 'Msida', '1', '0.00000'), ('2044', '132', 'MTF', 'Mtarfa', '1', '0.00000'), ('2045', '132', 'NAX', 'Naxxar', '1', '0.00000'), ('2046', '132', 'PAO', 'Paola', '1', '0.00000'), ('2047', '132', 'PEM', 'Pembroke', '1', '0.00000'), ('2048', '132', 'PIE', 'Pieta', '1', '0.00000'), ('2049', '132', 'QOR', 'Qormi', '1', '0.00000'), ('2050', '132', 'QRE', 'Qrendi', '1', '0.00000'), ('2051', '132', 'RAB', 'Rabat', '1', '0.00000'), ('2052', '132', 'SAF', 'Safi', '1', '0.00000'), ('2053', '132', 'SGI', 'San Giljan', '1', '0.00000'), ('2054', '132', 'SLU', 'Santa Lucija', '1', '0.00000'), ('2055', '132', 'SPB', 'San Pawl il-Bahar', '1', '0.00000'), ('2056', '132', 'SGW', 'San Gwann', '1', '0.00000'), ('2057', '132', 'SVE', 'Santa Venera', '1', '0.00000'), ('2058', '132', 'SIG', 'Siggiewi', '1', '0.00000'), ('2059', '132', 'SLM', 'Sliema', '1', '0.00000'), ('2060', '132', 'SWQ', 'Swieqi', '1', '0.00000'), ('2061', '132', 'TXB', 'Ta Xbiex', '1', '0.00000'), ('2062', '132', 'TRX', 'Tarxien', '1', '0.00000'), ('2063', '132', 'VLT', 'Valletta', '1', '0.00000'), ('2064', '132', 'XGJ', 'Xgajra', '1', '0.00000'), ('2065', '132', 'ZBR', 'Zabbar', '1', '0.00000'), ('2066', '132', 'ZBG', 'Zebbug', '1', '0.00000'), ('2067', '132', 'ZJT', 'Zejtun', '1', '0.00000'), ('2068', '132', 'ZRQ', 'Zurrieq', '1', '0.00000'), ('2069', '132', 'FNT', 'Fontana', '1', '0.00000'), ('2070', '132', 'GHJ', 'Ghajnsielem', '1', '0.00000'), ('2071', '132', 'GHR', 'Gharb', '1', '0.00000'), ('2072', '132', 'GHS', 'Ghasri', '1', '0.00000'), ('2073', '132', 'KRC', 'Kercem', '1', '0.00000'), ('2074', '132', 'MUN', 'Munxar', '1', '0.00000'), ('2075', '132', 'NAD', 'Nadur', '1', '0.00000'), ('2076', '132', 'QAL', 'Qala', '1', '0.00000'), ('2077', '132', 'VIC', 'Victoria', '1', '0.00000'), ('2078', '132', 'SLA', 'San Lawrenz', '1', '0.00000'), ('2079', '132', 'SNT', 'Sannat', '1', '0.00000'), ('2080', '132', 'ZAG', 'Xagra', '1', '0.00000'), ('2081', '132', 'XEW', 'Xewkija', '1', '0.00000'), ('2082', '132', 'ZEB', 'Zebbug', '1', '0.00000'), ('2083', '133', 'ALG', 'Ailinginae', '1', '0.00000'), ('2084', '133', 'ALL', 'Ailinglaplap', '1', '0.00000'), ('2085', '133', 'ALK', 'Ailuk', '1', '0.00000'), ('2086', '133', 'ARN', 'Arno', '1', '0.00000'), ('2087', '133', 'AUR', 'Aur', '1', '0.00000'), ('2088', '133', 'BKR', 'Bikar', '1', '0.00000'), ('2089', '133', 'BKN', 'Bikini', '1', '0.00000'), ('2090', '133', 'BKK', 'Bokak', '1', '0.00000'), ('2091', '133', 'EBN', 'Ebon', '1', '0.00000'), ('2092', '133', 'ENT', 'Enewetak', '1', '0.00000'), ('2093', '133', 'EKB', 'Erikub', '1', '0.00000'), ('2094', '133', 'JBT', 'Jabat', '1', '0.00000'), ('2095', '133', 'JLT', 'Jaluit', '1', '0.00000'), ('2096', '133', 'JEM', 'Jemo', '1', '0.00000'), ('2097', '133', 'KIL', 'Kili', '1', '0.00000'), ('2098', '133', 'KWJ', 'Kwajalein', '1', '0.00000'), ('2099', '133', 'LAE', 'Lae', '1', '0.00000'), ('2100', '133', 'LIB', 'Lib', '1', '0.00000'), ('2101', '133', 'LKP', 'Likiep', '1', '0.00000'), ('2102', '133', 'MJR', 'Majuro', '1', '0.00000'), ('2103', '133', 'MLP', 'Maloelap', '1', '0.00000'), ('2104', '133', 'MJT', 'Mejit', '1', '0.00000'), ('2105', '133', 'MIL', 'Mili', '1', '0.00000'), ('2106', '133', 'NMK', 'Namorik', '1', '0.00000'), ('2107', '133', 'NAM', 'Namu', '1', '0.00000'), ('2108', '133', 'RGL', 'Rongelap', '1', '0.00000'), ('2109', '133', 'RGK', 'Rongrik', '1', '0.00000'), ('2110', '133', 'TOK', 'Toke', '1', '0.00000'), ('2111', '133', 'UJA', 'Ujae', '1', '0.00000'), ('2112', '133', 'UJL', 'Ujelang', '1', '0.00000'), ('2113', '133', 'UTK', 'Utirik', '1', '0.00000'), ('2114', '133', 'WTH', 'Wotho', '1', '0.00000'), ('2115', '133', 'WTJ', 'Wotje', '1', '0.00000'), ('2116', '135', 'AD', 'Adrar', '1', '0.00000'), ('2117', '135', 'AS', 'Assaba', '1', '0.00000'), ('2118', '135', 'BR', 'Brakna', '1', '0.00000'), ('2119', '135', 'DN', 'Dakhlet Nouadhibou', '1', '0.00000'), ('2120', '135', 'GO', 'Gorgol', '1', '0.00000'), ('2121', '135', 'GM', 'Guidimaka', '1', '0.00000'), ('2122', '135', 'HC', 'Hodh Ech Chargui', '1', '0.00000'), ('2123', '135', 'HG', 'Hodh El Gharbi', '1', '0.00000'), ('2124', '135', 'IN', 'Inchiri', '1', '0.00000'), ('2125', '135', 'TA', 'Tagant', '1', '0.00000'), ('2126', '135', 'TZ', 'Tiris Zemmour', '1', '0.00000'), ('2127', '135', 'TR', 'Trarza', '1', '0.00000'), ('2128', '135', 'NO', 'Nouakchott', '1', '0.00000'), ('2129', '136', 'BR', 'Beau Bassin-Rose Hill', '1', '0.00000'), ('2130', '136', 'CU', 'Curepipe', '1', '0.00000'), ('2131', '136', 'PU', 'Port Louis', '1', '0.00000'), ('2132', '136', 'QB', 'Quatre Bornes', '1', '0.00000'), ('2133', '136', 'VP', 'Vacoas-Phoenix', '1', '0.00000'), ('2134', '136', 'AG', 'Agalega Islands', '1', '0.00000'), ('2135', '136', 'CC', 'Cargados Carajos Shoals (Saint Brandon Islands)', '1', '0.00000'), ('2136', '136', 'RO', 'Rodrigues', '1', '0.00000'), ('2137', '136', 'BL', 'Black River', '1', '0.00000'), ('2138', '136', 'FL', 'Flacq', '1', '0.00000'), ('2139', '136', 'GP', 'Grand Port', '1', '0.00000'), ('2140', '136', 'MO', 'Moka', '1', '0.00000'), ('2141', '136', 'PA', 'Pamplemousses', '1', '0.00000'), ('2142', '136', 'PW', 'Plaines Wilhems', '1', '0.00000'), ('2143', '136', 'PL', 'Port Louis', '1', '0.00000'), ('2144', '136', 'RR', 'Riviere du Rempart', '1', '0.00000'), ('2145', '136', 'SA', 'Savanne', '1', '0.00000'), ('2146', '138', 'BN', 'Baja California Norte', '1', '0.00000'), ('2147', '138', 'BS', 'Baja California Sur', '1', '0.00000'), ('2148', '138', 'CA', 'Campeche', '1', '0.00000'), ('2149', '138', 'CI', 'Chiapas', '1', '0.00000'), ('2150', '138', 'CH', 'Chihuahua', '1', '0.00000'), ('2151', '138', 'CZ', 'Coahuila de Zaragoza', '1', '0.00000'), ('2152', '138', 'CL', 'Colima', '1', '0.00000'), ('2153', '138', 'DF', 'Distrito Federal', '1', '0.00000'), ('2154', '138', 'DU', 'Durango', '1', '0.00000'), ('2155', '138', 'GA', 'Guanajuato', '1', '0.00000'), ('2156', '138', 'GE', 'Guerrero', '1', '0.00000'), ('2157', '138', 'HI', 'Hidalgo', '1', '0.00000'), ('2158', '138', 'JA', 'Jalisco', '1', '0.00000'), ('2159', '138', 'ME', 'Mexico', '1', '0.00000'), ('2160', '138', 'MI', 'Michoacan de Ocampo', '1', '0.00000'), ('2161', '138', 'MO', 'Morelos', '1', '0.00000'), ('2162', '138', 'NA', 'Nayarit', '1', '0.00000'), ('2163', '138', 'NL', 'Nuevo Leon', '1', '0.00000'), ('2164', '138', 'OA', 'Oaxaca', '1', '0.00000'), ('2165', '138', 'PU', 'Puebla', '1', '0.00000'), ('2166', '138', 'QA', 'Queretaro de Arteaga', '1', '0.00000'), ('2167', '138', 'QR', 'Quintana Roo', '1', '0.00000'), ('2168', '138', 'SA', 'San Luis Potosi', '1', '0.00000'), ('2169', '138', 'SI', 'Sinaloa', '1', '0.00000'), ('2170', '138', 'SO', 'Sonora', '1', '0.00000'), ('2171', '138', 'TB', 'Tabasco', '1', '0.00000'), ('2172', '138', 'TM', 'Tamaulipas', '1', '0.00000'), ('2173', '138', 'TL', 'Tlaxcala', '1', '0.00000'), ('2174', '138', 'VE', 'Veracruz-Llave', '1', '0.00000'), ('2175', '138', 'YU', 'Yucatan', '1', '0.00000'), ('2176', '138', 'ZA', 'Zacatecas', '1', '0.00000'), ('2177', '139', 'C', 'Chuuk', '1', '0.00000'), ('2178', '139', 'K', 'Kosrae', '1', '0.00000'), ('2179', '139', 'P', 'Pohnpei', '1', '0.00000'), ('2180', '139', 'Y', 'Yap', '1', '0.00000'), ('2181', '140', 'GA', 'Gagauzia', '1', '0.00000'), ('2182', '140', 'CU', 'Chisinau', '1', '0.00000'), ('2183', '140', 'BA', 'Balti', '1', '0.00000'), ('2184', '140', 'CA', 'Cahul', '1', '0.00000'), ('2185', '140', 'ED', 'Edinet', '1', '0.00000'), ('2186', '140', 'LA', 'Lapusna', '1', '0.00000'), ('2187', '140', 'OR', 'Orhei', '1', '0.00000'), ('2188', '140', 'SO', 'Soroca', '1', '0.00000'), ('2189', '140', 'TI', 'Tighina', '1', '0.00000'), ('2190', '140', 'UN', 'Ungheni', '1', '0.00000'), ('2191', '140', 'SN', 'St‚Äönga Nistrului', '1', '0.00000'), ('2192', '141', 'FV', 'Fontvieille', '1', '0.00000'), ('2193', '141', 'LC', 'La Condamine', '1', '0.00000'), ('2194', '141', 'MV', 'Monaco-Ville', '1', '0.00000'), ('2195', '141', 'MC', 'Monte-Carlo', '1', '0.00000'), ('2196', '142', '1', 'Ulanbaatar', '1', '0.00000'), ('2197', '142', '035', 'Orhon', '1', '0.00000'), ('2198', '142', '037', 'Darhan uul', '1', '0.00000'), ('2199', '142', '039', 'Hentiy', '1', '0.00000'), ('2200', '142', '041', 'Hovsgol', '1', '0.00000'), ('2201', '142', '043', 'Hovd', '1', '0.00000'), ('2202', '142', '046', 'Uvs', '1', '0.00000'), ('2203', '142', '047', 'Tov', '1', '0.00000'), ('2204', '142', '049', 'Selenge', '1', '0.00000'), ('2205', '142', '051', 'Suhbaatar', '1', '0.00000'), ('2206', '142', '053', 'Omnogovi', '1', '0.00000'), ('2207', '142', '055', 'Ovorhangay', '1', '0.00000'), ('2208', '142', '057', 'Dzavhan', '1', '0.00000'), ('2209', '142', '059', 'DundgovL', '1', '0.00000'), ('2210', '142', '061', 'Dornod', '1', '0.00000'), ('2211', '142', '063', 'Dornogov', '1', '0.00000'), ('2212', '142', '064', 'Govi-Sumber', '1', '0.00000'), ('2213', '142', '065', 'Govi-Altay', '1', '0.00000'), ('2214', '142', '067', 'Bulgan', '1', '0.00000'), ('2215', '142', '069', 'Bayanhongor', '1', '0.00000'), ('2216', '142', '071', 'Bayan-Olgiy', '1', '0.00000'), ('2217', '142', '073', 'Arhangay', '1', '0.00000'), ('2218', '143', 'A', 'Saint Anthony', '1', '0.00000'), ('2219', '143', 'G', 'Saint Georges', '1', '0.00000'), ('2220', '143', 'P', 'Saint Peter', '1', '0.00000'), ('2221', '144', 'AGD', 'Agadir', '1', '0.00000'), ('2222', '144', 'HOC', 'Al Hoceima', '1', '0.00000'), ('2223', '144', 'AZI', 'Azilal', '1', '0.00000'), ('2224', '144', 'BME', 'Beni Mellal', '1', '0.00000'), ('2225', '144', 'BSL', 'Ben Slimane', '1', '0.00000'), ('2226', '144', 'BLM', 'Boulemane', '1', '0.00000'), ('2227', '144', 'CBL', 'Casablanca', '1', '0.00000'), ('2228', '144', 'CHA', 'Chaouen', '1', '0.00000'), ('2229', '144', 'EJA', 'El Jadida', '1', '0.00000'), ('2230', '144', 'EKS', 'El Kelaa des Sraghna', '1', '0.00000'), ('2231', '144', 'ERA', 'Er Rachidia', '1', '0.00000'), ('2232', '144', 'ESS', 'Essaouira', '1', '0.00000'), ('2233', '144', 'FES', 'Fes', '1', '0.00000'), ('2234', '144', 'FIG', 'Figuig', '1', '0.00000'), ('2235', '144', 'GLM', 'Guelmim', '1', '0.00000'), ('2236', '144', 'IFR', 'Ifrane', '1', '0.00000'), ('2237', '144', 'KEN', 'Kenitra', '1', '0.00000'), ('2238', '144', 'KHM', 'Khemisset', '1', '0.00000'), ('2239', '144', 'KHN', 'Khenifra', '1', '0.00000'), ('2240', '144', 'KHO', 'Khouribga', '1', '0.00000'), ('2241', '144', 'LYN', 'Laayoune', '1', '0.00000'), ('2242', '144', 'LAR', 'Larache', '1', '0.00000'), ('2243', '144', 'MRK', 'Marrakech', '1', '0.00000'), ('2244', '144', 'MKN', 'Meknes', '1', '0.00000'), ('2245', '144', 'NAD', 'Nador', '1', '0.00000'), ('2246', '144', 'ORZ', 'Ouarzazate', '1', '0.00000'), ('2247', '144', 'OUJ', 'Oujda', '1', '0.00000'), ('2248', '144', 'RSA', 'Rabat-Sale', '1', '0.00000'), ('2249', '144', 'SAF', 'Safi', '1', '0.00000'), ('2250', '144', 'SET', 'Settat', '1', '0.00000'), ('2251', '144', 'SKA', 'Sidi Kacem', '1', '0.00000'), ('2252', '144', 'TGR', 'Tangier', '1', '0.00000'), ('2253', '144', 'TAN', 'Tan-Tan', '1', '0.00000'), ('2254', '144', 'TAO', 'Taounate', '1', '0.00000'), ('2255', '144', 'TRD', 'Taroudannt', '1', '0.00000'), ('2256', '144', 'TAT', 'Tata', '1', '0.00000'), ('2257', '144', 'TAZ', 'Taza', '1', '0.00000'), ('2258', '144', 'TET', 'Tetouan', '1', '0.00000'), ('2259', '144', 'TIZ', 'Tiznit', '1', '0.00000'), ('2260', '144', 'ADK', 'Ad Dakhla', '1', '0.00000'), ('2261', '144', 'BJD', 'Boujdour', '1', '0.00000'), ('2262', '144', 'ESM', 'Es Smara', '1', '0.00000'), ('2263', '145', 'CD', 'Cabo Delgado', '1', '0.00000'), ('2264', '145', 'GZ', 'Gaza', '1', '0.00000'), ('2265', '145', 'IN', 'Inhambane', '1', '0.00000'), ('2266', '145', 'MN', 'Manica', '1', '0.00000'), ('2267', '145', 'MC', 'Maputo (city)', '1', '0.00000'), ('2268', '145', 'MP', 'Maputo', '1', '0.00000'), ('2269', '145', 'NA', 'Nampula', '1', '0.00000'), ('2270', '145', 'NI', 'Niassa', '1', '0.00000'), ('2271', '145', 'SO', 'Sofala', '1', '0.00000'), ('2272', '145', 'TE', 'Tete', '1', '0.00000'), ('2273', '145', 'ZA', 'Zambezia', '1', '0.00000'), ('2274', '146', 'AY', 'Ayeyarwady', '1', '0.00000'), ('2275', '146', 'BG', 'Bago', '1', '0.00000'), ('2276', '146', 'MG', 'Magway', '1', '0.00000'), ('2277', '146', 'MD', 'Mandalay', '1', '0.00000'), ('2278', '146', 'SG', 'Sagaing', '1', '0.00000'), ('2279', '146', 'TN', 'Tanintharyi', '1', '0.00000'), ('2280', '146', 'YG', 'Yangon', '1', '0.00000'), ('2281', '146', 'CH', 'Chin State', '1', '0.00000'), ('2282', '146', 'KC', 'Kachin State', '1', '0.00000'), ('2283', '146', 'KH', 'Kayah State', '1', '0.00000'), ('2284', '146', 'KN', 'Kayin State', '1', '0.00000'), ('2285', '146', 'MN', 'Mon State', '1', '0.00000'), ('2286', '146', 'RK', 'Rakhine State', '1', '0.00000'), ('2287', '146', 'SH', 'Shan State', '1', '0.00000'), ('2288', '147', 'CA', 'Caprivi', '1', '0.00000'), ('2289', '147', 'ER', 'Erongo', '1', '0.00000'), ('2290', '147', 'HA', 'Hardap', '1', '0.00000'), ('2291', '147', 'KR', 'Karas', '1', '0.00000'), ('2292', '147', 'KV', 'Kavango', '1', '0.00000'), ('2293', '147', 'KH', 'Khomas', '1', '0.00000'), ('2294', '147', 'KU', 'Kunene', '1', '0.00000'), ('2295', '147', 'OW', 'Ohangwena', '1', '0.00000'), ('2296', '147', 'OK', 'Omaheke', '1', '0.00000'), ('2297', '147', 'OT', 'Omusati', '1', '0.00000'), ('2298', '147', 'ON', 'Oshana', '1', '0.00000'), ('2299', '147', 'OO', 'Oshikoto', '1', '0.00000'), ('2300', '147', 'OJ', 'Otjozondjupa', '1', '0.00000'), ('2301', '148', 'AO', 'Aiwo', '1', '0.00000'), ('2302', '148', 'AA', 'Anabar', '1', '0.00000'), ('2303', '148', 'AT', 'Anetan', '1', '0.00000'), ('2304', '148', 'AI', 'Anibare', '1', '0.00000'), ('2305', '148', 'BA', 'Baiti', '1', '0.00000'), ('2306', '148', 'BO', 'Boe', '1', '0.00000'), ('2307', '148', 'BU', 'Buada', '1', '0.00000'), ('2308', '148', 'DE', 'Denigomodu', '1', '0.00000'), ('2309', '148', 'EW', 'Ewa', '1', '0.00000'), ('2310', '148', 'IJ', 'Ijuw', '1', '0.00000'), ('2311', '148', 'ME', 'Meneng', '1', '0.00000'), ('2312', '148', 'NI', 'Nibok', '1', '0.00000'), ('2313', '148', 'UA', 'Uaboe', '1', '0.00000'), ('2314', '148', 'YA', 'Yaren', '1', '0.00000'), ('2315', '149', 'BA', 'Bagmati', '1', '0.00000'), ('2316', '149', 'BH', 'Bheri', '1', '0.00000'), ('2317', '149', 'DH', 'Dhawalagiri', '1', '0.00000'), ('2318', '149', 'GA', 'Gandaki', '1', '0.00000'), ('2319', '149', 'JA', 'Janakpur', '1', '0.00000'), ('2320', '149', 'KA', 'Karnali', '1', '0.00000'), ('2321', '149', 'KO', 'Kosi', '1', '0.00000'), ('2322', '149', 'LU', 'Lumbini', '1', '0.00000'), ('2323', '149', 'MA', 'Mahakali', '1', '0.00000'), ('2324', '149', 'ME', 'Mechi', '1', '0.00000'), ('2325', '149', 'NA', 'Narayani', '1', '0.00000'), ('2326', '149', 'RA', 'Rapti', '1', '0.00000'), ('2327', '149', 'SA', 'Sagarmatha', '1', '0.00000'), ('2328', '149', 'SE', 'Seti', '1', '0.00000'), ('2329', '150', 'DR', 'Drenthe', '1', '0.00000'), ('2330', '150', 'FL', 'Flevoland', '1', '0.00000'), ('2331', '150', 'FR', 'Friesland', '1', '0.00000'), ('2332', '150', 'GE', 'Gelderland', '1', '0.00000'), ('2333', '150', 'GR', 'Groningen', '1', '0.00000'), ('2334', '150', 'LI', 'Limburg', '1', '0.00000'), ('2335', '150', 'NB', 'Noord Brabant', '1', '0.00000'), ('2336', '150', 'NH', 'Noord Holland', '1', '0.00000'), ('2337', '150', 'OV', 'Overijssel', '1', '0.00000'), ('2338', '150', 'UT', 'Utrecht', '1', '0.00000'), ('2339', '150', 'ZE', 'Zeeland', '1', '0.00000'), ('2340', '150', 'ZH', 'Zuid Holland', '1', '0.00000'), ('2341', '152', 'L', 'Iles Loyaute', '1', '0.00000'), ('2342', '152', 'N', 'Nord', '1', '0.00000'), ('2343', '152', 'S', 'Sud', '1', '0.00000'), ('2344', '153', 'AUK', 'Auckland', '1', '0.00000'), ('2345', '153', 'BOP', 'Bay of Plenty', '1', '0.00000'), ('2346', '153', 'CAN', 'Canterbury', '1', '0.00000'), ('2347', '153', 'COR', 'Coromandel', '1', '0.00000'), ('2348', '153', 'GIS', 'Gisborne', '1', '0.00000'), ('2349', '153', 'FIO', 'Fiordland', '1', '0.00000'), ('2350', '153', 'HKB', 'Hawke\'s Bay', '1', '0.00000'), ('2351', '153', 'MBH', 'Marlborough', '1', '0.00000'), ('2352', '153', 'MWT', 'Manawatu-Wanganui', '1', '0.00000'), ('2353', '153', 'MCM', 'Mt Cook-Mackenzie', '1', '0.00000'), ('2354', '153', 'NSN', 'Nelson', '1', '0.00000'), ('2355', '153', 'NTL', 'Northland', '1', '0.00000'), ('2356', '153', 'OTA', 'Otago', '1', '0.00000'), ('2357', '153', 'STL', 'Southland', '1', '0.00000'), ('2358', '153', 'TKI', 'Taranaki', '1', '0.00000'), ('2359', '153', 'WGN', 'Wellington', '1', '0.00000'), ('2360', '153', 'WKO', 'Waikato', '1', '0.00000'), ('2361', '153', 'WAI', 'Wairprarapa', '1', '0.00000'), ('2362', '153', 'WTC', 'West Coast', '1', '0.00000'), ('2363', '154', 'AN', 'Atlantico Norte', '1', '0.00000'), ('2364', '154', 'AS', 'Atlantico Sur', '1', '0.00000'), ('2365', '154', 'BO', 'Boaco', '1', '0.00000'), ('2366', '154', 'CA', 'Carazo', '1', '0.00000'), ('2367', '154', 'CI', 'Chinandega', '1', '0.00000'), ('2368', '154', 'CO', 'Chontales', '1', '0.00000'), ('2369', '154', 'ES', 'Esteli', '1', '0.00000'), ('2370', '154', 'GR', 'Granada', '1', '0.00000'), ('2371', '154', 'JI', 'Jinotega', '1', '0.00000'), ('2372', '154', 'LE', 'Leon', '1', '0.00000'), ('2373', '154', 'MD', 'Madriz', '1', '0.00000'), ('2374', '154', 'MN', 'Managua', '1', '0.00000'), ('2375', '154', 'MS', 'Masaya', '1', '0.00000'), ('2376', '154', 'MT', 'Matagalpa', '1', '0.00000'), ('2377', '154', 'NS', 'Nuevo Segovia', '1', '0.00000'), ('2378', '154', 'RS', 'Rio San Juan', '1', '0.00000'), ('2379', '154', 'RI', 'Rivas', '1', '0.00000'), ('2380', '155', 'AG', 'Agadez', '1', '0.00000'), ('2381', '155', 'DF', 'Diffa', '1', '0.00000'), ('2382', '155', 'DS', 'Dosso', '1', '0.00000'), ('2383', '155', 'MA', 'Maradi', '1', '0.00000'), ('2384', '155', 'NM', 'Niamey', '1', '0.00000'), ('2385', '155', 'TH', 'Tahoua', '1', '0.00000'), ('2386', '155', 'TL', 'Tillaberi', '1', '0.00000'), ('2387', '155', 'ZD', 'Zinder', '1', '0.00000'), ('2388', '156', 'AB', 'Abia', '1', '0.00000'), ('2389', '156', 'CT', 'Abuja Federal Capital Territory', '1', '0.00000'), ('2390', '156', 'AD', 'Adamawa', '1', '0.00000'), ('2391', '156', 'AK', 'Akwa Ibom', '1', '0.00000'), ('2392', '156', 'AN', 'Anambra', '1', '0.00000'), ('2393', '156', 'BC', 'Bauchi', '1', '0.00000'), ('2394', '156', 'BY', 'Bayelsa', '1', '0.00000'), ('2395', '156', 'BN', 'Benue', '1', '0.00000'), ('2396', '156', 'BO', 'Borno', '1', '0.00000'), ('2397', '156', 'CR', 'Cross River', '1', '0.00000'), ('2398', '156', 'DE', 'Delta', '1', '0.00000'), ('2399', '156', 'EB', 'Ebonyi', '1', '0.00000'), ('2400', '156', 'ED', 'Edo', '1', '0.00000'), ('2401', '156', 'EK', 'Ekiti', '1', '0.00000'), ('2402', '156', 'EN', 'Enugu', '1', '0.00000'), ('2403', '156', 'GO', 'Gombe', '1', '0.00000'), ('2404', '156', 'IM', 'Imo', '1', '0.00000'), ('2405', '156', 'JI', 'Jigawa', '1', '0.00000'), ('2406', '156', 'KD', 'Kaduna', '1', '0.00000'), ('2407', '156', 'KN', 'Kano', '1', '0.00000'), ('2408', '156', 'KT', 'Katsina', '1', '0.00000'), ('2409', '156', 'KE', 'Kebbi', '1', '0.00000'), ('2410', '156', 'KO', 'Kogi', '1', '0.00000'), ('2411', '156', 'KW', 'Kwara', '1', '0.00000'), ('2412', '156', 'LA', 'Lagos', '1', '0.00000'), ('2413', '156', 'NA', 'Nassarawa', '1', '0.00000'), ('2414', '156', 'NI', 'Niger', '1', '0.00000'), ('2415', '156', 'OG', 'Ogun', '1', '0.00000'), ('2416', '156', 'ONG', 'Ondo', '1', '0.00000'), ('2417', '156', 'OS', 'Osun', '1', '0.00000'), ('2418', '156', 'OY', 'Oyo', '1', '0.00000'), ('2419', '156', 'PL', 'Plateau', '1', '0.00000'), ('2420', '156', 'RI', 'Rivers', '1', '0.00000'), ('2421', '156', 'SO', 'Sokoto', '1', '0.00000'), ('2422', '156', 'TA', 'Taraba', '1', '0.00000'), ('2423', '156', 'YO', 'Yobe', '1', '0.00000'), ('2424', '156', 'ZA', 'Zamfara', '1', '0.00000'), ('2425', '159', 'N', 'Northern Islands', '1', '0.00000'), ('2426', '159', 'R', 'Rota', '1', '0.00000'), ('2427', '159', 'S', 'Saipan', '1', '0.00000'), ('2428', '159', 'T', 'Tinian', '1', '0.00000'), ('2429', '160', 'AK', 'Akershus', '1', '0.00000'), ('2430', '160', 'AA', 'Aust-Agder', '1', '0.00000'), ('2431', '160', 'BU', 'Buskerud', '1', '0.00000'), ('2432', '160', 'FM', 'Finnmark', '1', '0.00000'), ('2433', '160', 'HM', 'Hedmark', '1', '0.00000'), ('2434', '160', 'HL', 'Hordaland', '1', '0.00000'), ('2435', '160', 'MR', 'More og Romdal', '1', '0.00000'), ('2436', '160', 'NT', 'Nord-Trondelag', '1', '0.00000'), ('2437', '160', 'NL', 'Nordland', '1', '0.00000'), ('2438', '160', 'OF', 'Ostfold', '1', '0.00000'), ('2439', '160', 'OP', 'Oppland', '1', '0.00000'), ('2440', '160', 'OL', 'Oslo', '1', '0.00000'), ('2441', '160', 'RL', 'Rogaland', '1', '0.00000'), ('2442', '160', 'ST', 'Sor-Trondelag', '1', '0.00000'), ('2443', '160', 'SJ', 'Sogn og Fjordane', '1', '0.00000'), ('2444', '160', 'SV', 'Svalbard', '1', '0.00000'), ('2445', '160', 'TM', 'Telemark', '1', '0.00000'), ('2446', '160', 'TR', 'Troms', '1', '0.00000'), ('2447', '160', 'VA', 'Vest-Agder', '1', '0.00000'), ('2448', '160', 'VF', 'Vestfold', '1', '0.00000'), ('2449', '161', 'DA', 'Ad Dakhiliyah', '1', '0.00000'), ('2450', '161', 'BA', 'Al Batinah', '1', '0.00000'), ('2451', '161', 'WU', 'Al Wusta', '1', '0.00000'), ('2452', '161', 'SH', 'Ash Sharqiyah', '1', '0.00000'), ('2453', '161', 'ZA', 'Az Zahirah', '1', '0.00000'), ('2454', '161', 'MA', 'Masqat', '1', '0.00000'), ('2455', '161', 'MU', 'Musandam', '1', '0.00000'), ('2456', '161', 'ZU', 'Zufar', '1', '0.00000'), ('2457', '162', 'B', 'Balochistan', '1', '0.00000'), ('2458', '162', 'T', 'Federally Administered Tribal Areas', '1', '0.00000'), ('2459', '162', 'I', 'Islamabad Capital Territory', '1', '0.00000'), ('2460', '162', 'N', 'North-West Frontier', '1', '0.00000'), ('2461', '162', 'P', 'Punjab', '1', '0.00000'), ('2462', '162', 'S', 'Sindh', '1', '0.00000'), ('2463', '163', 'AM', 'Aimeliik', '1', '0.00000'), ('2464', '163', 'AR', 'Airai', '1', '0.00000'), ('2465', '163', 'AN', 'Angaur', '1', '0.00000'), ('2466', '163', 'HA', 'Hatohobei', '1', '0.00000'), ('2467', '163', 'KA', 'Kayangel', '1', '0.00000'), ('2468', '163', 'KO', 'Koror', '1', '0.00000'), ('2469', '163', 'ME', 'Melekeok', '1', '0.00000'), ('2470', '163', 'NA', 'Ngaraard', '1', '0.00000'), ('2471', '163', 'NG', 'Ngarchelong', '1', '0.00000'), ('2472', '163', 'ND', 'Ngardmau', '1', '0.00000'), ('2473', '163', 'NT', 'Ngatpang', '1', '0.00000'), ('2474', '163', 'NC', 'Ngchesar', '1', '0.00000'), ('2475', '163', 'NR', 'Ngeremlengui', '1', '0.00000'), ('2476', '163', 'NW', 'Ngiwal', '1', '0.00000'), ('2477', '163', 'PE', 'Peleliu', '1', '0.00000'), ('2478', '163', 'SO', 'Sonsorol', '1', '0.00000'), ('2479', '164', 'BT', 'Bocas del Toro', '1', '0.00000'), ('2480', '164', 'CH', 'Chiriqui', '1', '0.00000'), ('2481', '164', 'CC', 'Cocle', '1', '0.00000'), ('2482', '164', 'CL', 'Colon', '1', '0.00000'), ('2483', '164', 'DA', 'Darien', '1', '0.00000'), ('2484', '164', 'HE', 'Herrera', '1', '0.00000'), ('2485', '164', 'LS', 'Los Santos', '1', '0.00000'), ('2486', '164', 'PA', 'Panama', '1', '0.00000'), ('2487', '164', 'SB', 'San Blas', '1', '0.00000'), ('2488', '164', 'VG', 'Veraguas', '1', '0.00000'), ('2489', '165', 'BV', 'Bougainville', '1', '0.00000'), ('2490', '165', 'CE', 'Central', '1', '0.00000'), ('2491', '165', 'CH', 'Chimbu', '1', '0.00000'), ('2492', '165', 'EH', 'Eastern Highlands', '1', '0.00000'), ('2493', '165', 'EB', 'East New Britain', '1', '0.00000'), ('2494', '165', 'ES', 'East Sepik', '1', '0.00000'), ('2495', '165', 'EN', 'Enga', '1', '0.00000'), ('2496', '165', 'GU', 'Gulf', '1', '0.00000'), ('2497', '165', 'MD', 'Madang', '1', '0.00000'), ('2498', '165', 'MN', 'Manus', '1', '0.00000'), ('2499', '165', 'MB', 'Milne Bay', '1', '0.00000'), ('2500', '165', 'MR', 'Morobe', '1', '0.00000'), ('2501', '165', 'NC', 'National Capital', '1', '0.00000'), ('2502', '165', 'NI', 'New Ireland', '1', '0.00000'), ('2503', '165', 'NO', 'Northern', '1', '0.00000'), ('2504', '165', 'SA', 'Sandaun', '1', '0.00000'), ('2505', '165', 'SH', 'Southern Highlands', '1', '0.00000'), ('2506', '165', 'WE', 'Western', '1', '0.00000'), ('2507', '165', 'WH', 'Western Highlands', '1', '0.00000'), ('2508', '165', 'WB', 'West New Britain', '1', '0.00000'), ('2509', '166', 'AG', 'Alto Paraguay', '1', '0.00000'), ('2510', '166', 'AN', 'Alto Parana', '1', '0.00000'), ('2511', '166', 'AM', 'Amambay', '1', '0.00000'), ('2512', '166', 'AS', 'Asuncion', '1', '0.00000'), ('2513', '166', 'BO', 'Boqueron', '1', '0.00000'), ('2514', '166', 'CG', 'Caaguazu', '1', '0.00000'), ('2515', '166', 'CZ', 'Caazapa', '1', '0.00000'), ('2516', '166', 'CN', 'Canindeyu', '1', '0.00000'), ('2517', '166', 'CE', 'Central', '1', '0.00000'), ('2518', '166', 'CC', 'Concepcion', '1', '0.00000'), ('2519', '166', 'CD', 'Cordillera', '1', '0.00000'), ('2520', '166', 'GU', 'Guaira', '1', '0.00000'), ('2521', '166', 'IT', 'Itapua', '1', '0.00000'), ('2522', '166', 'MI', 'Misiones', '1', '0.00000'), ('2523', '166', 'NE', 'Neembucu', '1', '0.00000'), ('2524', '166', 'PA', 'Paraguari', '1', '0.00000'), ('2525', '166', 'PH', 'Presidente Hayes', '1', '0.00000'), ('2526', '166', 'SP', 'San Pedro', '1', '0.00000'), ('2527', '167', 'AM', 'Amazonas', '1', '0.00000'), ('2528', '167', 'AN', 'Ancash', '1', '0.00000'), ('2529', '167', 'AP', 'Apurimac', '1', '0.00000'), ('2530', '167', 'AR', 'Arequipa', '1', '0.00000'), ('2531', '167', 'AY', 'Ayacucho', '1', '0.00000'), ('2532', '167', 'CJ', 'Cajamarca', '1', '0.00000'), ('2533', '167', 'CL', 'Callao', '1', '0.00000'), ('2534', '167', 'CU', 'Cusco', '1', '0.00000'), ('2535', '167', 'HV', 'Huancavelica', '1', '0.00000'), ('2536', '167', 'HO', 'Huanuco', '1', '0.00000'); + +-- new query + +INSERT INTO `prefix_country_zones` VALUES ('2537', '167', 'IC', 'Ica', '1', '0.00000'), ('2538', '167', 'JU', 'Junin', '1', '0.00000'), ('2539', '167', 'LD', 'La Libertad', '1', '0.00000'), ('2540', '167', 'LY', 'Lambayeque', '1', '0.00000'), ('2541', '167', 'LI', 'Lima', '1', '0.00000'), ('2542', '167', 'LO', 'Loreto', '1', '0.00000'), ('2543', '167', 'MD', 'Madre de Dios', '1', '0.00000'), ('2544', '167', 'MO', 'Moquegua', '1', '0.00000'), ('2545', '167', 'PA', 'Pasco', '1', '0.00000'), ('2546', '167', 'PI', 'Piura', '1', '0.00000'), ('2547', '167', 'PU', 'Puno', '1', '0.00000'), ('2548', '167', 'SM', 'San Martin', '1', '0.00000'), ('2549', '167', 'TA', 'Tacna', '1', '0.00000'), ('2550', '167', 'TU', 'Tumbes', '1', '0.00000'), ('2551', '167', 'UC', 'Ucayali', '1', '0.00000'), ('2552', '168', 'ABR', 'Abra', '1', '0.00000'), ('2553', '168', 'ANO', 'Agusan del Norte', '1', '0.00000'), ('2554', '168', 'ASU', 'Agusan del Sur', '1', '0.00000'), ('2555', '168', 'AKL', 'Aklan', '1', '0.00000'), ('2556', '168', 'ALB', 'Albay', '1', '0.00000'), ('2557', '168', 'ANT', 'Antique', '1', '0.00000'), ('2558', '168', 'APY', 'Apayao', '1', '0.00000'), ('2559', '168', 'AUR', 'Aurora', '1', '0.00000'), ('2560', '168', 'BAS', 'Basilan', '1', '0.00000'), ('2561', '168', 'BTA', 'Bataan', '1', '0.00000'), ('2562', '168', 'BTE', 'Batanes', '1', '0.00000'), ('2563', '168', 'BTG', 'Batangas', '1', '0.00000'), ('2564', '168', 'BLR', 'Biliran', '1', '0.00000'), ('2565', '168', 'BEN', 'Benguet', '1', '0.00000'), ('2566', '168', 'BOL', 'Bohol', '1', '0.00000'), ('2567', '168', 'BUK', 'Bukidnon', '1', '0.00000'), ('2568', '168', 'BUL', 'Bulacan', '1', '0.00000'), ('2569', '168', 'CAG', 'Cagayan', '1', '0.00000'), ('2570', '168', 'CNO', 'Camarines Norte', '1', '0.00000'), ('2571', '168', 'CSU', 'Camarines Sur', '1', '0.00000'), ('2572', '168', 'CAM', 'Camiguin', '1', '0.00000'), ('2573', '168', 'CAP', 'Capiz', '1', '0.00000'), ('2574', '168', 'CAT', 'Catanduanes', '1', '0.00000'), ('2575', '168', 'CAV', 'Cavite', '1', '0.00000'), ('2576', '168', 'CEB', 'Cebu', '1', '0.00000'), ('2577', '168', 'CMP', 'Compostela', '1', '0.00000'), ('2578', '168', 'DNO', 'Davao del Norte', '1', '0.00000'), ('2579', '168', 'DSU', 'Davao del Sur', '1', '0.00000'), ('2580', '168', 'DOR', 'Davao Oriental', '1', '0.00000'), ('2581', '168', 'ESA', 'Eastern Samar', '1', '0.00000'), ('2582', '168', 'GUI', 'Guimaras', '1', '0.00000'), ('2583', '168', 'IFU', 'Ifugao', '1', '0.00000'), ('2584', '168', 'INO', 'Ilocos Norte', '1', '0.00000'), ('2585', '168', 'ISU', 'Ilocos Sur', '1', '0.00000'), ('2586', '168', 'ILO', 'Iloilo', '1', '0.00000'), ('2587', '168', 'ISA', 'Isabela', '1', '0.00000'), ('2588', '168', 'KAL', 'Kalinga', '1', '0.00000'), ('2589', '168', 'LAG', 'Laguna', '1', '0.00000'), ('2590', '168', 'LNO', 'Lanao del Norte', '1', '0.00000'), ('2591', '168', 'LSU', 'Lanao del Sur', '1', '0.00000'), ('2592', '168', 'UNI', 'La Union', '1', '0.00000'), ('2593', '168', 'LEY', 'Leyte', '1', '0.00000'), ('2594', '168', 'MAG', 'Maguindanao', '1', '0.00000'), ('2595', '168', 'MRN', 'Marinduque', '1', '0.00000'), ('2596', '168', 'MSB', 'Masbate', '1', '0.00000'), ('2597', '168', 'MIC', 'Mindoro Occidental', '1', '0.00000'), ('2598', '168', 'MIR', 'Mindoro Oriental', '1', '0.00000'), ('2599', '168', 'MSC', 'Misamis Occidental', '1', '0.00000'), ('2600', '168', 'MOR', 'Misamis Oriental', '1', '0.00000'), ('2601', '168', 'MOP', 'Mountain', '1', '0.00000'), ('2602', '168', 'NOC', 'Negros Occidental', '1', '0.00000'), ('2603', '168', 'NOR', 'Negros Oriental', '1', '0.00000'), ('2604', '168', 'NCT', 'North Cotabato', '1', '0.00000'), ('2605', '168', 'NSM', 'Northern Samar', '1', '0.00000'), ('2606', '168', 'NEC', 'Nueva Ecija', '1', '0.00000'), ('2607', '168', 'NVZ', 'Nueva Vizcaya', '1', '0.00000'), ('2608', '168', 'PLW', 'Palawan', '1', '0.00000'), ('2609', '168', 'PMP', 'Pampanga', '1', '0.00000'), ('2610', '168', 'PNG', 'Pangasinan', '1', '0.00000'), ('2611', '168', 'QZN', 'Quezon', '1', '0.00000'), ('2612', '168', 'QRN', 'Quirino', '1', '0.00000'), ('2613', '168', 'RIZ', 'Rizal', '1', '0.00000'), ('2614', '168', 'ROM', 'Romblon', '1', '0.00000'), ('2615', '168', 'SMR', 'Samar', '1', '0.00000'), ('2616', '168', 'SRG', 'Sarangani', '1', '0.00000'), ('2617', '168', 'SQJ', 'Siquijor', '1', '0.00000'), ('2618', '168', 'SRS', 'Sorsogon', '1', '0.00000'), ('2619', '168', 'SCO', 'South Cotabato', '1', '0.00000'), ('2620', '168', 'SLE', 'Southern Leyte', '1', '0.00000'), ('2621', '168', 'SKU', 'Sultan Kudarat', '1', '0.00000'), ('2622', '168', 'SLU', 'Sulu', '1', '0.00000'), ('2623', '168', 'SNO', 'Surigao del Norte', '1', '0.00000'), ('2624', '168', 'SSU', 'Surigao del Sur', '1', '0.00000'), ('2625', '168', 'TAR', 'Tarlac', '1', '0.00000'), ('2626', '168', 'TAW', 'Tawi-Tawi', '1', '0.00000'), ('2627', '168', 'ZBL', 'Zambales', '1', '0.00000'), ('2628', '168', 'ZNO', 'Zamboanga del Norte', '1', '0.00000'), ('2629', '168', 'ZSU', 'Zamboanga del Sur', '1', '0.00000'), ('2630', '168', 'ZSI', 'Zamboanga Sibugay', '1', '0.00000'), ('2631', '170', 'DO', 'Dolnoslaskie', '1', '0.00000'), ('2632', '170', 'KP', 'Kujawsko-Pomorskie', '1', '0.00000'), ('2633', '170', 'LO', 'Lodzkie', '1', '0.00000'), ('2634', '170', 'LL', 'Lubelskie', '1', '0.00000'), ('2635', '170', 'LU', 'Lubuskie', '1', '0.00000'), ('2636', '170', 'ML', 'Malopolskie', '1', '0.00000'), ('2637', '170', 'MZ', 'Mazowieckie', '1', '0.00000'), ('2638', '170', 'OP', 'Opolskie', '1', '0.00000'), ('2639', '170', 'PP', 'Podkarpackie', '1', '0.00000'), ('2640', '170', 'PL', 'Podlaskie', '1', '0.00000'), ('2641', '170', 'PM', 'Pomorskie', '1', '0.00000'), ('2642', '170', 'SL', 'Slaskie', '1', '0.00000'), ('2643', '170', 'SW', 'Swietokrzyskie', '1', '0.00000'), ('2644', '170', 'WM', 'Warminsko-Mazurskie', '1', '0.00000'), ('2645', '170', 'WP', 'Wielkopolskie', '1', '0.00000'), ('2646', '170', 'ZA', 'Zachodniopomorskie', '1', '0.00000'), ('2647', '198', 'P', 'Saint Pierre', '1', '0.00000'), ('2648', '198', 'M', 'Miquelon', '1', '0.00000'), ('2649', '171', 'AC', 'Açores', '1', '0.00000'), ('2650', '171', 'AV', 'Aveiro', '1', '0.00000'), ('2651', '171', 'BE', 'Beja', '1', '0.00000'), ('2652', '171', 'BR', 'Braga', '1', '0.00000'), ('2653', '171', 'BA', 'Bragança', '1', '0.00000'), ('2654', '171', 'CB', 'Castelo Branco', '1', '0.00000'), ('2655', '171', 'CO', 'Coimbra', '1', '0.00000'), ('2656', '171', 'EV', 'Évora', '1', '0.00000'), ('2657', '171', 'FA', 'Faro', '1', '0.00000'), ('2658', '171', 'GU', 'Guarda', '1', '0.00000'), ('2659', '171', 'LE', 'Leiria', '1', '0.00000'), ('2660', '171', 'LI', 'Lisboa', '1', '0.00000'), ('2661', '171', 'ME', 'Madeira', '1', '0.00000'), ('2662', '171', 'PO', 'Portalegre', '1', '0.00000'), ('2663', '171', 'PR', 'Porto', '1', '0.00000'), ('2664', '171', 'SA', 'Santarém', '1', '0.00000'), ('2665', '171', 'SE', 'Setúbal', '1', '0.00000'), ('2666', '171', 'VC', 'Viana do Castelo', '1', '0.00000'), ('2667', '171', 'VR', 'Vila Real', '1', '0.00000'), ('2668', '171', 'VI', 'Viseu', '1', '0.00000'), ('2669', '173', 'DW', 'Ad Dawhah', '1', '0.00000'), ('2670', '173', 'GW', 'Al Ghuwayriyah', '1', '0.00000'), ('2671', '173', 'JM', 'Al Jumayliyah', '1', '0.00000'), ('2672', '173', 'KR', 'Al Khawr', '1', '0.00000'), ('2673', '173', 'WK', 'Al Wakrah', '1', '0.00000'), ('2674', '173', 'RN', 'Ar Rayyan', '1', '0.00000'), ('2675', '173', 'JB', 'Jarayan al Batinah', '1', '0.00000'), ('2676', '173', 'MS', 'Madinat ash Shamal', '1', '0.00000'), ('2677', '173', 'UD', 'Umm Sa\'id', '1', '0.00000'), ('2678', '173', 'UL', 'Umm Salal', '1', '0.00000'), ('2679', '175', 'AB', 'Alba', '1', '0.00000'), ('2680', '175', 'AR', 'Arad', '1', '0.00000'), ('2681', '175', 'AG', 'Arges', '1', '0.00000'), ('2682', '175', 'BC', 'Bacau', '1', '0.00000'), ('2683', '175', 'BH', 'Bihor', '1', '0.00000'), ('2684', '175', 'BN', 'Bistrita-Nasaud', '1', '0.00000'), ('2685', '175', 'BT', 'Botosani', '1', '0.00000'), ('2686', '175', 'BV', 'Brasov', '1', '0.00000'), ('2687', '175', 'BR', 'Braila', '1', '0.00000'), ('2688', '175', 'B', 'Bucuresti', '1', '0.00000'), ('2689', '175', 'BZ', 'Buzau', '1', '0.00000'), ('2690', '175', 'CS', 'Caras-Severin', '1', '0.00000'), ('2691', '175', 'CL', 'Calarasi', '1', '0.00000'), ('2692', '175', 'CJ', 'Cluj', '1', '0.00000'), ('2693', '175', 'CT', 'Constanta', '1', '0.00000'), ('2694', '175', 'CV', 'Covasna', '1', '0.00000'), ('2695', '175', 'DB', 'Dimbovita', '1', '0.00000'), ('2696', '175', 'DJ', 'Dolj', '1', '0.00000'), ('2697', '175', 'GL', 'Galati', '1', '0.00000'), ('2698', '175', 'GR', 'Giurgiu', '1', '0.00000'), ('2699', '175', 'GJ', 'Gorj', '1', '0.00000'), ('2700', '175', 'HR', 'Harghita', '1', '0.00000'), ('2701', '175', 'HD', 'Hunedoara', '1', '0.00000'), ('2702', '175', 'IL', 'Ialomita', '1', '0.00000'), ('2703', '175', 'IS', 'Iasi', '1', '0.00000'), ('2704', '175', 'IF', 'Ilfov', '1', '0.00000'), ('2705', '175', 'MM', 'Maramures', '1', '0.00000'), ('2706', '175', 'MH', 'Mehedinti', '1', '0.00000'), ('2707', '175', 'MS', 'Mures', '1', '0.00000'), ('2708', '175', 'NT', 'Neamt', '1', '0.00000'), ('2709', '175', 'OT', 'Olt', '1', '0.00000'), ('2710', '175', 'PH', 'Prahova', '1', '0.00000'), ('2711', '175', 'SM', 'Satu-Mare', '1', '0.00000'), ('2712', '175', 'SJ', 'Salaj', '1', '0.00000'), ('2713', '175', 'SB', 'Sibiu', '1', '0.00000'), ('2714', '175', 'SV', 'Suceava', '1', '0.00000'), ('2715', '175', 'TR', 'Teleorman', '1', '0.00000'), ('2716', '175', 'TM', 'Timis', '1', '0.00000'), ('2717', '175', 'TL', 'Tulcea', '1', '0.00000'), ('2718', '175', 'VS', 'Vaslui', '1', '0.00000'), ('2719', '175', 'VL', 'Valcea', '1', '0.00000'), ('2720', '175', 'VN', 'Vrancea', '1', '0.00000'), ('2721', '176', 'AB', 'Abakan', '1', '0.00000'), ('2722', '176', 'AG', 'Aginskoye', '1', '0.00000'), ('2723', '176', 'AN', 'Anadyr', '1', '0.00000'), ('2724', '176', 'AR', 'Arkahangelsk', '1', '0.00000'), ('2725', '176', 'AS', 'Astrakhan', '1', '0.00000'), ('2726', '176', 'BA', 'Barnaul', '1', '0.00000'), ('2727', '176', 'BE', 'Belgorod', '1', '0.00000'), ('2728', '176', 'BI', 'Birobidzhan', '1', '0.00000'), ('2729', '176', 'BL', 'Blagoveshchensk', '1', '0.00000'), ('2730', '176', 'BR', 'Bryansk', '1', '0.00000'), ('2731', '176', 'CH', 'Cheboksary', '1', '0.00000'), ('2732', '176', 'CL', 'Chelyabinsk', '1', '0.00000'), ('2733', '176', 'CR', 'Cherkessk', '1', '0.00000'), ('2734', '176', 'CI', 'Chita', '1', '0.00000'), ('2735', '176', 'DU', 'Dudinka', '1', '0.00000'), ('2736', '176', 'EL', 'Elista', '1', '0.00000'), ('2737', '176', 'GO', 'Gomo-Altaysk', '1', '0.00000'), ('2738', '176', 'GA', 'Gorno-Altaysk', '1', '0.00000'), ('2739', '176', 'GR', 'Groznyy', '1', '0.00000'), ('2740', '176', 'IR', 'Irkutsk', '1', '0.00000'), ('2741', '176', 'IV', 'Ivanovo', '1', '0.00000'), ('2742', '176', 'IZ', 'Izhevsk', '1', '0.00000'), ('2743', '176', 'KA', 'Kalinigrad', '1', '0.00000'), ('2744', '176', 'KL', 'Kaluga', '1', '0.00000'), ('2745', '176', 'KS', 'Kasnodar', '1', '0.00000'), ('2746', '176', 'KZ', 'Kazan', '1', '0.00000'), ('2747', '176', 'KE', 'Kemerovo', '1', '0.00000'), ('2748', '176', 'KH', 'Khabarovsk', '1', '0.00000'), ('2749', '176', 'KM', 'Khanty-Mansiysk', '1', '0.00000'), ('2750', '176', 'KO', 'Kostroma', '1', '0.00000'), ('2751', '176', 'KR', 'Krasnodar', '1', '0.00000'), ('2752', '176', 'KN', 'Krasnoyarsk', '1', '0.00000'), ('2753', '176', 'KU', 'Kudymkar', '1', '0.00000'), ('2754', '176', 'KG', 'Kurgan', '1', '0.00000'), ('2755', '176', 'KK', 'Kursk', '1', '0.00000'), ('2756', '176', 'KY', 'Kyzyl', '1', '0.00000'), ('2757', '176', 'LI', 'Lipetsk', '1', '0.00000'), ('2758', '176', 'MA', 'Magadan', '1', '0.00000'), ('2759', '176', 'MK', 'Makhachkala', '1', '0.00000'), ('2760', '176', 'MY', 'Maykop', '1', '0.00000'), ('2761', '176', 'MO', 'Moscow', '1', '0.00000'), ('2762', '176', 'MU', 'Murmansk', '1', '0.00000'), ('2763', '176', 'NA', 'Nalchik', '1', '0.00000'), ('2764', '176', 'NR', 'Naryan Mar', '1', '0.00000'), ('2765', '176', 'NZ', 'Nazran', '1', '0.00000'), ('2766', '176', 'NI', 'Nizhniy Novgorod', '1', '0.00000'), ('2767', '176', 'NO', 'Novgorod', '1', '0.00000'), ('2768', '176', 'NV', 'Novosibirsk', '1', '0.00000'), ('2769', '176', 'OM', 'Omsk', '1', '0.00000'), ('2770', '176', 'OR', 'Orel', '1', '0.00000'), ('2771', '176', 'OE', 'Orenburg', '1', '0.00000'), ('2772', '176', 'PA', 'Palana', '1', '0.00000'), ('2773', '176', 'PE', 'Penza', '1', '0.00000'), ('2774', '176', 'PR', 'Perm', '1', '0.00000'), ('2775', '176', 'PK', 'Petropavlovsk-Kamchatskiy', '1', '0.00000'), ('2776', '176', 'PT', 'Petrozavodsk', '1', '0.00000'), ('2777', '176', 'PS', 'Pskov', '1', '0.00000'), ('2778', '176', 'RO', 'Rostov-na-Donu', '1', '0.00000'), ('2779', '176', 'RY', 'Ryazan', '1', '0.00000'), ('2780', '176', 'SL', 'Salekhard', '1', '0.00000'), ('2781', '176', 'SA', 'Samara', '1', '0.00000'), ('2782', '176', 'SR', 'Saransk', '1', '0.00000'), ('2783', '176', 'SV', 'Saratov', '1', '0.00000'), ('2784', '176', 'SM', 'Smolensk', '1', '0.00000'), ('2785', '176', 'SP', 'St. Petersburg', '1', '0.00000'), ('2786', '176', 'ST', 'Stavropol', '1', '0.00000'), ('2787', '176', 'SY', 'Syktyvkar', '1', '0.00000'), ('2788', '176', 'TA', 'Tambov', '1', '0.00000'), ('2789', '176', 'TO', 'Tomsk', '1', '0.00000'), ('2790', '176', 'TU', 'Tula', '1', '0.00000'), ('2791', '176', 'TR', 'Tura', '1', '0.00000'), ('2792', '176', 'TV', 'Tver', '1', '0.00000'), ('2793', '176', 'TY', 'Tyumen', '1', '0.00000'), ('2794', '176', 'UF', 'Ufa', '1', '0.00000'), ('2795', '176', 'UL', 'Ul\'yanovsk', '1', '0.00000'), ('2796', '176', 'UU', 'Ulan-Ude', '1', '0.00000'), ('2797', '176', 'US', 'Ust\'-Ordynskiy', '1', '0.00000'), ('2798', '176', 'VL', 'Vladikavkaz', '1', '0.00000'), ('2799', '176', 'VA', 'Vladimir', '1', '0.00000'), ('2800', '176', 'VV', 'Vladivostok', '1', '0.00000'), ('2801', '176', 'VG', 'Volgograd', '1', '0.00000'), ('2802', '176', 'VD', 'Vologda', '1', '0.00000'), ('2803', '176', 'VO', 'Voronezh', '1', '0.00000'), ('2804', '176', 'VY', 'Vyatka', '1', '0.00000'), ('2805', '176', 'YA', 'Yakutsk', '1', '0.00000'), ('2806', '176', 'YR', 'Yaroslavl', '1', '0.00000'), ('2807', '176', 'YE', 'Yekaterinburg', '1', '0.00000'), ('2808', '176', 'YO', 'Yoshkar-Ola', '1', '0.00000'), ('2809', '177', 'BU', 'Butare', '1', '0.00000'), ('2810', '177', 'BY', 'Byumba', '1', '0.00000'), ('2811', '177', 'CY', 'Cyangugu', '1', '0.00000'), ('2812', '177', 'GK', 'Gikongoro', '1', '0.00000'), ('2813', '177', 'GS', 'Gisenyi', '1', '0.00000'), ('2814', '177', 'GT', 'Gitarama', '1', '0.00000'), ('2815', '177', 'KG', 'Kibungo', '1', '0.00000'), ('2816', '177', 'KY', 'Kibuye', '1', '0.00000'), ('2817', '177', 'KR', 'Kigali Rurale', '1', '0.00000'), ('2818', '177', 'KV', 'Kigali-ville', '1', '0.00000'), ('2819', '177', 'RU', 'Ruhengeri', '1', '0.00000'), ('2820', '177', 'UM', 'Umutara', '1', '0.00000'), ('2821', '178', 'CCN', 'Christ Church Nichola Town', '1', '0.00000'), ('2822', '178', 'SAS', 'Saint Anne Sandy Point', '1', '0.00000'), ('2823', '178', 'SGB', 'Saint George Basseterre', '1', '0.00000'), ('2824', '178', 'SGG', 'Saint George Gingerland', '1', '0.00000'), ('2825', '178', 'SJW', 'Saint James Windward', '1', '0.00000'), ('2826', '178', 'SJC', 'Saint John Capesterre', '1', '0.00000'), ('2827', '178', 'SJF', 'Saint John Figtree', '1', '0.00000'), ('2828', '178', 'SMC', 'Saint Mary Cayon', '1', '0.00000'), ('2829', '178', 'CAP', 'Saint Paul Capesterre', '1', '0.00000'), ('2830', '178', 'CHA', 'Saint Paul Charlestown', '1', '0.00000'), ('2831', '178', 'SPB', 'Saint Peter Basseterre', '1', '0.00000'), ('2832', '178', 'STL', 'Saint Thomas Lowland', '1', '0.00000'), ('2833', '178', 'STM', 'Saint Thomas Middle Island', '1', '0.00000'), ('2834', '178', 'TPP', 'Trinity Palmetto Point', '1', '0.00000'), ('2835', '179', 'AR', 'Anse-la-Raye', '1', '0.00000'), ('2836', '179', 'CA', 'Castries', '1', '0.00000'), ('2837', '179', 'CH', 'Choiseul', '1', '0.00000'), ('2838', '179', 'DA', 'Dauphin', '1', '0.00000'), ('2839', '179', 'DE', 'Dennery', '1', '0.00000'), ('2840', '179', 'GI', 'Gros-Islet', '1', '0.00000'), ('2841', '179', 'LA', 'Laborie', '1', '0.00000'), ('2842', '179', 'MI', 'Micoud', '1', '0.00000'), ('2843', '179', 'PR', 'Praslin', '1', '0.00000'), ('2844', '179', 'SO', 'Soufriere', '1', '0.00000'), ('2845', '179', 'VF', 'Vieux-Fort', '1', '0.00000'), ('2846', '180', 'C', 'Charlotte', '1', '0.00000'), ('2847', '180', 'R', 'Grenadines', '1', '0.00000'), ('2848', '180', 'A', 'Saint Andrew', '1', '0.00000'), ('2849', '180', 'D', 'Saint David', '1', '0.00000'), ('2850', '180', 'G', 'Saint George', '1', '0.00000'), ('2851', '180', 'P', 'Saint Patrick', '1', '0.00000'), ('2852', '181', 'AN', 'A\'ana', '1', '0.00000'), ('2853', '181', 'AI', 'Aiga-i-le-Tai', '1', '0.00000'), ('2854', '181', 'AT', 'Atua', '1', '0.00000'), ('2855', '181', 'FA', 'Fa\'asaleleaga', '1', '0.00000'), ('2856', '181', 'GE', 'Gaga\'emauga', '1', '0.00000'), ('2857', '181', 'GF', 'Gagaifomauga', '1', '0.00000'), ('2858', '181', 'PA', 'Palauli', '1', '0.00000'), ('2859', '181', 'SA', 'Satupa\'itea', '1', '0.00000'), ('2860', '181', 'TU', 'Tuamasaga', '1', '0.00000'), ('2861', '181', 'VF', 'Va\'a-o-Fonoti', '1', '0.00000'), ('2862', '181', 'VS', 'Vaisigano', '1', '0.00000'), ('2863', '182', 'AC', 'Acquaviva', '1', '0.00000'), ('2864', '182', 'BM', 'Borgo Maggiore', '1', '0.00000'), ('2865', '182', 'CH', 'Chiesanuova', '1', '0.00000'), ('2866', '182', 'DO', 'Domagnano', '1', '0.00000'), ('2867', '182', 'FA', 'Faetano', '1', '0.00000'), ('2868', '182', 'FI', 'Fiorentino', '1', '0.00000'), ('2869', '182', 'MO', 'Montegiardino', '1', '0.00000'), ('2870', '182', 'SM', 'Citta di San Marino', '1', '0.00000'), ('2871', '182', 'SE', 'Serravalle', '1', '0.00000'), ('2872', '183', 'S', 'Sao Tome', '1', '0.00000'), ('2873', '183', 'P', 'Principe', '1', '0.00000'), ('2874', '184', 'BH', 'Al Bahah', '1', '0.00000'), ('2875', '184', 'HS', 'Al Hudud ash Shamaliyah', '1', '0.00000'), ('2876', '184', 'JF', 'Al Jawf', '1', '0.00000'), ('2877', '184', 'MD', 'Al Madinah', '1', '0.00000'), ('2878', '184', 'QS', 'Al Qasim', '1', '0.00000'), ('2879', '184', 'RD', 'Ar Riyad', '1', '0.00000'), ('2880', '184', 'AQ', 'Ash Sharqiyah (Eastern)', '1', '0.00000'), ('2881', '184', 'AS', '\'Asir', '1', '0.00000'), ('2882', '184', 'HL', 'Ha\'il', '1', '0.00000'), ('2883', '184', 'JZ', 'Jizan', '1', '0.00000'), ('2884', '184', 'ML', 'Makkah', '1', '0.00000'), ('2885', '184', 'NR', 'Najran', '1', '0.00000'), ('2886', '184', 'TB', 'Tabuk', '1', '0.00000'), ('2887', '185', 'DA', 'Dakar', '1', '0.00000'), ('2888', '185', 'DI', 'Diourbel', '1', '0.00000'), ('2889', '185', 'FA', 'Fatick', '1', '0.00000'), ('2890', '185', 'KA', 'Kaolack', '1', '0.00000'), ('2891', '185', 'KO', 'Kolda', '1', '0.00000'), ('2892', '185', 'LO', 'Louga', '1', '0.00000'), ('2893', '185', 'MA', 'Matam', '1', '0.00000'), ('2894', '185', 'SL', 'Saint-Louis', '1', '0.00000'), ('2895', '185', 'TA', 'Tambacounda', '1', '0.00000'), ('2896', '185', 'TH', 'Thies', '1', '0.00000'), ('2897', '185', 'ZI', 'Ziguinchor', '1', '0.00000'), ('2898', '186', 'AP', 'Anse aux Pins', '1', '0.00000'), ('2899', '186', 'AB', 'Anse Boileau', '1', '0.00000'), ('2900', '186', 'AE', 'Anse Etoile', '1', '0.00000'), ('2901', '186', 'AL', 'Anse Louis', '1', '0.00000'), ('2902', '186', 'AR', 'Anse Royale', '1', '0.00000'), ('2903', '186', 'BL', 'Baie Lazare', '1', '0.00000'), ('2904', '186', 'BS', 'Baie Sainte Anne', '1', '0.00000'), ('2905', '186', 'BV', 'Beau Vallon', '1', '0.00000'), ('2906', '186', 'BA', 'Bel Air', '1', '0.00000'), ('2907', '186', 'BO', 'Bel Ombre', '1', '0.00000'), ('2908', '186', 'CA', 'Cascade', '1', '0.00000'), ('2909', '186', 'GL', 'Glacis', '1', '0.00000'), ('2910', '186', 'GM', 'Grand\' Anse (on Mahe)', '1', '0.00000'), ('2911', '186', 'GP', 'Grand\' Anse (on Praslin)', '1', '0.00000'), ('2912', '186', 'DG', 'La Digue', '1', '0.00000'), ('2913', '186', 'RA', 'La Riviere Anglaise', '1', '0.00000'), ('2914', '186', 'MB', 'Mont Buxton', '1', '0.00000'), ('2915', '186', 'MF', 'Mont Fleuri', '1', '0.00000'), ('2916', '186', 'PL', 'Plaisance', '1', '0.00000'), ('2917', '186', 'PR', 'Pointe La Rue', '1', '0.00000'), ('2918', '186', 'PG', 'Port Glaud', '1', '0.00000'), ('2919', '186', 'SL', 'Saint Louis', '1', '0.00000'), ('2920', '186', 'TA', 'Takamaka', '1', '0.00000'), ('2921', '187', 'E', 'Eastern', '1', '0.00000'), ('2922', '187', 'N', 'Northern', '1', '0.00000'), ('2923', '187', 'S', 'Southern', '1', '0.00000'), ('2924', '187', 'W', 'Western', '1', '0.00000'), ('2925', '189', 'BA', 'Banskobystrick√Ω', '1', '0.00000'), ('2926', '189', 'BR', 'Bratislavsk√Ω', '1', '0.00000'), ('2927', '189', 'KO', 'Košick√Ω', '1', '0.00000'), ('2928', '189', 'NI', 'Nitriansky', '1', '0.00000'), ('2929', '189', 'PR', 'Prešovsk√Ω', '1', '0.00000'), ('2930', '189', 'TC', 'Trenčiansky', '1', '0.00000'), ('2931', '189', 'TV', 'Trnavsk√Ω', '1', '0.00000'), ('2932', '189', 'ZI', '≈Ωilinsk√Ω', '1', '0.00000'), ('2933', '191', 'CE', 'Central', '1', '0.00000'), ('2934', '191', 'CH', 'Choiseul', '1', '0.00000'), ('2935', '191', 'GC', 'Guadalcanal', '1', '0.00000'), ('2936', '191', 'HO', 'Honiara', '1', '0.00000'), ('2937', '191', 'IS', 'Isabel', '1', '0.00000'), ('2938', '191', 'MK', 'Makira', '1', '0.00000'), ('2939', '191', 'ML', 'Malaita', '1', '0.00000'), ('2940', '191', 'RB', 'Rennell and Bellona', '1', '0.00000'), ('2941', '191', 'TM', 'Temotu', '1', '0.00000'), ('2942', '191', 'WE', 'Western', '1', '0.00000'), ('2943', '192', 'AW', 'Awdal', '1', '0.00000'), ('2944', '192', 'BK', 'Bakool', '1', '0.00000'), ('2945', '192', 'BN', 'Banaadir', '1', '0.00000'), ('2946', '192', 'BR', 'Bari', '1', '0.00000'), ('2947', '192', 'BY', 'Bay', '1', '0.00000'), ('2948', '192', 'GA', 'Galguduud', '1', '0.00000'), ('2949', '192', 'GE', 'Gedo', '1', '0.00000'), ('2950', '192', 'HI', 'Hiiraan', '1', '0.00000'), ('2951', '192', 'JD', 'Jubbada Dhexe', '1', '0.00000'), ('2952', '192', 'JH', 'Jubbada Hoose', '1', '0.00000'), ('2953', '192', 'MU', 'Mudug', '1', '0.00000'), ('2954', '192', 'NU', 'Nugaal', '1', '0.00000'), ('2955', '192', 'SA', 'Sanaag', '1', '0.00000'), ('2956', '192', 'SD', 'Shabeellaha Dhexe', '1', '0.00000'), ('2957', '192', 'SH', 'Shabeellaha Hoose', '1', '0.00000'), ('2958', '192', 'SL', 'Sool', '1', '0.00000'), ('2959', '192', 'TO', 'Togdheer', '1', '0.00000'), ('2960', '192', 'WG', 'Woqooyi Galbeed', '1', '0.00000'), ('2961', '193', 'EC', 'Eastern Cape', '1', '0.00000'), ('2962', '193', 'FS', 'Free State', '1', '0.00000'), ('2963', '193', 'GT', 'Gauteng', '1', '0.00000'), ('2964', '193', 'KN', 'KwaZulu-Natal', '1', '0.00000'), ('2965', '193', 'LP', 'Limpopo', '1', '0.00000'), ('2966', '193', 'MP', 'Mpumalanga', '1', '0.00000'), ('2967', '193', 'NW', 'North West', '1', '0.00000'), ('2968', '193', 'NC', 'Northern Cape', '1', '0.00000'), ('2969', '193', 'WC', 'Western Cape', '1', '0.00000'), ('2970', '195', 'CA', 'La Coruña', '1', '0.00000'), ('2971', '195', 'AL', 'Álava', '1', '0.00000'), ('2972', '195', 'AB', 'Albacete', '1', '0.00000'), ('2973', '195', 'AC', 'Alicante', '1', '0.00000'), ('2974', '195', 'AM', 'Almeria', '1', '0.00000'), ('2975', '195', 'AS', 'Asturias', '1', '0.00000'), ('2976', '195', 'AV', 'Ávila', '1', '0.00000'), ('2977', '195', 'BJ', 'Badajoz', '1', '0.00000'), ('2978', '195', 'IB', 'Baleares', '1', '0.00000'), ('2979', '195', 'BA', 'Barcelona', '1', '0.00000'), ('2980', '195', 'BU', 'Burgos', '1', '0.00000'), ('2981', '195', 'CC', 'Cáceres', '1', '0.00000'), ('2982', '195', 'CZ', 'Cádiz', '1', '0.00000'), ('2983', '195', 'CT', 'Cantabria', '1', '0.00000'), ('2984', '195', 'CL', 'Castellón', '1', '0.00000'), ('2985', '195', 'CE', 'Ceuta', '1', '0.00000'), ('2986', '195', 'CR', 'Ciudad Real', '1', '0.00000'), ('2987', '195', 'CD', 'Córdoba', '1', '0.00000'), ('2988', '195', 'CU', 'Cuenca', '1', '0.00000'), ('2989', '195', 'GI', 'Girona', '1', '0.00000'), ('2990', '195', 'GD', 'Granada', '1', '0.00000'), ('2991', '195', 'GJ', 'Guadalajara', '1', '0.00000'), ('2992', '195', 'GP', 'Guipúzcoa', '1', '0.00000'), ('2993', '195', 'HL', 'Huelva', '1', '0.00000'), ('2994', '195', 'HS', 'Huesca', '1', '0.00000'), ('2995', '195', 'JN', 'Jaén', '1', '0.00000'), ('2996', '195', 'RJ', 'La Rioja', '1', '0.00000'), ('2997', '195', 'PM', 'Las Palmas', '1', '0.00000'), ('2998', '195', 'LE', 'Leon', '1', '0.00000'), ('2999', '195', 'LL', 'Lleida', '1', '0.00000'), ('3000', '195', 'LG', 'Lugo', '1', '0.00000'), ('3001', '195', 'MD', 'Madrid', '1', '0.00000'), ('3002', '195', 'MA', 'Malaga', '1', '0.00000'), ('3003', '195', 'ML', 'Melilla', '1', '0.00000'), ('3004', '195', 'MU', 'Murcia', '1', '0.00000'), ('3005', '195', 'NV', 'Navarra', '1', '0.00000'), ('3006', '195', 'OU', 'Ourense', '1', '0.00000'), ('3007', '195', 'PL', 'Palencia', '1', '0.00000'), ('3008', '195', 'PO', 'Pontevedra', '1', '0.00000'), ('3009', '195', 'SL', 'Salamanca', '1', '0.00000'), ('3010', '195', 'SC', 'Santa Cruz de Tenerife', '1', '0.00000'), ('3011', '195', 'SG', 'Segovia', '1', '0.00000'), ('3012', '195', 'SV', 'Sevilla', '1', '0.00000'), ('3013', '195', 'SO', 'Soria', '1', '0.00000'), ('3014', '195', 'TA', 'Tarragona', '1', '0.00000'), ('3015', '195', 'TE', 'Teruel', '1', '0.00000'), ('3016', '195', 'TO', 'Toledo', '1', '0.00000'), ('3017', '195', 'VC', 'Valencia', '1', '0.00000'), ('3018', '195', 'VD', 'Valladolid', '1', '0.00000'), ('3019', '195', 'VZ', 'Vizcaya', '1', '0.00000'), ('3020', '195', 'ZM', 'Zamora', '1', '0.00000'), ('3021', '195', 'ZR', 'Zaragoza', '1', '0.00000'), ('3022', '196', 'CE', 'Central', '1', '0.00000'), ('3023', '196', 'EA', 'Eastern', '1', '0.00000'), ('3024', '196', 'NC', 'North Central', '1', '0.00000'), ('3025', '196', 'NO', 'Northern', '1', '0.00000'), ('3026', '196', 'NW', 'North Western', '1', '0.00000'), ('3027', '196', 'SA', 'Sabaragamuwa', '1', '0.00000'), ('3028', '196', 'SO', 'Southern', '1', '0.00000'), ('3029', '196', 'UV', 'Uva', '1', '0.00000'), ('3030', '196', 'WE', 'Western', '1', '0.00000'), ('3031', '197', 'A', 'Ascension', '1', '0.00000'), ('3032', '197', 'S', 'Saint Helena', '1', '0.00000'), ('3033', '197', 'T', 'Tristan da Cunha', '1', '0.00000'), ('3034', '199', 'ANL', 'A\'ali an Nil', '1', '0.00000'), ('3035', '199', 'BAM', 'Al Bahr al Ahmar', '1', '0.00000'), ('3036', '199', 'BRT', 'Al Buhayrat', '1', '0.00000'), ('3037', '199', 'JZR', 'Al Jazirah', '1', '0.00000'), ('3038', '199', 'KRT', 'Al Khartum', '1', '0.00000'), ('3039', '199', 'QDR', 'Al Qadarif', '1', '0.00000'), ('3040', '199', 'WDH', 'Al Wahdah', '1', '0.00000'), ('3041', '199', 'ANB', 'An Nil al Abyad', '1', '0.00000'), ('3042', '199', 'ANZ', 'An Nil al Azraq', '1', '0.00000'), ('3043', '199', 'ASH', 'Ash Shamaliyah', '1', '0.00000'), ('3044', '199', 'BJA', 'Bahr al Jabal', '1', '0.00000'), ('3045', '199', 'GIS', 'Gharb al Istiwa\'iyah', '1', '0.00000'), ('3046', '199', 'GBG', 'Gharb Bahr al Ghazal', '1', '0.00000'), ('3047', '199', 'GDA', 'Gharb Darfur', '1', '0.00000'), ('3048', '199', 'GKU', 'Gharb Kurdufan', '1', '0.00000'), ('3049', '199', 'JDA', 'Janub Darfur', '1', '0.00000'), ('3050', '199', 'JKU', 'Janub Kurdufan', '1', '0.00000'), ('3051', '199', 'JQL', 'Junqali', '1', '0.00000'), ('3052', '199', 'KSL', 'Kassala', '1', '0.00000'), ('3053', '199', 'NNL', 'Nahr an Nil', '1', '0.00000'), ('3054', '199', 'SBG', 'Shamal Bahr al Ghazal', '1', '0.00000'), ('3055', '199', 'SDA', 'Shamal Darfur', '1', '0.00000'), ('3056', '199', 'SKU', 'Shamal Kurdufan', '1', '0.00000'), ('3057', '199', 'SIS', 'Sharq al Istiwa\'iyah', '1', '0.00000'), ('3058', '199', 'SNR', 'Sinnar', '1', '0.00000'), ('3059', '199', 'WRB', 'Warab', '1', '0.00000'), ('3060', '200', 'BR', 'Brokopondo', '1', '0.00000'), ('3061', '200', 'CM', 'Commewijne', '1', '0.00000'), ('3062', '200', 'CR', 'Coronie', '1', '0.00000'), ('3063', '200', 'MA', 'Marowijne', '1', '0.00000'), ('3064', '200', 'NI', 'Nickerie', '1', '0.00000'), ('3065', '200', 'PA', 'Para', '1', '0.00000'), ('3066', '200', 'PM', 'Paramaribo', '1', '0.00000'), ('3067', '200', 'SA', 'Saramacca', '1', '0.00000'), ('3068', '200', 'SI', 'Sipaliwini', '1', '0.00000'), ('3069', '200', 'WA', 'Wanica', '1', '0.00000'), ('3070', '202', 'H', 'Hhohho', '1', '0.00000'), ('3071', '202', 'L', 'Lubombo', '1', '0.00000'), ('3072', '202', 'M', 'Manzini', '1', '0.00000'), ('3073', '202', 'S', 'Shishelweni', '1', '0.00000'), ('3074', '203', 'K', 'Blekinge', '1', '0.00000'), ('3075', '203', 'W', 'Dalama', '1', '0.00000'), ('3076', '203', 'X', 'Gävleborg', '1', '0.00000'), ('3077', '203', 'I', 'Gotland', '1', '0.00000'), ('3078', '203', 'N', 'Halland', '1', '0.00000'), ('3079', '203', 'Z', 'Jämtland', '1', '0.00000'), ('3080', '203', 'F', 'Jönköping', '1', '0.00000'), ('3081', '203', 'H', 'Kalmar', '1', '0.00000'), ('3082', '203', 'G', 'Kronoberg', '1', '0.00000'), ('3083', '203', 'BD', 'Norrbotten', '1', '0.00000'), ('3084', '203', 'T', 'Örebro', '1', '0.00000'), ('3085', '203', 'E', 'Östergötland', '1', '0.00000'), ('3086', '203', 'M', 'Skåne', '1', '0.00000'), ('3087', '203', 'D', 'Södermanland', '1', '0.00000'), ('3088', '203', 'AB', 'Stockholm', '1', '0.00000'), ('3089', '203', 'C', 'Uppsala', '1', '0.00000'), ('3090', '203', 'S', 'Värmland', '1', '0.00000'), ('3091', '203', 'AC', 'Västerbotten', '1', '0.00000'), ('3092', '203', 'Y', 'Västernorrland', '1', '0.00000'), ('3093', '203', 'U', 'Västmanland', '1', '0.00000'), ('3094', '203', 'O', 'Västra Götaland', '1', '0.00000'), ('3095', '204', 'AG', 'Aargau', '1', '0.00000'), ('3096', '204', 'AR', 'Appenzell Ausserrhoden', '1', '0.00000'), ('3097', '204', 'AI', 'Appenzell Innerrhoden', '1', '0.00000'), ('3098', '204', 'BS', 'Basel-Stadt', '1', '0.00000'), ('3099', '204', 'BL', 'Basel-Landschaft', '1', '0.00000'), ('3100', '204', 'BE', 'Bern', '1', '0.00000'), ('3101', '204', 'FR', 'Fribourg', '1', '0.00000'), ('3102', '204', 'GE', 'Genève', '1', '0.00000'), ('3103', '204', 'GL', 'Glarus', '1', '0.00000'), ('3104', '204', 'GR', 'Graubünden', '1', '0.00000'), ('3105', '204', 'JU', 'Jura', '1', '0.00000'), ('3106', '204', 'LU', 'Luzern', '1', '0.00000'), ('3107', '204', 'NE', 'Neuchâtel', '1', '0.00000'), ('3108', '204', 'NW', 'Nidwald', '1', '0.00000'), ('3109', '204', 'OW', 'Obwald', '1', '0.00000'), ('3110', '204', 'SG', 'St. Gallen', '1', '0.00000'), ('3111', '204', 'SH', 'Schaffhausen', '1', '0.00000'), ('3112', '204', 'SZ', 'Schwyz', '1', '0.00000'), ('3113', '204', 'SO', 'Solothurn', '1', '0.00000'), ('3114', '204', 'TG', 'Thurgau', '1', '0.00000'), ('3115', '204', 'TI', 'Ticino', '1', '0.00000'), ('3116', '204', 'UR', 'Uri', '1', '0.00000'), ('3117', '204', 'VS', 'Valais', '1', '0.00000'), ('3118', '204', 'VD', 'Vaud', '1', '0.00000'), ('3119', '204', 'ZG', 'Zug', '1', '0.00000'), ('3120', '204', 'ZH', 'Zürich', '1', '0.00000'), ('3121', '205', 'HA', 'Al Hasakah', '1', '0.00000'), ('3122', '205', 'LA', 'Al Ladhiqiyah', '1', '0.00000'), ('3123', '205', 'QU', 'Al Qunaytirah', '1', '0.00000'), ('3124', '205', 'RQ', 'Ar Raqqah', '1', '0.00000'), ('3125', '205', 'SU', 'As Suwayda', '1', '0.00000'), ('3126', '205', 'DA', 'Dara', '1', '0.00000'), ('3127', '205', 'DZ', 'Dayr az Zawr', '1', '0.00000'), ('3128', '205', 'DI', 'Dimashq', '1', '0.00000'), ('3129', '205', 'HL', 'Halab', '1', '0.00000'), ('3130', '205', 'HM', 'Hamah', '1', '0.00000'), ('3131', '205', 'HI', 'Hims', '1', '0.00000'), ('3132', '205', 'ID', 'Idlib', '1', '0.00000'), ('3133', '205', 'RD', 'Rif Dimashq', '1', '0.00000'), ('3134', '205', 'TA', 'Tartus', '1', '0.00000'), ('3135', '206', 'CH', 'Chang-hua', '1', '0.00000'), ('3136', '206', 'CI', 'Chia-i', '1', '0.00000'), ('3137', '206', 'HS', 'Hsin-chu', '1', '0.00000'), ('3138', '206', 'HL', 'Hua-lien', '1', '0.00000'), ('3139', '206', 'IL', 'I-lan', '1', '0.00000'), ('3140', '206', 'KH', 'Kao-hsiung county', '1', '0.00000'), ('3141', '206', 'KM', 'Kin-men', '1', '0.00000'), ('3142', '206', 'LC', 'Lien-chiang', '1', '0.00000'), ('3143', '206', 'ML', 'Miao-li', '1', '0.00000'), ('3144', '206', 'NT', 'Nan-t\'ou', '1', '0.00000'), ('3145', '206', 'PH', 'P\'eng-hu', '1', '0.00000'), ('3146', '206', 'PT', 'P\'ing-tung', '1', '0.00000'), ('3147', '206', 'TG', 'T\'ai-chung', '1', '0.00000'), ('3148', '206', 'TA', 'T\'ai-nan', '1', '0.00000'), ('3149', '206', 'TP', 'T\'ai-pei county', '1', '0.00000'), ('3150', '206', 'TT', 'T\'ai-tung', '1', '0.00000'), ('3151', '206', 'TY', 'T\'ao-yuan', '1', '0.00000'), ('3152', '206', 'YL', 'Yun-lin', '1', '0.00000'), ('3153', '206', 'CC', 'Chia-i city', '1', '0.00000'), ('3154', '206', 'CL', 'Chi-lung', '1', '0.00000'), ('3155', '206', 'HC', 'Hsin-chu', '1', '0.00000'), ('3156', '206', 'TH', 'T\'ai-chung', '1', '0.00000'), ('3157', '206', 'TN', 'T\'ai-nan', '1', '0.00000'), ('3158', '206', 'KC', 'Kao-hsiung city', '1', '0.00000'), ('3159', '206', 'TC', 'T\'ai-pei city', '1', '0.00000'), ('3160', '207', 'GB', 'Gorno-Badakhstan', '1', '0.00000'), ('3161', '207', 'KT', 'Khatlon', '1', '0.00000'), ('3162', '207', 'SU', 'Sughd', '1', '0.00000'), ('3163', '208', 'AR', 'Arusha', '1', '0.00000'), ('3164', '208', 'DS', 'Dar es Salaam', '1', '0.00000'), ('3165', '208', 'DO', 'Dodoma', '1', '0.00000'), ('3166', '208', 'IR', 'Iringa', '1', '0.00000'), ('3167', '208', 'KA', 'Kagera', '1', '0.00000'), ('3168', '208', 'KI', 'Kigoma', '1', '0.00000'), ('3169', '208', 'KJ', 'Kilimanjaro', '1', '0.00000'), ('3170', '208', 'LN', 'Lindi', '1', '0.00000'), ('3171', '208', 'MY', 'Manyara', '1', '0.00000'), ('3172', '208', 'MR', 'Mara', '1', '0.00000'), ('3173', '208', 'MB', 'Mbeya', '1', '0.00000'), ('3174', '208', 'MO', 'Morogoro', '1', '0.00000'), ('3175', '208', 'MT', 'Mtwara', '1', '0.00000'), ('3176', '208', 'MW', 'Mwanza', '1', '0.00000'), ('3177', '208', 'PN', 'Pemba North', '1', '0.00000'), ('3178', '208', 'PS', 'Pemba South', '1', '0.00000'), ('3179', '208', 'PW', 'Pwani', '1', '0.00000'), ('3180', '208', 'RK', 'Rukwa', '1', '0.00000'), ('3181', '208', 'RV', 'Ruvuma', '1', '0.00000'), ('3182', '208', 'SH', 'Shinyanga', '1', '0.00000'), ('3183', '208', 'SI', 'Singida', '1', '0.00000'), ('3184', '208', 'TB', 'Tabora', '1', '0.00000'), ('3185', '208', 'TN', 'Tanga', '1', '0.00000'), ('3186', '208', 'ZC', 'Zanzibar Central/South', '1', '0.00000'), ('3187', '208', 'ZN', 'Zanzibar North', '1', '0.00000'), ('3188', '208', 'ZU', 'Zanzibar Urban/West', '1', '0.00000'), ('3189', '209', 'Amnat Charoen', 'Amnat Charoen', '1', '0.00000'), ('3190', '209', 'Ang Thong', 'Ang Thong', '1', '0.00000'), ('3191', '209', 'Ayutthaya', 'Ayutthaya', '1', '0.00000'), ('3192', '209', 'Bangkok', 'Bangkok', '1', '0.00000'), ('3193', '209', 'Buriram', 'Buriram', '1', '0.00000'), ('3194', '209', 'Chachoengsao', 'Chachoengsao', '1', '0.00000'), ('3195', '209', 'Chai Nat', 'Chai Nat', '1', '0.00000'), ('3196', '209', 'Chaiyaphum', 'Chaiyaphum', '1', '0.00000'), ('3197', '209', 'Chanthaburi', 'Chanthaburi', '1', '0.00000'), ('3198', '209', 'Chiang Mai', 'Chiang Mai', '1', '0.00000'), ('3199', '209', 'Chiang Rai', 'Chiang Rai', '1', '0.00000'), ('3200', '209', 'Chon Buri', 'Chon Buri', '1', '0.00000'), ('3201', '209', 'Chumphon', 'Chumphon', '1', '0.00000'), ('3202', '209', 'Kalasin', 'Kalasin', '1', '0.00000'), ('3203', '209', 'Kamphaeng Phet', 'Kamphaeng Phet', '1', '0.00000'), ('3204', '209', 'Kanchanaburi', 'Kanchanaburi', '1', '0.00000'), ('3205', '209', 'Khon Kaen', 'Khon Kaen', '1', '0.00000'), ('3206', '209', 'Krabi', 'Krabi', '1', '0.00000'), ('3207', '209', 'Lampang', 'Lampang', '1', '0.00000'), ('3208', '209', 'Lamphun', 'Lamphun', '1', '0.00000'), ('3209', '209', 'Loei', 'Loei', '1', '0.00000'), ('3210', '209', 'Lop Buri', 'Lop Buri', '1', '0.00000'), ('3211', '209', 'Mae Hong Son', 'Mae Hong Son', '1', '0.00000'), ('3212', '209', 'Maha Sarakham', 'Maha Sarakham', '1', '0.00000'), ('3213', '209', 'Mukdahan', 'Mukdahan', '1', '0.00000'), ('3214', '209', 'Nakhon Nayok', 'Nakhon Nayok', '1', '0.00000'), ('3215', '209', 'Nakhon Pathom', 'Nakhon Pathom', '1', '0.00000'), ('3216', '209', 'Nakhon Phanom', 'Nakhon Phanom', '1', '0.00000'), ('3217', '209', 'Nakhon Ratchasima', 'Nakhon Ratchasima', '1', '0.00000'), ('3218', '209', 'Nakhon Sawan', 'Nakhon Sawan', '1', '0.00000'), ('3219', '209', 'Nakhon Si Thammarat', 'Nakhon Si Thammarat', '1', '0.00000'), ('3220', '209', 'Nan', 'Nan', '1', '0.00000'), ('3221', '209', 'Narathiwat', 'Narathiwat', '1', '0.00000'), ('3222', '209', 'Nong Bua Lamphu', 'Nong Bua Lamphu', '1', '0.00000'), ('3223', '209', 'Nong Khai', 'Nong Khai', '1', '0.00000'), ('3224', '209', 'Nonthaburi', 'Nonthaburi', '1', '0.00000'), ('3225', '209', 'Pathum Thani', 'Pathum Thani', '1', '0.00000'), ('3226', '209', 'Pattani', 'Pattani', '1', '0.00000'), ('3227', '209', 'Phangnga', 'Phangnga', '1', '0.00000'), ('3228', '209', 'Phatthalung', 'Phatthalung', '1', '0.00000'), ('3229', '209', 'Phayao', 'Phayao', '1', '0.00000'), ('3230', '209', 'Phetchabun', 'Phetchabun', '1', '0.00000'), ('3231', '209', 'Phetchaburi', 'Phetchaburi', '1', '0.00000'), ('3232', '209', 'Phichit', 'Phichit', '1', '0.00000'), ('3233', '209', 'Phitsanulok', 'Phitsanulok', '1', '0.00000'), ('3234', '209', 'Phrae', 'Phrae', '1', '0.00000'), ('3235', '209', 'Phuket', 'Phuket', '1', '0.00000'), ('3236', '209', 'Prachin Buri', 'Prachin Buri', '1', '0.00000'), ('3237', '209', 'Prachuap Khiri Khan', 'Prachuap Khiri Khan', '1', '0.00000'), ('3238', '209', 'Ranong', 'Ranong', '1', '0.00000'), ('3239', '209', 'Ratchaburi', 'Ratchaburi', '1', '0.00000'), ('3240', '209', 'Rayong', 'Rayong', '1', '0.00000'), ('3241', '209', 'Roi Et', 'Roi Et', '1', '0.00000'), ('3242', '209', 'Sa Kaeo', 'Sa Kaeo', '1', '0.00000'), ('3243', '209', 'Sakon Nakhon', 'Sakon Nakhon', '1', '0.00000'), ('3244', '209', 'Samut Prakan', 'Samut Prakan', '1', '0.00000'), ('3245', '209', 'Samut Sakhon', 'Samut Sakhon', '1', '0.00000'), ('3246', '209', 'Samut Songkhram', 'Samut Songkhram', '1', '0.00000'), ('3247', '209', 'Sara Buri', 'Sara Buri', '1', '0.00000'), ('3248', '209', 'Satun', 'Satun', '1', '0.00000'), ('3249', '209', 'Sing Buri', 'Sing Buri', '1', '0.00000'), ('3250', '209', 'Sisaket', 'Sisaket', '1', '0.00000'), ('3251', '209', 'Songkhla', 'Songkhla', '1', '0.00000'), ('3252', '209', 'Sukhothai', 'Sukhothai', '1', '0.00000'), ('3253', '209', 'Suphan Buri', 'Suphan Buri', '1', '0.00000'), ('3254', '209', 'Surat Thani', 'Surat Thani', '1', '0.00000'), ('3255', '209', 'Surin', 'Surin', '1', '0.00000'), ('3256', '209', 'Tak', 'Tak', '1', '0.00000'), ('3257', '209', 'Trang', 'Trang', '1', '0.00000'), ('3258', '209', 'Trat', 'Trat', '1', '0.00000'), ('3259', '209', 'Ubon Ratchathani', 'Ubon Ratchathani', '1', '0.00000'), ('3260', '209', 'Udon Thani', 'Udon Thani', '1', '0.00000'), ('3261', '209', 'Uthai Thani', 'Uthai Thani', '1', '0.00000'), ('3262', '209', 'Uttaradit', 'Uttaradit', '1', '0.00000'), ('3263', '209', 'Yala', 'Yala', '1', '0.00000'), ('3264', '209', 'Yasothon', 'Yasothon', '1', '0.00000'), ('3265', '210', 'K', 'Kara', '1', '0.00000'), ('3266', '210', 'P', 'Plateaux', '1', '0.00000'), ('3267', '210', 'S', 'Savanes', '1', '0.00000'), ('3268', '210', 'C', 'Centrale', '1', '0.00000'), ('3269', '210', 'M', 'Maritime', '1', '0.00000'), ('3270', '211', 'A', 'Atafu', '1', '0.00000'), ('3271', '211', 'F', 'Fakaofo', '1', '0.00000'), ('3272', '211', 'N', 'Nukunonu', '1', '0.00000'), ('3273', '212', 'H', 'Ha\'apai', '1', '0.00000'), ('3274', '212', 'T', 'Tongatapu', '1', '0.00000'), ('3275', '212', 'V', 'Vava\'u', '1', '0.00000'), ('3276', '213', 'CT', 'Couva/Tabaquite/Talparo', '1', '0.00000'), ('3277', '213', 'DM', 'Diego Martin', '1', '0.00000'), ('3278', '213', 'MR', 'Mayaro/Rio Claro', '1', '0.00000'), ('3279', '213', 'PD', 'Penal/Debe', '1', '0.00000'), ('3280', '213', 'PT', 'Princes Town', '1', '0.00000'), ('3281', '213', 'SG', 'Sangre Grande', '1', '0.00000'), ('3282', '213', 'SL', 'San Juan/Laventille', '1', '0.00000'), ('3283', '213', 'SI', 'Siparia', '1', '0.00000'), ('3284', '213', 'TP', 'Tunapuna/Piarco', '1', '0.00000'), ('3285', '213', 'PS', 'Port of Spain', '1', '0.00000'), ('3286', '213', 'SF', 'San Fernando', '1', '0.00000'), ('3287', '213', 'AR', 'Arima', '1', '0.00000'), ('3288', '213', 'PF', 'Point Fortin', '1', '0.00000'), ('3289', '213', 'CH', 'Chaguanas', '1', '0.00000'), ('3290', '213', 'TO', 'Tobago', '1', '0.00000'), ('3291', '214', 'AR', 'Ariana', '1', '0.00000'), ('3292', '214', 'BJ', 'Beja', '1', '0.00000'), ('3293', '214', 'BA', 'Ben Arous', '1', '0.00000'), ('3294', '214', 'BI', 'Bizerte', '1', '0.00000'), ('3295', '214', 'GB', 'Gabes', '1', '0.00000'), ('3296', '214', 'GF', 'Gafsa', '1', '0.00000'), ('3297', '214', 'JE', 'Jendouba', '1', '0.00000'), ('3298', '214', 'KR', 'Kairouan', '1', '0.00000'), ('3299', '214', 'KS', 'Kasserine', '1', '0.00000'), ('3300', '214', 'KB', 'Kebili', '1', '0.00000'), ('3301', '214', 'KF', 'Kef', '1', '0.00000'), ('3302', '214', 'MH', 'Mahdia', '1', '0.00000'), ('3303', '214', 'MN', 'Manouba', '1', '0.00000'), ('3304', '214', 'ME', 'Medenine', '1', '0.00000'), ('3305', '214', 'MO', 'Monastir', '1', '0.00000'), ('3306', '214', 'NA', 'Nabeul', '1', '0.00000'), ('3307', '214', 'SF', 'Sfax', '1', '0.00000'), ('3308', '214', 'SD', 'Sidi', '1', '0.00000'), ('3309', '214', 'SL', 'Siliana', '1', '0.00000'), ('3310', '214', 'SO', 'Sousse', '1', '0.00000'), ('3311', '214', 'TA', 'Tataouine', '1', '0.00000'), ('3312', '214', 'TO', 'Tozeur', '1', '0.00000'), ('3313', '214', 'TU', 'Tunis', '1', '0.00000'), ('3314', '214', 'ZA', 'Zaghouan', '1', '0.00000'), ('3315', '215', 'ADA', 'Adana', '1', '0.00000'), ('3316', '215', 'ADI', 'Adiyaman', '1', '0.00000'), ('3317', '215', 'AFY', 'Afyonkarahisar', '1', '0.00000'), ('3318', '215', 'AGR', 'Agri', '1', '0.00000'), ('3319', '215', 'AKS', 'Aksaray', '1', '0.00000'), ('3320', '215', 'AMA', 'Amasya', '1', '0.00000'), ('3321', '215', 'ANK', 'Ankara', '1', '0.00000'), ('3322', '215', 'ANT', 'Antalya', '1', '0.00000'), ('3323', '215', 'ARD', 'Ardahan', '1', '0.00000'), ('3324', '215', 'ART', 'Artvin', '1', '0.00000'), ('3325', '215', 'AYI', 'Aydin', '1', '0.00000'), ('3326', '215', 'BAL', 'Balikesir', '1', '0.00000'), ('3327', '215', 'BAR', 'Bartin', '1', '0.00000'), ('3328', '215', 'BAT', 'Batman', '1', '0.00000'), ('3329', '215', 'BAY', 'Bayburt', '1', '0.00000'), ('3330', '215', 'BIL', 'Bilecik', '1', '0.00000'), ('3331', '215', 'BIN', 'Bingol', '1', '0.00000'), ('3332', '215', 'BIT', 'Bitlis', '1', '0.00000'), ('3333', '215', 'BOL', 'Bolu', '1', '0.00000'), ('3334', '215', 'BRD', 'Burdur', '1', '0.00000'), ('3335', '215', 'BRS', 'Bursa', '1', '0.00000'), ('3336', '215', 'CKL', 'Canakkale', '1', '0.00000'), ('3337', '215', 'CKR', 'Cankiri', '1', '0.00000'), ('3338', '215', 'COR', 'Corum', '1', '0.00000'), ('3339', '215', 'DEN', 'Denizli', '1', '0.00000'), ('3340', '215', 'DIY', 'Diyarbakir', '1', '0.00000'), ('3341', '215', 'DUZ', 'Duzce', '1', '0.00000'), ('3342', '215', 'EDI', 'Edirne', '1', '0.00000'), ('3343', '215', 'ELA', 'Elazig', '1', '0.00000'), ('3344', '215', 'EZC', 'Erzincan', '1', '0.00000'), ('3345', '215', 'EZR', 'Erzurum', '1', '0.00000'), ('3346', '215', 'ESK', 'Eskisehir', '1', '0.00000'), ('3347', '215', 'GAZ', 'Gaziantep', '1', '0.00000'), ('3348', '215', 'GIR', 'Giresun', '1', '0.00000'), ('3349', '215', 'GMS', 'Gumushane', '1', '0.00000'), ('3350', '215', 'HKR', 'Hakkari', '1', '0.00000'), ('3351', '215', 'HTY', 'Hatay', '1', '0.00000'), ('3352', '215', 'IGD', 'Igdir', '1', '0.00000'), ('3353', '215', 'ISP', 'Isparta', '1', '0.00000'), ('3354', '215', 'IST', 'Istanbul', '1', '0.00000'), ('3355', '215', 'IZM', 'Izmir', '1', '0.00000'), ('3356', '215', 'KAH', 'Kahramanmaras', '1', '0.00000'), ('3357', '215', 'KRB', 'Karabuk', '1', '0.00000'), ('3358', '215', 'KRM', 'Karaman', '1', '0.00000'), ('3359', '215', 'KRS', 'Kars', '1', '0.00000'), ('3360', '215', 'KAS', 'Kastamonu', '1', '0.00000'), ('3361', '215', 'KAY', 'Kayseri', '1', '0.00000'), ('3362', '215', 'KLS', 'Kilis', '1', '0.00000'), ('3363', '215', 'KRK', 'Kirikkale', '1', '0.00000'), ('3364', '215', 'KLR', 'Kirklareli', '1', '0.00000'), ('3365', '215', 'KRH', 'Kirsehir', '1', '0.00000'), ('3366', '215', 'KOC', 'Kocaeli', '1', '0.00000'), ('3367', '215', 'KON', 'Konya', '1', '0.00000'), ('3368', '215', 'KUT', 'Kutahya', '1', '0.00000'), ('3369', '215', 'MAL', 'Malatya', '1', '0.00000'), ('3370', '215', 'MAN', 'Manisa', '1', '0.00000'), ('3371', '215', 'MAR', 'Mardin', '1', '0.00000'), ('3372', '215', 'MER', 'Mersin', '1', '0.00000'), ('3373', '215', 'MUG', 'Mugla', '1', '0.00000'), ('3374', '215', 'MUS', 'Mus', '1', '0.00000'), ('3375', '215', 'NEV', 'Nevsehir', '1', '0.00000'), ('3376', '215', 'NIG', 'Nigde', '1', '0.00000'), ('3377', '215', 'ORD', 'Ordu', '1', '0.00000'), ('3378', '215', 'OSM', 'Osmaniye', '1', '0.00000'), ('3379', '215', 'RIZ', 'Rize', '1', '0.00000'), ('3380', '215', 'SAK', 'Sakarya', '1', '0.00000'), ('3381', '215', 'SAM', 'Samsun', '1', '0.00000'), ('3382', '215', 'SAN', 'Sanliurfa', '1', '0.00000'), ('3383', '215', 'SII', 'Siirt', '1', '0.00000'), ('3384', '215', 'SIN', 'Sinop', '1', '0.00000'), ('3385', '215', 'SIR', 'Sirnak', '1', '0.00000'), ('3386', '215', 'SIV', 'Sivas', '1', '0.00000'), ('3387', '215', 'TEL', 'Tekirdag', '1', '0.00000'), ('3388', '215', 'TOK', 'Tokat', '1', '0.00000'), ('3389', '215', 'TRA', 'Trabzon', '1', '0.00000'), ('3390', '215', 'TUN', 'Tunceli', '1', '0.00000'), ('3391', '215', 'USK', 'Usak', '1', '0.00000'), ('3392', '215', 'VAN', 'Van', '1', '0.00000'), ('3393', '215', 'YAL', 'Yalova', '1', '0.00000'), ('3394', '215', 'YOZ', 'Yozgat', '1', '0.00000'), ('3395', '215', 'ZON', 'Zonguldak', '1', '0.00000'), ('3396', '216', 'A', 'Ahal Welayaty', '1', '0.00000'), ('3397', '216', 'B', 'Balkan Welayaty', '1', '0.00000'), ('3398', '216', 'D', 'Dashhowuz Welayaty', '1', '0.00000'), ('3399', '216', 'L', 'Lebap Welayaty', '1', '0.00000'), ('3400', '216', 'M', 'Mary Welayaty', '1', '0.00000'), ('3401', '217', 'AC', 'Ambergris Cays', '1', '0.00000'), ('3402', '217', 'DC', 'Dellis Cay', '1', '0.00000'), ('3403', '217', 'FC', 'French Cay', '1', '0.00000'), ('3404', '217', 'LW', 'Little Water Cay', '1', '0.00000'), ('3405', '217', 'RC', 'Parrot Cay', '1', '0.00000'), ('3406', '217', 'PN', 'Pine Cay', '1', '0.00000'), ('3407', '217', 'SL', 'Salt Cay', '1', '0.00000'), ('3408', '217', 'GT', 'Grand Turk', '1', '0.00000'), ('3409', '217', 'SC', 'South Caicos', '1', '0.00000'), ('3410', '217', 'EC', 'East Caicos', '1', '0.00000'), ('3411', '217', 'MC', 'Middle Caicos', '1', '0.00000'), ('3412', '217', 'NC', 'North Caicos', '1', '0.00000'), ('3413', '217', 'PR', 'Providenciales', '1', '0.00000'), ('3414', '217', 'WC', 'West Caicos', '1', '0.00000'), ('3415', '218', 'NMG', 'Nanumanga', '1', '0.00000'), ('3416', '218', 'NLK', 'Niulakita', '1', '0.00000'), ('3417', '218', 'NTO', 'Niutao', '1', '0.00000'), ('3418', '218', 'FUN', 'Funafuti', '1', '0.00000'), ('3419', '218', 'NME', 'Nanumea', '1', '0.00000'), ('3420', '218', 'NUI', 'Nui', '1', '0.00000'), ('3421', '218', 'NFT', 'Nukufetau', '1', '0.00000'), ('3422', '218', 'NLL', 'Nukulaelae', '1', '0.00000'), ('3423', '218', 'VAI', 'Vaitupu', '1', '0.00000'), ('3424', '219', 'KAL', 'Kalangala', '1', '0.00000'), ('3425', '219', 'KMP', 'Kampala', '1', '0.00000'), ('3426', '219', 'KAY', 'Kayunga', '1', '0.00000'), ('3427', '219', 'KIB', 'Kiboga', '1', '0.00000'), ('3428', '219', 'LUW', 'Luwero', '1', '0.00000'), ('3429', '219', 'MAS', 'Masaka', '1', '0.00000'), ('3430', '219', 'MPI', 'Mpigi', '1', '0.00000'), ('3431', '219', 'MUB', 'Mubende', '1', '0.00000'), ('3432', '219', 'MUK', 'Mukono', '1', '0.00000'), ('3433', '219', 'NKS', 'Nakasongola', '1', '0.00000'), ('3434', '219', 'RAK', 'Rakai', '1', '0.00000'), ('3435', '219', 'SEM', 'Sembabule', '1', '0.00000'), ('3436', '219', 'WAK', 'Wakiso', '1', '0.00000'), ('3437', '219', 'BUG', 'Bugiri', '1', '0.00000'), ('3438', '219', 'BUS', 'Busia', '1', '0.00000'), ('3439', '219', 'IGA', 'Iganga', '1', '0.00000'), ('3440', '219', 'JIN', 'Jinja', '1', '0.00000'), ('3441', '219', 'KAB', 'Kaberamaido', '1', '0.00000'), ('3442', '219', 'KML', 'Kamuli', '1', '0.00000'), ('3443', '219', 'KPC', 'Kapchorwa', '1', '0.00000'), ('3444', '219', 'KTK', 'Katakwi', '1', '0.00000'), ('3445', '219', 'KUM', 'Kumi', '1', '0.00000'), ('3446', '219', 'MAY', 'Mayuge', '1', '0.00000'), ('3447', '219', 'MBA', 'Mbale', '1', '0.00000'), ('3448', '219', 'PAL', 'Pallisa', '1', '0.00000'), ('3449', '219', 'SIR', 'Sironko', '1', '0.00000'), ('3450', '219', 'SOR', 'Soroti', '1', '0.00000'), ('3451', '219', 'TOR', 'Tororo', '1', '0.00000'), ('3452', '219', 'ADJ', 'Adjumani', '1', '0.00000'), ('3453', '219', 'APC', 'Apac', '1', '0.00000'), ('3454', '219', 'ARU', 'Arua', '1', '0.00000'), ('3455', '219', 'GUL', 'Gulu', '1', '0.00000'), ('3456', '219', 'KIT', 'Kitgum', '1', '0.00000'), ('3457', '219', 'KOT', 'Kotido', '1', '0.00000'), ('3458', '219', 'LIR', 'Lira', '1', '0.00000'), ('3459', '219', 'MRT', 'Moroto', '1', '0.00000'), ('3460', '219', 'MOY', 'Moyo', '1', '0.00000'), ('3461', '219', 'NAK', 'Nakapiripirit', '1', '0.00000'), ('3462', '219', 'NEB', 'Nebbi', '1', '0.00000'), ('3463', '219', 'PAD', 'Pader', '1', '0.00000'), ('3464', '219', 'YUM', 'Yumbe', '1', '0.00000'), ('3465', '219', 'BUN', 'Bundibugyo', '1', '0.00000'), ('3466', '219', 'BSH', 'Bushenyi', '1', '0.00000'), ('3467', '219', 'HOI', 'Hoima', '1', '0.00000'), ('3468', '219', 'KBL', 'Kabale', '1', '0.00000'), ('3469', '219', 'KAR', 'Kabarole', '1', '0.00000'), ('3470', '219', 'KAM', 'Kamwenge', '1', '0.00000'), ('3471', '219', 'KAN', 'Kanungu', '1', '0.00000'), ('3472', '219', 'KAS', 'Kasese', '1', '0.00000'), ('3473', '219', 'KBA', 'Kibaale', '1', '0.00000'), ('3474', '219', 'KIS', 'Kisoro', '1', '0.00000'), ('3475', '219', 'KYE', 'Kyenjojo', '1', '0.00000'), ('3476', '219', 'MSN', 'Masindi', '1', '0.00000'), ('3477', '219', 'MBR', 'Mbarara', '1', '0.00000'), ('3478', '219', 'NTU', 'Ntungamo', '1', '0.00000'), ('3479', '219', 'RUK', 'Rukungiri', '1', '0.00000'), ('3480', '220', 'CK', 'Cherkasy', '1', '0.00000'), ('3481', '220', 'CH', 'Chernihiv', '1', '0.00000'), ('3482', '220', 'CV', 'Chernivtsi', '1', '0.00000'), ('3483', '220', 'CR', 'Crimea', '1', '0.00000'), ('3484', '220', 'DN', 'Dnipropetrovs\'k', '1', '0.00000'), ('3485', '220', 'DO', 'Donets\'k', '1', '0.00000'), ('3486', '220', 'IV', 'Ivano-Frankivs\'k', '1', '0.00000'), ('3487', '220', 'KL', 'Kharkiv Kherson', '1', '0.00000'), ('3488', '220', 'KM', 'Khmel\'nyts\'kyy', '1', '0.00000'), ('3489', '220', 'KR', 'Kirovohrad', '1', '0.00000'), ('3490', '220', 'KV', 'Kiev', '1', '0.00000'), ('3491', '220', 'KY', 'Kyyiv', '1', '0.00000'), ('3492', '220', 'LU', 'Luhans\'k', '1', '0.00000'), ('3493', '220', 'LV', 'L\'viv', '1', '0.00000'), ('3494', '220', 'MY', 'Mykolayiv', '1', '0.00000'), ('3495', '220', 'OD', 'Odesa', '1', '0.00000'), ('3496', '220', 'PO', 'Poltava', '1', '0.00000'), ('3497', '220', 'RI', 'Rivne', '1', '0.00000'), ('3498', '220', 'SE', 'Sevastopol', '1', '0.00000'), ('3499', '220', 'SU', 'Sumy', '1', '0.00000'), ('3500', '220', 'TE', 'Ternopil\'', '1', '0.00000'), ('3501', '220', 'VI', 'Vinnytsya', '1', '0.00000'), ('3502', '220', 'VO', 'Volyn\'', '1', '0.00000'), ('3503', '220', 'ZK', 'Zakarpattya', '1', '0.00000'), ('3504', '220', 'ZA', 'Zaporizhzhya', '1', '0.00000'), ('3505', '220', 'ZH', 'Zhytomyr', '1', '0.00000'), ('3506', '221', 'AZ', 'Abu Zaby', '1', '0.00000'), ('3507', '221', 'AJ', '\'Ajman', '1', '0.00000'), ('3508', '221', 'FU', 'Al Fujayrah', '1', '0.00000'), ('3509', '221', 'SH', 'Ash Shariqah', '1', '0.00000'), ('3510', '221', 'DU', 'Dubayy', '1', '0.00000'), ('3511', '221', 'RK', 'R\'as al Khaymah', '1', '0.00000'), ('3512', '221', 'UQ', 'Umm al Qaywayn', '1', '0.00000'), ('3513', '222', 'ABN', 'Aberdeen', '1', '0.00000'), ('3514', '222', 'ABNS', 'Aberdeenshire', '1', '0.00000'), ('3515', '222', 'ANG', 'Anglesey', '1', '0.00000'), ('3516', '222', 'AGS', 'Angus', '1', '0.00000'), ('3517', '222', 'ARY', 'Argyll and Bute', '1', '0.00000'), ('3518', '222', 'BEDS', 'Bedfordshire', '1', '0.00000'), ('3519', '222', 'BERKS', 'Berkshire', '1', '0.00000'), ('3520', '222', 'BLA', 'Blaenau Gwent', '1', '0.00000'), ('3521', '222', 'BRI', 'Bridgend', '1', '0.00000'), ('3522', '222', 'BSTL', 'Bristol', '1', '0.00000'), ('3523', '222', 'BUCKS', 'Buckinghamshire', '1', '0.00000'), ('3524', '222', 'CAE', 'Caerphilly', '1', '0.00000'), ('3525', '222', 'CAMBS', 'Cambridgeshire', '1', '0.00000'), ('3526', '222', 'CDF', 'Cardiff', '1', '0.00000'), ('3527', '222', 'CARM', 'Carmarthenshire', '1', '0.00000'), ('3528', '222', 'CDGN', 'Ceredigion', '1', '0.00000'), ('3529', '222', 'CHES', 'Cheshire', '1', '0.00000'), ('3530', '222', 'CLACK', 'Clackmannanshire', '1', '0.00000'), ('3531', '222', 'CON', 'Conwy', '1', '0.00000'), ('3532', '222', 'CORN', 'Cornwall', '1', '0.00000'), ('3533', '222', 'DNBG', 'Denbighshire', '1', '0.00000'), ('3534', '222', 'DERBY', 'Derbyshire', '1', '0.00000'), ('3535', '222', 'DVN', 'Devon', '1', '0.00000'), ('3536', '222', 'DOR', 'Dorset', '1', '0.00000'), ('3537', '222', 'DGL', 'Dumfries and Galloway', '1', '0.00000'), ('3538', '222', 'DUND', 'Dundee', '1', '0.00000'), ('3539', '222', 'DHM', 'Durham', '1', '0.00000'), ('3540', '222', 'ARYE', 'East Ayrshire', '1', '0.00000'), ('3541', '222', 'DUNBE', 'East Dunbartonshire', '1', '0.00000'), ('3542', '222', 'LOTE', 'East Lothian', '1', '0.00000'), ('3543', '222', 'RENE', 'East Renfrewshire', '1', '0.00000'), ('3544', '222', 'ERYS', 'East Riding of Yorkshire', '1', '0.00000'), ('3545', '222', 'SXE', 'East Sussex', '1', '0.00000'), ('3546', '222', 'EDIN', 'Edinburgh', '1', '0.00000'), ('3547', '222', 'ESX', 'Essex', '1', '0.00000'), ('3548', '222', 'FALK', 'Falkirk', '1', '0.00000'), ('3549', '222', 'FFE', 'Fife', '1', '0.00000'), ('3550', '222', 'FLINT', 'Flintshire', '1', '0.00000'), ('3551', '222', 'GLAS', 'Glasgow', '1', '0.00000'), ('3552', '222', 'GLOS', 'Gloucestershire', '1', '0.00000'), ('3553', '222', 'LDN', 'Greater London', '1', '0.00000'), ('3554', '222', 'MCH', 'Greater Manchester', '1', '0.00000'), ('3555', '222', 'GDD', 'Gwynedd', '1', '0.00000'), ('3556', '222', 'HANTS', 'Hampshire', '1', '0.00000'), ('3557', '222', 'HWR', 'Herefordshire', '1', '0.00000'), ('3558', '222', 'HERTS', 'Hertfordshire', '1', '0.00000'), ('3559', '222', 'HLD', 'Highlands', '1', '0.00000'), ('3560', '222', 'IVER', 'Inverclyde', '1', '0.00000'), ('3561', '222', 'IOW', 'Isle of Wight', '1', '0.00000'), ('3562', '222', 'KNT', 'Kent', '1', '0.00000'), ('3563', '222', 'LANCS', 'Lancashire', '1', '0.00000'), ('3564', '222', 'LEICS', 'Leicestershire', '1', '0.00000'), ('3565', '222', 'LINCS', 'Lincolnshire', '1', '0.00000'), ('3566', '222', 'MSY', 'Merseyside', '1', '0.00000'), ('3567', '222', 'MERT', 'Merthyr Tydfil', '1', '0.00000'), ('3568', '222', 'MLOT', 'Midlothian', '1', '0.00000'), ('3569', '222', 'MMOUTH', 'Monmouthshire', '1', '0.00000'), ('3570', '222', 'MORAY', 'Moray', '1', '0.00000'), ('3571', '222', 'NPRTAL', 'Neath Port Talbot', '1', '0.00000'), ('3572', '222', 'NEWPT', 'Newport', '1', '0.00000'), ('3573', '222', 'NOR', 'Norfolk', '1', '0.00000'), ('3574', '222', 'ARYN', 'North Ayrshire', '1', '0.00000'), ('3575', '222', 'LANN', 'North Lanarkshire', '1', '0.00000'), ('3576', '222', 'YSN', 'North Yorkshire', '1', '0.00000'), ('3577', '222', 'NHM', 'Northamptonshire', '1', '0.00000'), ('3578', '222', 'NLD', 'Northumberland', '1', '0.00000'), ('3579', '222', 'NOT', 'Nottinghamshire', '1', '0.00000'), ('3580', '222', 'ORK', 'Orkney Islands', '1', '0.00000'), ('3581', '222', 'OFE', 'Oxfordshire', '1', '0.00000'), ('3582', '222', 'PEM', 'Pembrokeshire', '1', '0.00000'), ('3583', '222', 'PERTH', 'Perth and Kinross', '1', '0.00000'), ('3584', '222', 'PWS', 'Powys', '1', '0.00000'), ('3585', '222', 'REN', 'Renfrewshire', '1', '0.00000'), ('3586', '222', 'RHON', 'Rhondda Cynon Taff', '1', '0.00000'), ('3587', '222', 'RUT', 'Rutland', '1', '0.00000'), ('3588', '222', 'BOR', 'Scottish Borders', '1', '0.00000'), ('3589', '222', 'SHET', 'Shetland Islands', '1', '0.00000'), ('3590', '222', 'SPE', 'Shropshire', '1', '0.00000'), ('3591', '222', 'SOM', 'Somerset', '1', '0.00000'), ('3592', '222', 'ARYS', 'South Ayrshire', '1', '0.00000'), ('3593', '222', 'LANS', 'South Lanarkshire', '1', '0.00000'), ('3594', '222', 'YSS', 'South Yorkshire', '1', '0.00000'), ('3595', '222', 'SFD', 'Staffordshire', '1', '0.00000'), ('3596', '222', 'STIR', 'Stirling', '1', '0.00000'), ('3597', '222', 'SFK', 'Suffolk', '1', '0.00000'), ('3598', '222', 'SRY', 'Surrey', '1', '0.00000'), ('3599', '222', 'SWAN', 'Swansea', '1', '0.00000'), ('3600', '222', 'TORF', 'Torfaen', '1', '0.00000'), ('3601', '222', 'TWR', 'Tyne and Wear', '1', '0.00000'), ('3602', '222', 'VGLAM', 'Vale of Glamorgan', '1', '0.00000'), ('3603', '222', 'WARKS', 'Warwickshire', '1', '0.00000'), ('3604', '222', 'WDUN', 'West Dunbartonshire', '1', '0.00000'), ('3605', '222', 'WLOT', 'West Lothian', '1', '0.00000'), ('3606', '222', 'WMD', 'West Midlands', '1', '0.00000'), ('3607', '222', 'SXW', 'West Sussex', '1', '0.00000'), ('3608', '222', 'YSW', 'West Yorkshire', '1', '0.00000'), ('3609', '222', 'WIL', 'Western Isles', '1', '0.00000'), ('3610', '222', 'WLT', 'Wiltshire', '1', '0.00000'), ('3611', '222', 'WORCS', 'Worcestershire', '1', '0.00000'), ('3612', '222', 'WRX', 'Wrexham', '1', '0.00000'), ('3613', '223', 'AL', 'Alabama', '1', '0.00000'), ('3614', '223', 'AK', 'Alaska', '1', '0.00000'), ('3615', '223', 'AS', 'American Samoa', '1', '0.00000'), ('3616', '223', 'AZ', 'Arizona', '1', '0.00000'), ('3617', '223', 'AR', 'Arkansas', '1', '0.00000'), ('3618', '223', 'AF', 'Armed Forces Africa', '1', '0.00000'), ('3619', '223', 'AA', 'Armed Forces Americas', '1', '0.00000'), ('3620', '223', 'AC', 'Armed Forces Canada', '1', '0.00000'), ('3621', '223', 'AE', 'Armed Forces Europe', '1', '0.00000'), ('3622', '223', 'AM', 'Armed Forces Middle East', '1', '0.00000'), ('3623', '223', 'AP', 'Armed Forces Pacific', '1', '0.00000'), ('3624', '223', 'CA', 'California', '1', '0.00000'), ('3625', '223', 'CO', 'Colorado', '1', '0.00000'), ('3626', '223', 'CT', 'Connecticut', '1', '0.00000'), ('3627', '223', 'DE', 'Delaware', '1', '0.00000'), ('3628', '223', 'DC', 'District of Columbia', '1', '0.00000'), ('3629', '223', 'FM', 'Federated States Of Micronesia', '1', '0.00000'), ('3630', '223', 'FL', 'Florida', '1', '0.00000'), ('3631', '223', 'GA', 'Georgia', '1', '0.00000'), ('3632', '223', 'GU', 'Guam', '1', '0.00000'), ('3633', '223', 'HI', 'Hawaii', '1', '0.00000'), ('3634', '223', 'ID', 'Idaho', '1', '0.00000'), ('3635', '223', 'IL', 'Illinois', '1', '0.00000'), ('3636', '223', 'IN', 'Indiana', '1', '0.00000'), ('3637', '223', 'IA', 'Iowa', '1', '0.00000'), ('3638', '223', 'KS', 'Kansas', '1', '0.00000'), ('3639', '223', 'KY', 'Kentucky', '1', '0.00000'), ('3640', '223', 'LA', 'Louisiana', '1', '4.00000'), ('3641', '223', 'ME', 'Maine', '1', '0.00000'), ('3642', '223', 'MH', 'Marshall Islands', '1', '0.00000'), ('3643', '223', 'MD', 'Maryland', '1', '0.00000'), ('3644', '223', 'MA', 'Massachusetts', '1', '0.00000'), ('3645', '223', 'MI', 'Michigan', '1', '0.00000'), ('3646', '223', 'MN', 'Minnesota', '1', '0.00000'), ('3647', '223', 'MS', 'Mississippi', '1', '0.00000'), ('3648', '223', 'MO', 'Missouri', '1', '0.00000'), ('3649', '223', 'MT', 'Montana', '1', '0.00000'), ('3650', '223', 'NE', 'Nebraska', '1', '0.00000'), ('3651', '223', 'NV', 'Nevada', '1', '0.00000'), ('3652', '223', 'NH', 'New Hampshire', '1', '0.00000'), ('3653', '223', 'NJ', 'New Jersey', '1', '0.00000'), ('3654', '223', 'NM', 'New Mexico', '1', '0.00000'), ('3655', '223', 'NY', 'New York', '1', '0.00000'), ('3656', '223', 'NC', 'North Carolina', '1', '0.00000'), ('3657', '223', 'ND', 'North Dakota', '1', '0.00000'), ('3658', '223', 'MP', 'Northern Mariana Islands', '1', '0.00000'), ('3659', '223', 'OH', 'Ohio', '1', '0.00000'), ('3660', '223', 'OK', 'Oklahoma', '1', '0.00000'), ('3661', '223', 'OR', 'Oregon', '1', '0.00000'), ('3662', '223', 'PW', 'Palau', '1', '0.00000'), ('3663', '223', 'PA', 'Pennsylvania', '1', '0.00000'), ('3664', '223', 'PR', 'Puerto Rico', '1', '0.00000'), ('3665', '223', 'RI', 'Rhode Island', '1', '0.00000'), ('3666', '223', 'SC', 'South Carolina', '1', '0.00000'), ('3667', '223', 'SD', 'South Dakota', '1', '0.00000'), ('3668', '223', 'TN', 'Tennessee', '1', '0.00000'), ('3669', '223', 'TX', 'Texas', '1', '0.00000'), ('3670', '223', 'UT', 'Utah', '1', '0.00000'), ('3671', '223', 'VT', 'Vermont', '1', '0.00000'), ('3672', '223', 'VI', 'Virgin Islands', '1', '0.00000'), ('3673', '223', 'VA', 'Virginia', '1', '0.00000'), ('3674', '223', 'WA', 'Washington', '1', '0.00000'), ('3675', '223', 'WV', 'West Virginia', '1', '0.00000'), ('3676', '223', 'WI', 'Wisconsin', '1', '0.00000'), ('3677', '223', 'WY', 'Wyoming', '1', '0.00000'), ('3678', '224', 'BI', 'Baker Island', '1', '0.00000'), ('3679', '224', 'HI', 'Howland Island', '1', '0.00000'), ('3680', '224', 'JI', 'Jarvis Island', '1', '0.00000'), ('3681', '224', 'JA', 'Johnston Atoll', '1', '0.00000'), ('3682', '224', 'KR', 'Kingman Reef', '1', '0.00000'), ('3683', '224', 'MA', 'Midway Atoll', '1', '0.00000'), ('3684', '224', 'NI', 'Navassa Island', '1', '0.00000'), ('3685', '224', 'PA', 'Palmyra Atoll', '1', '0.00000'), ('3686', '224', 'WI', 'Wake Island', '1', '0.00000'), ('3687', '225', 'AR', 'Artigas', '1', '0.00000'), ('3688', '225', 'CA', 'Canelones', '1', '0.00000'), ('3689', '225', 'CL', 'Cerro Largo', '1', '0.00000'), ('3690', '225', 'CO', 'Colonia', '1', '0.00000'), ('3691', '225', 'DU', 'Durazno', '1', '0.00000'), ('3692', '225', 'FS', 'Flores', '1', '0.00000'), ('3693', '225', 'FA', 'Florida', '1', '0.00000'), ('3694', '225', 'LA', 'Lavalleja', '1', '0.00000'), ('3695', '225', 'MA', 'Maldonado', '1', '0.00000'), ('3696', '225', 'MO', 'Montevideo', '1', '0.00000'), ('3697', '225', 'PA', 'Paysandu', '1', '0.00000'), ('3698', '225', 'RN', 'Rio Negro', '1', '0.00000'), ('3699', '225', 'RV', 'Rivera', '1', '0.00000'), ('3700', '225', 'RO', 'Rocha', '1', '0.00000'), ('3701', '225', 'SL', 'Salto', '1', '0.00000'), ('3702', '225', 'SJ', 'San Jose', '1', '0.00000'), ('3703', '225', 'SO', 'Soriano', '1', '0.00000'), ('3704', '225', 'TA', 'Tacuarembo', '1', '0.00000'), ('3705', '225', 'TT', 'Treinta y Tres', '1', '0.00000'), ('3706', '226', 'AN', 'Andijon', '1', '0.00000'), ('3707', '226', 'BU', 'Buxoro', '1', '0.00000'), ('3708', '226', 'FA', 'Farg\'ona', '1', '0.00000'), ('3709', '226', 'JI', 'Jizzax', '1', '0.00000'), ('3710', '226', 'NG', 'Namangan', '1', '0.00000'), ('3711', '226', 'NW', 'Navoiy', '1', '0.00000'), ('3712', '226', 'QA', 'Qashqadaryo', '1', '0.00000'), ('3713', '226', 'QR', 'Qoraqalpog\'iston Republikasi', '1', '0.00000'), ('3714', '226', 'SA', 'Samarqand', '1', '0.00000'), ('3715', '226', 'SI', 'Sirdaryo', '1', '0.00000'), ('3716', '226', 'SU', 'Surxondaryo', '1', '0.00000'), ('3717', '226', 'TK', 'Toshkent City', '1', '0.00000'), ('3718', '226', 'TO', 'Toshkent Region', '1', '0.00000'), ('3719', '226', 'XO', 'Xorazm', '1', '0.00000'), ('3720', '227', 'MA', 'Malampa', '1', '0.00000'), ('3721', '227', 'PE', 'Penama', '1', '0.00000'), ('3722', '227', 'SA', 'Sanma', '1', '0.00000'), ('3723', '227', 'SH', 'Shefa', '1', '0.00000'), ('3724', '227', 'TA', 'Tafea', '1', '0.00000'), ('3725', '227', 'TO', 'Torba', '1', '0.00000'), ('3726', '229', 'AM', 'Amazonas', '1', '0.00000'), ('3727', '229', 'AN', 'Anzoategui', '1', '0.00000'), ('3728', '229', 'AP', 'Apure', '1', '0.00000'), ('3729', '229', 'AR', 'Aragua', '1', '0.00000'), ('3730', '229', 'BA', 'Barinas', '1', '0.00000'), ('3731', '229', 'BO', 'Bolivar', '1', '0.00000'), ('3732', '229', 'CA', 'Carabobo', '1', '0.00000'), ('3733', '229', 'CO', 'Cojedes', '1', '0.00000'), ('3734', '229', 'DA', 'Delta Amacuro', '1', '0.00000'), ('3735', '229', 'DF', 'Dependencias Federales', '1', '0.00000'), ('3736', '229', 'DI', 'Distrito Federal', '1', '0.00000'), ('3737', '229', 'FA', 'Falcon', '1', '0.00000'), ('3738', '229', 'GU', 'Guarico', '1', '0.00000'), ('3739', '229', 'LA', 'Lara', '1', '0.00000'), ('3740', '229', 'ME', 'Merida', '1', '0.00000'), ('3741', '229', 'MI', 'Miranda', '1', '0.00000'), ('3742', '229', 'MO', 'Monagas', '1', '0.00000'), ('3743', '229', 'NE', 'Nueva Esparta', '1', '0.00000'), ('3744', '229', 'PO', 'Portuguesa', '1', '0.00000'), ('3745', '229', 'SU', 'Sucre', '1', '0.00000'), ('3746', '229', 'TA', 'Tachira', '1', '0.00000'), ('3747', '229', 'TR', 'Trujillo', '1', '0.00000'), ('3748', '229', 'VA', 'Vargas', '1', '0.00000'), ('3749', '229', 'YA', 'Yaracuy', '1', '0.00000'), ('3750', '229', 'ZU', 'Zulia', '1', '0.00000'), ('3751', '230', 'AG', 'An Giang', '1', '0.00000'), ('3752', '230', 'BG', 'Bac Giang', '1', '0.00000'), ('3753', '230', 'BK', 'Bac Kan', '1', '0.00000'), ('3754', '230', 'BL', 'Bac Lieu', '1', '0.00000'), ('3755', '230', 'BC', 'Bac Ninh', '1', '0.00000'), ('3756', '230', 'BR', 'Ba Ria-Vung Tau', '1', '0.00000'), ('3757', '230', 'BN', 'Ben Tre', '1', '0.00000'), ('3758', '230', 'BH', 'Binh Dinh', '1', '0.00000'), ('3759', '230', 'BU', 'Binh Duong', '1', '0.00000'), ('3760', '230', 'BP', 'Binh Phuoc', '1', '0.00000'), ('3761', '230', 'BT', 'Binh Thuan', '1', '0.00000'), ('3762', '230', 'CM', 'Ca Mau', '1', '0.00000'), ('3763', '230', 'CT', 'Can Tho', '1', '0.00000'), ('3764', '230', 'CB', 'Cao Bang', '1', '0.00000'), ('3765', '230', 'DL', 'Dak Lak', '1', '0.00000'), ('3766', '230', 'DG', 'Dak Nong', '1', '0.00000'), ('3767', '230', 'DN', 'Da Nang', '1', '0.00000'), ('3768', '230', 'DB', 'Dien Bien', '1', '0.00000'), ('3769', '230', 'DI', 'Dong Nai', '1', '0.00000'), ('3770', '230', 'DT', 'Dong Thap', '1', '0.00000'), ('3771', '230', 'GL', 'Gia Lai', '1', '0.00000'); + +-- new query + +INSERT INTO `prefix_country_zones` VALUES ('3772', '230', 'HG', 'Ha Giang', '1', '0.00000'), ('3773', '230', 'HD', 'Hai Duong', '1', '0.00000'), ('3774', '230', 'HP', 'Hai Phong', '1', '0.00000'), ('3775', '230', 'HM', 'Ha Nam', '1', '0.00000'), ('3776', '230', 'HI', 'Ha Noi', '1', '0.00000'), ('3777', '230', 'HT', 'Ha Tay', '1', '0.00000'), ('3778', '230', 'HH', 'Ha Tinh', '1', '0.00000'), ('3779', '230', 'HB', 'Hoa Binh', '1', '0.00000'), ('3780', '230', 'HC', 'Ho Chi Minh City', '1', '0.00000'), ('3781', '230', 'HU', 'Hau Giang', '1', '0.00000'), ('3782', '230', 'HY', 'Hung Yen', '1', '0.00000'), ('3783', '232', 'C', 'Saint Croix', '1', '0.00000'), ('3784', '232', 'J', 'Saint John', '1', '0.00000'), ('3785', '232', 'T', 'Saint Thomas', '1', '0.00000'), ('3786', '233', 'A', 'Alo', '1', '0.00000'), ('3787', '233', 'S', 'Sigave', '1', '0.00000'), ('3788', '233', 'W', 'Wallis', '1', '0.00000'), ('3789', '235', 'AB', 'Abyan', '1', '0.00000'), ('3790', '235', 'AD', 'Adan', '1', '0.00000'), ('3791', '235', 'AM', 'Amran', '1', '0.00000'), ('3792', '235', 'BA', 'Al Bayda', '1', '0.00000'), ('3793', '235', 'DA', 'Ad Dali', '1', '0.00000'), ('3794', '235', 'DH', 'Dhamar', '1', '0.00000'), ('3795', '235', 'HD', 'Hadramawt', '1', '0.00000'), ('3796', '235', 'HJ', 'Hajjah', '1', '0.00000'), ('3797', '235', 'HU', 'Al Hudaydah', '1', '0.00000'), ('3798', '235', 'IB', 'Ibb', '1', '0.00000'), ('3799', '235', 'JA', 'Al Jawf', '1', '0.00000'), ('3800', '235', 'LA', 'Lahij', '1', '0.00000'), ('3801', '235', 'MA', 'Ma\'rib', '1', '0.00000'), ('3802', '235', 'MR', 'Al Mahrah', '1', '0.00000'), ('3803', '235', 'MW', 'Al Mahwit', '1', '0.00000'), ('3804', '235', 'SD', 'Sa\'dah', '1', '0.00000'), ('3805', '235', 'SN', 'San\'a', '1', '0.00000'), ('3806', '235', 'SH', 'Shabwah', '1', '0.00000'), ('3807', '235', 'TA', 'Ta\'izz', '1', '0.00000'), ('3808', '236', 'KOS', 'Kosovo', '1', '0.00000'), ('3809', '236', 'MON', 'Montenegro', '1', '0.00000'), ('3810', '236', 'SER', 'Serbia', '1', '0.00000'), ('3811', '236', 'VOJ', 'Vojvodina', '1', '0.00000'), ('3812', '237', 'BC', 'Bas-Congo', '1', '0.00000'), ('3813', '237', 'BN', 'Bandundu', '1', '0.00000'), ('3814', '237', 'EQ', 'Equateur', '1', '0.00000'), ('3815', '237', 'KA', 'Katanga', '1', '0.00000'), ('3816', '237', 'KE', 'Kasai-Oriental', '1', '0.00000'), ('3817', '237', 'KN', 'Kinshasa', '1', '0.00000'), ('3818', '237', 'KW', 'Kasai-Occidental', '1', '0.00000'), ('3819', '237', 'MA', 'Maniema', '1', '0.00000'), ('3820', '237', 'NK', 'Nord-Kivu', '1', '0.00000'), ('3821', '237', 'OR', 'Orientale', '1', '0.00000'), ('3822', '237', 'SK', 'Sud-Kivu', '1', '0.00000'), ('3823', '238', 'CE', 'Central', '1', '0.00000'), ('3824', '238', 'CB', 'Copperbelt', '1', '0.00000'), ('3825', '238', 'EA', 'Eastern', '1', '0.00000'), ('3826', '238', 'LP', 'Luapula', '1', '0.00000'), ('3827', '238', 'LK', 'Lusaka', '1', '0.00000'), ('3828', '238', 'NO', 'Northern', '1', '0.00000'), ('3829', '238', 'NW', 'North-Western', '1', '0.00000'), ('3830', '238', 'SO', 'Southern', '1', '0.00000'), ('3831', '238', 'WE', 'Western', '1', '0.00000'), ('3832', '239', 'BU', 'Bulawayo', '1', '0.00000'), ('3833', '239', 'HA', 'Harare', '1', '0.00000'), ('3834', '239', 'ML', 'Manicaland', '1', '0.00000'), ('3835', '239', 'MC', 'Mashonaland Central', '1', '0.00000'), ('3836', '239', 'ME', 'Mashonaland East', '1', '0.00000'), ('3837', '239', 'MW', 'Mashonaland West', '1', '0.00000'), ('3838', '239', 'MV', 'Masvingo', '1', '0.00000'), ('3839', '239', 'MN', 'Matabeleland North', '1', '0.00000'), ('3840', '239', 'MS', 'Matabeleland South', '1', '0.00000'), ('3841', '239', 'MD', 'Midlands', '1', '0.00000'), ('3861', '105', 'CB', 'Campobasso', '1', '0.00000'), ('3862', '105', 'CI', 'Carbonia-Iglesias', '1', '0.00000'), ('3863', '105', 'CE', 'Caserta', '1', '0.00000'), ('3864', '105', 'CT', 'Catania', '1', '0.00000'), ('3865', '105', 'CZ', 'Catanzaro', '1', '0.00000'), ('3866', '105', 'CH', 'Chieti', '1', '0.00000'), ('3867', '105', 'CO', 'Como', '1', '0.00000'), ('3868', '105', 'CS', 'Cosenza', '1', '0.00000'), ('3869', '105', 'CR', 'Cremona', '1', '0.00000'), ('3870', '105', 'KR', 'Crotone', '1', '0.00000'), ('3871', '105', 'CN', 'Cuneo', '1', '0.00000'), ('3872', '105', 'EN', 'Enna', '1', '0.00000'), ('3873', '105', 'FE', 'Ferrara', '1', '0.00000'), ('3874', '105', 'FI', 'Firenze', '1', '0.00000'), ('3875', '105', 'FG', 'Foggia', '1', '0.00000'), ('3876', '105', 'FC', 'Forli-Cesena', '1', '0.00000'), ('3877', '105', 'FR', 'Frosinone', '1', '0.00000'), ('3878', '105', 'GE', 'Genova', '1', '0.00000'), ('3879', '105', 'GO', 'Gorizia', '1', '0.00000'), ('3880', '105', 'GR', 'Grosseto', '1', '0.00000'), ('3881', '105', 'IM', 'Imperia', '1', '0.00000'), ('3882', '105', 'IS', 'Isernia', '1', '0.00000'), ('3883', '105', 'AQ', 'L'Aquila', '1', '0.00000'), ('3884', '105', 'SP', 'La Spezia', '1', '0.00000'), ('3885', '105', 'LT', 'Latina', '1', '0.00000'), ('3886', '105', 'LE', 'Lecce', '1', '0.00000'), ('3887', '105', 'LC', 'Lecco', '1', '0.00000'), ('3888', '105', 'LI', 'Livorno', '1', '0.00000'), ('3889', '105', 'LO', 'Lodi', '1', '0.00000'), ('3890', '105', 'LU', 'Lucca', '1', '0.00000'), ('3891', '105', 'MC', 'Macerata', '1', '0.00000'), ('3892', '105', 'MN', 'Mantova', '1', '0.00000'), ('3893', '105', 'MS', 'Massa-Carrara', '1', '0.00000'), ('3894', '105', 'MT', 'Matera', '1', '0.00000'), ('3895', '105', 'VS', 'Medio Campidano', '1', '0.00000'), ('3896', '105', 'ME', 'Messina', '1', '0.00000'), ('3897', '105', 'MI', 'Milano', '1', '0.00000'), ('3898', '105', 'MO', 'Modena', '1', '0.00000'), ('3899', '105', 'NA', 'Napoli', '1', '0.00000'), ('3900', '105', 'NO', 'Novara', '1', '0.00000'), ('3901', '105', 'NU', 'Nuoro', '1', '0.00000'), ('3902', '105', 'OG', 'Ogliastra', '1', '0.00000'), ('3903', '105', 'OT', 'Olbia-Tempio', '1', '0.00000'), ('3904', '105', 'OR', 'Oristano', '1', '0.00000'), ('3905', '105', 'PD', 'Padova', '1', '0.00000'), ('3906', '105', 'PA', 'Palermo', '1', '0.00000'), ('3907', '105', 'PR', 'Parma', '1', '0.00000'), ('3908', '105', 'PV', 'Pavia', '1', '0.00000'), ('3909', '105', 'PG', 'Perugia', '1', '0.00000'), ('3910', '105', 'PU', 'Pesaro e Urbino', '1', '0.00000'), ('3911', '105', 'PE', 'Pescara', '1', '0.00000'), ('3912', '105', 'PC', 'Piacenza', '1', '0.00000'), ('3913', '105', 'PI', 'Pisa', '1', '0.00000'), ('3914', '105', 'PT', 'Pistoia', '1', '0.00000'), ('3915', '105', 'PN', 'Pordenone', '1', '0.00000'), ('3916', '105', 'PZ', 'Potenza', '1', '0.00000'), ('3917', '105', 'PO', 'Prato', '1', '0.00000'), ('3918', '105', 'RG', 'Ragusa', '1', '0.00000'), ('3919', '105', 'RA', 'Ravenna', '1', '0.00000'), ('3920', '105', 'RC', 'Reggio Calabria', '1', '0.00000'), ('3921', '105', 'RE', 'Reggio Emilia', '1', '0.00000'), ('3922', '105', 'RI', 'Rieti', '1', '0.00000'), ('3923', '105', 'RN', 'Rimini', '1', '0.00000'), ('3924', '105', 'RM', 'Roma', '1', '0.00000'), ('3925', '105', 'RO', 'Rovigo', '1', '0.00000'), ('3926', '105', 'SA', 'Salerno', '1', '0.00000'), ('3927', '105', 'SS', 'Sassari', '1', '0.00000'), ('3928', '105', 'SV', 'Savona', '1', '0.00000'), ('3929', '105', 'SI', 'Siena', '1', '0.00000'), ('3930', '105', 'SR', 'Siracusa', '1', '0.00000'), ('3931', '105', 'SO', 'Sondrio', '1', '0.00000'), ('3932', '105', 'TA', 'Taranto', '1', '0.00000'), ('3933', '105', 'TE', 'Teramo', '1', '0.00000'), ('3934', '105', 'TR', 'Terni', '1', '0.00000'), ('3935', '105', 'TO', 'Torino', '1', '0.00000'), ('3936', '105', 'TP', 'Trapani', '1', '0.00000'), ('3937', '105', 'TN', 'Trento', '1', '0.00000'), ('3938', '105', 'TV', 'Treviso', '1', '0.00000'), ('3939', '105', 'TS', 'Trieste', '1', '0.00000'), ('3940', '105', 'UD', 'Udine', '1', '0.00000'), ('3941', '105', 'VA', 'Varese', '1', '0.00000'), ('3942', '105', 'VE', 'Venezia', '1', '0.00000'), ('3943', '105', 'VB', 'Verbano-Cusio-Ossola', '1', '0.00000'), ('3944', '105', 'VC', 'Vercelli', '1', '0.00000'), ('3945', '105', 'VR', 'Verona', '1', '0.00000'), ('3946', '105', 'VV', 'Vibo Valentia', '1', '0.00000'), ('3947', '105', 'VI', 'Vicenza', '1', '0.00000'), ('3948', '105', 'VT', 'Viterbo', '1', '0.00000'), ('3949', '222', 'ANT', 'County Antrim', '1', '0.00000'), ('3950', '222', 'ARM', 'County Armagh', '1', '0.00000'), ('3951', '222', 'DOW', 'County Down', '1', '0.00000'), ('3952', '222', 'FER', 'County Fermanagh', '1', '0.00000'), ('3953', '222', 'LDY', 'County Londonderry', '1', '0.00000'), ('3954', '222', 'TYR', 'County Tyrone', '1', '0.00000'), ('3955', '222', 'CMA', 'Cumbria', '1', '0.00000'), ('3956', '138', 'AG', 'Aguascalientes', '1', '0.00000'); + +-- new query + +CREATE TABLE `prefix_coupons` ( +`id` int(10) unsigned NOT NULL auto_increment, +`code` varchar(50) NOT NULL, +`start_date` date NOT NULL, +`end_date` date NOT NULL, +`whole_order_coupon` tinyint(1) NOT NULL, +`max_product_instances` mediumint(8) unsigned NOT NULL default '0', +`max_uses` mediumint(8) unsigned NOT NULL, +`num_uses` mediumint(8) unsigned NOT NULL, +`reduction_target` varchar(8) NOT NULL, +`reduction_type` varchar(10) NOT NULL, +`reduction_amount` float NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_coupons_products` ( +`coupon_id` int(11) NOT NULL, +`product_id` int(11) NOT NULL, +`sequence` int(11) NOT NULL, +KEY `promotion_id` (`coupon_id`,`product_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_customer_groups` ( +`id` int(11) NOT NULL auto_increment, +`discount` float default NULL, +`name` varchar(50) default NULL, +`discount_type` enum('fixed','percent') default 'percent', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +INSERT INTO `prefix_customer_groups` VALUES ('1', '0', 'Shoppers', 'fixed'); + +-- new query + +CREATE TABLE `prefix_customers` ( +`id` int(10) unsigned NOT NULL auto_increment, +`firstname` varchar(32) NOT NULL, +`lastname` varchar(32) NOT NULL, +`email` varchar(128) NOT NULL, +`email_subscribe` tinyint(1) default NULL, +`phone` varchar(32) NOT NULL, +`company` varchar(128) NOT NULL, +`default_billing_address` int(11) default NULL, +`default_shipping_address` int(11) default NULL, +`ship_to_bill_address` enum('false','true') NOT NULL default 'true', +`password` varchar(40) NOT NULL, +`active` tinyint(1) NOT NULL, +`group_id` int(11) NOT NULL default '1', +`confirmed` tinyint(1) NOT NULL default '0', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_customers_address_bank` ( +`id` int(11) NOT NULL auto_increment, +`customer_id` int(11) default NULL, +`entry_name` varchar(20) default NULL, +`field_data` text, +PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_digital_products` ( +`id` int(11) NOT NULL auto_increment, +`filename` varchar(100) NOT NULL, +`max_downloads` int(11) NOT NULL, +`title` varchar(100) NOT NULL, +`version` varchar(150) NOT NULL, +`size` varchar(20) NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_download_package_files` ( +`package_id` int(11) NOT NULL, +`file_id` int(11) NOT NULL, +`downloads` int(11) NOT NULL, +`link` varchar(32) NOT NULL, +KEY `package_id` (`package_id`), +KEY `package_id_2` (`package_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_download_packages` ( +`id` int(11) NOT NULL auto_increment, +`order_id` varchar(60) NOT NULL, +`customer_id` int(11) NOT NULL, +`code` varchar(16) NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_gift_cards` ( +`id` int(10) unsigned NOT NULL auto_increment, +`order_number` varchar(60) NOT NULL, +`code` varchar(16) NOT NULL, +`expiry_date` date NOT NULL, +`beginning_amount` float NOT NULL, +`amount_used` float NOT NULL, +`to_name` varchar(70) default NULL, +`to_email` varchar(75) NOT NULL, +`from` varchar(70) default NULL, +`personal_message` mediumtext, +`activated` tinyint(1) NOT NULL default '0', +PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_option_values` ( +`id` int(11) NOT NULL auto_increment, +`option_id` int(11) NOT NULL, +`name` varchar(255) NOT NULL, +`value` varchar(255) NOT NULL, +`price` float(10,2) NOT NULL, +`weight` float(10,2) NOT NULL, +`sequence` int(11) NOT NULL, +`limit` int(11) default NULL, +PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_options` ( +`id` int(11) NOT NULL auto_increment, +`product_id` int(11) NOT NULL, +`sequence` int(11) NOT NULL, +`name` varchar(64) NOT NULL, +`type` varchar(24) NOT NULL, +`required` tinyint(1) NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_order_items` ( +`id` bigint(20) NOT NULL auto_increment, +`order_id` int(11) default NULL, +`product_id` int(11) NOT NULL, +`quantity` int(11) NOT NULL, +`contents` longtext, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_orders` ( +`id` int(10) unsigned NOT NULL auto_increment, +`order_number` varchar(60) NOT NULL, +`customer_id` int(10) unsigned default NULL, +`status` varchar(255) NOT NULL, +`ordered_on` datetime NOT NULL, +`shipped_on` datetime default NULL, +`tax` float(10,2) NOT NULL, +`total` float(10,2) NOT NULL, +`subtotal` float(10,2) NOT NULL, +`gift_card_discount` float(10,2) NOT NULL, +`coupon_discount` float(10,2) NOT NULL, +`shipping` float(10,2) NOT NULL, +`shipping_notes` text NOT NULL, +`shipping_method` tinytext NOT NULL, +`notes` text DEFAULT NULL, +`payment_info` text NOT NULL, +`referral` text NOT NULL, +`company` varchar(255) default NULL, +`firstname` varchar(255) default NULL, +`lastname` varchar(255) default NULL, +`phone` varchar(40) default NULL, +`email` varchar(255) default NULL, +`ship_company` varchar(255) default NULL, +`ship_firstname` varchar(255) default NULL, +`ship_lastname` varchar(255) default NULL, +`ship_email` varchar(255) default NULL, +`ship_phone` varchar(40) default NULL, +`ship_address1` varchar(255) default NULL, +`ship_address2` varchar(255) default NULL, +`ship_city` varchar(255) default NULL, +`ship_zip` varchar(11) default NULL, +`ship_zone` varchar(255) default NULL, +`ship_zone_id` int(11) default NULL, +`ship_country` varchar(255) default NULL, +`ship_country_code` varchar(10) default NULL, +`ship_country_id` int(11) default NULL, +`bill_company` varchar(255) default NULL, +`bill_firstname` varchar(255) default NULL, +`bill_lastname` varchar(255) default NULL, +`bill_email` varchar(255) default NULL, +`bill_phone` varchar(40) default NULL, +`bill_address1` varchar(255) default NULL, +`bill_address2` varchar(255) default NULL, +`bill_city` varchar(255) default NULL, +`bill_zip` varchar(11) default NULL, +`bill_zone` varchar(255) default NULL, +`bill_zone_id` int(11) default NULL, +`bill_country` varchar(255) default NULL, +`bill_country_code` varchar(10) default NULL, +`bill_country_id` int(11) default NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_pages` ( +`id` int(11) NOT NULL auto_increment, +`parent_id` int(11) NOT NULL, +`title` varchar(128) NOT NULL, +`menu_title` varchar(128) NOT NULL, +`slug` varchar(255) NOT NULL, +`route_id` int(128) NOT NULL, +`content` longtext NOT NULL, +`sequence` int(11) NOT NULL default '0', +`seo_title` text NOT NULL, +`meta` text NOT NULL, +`url` varchar(255) default NULL, +`new_window` tinyint(1) default '0', +PRIMARY KEY (`id`), +FULLTEXT KEY `title` (`title`,`content`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_products` ( +`id` int(10) unsigned NOT NULL auto_increment, +`sku` varchar(30) default NULL, +`name` varchar(128) default NULL, +`slug` varchar(128) default NULL, +`route_id` int(11) NOT NULL, +`description` text, +`excerpt` text, +`price` float(10,2) NOT NULL default '0.00', +`saleprice` float(10,2) NOT NULL default '0.00', +`free_shipping` tinyint(1) NOT NULL default '0', +`shippable` tinyint(1) NOT NULL default '1', +`taxable` tinyint(1) NOT NULL default '1', +`fixed_quantity` tinyint(1) NOT NULL default '0', +`weight` varchar(10) NOT NULL default '0', +`track_stock` tinyint(1) NOT NULL default '0', +`quantity` int(11) NOT NULL, +`related_products` text, +`images` text, +`seo_title` text, +`meta` text, +`enabled` tinyint(1) NOT NULL default '1', +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_products_files` ( +`product_id` int(11) NOT NULL, +`file_id` int(11) NOT NULL, +KEY `product_id` (`product_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_routes` ( +`id` int(11) NOT NULL auto_increment, +`slug` varchar(255) NOT NULL, +`route` varchar(32) default NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_search` ( +`code` varchar(40) NOT NULL, +`term` varchar(255) NOT NULL, +PRIMARY KEY (`code`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_sessions` ( +`session_id` varchar(40) NOT NULL default '0', +`ip_address` varchar(45) NOT NULL default '0', +`user_agent` varchar(120) default NULL, +`last_activity` int(10) unsigned NOT NULL default '0', +`user_data` text NOT NULL, +PRIMARY KEY (`session_id`), +KEY `last_activity_idx` (`last_activity`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- new query + +CREATE TABLE `prefix_settings` ( +`id` int(11) NOT NULL auto_increment, +`code` varchar(255) NOT NULL, +`setting_key` varchar(255) NOT NULL, +`setting` longtext NOT NULL, +PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; + diff --git a/js/jquery/colorbox/colorbox.css b/js/jquery/colorbox/colorbox.css deleted file mode 100644 index 5c45e526..00000000 --- a/js/jquery/colorbox/colorbox.css +++ /dev/null @@ -1,86 +0,0 @@ -/* - ColorBox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block;} -.cboxIframe{width:100%; height:100%; display:block; border:0;} - -/* - User Style: - Change the following styles to modify the appearance of ColorBox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{filter: alpha(opacity=10); /* internet explorer */ - -khtml-opacity: 0.1; /* khtml, old safari */ - -moz-opacity: 0.1; /* mozilla, netscape */ - opacity: 0.1; /* fx, safari, opera */ - background-color:#fff;} -#colorbox{} - #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;} - #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;} - #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;} - #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px -29px;} - #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;} - #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;} - #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;} - #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;} - #cboxContent{background:#fff; overflow:hidden;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{margin-bottom:28px;} - #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;} - #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;} - #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;} - #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxPrevious.hover{background-position:-75px -25px;} - #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxNext.hover{background-position:-50px -25px;} - #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;} - #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} - #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxClose.hover{background-position:-25px -25px;} - -/* - The following fixes a problem where IE7+ replaces a PNG's alpha transparency with a black fill - when an alpha filter (opacity change) is set on the element or ancestor element. -*/ -.cboxIE #cboxTopLeft, -.cboxIE #cboxTopCenter, -.cboxIE #cboxTopRight, -.cboxIE #cboxBottomLeft, -.cboxIE #cboxBottomCenter, -.cboxIE #cboxBottomRight, -.cboxIE #cboxMiddleLeft, -.cboxIE #cboxMiddleRight { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); -} - -/* - The following provides PNG transparency support for IE6 -*/ -.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);} -.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);} -.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);} -.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);} -.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);} -.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);} -.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);} -.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);} - -.cboxIE6 #cboxTopLeft, -.cboxIE6 #cboxTopCenter, -.cboxIE6 #cboxTopRight, -.cboxIE6 #cboxBottomLeft, -.cboxIE6 #cboxBottomCenter, -.cboxIE6 #cboxBottomRight, -.cboxIE6 #cboxMiddleLeft, -.cboxIE6 #cboxMiddleRight { - _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')"); -} diff --git a/js/jquery/colorbox/images/border.png b/js/jquery/colorbox/images/border.png deleted file mode 100644 index f463a10d..00000000 Binary files a/js/jquery/colorbox/images/border.png and /dev/null differ diff --git a/js/jquery/colorbox/images/controls.png b/js/jquery/colorbox/images/controls.png deleted file mode 100644 index 92571766..00000000 Binary files a/js/jquery/colorbox/images/controls.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderBottomCenter.png b/js/jquery/colorbox/images/ie6/borderBottomCenter.png deleted file mode 100644 index 0d4475ed..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderBottomCenter.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderBottomLeft.png b/js/jquery/colorbox/images/ie6/borderBottomLeft.png deleted file mode 100644 index 2775eba8..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderBottomLeft.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderBottomRight.png b/js/jquery/colorbox/images/ie6/borderBottomRight.png deleted file mode 100644 index f7f51379..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderBottomRight.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderMiddleLeft.png b/js/jquery/colorbox/images/ie6/borderMiddleLeft.png deleted file mode 100644 index a2d63d15..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderMiddleLeft.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderMiddleRight.png b/js/jquery/colorbox/images/ie6/borderMiddleRight.png deleted file mode 100644 index fd7c3e84..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderMiddleRight.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderTopCenter.png b/js/jquery/colorbox/images/ie6/borderTopCenter.png deleted file mode 100644 index 2937a9cf..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderTopCenter.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderTopLeft.png b/js/jquery/colorbox/images/ie6/borderTopLeft.png deleted file mode 100644 index f9d458b5..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderTopLeft.png and /dev/null differ diff --git a/js/jquery/colorbox/images/ie6/borderTopRight.png b/js/jquery/colorbox/images/ie6/borderTopRight.png deleted file mode 100644 index 74b8583c..00000000 Binary files a/js/jquery/colorbox/images/ie6/borderTopRight.png and /dev/null differ diff --git a/js/jquery/colorbox/images/loading.gif b/js/jquery/colorbox/images/loading.gif deleted file mode 100644 index b4695d81..00000000 Binary files a/js/jquery/colorbox/images/loading.gif and /dev/null differ diff --git a/js/jquery/colorbox/images/loading_background.png b/js/jquery/colorbox/images/loading_background.png deleted file mode 100644 index 6ae83e69..00000000 Binary files a/js/jquery/colorbox/images/loading_background.png and /dev/null differ diff --git a/js/jquery/colorbox/images/overlay.png b/js/jquery/colorbox/images/overlay.png deleted file mode 100644 index 53ea98f7..00000000 Binary files a/js/jquery/colorbox/images/overlay.png and /dev/null differ diff --git a/js/jquery/colorbox/jquery.colorbox-min.js b/js/jquery/colorbox/jquery.colorbox-min.js deleted file mode 100644 index cae097ed..00000000 --- a/js/jquery/colorbox/jquery.colorbox-min.js +++ /dev/null @@ -1,4 +0,0 @@ -// ColorBox v1.3.16 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+ -// Copyright (c) 2011 Jack Moore - jack@colorpowered.com -// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php -(function(a,b,c){function ba(b){if(!T){O=b,Z(a.extend(J,a.data(O,e))),x=a(O),P=0,J.rel!=="nofollow"&&(x=a("."+V).filter(function(){var b=a.data(this,e).rel||this.rel;return b===J.rel}),P=x.index(O),P===-1&&(x=x.add(O),P=x.length-1));if(!R){R=S=!0,q.show();if(J.returnFocus)try{O.blur(),a(O).one(k,function(){try{this.focus()}catch(a){}})}catch(c){}p.css({opacity:+J.opacity,cursor:J.overlayClose?"pointer":"auto"}).show(),J.w=X(J.initialWidth,"x"),J.h=X(J.initialHeight,"y"),U.position(0),n&&y.bind("resize."+o+" scroll."+o,function(){p.css({width:y.width(),height:y.height(),top:y.scrollTop(),left:y.scrollLeft()})}).trigger("resize."+o),$(g,J.onOpen),I.add(C).hide(),H.html(J.close).show()}U.load(!0)}}function _(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;J.slideshow&&x[1]&&(d=function(){E.text(J.slideshowStop).unbind(c).bind(i,function(){if(P"),b.open=!0;f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b)),a(this).addClass(V)}),g=b.open,a.isFunction(g)&&(g=g.call(f)),g&&ba(f[0]);return f},U.init=function(){y=a(c),q=W().attr({id:e,"class":m?f+(n?"IE6":"IE"):""}),p=W("Overlay",n?"position:absolute":"").hide(),r=W("Wrapper"),s=W("Content").append(z=W("LoadedContent","width:0; height:0; overflow:hidden"),B=W("LoadingOverlay").add(W("LoadingGraphic")),C=W("Title"),D=W("Current"),F=W("Next"),G=W("Previous"),E=W("Slideshow").bind(g,_),H=W("Close")),r.append(W().append(W("TopLeft"),t=W("TopCenter"),W("TopRight")),W(!1,"clear:left").append(u=W("MiddleLeft"),s,v=W("MiddleRight")),W(!1,"clear:left").append(W("BottomLeft"),w=W("BottomCenter"),W("BottomRight"))).children().children().css({"float":"left"}),A=W(!1,"position:absolute; width:9999px; visibility:hidden; display:none"),a("body").prepend(p,q.append(r,A)),s.children().hover(function(){a(this).addClass("hover")},function(){a(this).removeClass("hover")}).addClass("hover"),K=t.height()+w.height()+s.outerHeight(!0)-s.height(),L=u.width()+v.width()+s.outerWidth(!0)-s.width(),M=z.outerHeight(!0),N=z.outerWidth(!0),q.css({"padding-bottom":K,"padding-right":L}).hide(),F.click(function(){U.next()}),G.click(function(){U.prev()}),H.click(function(){U.close()}),I=F.add(G).add(D).add(E),s.children().removeClass("hover"),a("."+V).live("click",function(a){a.button!==0&&typeof a.button!="undefined"||a.ctrlKey||a.shiftKey||a.altKey||(a.preventDefault(),ba(this))}),p.click(function(){J.overlayClose&&U.close()}),a(b).bind("keydown",function(a){R&&J.escKey&&a.keyCode===27&&(a.preventDefault(),U.close()),R&&J.arrowKey&&!S&&x[1]&&(a.keyCode===37&&(P||J.loop)?(a.preventDefault(),G.click()):a.keyCode===39&&(P
    ").children();J.h=b.height(),b.replaceWith(b.children())}z.css({height:J.h}),U.position(J.transition==="none"?0:J.speed)}},U.prep=function(b){function h(b){U.position(b,function(){var b,d,g,h,j=x.length,k,n;!R||(n=function(){B.hide(),$(i,J.onComplete)},m&&Q&&z.fadeIn(100),C.html(J.title).add(z).show(),j>1?(typeof J.current=="string"&&D.html(J.current.replace(/\{current\}/,P+1).replace(/\{total\}/,j)).show(),F[J.loop||P")[0].src=h),Y(d)&&(a("")[0].src=d))):I.hide(),J.iframe?(k=a("'; - ifr = document.getElementById('iframe'); - doc = ifr.contentWindow.document; - - // Force absolute CSS urls - css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; - css = css.concat(tinymce.explode(ed.settings.content_css) || []); - tinymce.each(css, function(u) { - cssHTML += ''; - }); - - // Write content into iframe - doc.open(); - doc.write('' + cssHTML + ''); - doc.close(); - - doc.designMode = 'on'; - this.resize(); - - window.setTimeout(function() { - ifr.contentWindow.focus(); - }, 10); - }, - - insert : function() { - var h = document.getElementById('iframe').contentWindow.document.body.innerHTML; - - tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true}); - tinyMCEPopup.close(); - }, - - resize : function() { - var vp = tinyMCEPopup.dom.getViewPort(window), el; - - el = document.getElementById('iframe'); - - if (el) { - el.style.width = (vp.w - 20) + 'px'; - el.style.height = (vp.h - 90) + 'px'; - } - } -}; - -tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog); diff --git a/js/jquery/tiny_mce/plugins/paste/langs/en_dlg.js b/js/jquery/tiny_mce/plugins/paste/langs/en_dlg.js deleted file mode 100644 index bc74daf8..00000000 --- a/js/jquery/tiny_mce/plugins/paste/langs/en_dlg.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.paste_dlg',{"word_title":"Use Ctrl+V on your keyboard to paste the text into the window.","text_linebreaks":"Keep Linebreaks","text_title":"Use Ctrl+V on your keyboard to paste the text into the window."}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/paste/pastetext.htm b/js/jquery/tiny_mce/plugins/paste/pastetext.htm deleted file mode 100644 index b6559454..00000000 --- a/js/jquery/tiny_mce/plugins/paste/pastetext.htm +++ /dev/null @@ -1,27 +0,0 @@ - - - {#paste.paste_text_desc} - - - - -
    -
    {#paste.paste_text_desc}
    - -
    - -
    - -
    - -
    {#paste_dlg.text_title}
    - - - -
    - - -
    -
    - - \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/paste/pasteword.htm b/js/jquery/tiny_mce/plugins/paste/pasteword.htm deleted file mode 100644 index 0f6bb412..00000000 --- a/js/jquery/tiny_mce/plugins/paste/pasteword.htm +++ /dev/null @@ -1,21 +0,0 @@ - - - {#paste.paste_word_desc} - - - - -
    -
    {#paste.paste_word_desc}
    - -
    {#paste_dlg.word_title}
    - -
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/preview/editor_plugin.js b/js/jquery/tiny_mce/plugins/preview/editor_plugin.js deleted file mode 100644 index 507909c5..00000000 --- a/js/jquery/tiny_mce/plugins/preview/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.Preview",{init:function(a,b){var d=this,c=tinymce.explode(a.settings.content_css);d.editor=a;tinymce.each(c,function(f,e){c[e]=a.documentBaseURI.toAbsolute(f)});a.addCommand("mcePreview",function(){a.windowManager.open({file:a.getParam("plugin_preview_pageurl",b+"/preview.html"),width:parseInt(a.getParam("plugin_preview_width","550")),height:parseInt(a.getParam("plugin_preview_height","600")),resizable:"yes",scrollbars:"yes",popup_css:c?c.join(","):a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css"),inline:a.getParam("plugin_preview_inline",1)},{base:a.documentBaseURI.getURI()})});a.addButton("preview",{title:"preview.preview_desc",cmd:"mcePreview"})},getInfo:function(){return{longname:"Preview",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("preview",tinymce.plugins.Preview)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/preview/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/preview/editor_plugin_src.js deleted file mode 100644 index 80f00f0d..00000000 --- a/js/jquery/tiny_mce/plugins/preview/editor_plugin_src.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.Preview', { - init : function(ed, url) { - var t = this, css = tinymce.explode(ed.settings.content_css); - - t.editor = ed; - - // Force absolute CSS urls - tinymce.each(css, function(u, k) { - css[k] = ed.documentBaseURI.toAbsolute(u); - }); - - ed.addCommand('mcePreview', function() { - ed.windowManager.open({ - file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"), - width : parseInt(ed.getParam("plugin_preview_width", "550")), - height : parseInt(ed.getParam("plugin_preview_height", "600")), - resizable : "yes", - scrollbars : "yes", - popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"), - inline : ed.getParam("plugin_preview_inline", 1) - }, { - base : ed.documentBaseURI.getURI() - }); - }); - - ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'}); - }, - - getInfo : function() { - return { - longname : 'Preview', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - // Register plugin - tinymce.PluginManager.add('preview', tinymce.plugins.Preview); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/preview/example.html b/js/jquery/tiny_mce/plugins/preview/example.html deleted file mode 100644 index b2c3d90c..00000000 --- a/js/jquery/tiny_mce/plugins/preview/example.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -Example of a custom preview page - - - -Editor contents:
    -
    - -
    - - - diff --git a/js/jquery/tiny_mce/plugins/preview/jscripts/embed.js b/js/jquery/tiny_mce/plugins/preview/jscripts/embed.js deleted file mode 100644 index f8dc8105..00000000 --- a/js/jquery/tiny_mce/plugins/preview/jscripts/embed.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. - */ - -function writeFlash(p) { - writeEmbed( - 'D27CDB6E-AE6D-11cf-96B8-444553540000', - 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', - 'application/x-shockwave-flash', - p - ); -} - -function writeShockWave(p) { - writeEmbed( - '166B1BCA-3F9C-11CF-8075-444553540000', - 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', - 'application/x-director', - p - ); -} - -function writeQuickTime(p) { - writeEmbed( - '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', - 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', - 'video/quicktime', - p - ); -} - -function writeRealMedia(p) { - writeEmbed( - 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', - 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', - 'audio/x-pn-realaudio-plugin', - p - ); -} - -function writeWindowsMedia(p) { - p.url = p.src; - writeEmbed( - '6BF52A52-394A-11D3-B153-00C04F79FAA6', - 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', - 'application/x-mplayer2', - p - ); -} - -function writeEmbed(cls, cb, mt, p) { - var h = '', n; - - h += ''; - - h += ' - - - - - -{#preview.preview_desc} - - - - - diff --git a/js/jquery/tiny_mce/plugins/print/editor_plugin.js b/js/jquery/tiny_mce/plugins/print/editor_plugin.js deleted file mode 100644 index b5b3a55e..00000000 --- a/js/jquery/tiny_mce/plugins/print/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/print/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/print/editor_plugin_src.js deleted file mode 100644 index 3933fe65..00000000 --- a/js/jquery/tiny_mce/plugins/print/editor_plugin_src.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.Print', { - init : function(ed, url) { - ed.addCommand('mcePrint', function() { - ed.getWin().print(); - }); - - ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'}); - }, - - getInfo : function() { - return { - longname : 'Print', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - // Register plugin - tinymce.PluginManager.add('print', tinymce.plugins.Print); -})(); diff --git a/js/jquery/tiny_mce/plugins/save/editor_plugin.js b/js/jquery/tiny_mce/plugins/save/editor_plugin.js deleted file mode 100644 index 8e939966..00000000 --- a/js/jquery/tiny_mce/plugins/save/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.Save",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceSave",c._save,c);a.addCommand("mceCancel",c._cancel,c);a.addButton("save",{title:"save.save_desc",cmd:"mceSave"});a.addButton("cancel",{title:"save.cancel_desc",cmd:"mceCancel"});a.onNodeChange.add(c._nodeChange,c);a.addShortcut("ctrl+s",a.getLang("save.save_desc"),"mceSave")},getInfo:function(){return{longname:"Save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,c){var b=this.editor;if(b.getParam("save_enablewhendirty")){a.setDisabled("save",!b.isDirty());a.setDisabled("cancel",!b.isDirty())}},_save:function(){var c=this.editor,a,e,d,b;a=tinymce.DOM.get(c.id).form||tinymce.DOM.getParent(c.id,"form");if(c.getParam("save_enablewhendirty")&&!c.isDirty()){return}tinyMCE.triggerSave();if(e=c.getParam("save_onsavecallback")){if(c.execCallback("save_onsavecallback",c)){c.startContent=tinymce.trim(c.getContent({format:"raw"}));c.nodeChanged()}return}if(a){c.isNotDirty=true;if(a.onsubmit==null||a.onsubmit()!=false){a.submit()}c.nodeChanged()}else{c.windowManager.alert("Error: No form element found.")}},_cancel:function(){var a=this.editor,c,b=tinymce.trim(a.startContent);if(c=a.getParam("save_oncancelcallback")){a.execCallback("save_oncancelcallback",a);return}a.setContent(b);a.undoManager.clear();a.nodeChanged()}});tinymce.PluginManager.add("save",tinymce.plugins.Save)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/save/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/save/editor_plugin_src.js deleted file mode 100644 index f5a3de8f..00000000 --- a/js/jquery/tiny_mce/plugins/save/editor_plugin_src.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.Save', { - init : function(ed, url) { - var t = this; - - t.editor = ed; - - // Register commands - ed.addCommand('mceSave', t._save, t); - ed.addCommand('mceCancel', t._cancel, t); - - // Register buttons - ed.addButton('save', {title : 'save.save_desc', cmd : 'mceSave'}); - ed.addButton('cancel', {title : 'save.cancel_desc', cmd : 'mceCancel'}); - - ed.onNodeChange.add(t._nodeChange, t); - ed.addShortcut('ctrl+s', ed.getLang('save.save_desc'), 'mceSave'); - }, - - getInfo : function() { - return { - longname : 'Save', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - }, - - // Private methods - - _nodeChange : function(ed, cm, n) { - var ed = this.editor; - - if (ed.getParam('save_enablewhendirty')) { - cm.setDisabled('save', !ed.isDirty()); - cm.setDisabled('cancel', !ed.isDirty()); - } - }, - - // Private methods - - _save : function() { - var ed = this.editor, formObj, os, i, elementId; - - formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form'); - - if (ed.getParam("save_enablewhendirty") && !ed.isDirty()) - return; - - tinyMCE.triggerSave(); - - // Use callback instead - if (os = ed.getParam("save_onsavecallback")) { - if (ed.execCallback('save_onsavecallback', ed)) { - ed.startContent = tinymce.trim(ed.getContent({format : 'raw'})); - ed.nodeChanged(); - } - - return; - } - - if (formObj) { - ed.isNotDirty = true; - - if (formObj.onsubmit == null || formObj.onsubmit() != false) - formObj.submit(); - - ed.nodeChanged(); - } else - ed.windowManager.alert("Error: No form element found."); - }, - - _cancel : function() { - var ed = this.editor, os, h = tinymce.trim(ed.startContent); - - // Use callback instead - if (os = ed.getParam("save_oncancelcallback")) { - ed.execCallback('save_oncancelcallback', ed); - return; - } - - ed.setContent(h); - ed.undoManager.clear(); - ed.nodeChanged(); - } - }); - - // Register plugin - tinymce.PluginManager.add('save', tinymce.plugins.Save); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/searchreplace/css/searchreplace.css b/js/jquery/tiny_mce/plugins/searchreplace/css/searchreplace.css deleted file mode 100644 index ecdf58c7..00000000 --- a/js/jquery/tiny_mce/plugins/searchreplace/css/searchreplace.css +++ /dev/null @@ -1,6 +0,0 @@ -.panel_wrapper {height:85px;} -.panel_wrapper div.current {height:85px;} - -/* IE */ -* html .panel_wrapper {height:100px;} -* html .panel_wrapper div.current {height:100px;} diff --git a/js/jquery/tiny_mce/plugins/searchreplace/editor_plugin.js b/js/jquery/tiny_mce/plugins/searchreplace/editor_plugin.js deleted file mode 100644 index 165bc12d..00000000 --- a/js/jquery/tiny_mce/plugins/searchreplace/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/searchreplace/editor_plugin_src.js deleted file mode 100644 index 4c87e8fa..00000000 --- a/js/jquery/tiny_mce/plugins/searchreplace/editor_plugin_src.js +++ /dev/null @@ -1,61 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.SearchReplacePlugin', { - init : function(ed, url) { - function open(m) { - // Keep IE from writing out the f/r character to the editor - // instance while initializing a new dialog. See: #3131190 - window.focus(); - - ed.windowManager.open({ - file : url + '/searchreplace.htm', - width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), - height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)), - inline : 1, - auto_focus : 0 - }, { - mode : m, - search_string : ed.selection.getContent({format : 'text'}), - plugin_url : url - }); - }; - - // Register commands - ed.addCommand('mceSearch', function() { - open('search'); - }); - - ed.addCommand('mceReplace', function() { - open('replace'); - }); - - // Register buttons - ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'}); - ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'}); - - ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch'); - }, - - getInfo : function() { - return { - longname : 'Search/Replace', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - // Register plugin - tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/searchreplace/js/searchreplace.js b/js/jquery/tiny_mce/plugins/searchreplace/js/searchreplace.js deleted file mode 100644 index 80284b9f..00000000 --- a/js/jquery/tiny_mce/plugins/searchreplace/js/searchreplace.js +++ /dev/null @@ -1,142 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var SearchReplaceDialog = { - init : function(ed) { - var t = this, f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode"); - - t.switchMode(m); - - f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string"); - - // Focus input field - f[m + '_panel_searchstring'].focus(); - - mcTabs.onChange.add(function(tab_id, panel_id) { - t.switchMode(tab_id.substring(0, tab_id.indexOf('_'))); - }); - }, - - switchMode : function(m) { - var f, lm = this.lastMode; - - if (lm != m) { - f = document.forms[0]; - - if (lm) { - f[m + '_panel_searchstring'].value = f[lm + '_panel_searchstring'].value; - f[m + '_panel_backwardsu'].checked = f[lm + '_panel_backwardsu'].checked; - f[m + '_panel_backwardsd'].checked = f[lm + '_panel_backwardsd'].checked; - f[m + '_panel_casesensitivebox'].checked = f[lm + '_panel_casesensitivebox'].checked; - } - - mcTabs.displayTab(m + '_tab', m + '_panel'); - document.getElementById("replaceBtn").style.display = (m == "replace") ? "inline" : "none"; - document.getElementById("replaceAllBtn").style.display = (m == "replace") ? "inline" : "none"; - this.lastMode = m; - } - }, - - searchNext : function(a) { - var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0; - - // Get input - f = document.forms[0]; - s = f[m + '_panel_searchstring'].value; - b = f[m + '_panel_backwardsu'].checked; - ca = f[m + '_panel_casesensitivebox'].checked; - rs = f['replace_panel_replacestring'].value; - - if (tinymce.isIE) { - r = ed.getDoc().selection.createRange(); - } - - if (s == '') - return; - - function fix() { - // Correct Firefox graphics glitches - // TODO: Verify if this is actually needed any more, maybe it was for very old FF versions? - r = se.getRng().cloneRange(); - ed.getDoc().execCommand('SelectAll', false, null); - se.setRng(r); - }; - - function replace() { - ed.selection.setContent(rs); // Needs to be duplicated due to selection bug in IE - }; - - // IE flags - if (ca) - fl = fl | 4; - - switch (a) { - case 'all': - // Move caret to beginning of text - ed.execCommand('SelectAll'); - ed.selection.collapse(true); - - if (tinymce.isIE) { - ed.focus(); - r = ed.getDoc().selection.createRange(); - - while (r.findText(s, b ? -1 : 1, fl)) { - r.scrollIntoView(); - r.select(); - replace(); - fo = 1; - - if (b) { - r.moveEnd("character", -(rs.length)); // Otherwise will loop forever - } - } - - tinyMCEPopup.storeSelection(); - } else { - while (w.find(s, ca, b, false, false, false, false)) { - replace(); - fo = 1; - } - } - - if (fo) - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.allreplaced')); - else - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); - - return; - - case 'current': - if (!ed.selection.isCollapsed()) - replace(); - - break; - } - - se.collapse(b); - r = se.getRng(); - - // Whats the point - if (!s) - return; - - if (tinymce.isIE) { - ed.focus(); - r = ed.getDoc().selection.createRange(); - - if (r.findText(s, b ? -1 : 1, fl)) { - r.scrollIntoView(); - r.select(); - } else - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); - - tinyMCEPopup.storeSelection(); - } else { - if (!w.find(s, ca, b, false, false, false, false)) - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); - else - fix(); - } - } -}; - -tinyMCEPopup.onInit.add(SearchReplaceDialog.init, SearchReplaceDialog); diff --git a/js/jquery/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/js/jquery/tiny_mce/plugins/searchreplace/langs/en_dlg.js deleted file mode 100644 index 8a659009..00000000 --- a/js/jquery/tiny_mce/plugins/searchreplace/langs/en_dlg.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.searchreplace_dlg',{findwhat:"Find What",replacewith:"Replace with",direction:"Direction",up:"Up",down:"Down",mcase:"Match Case",findnext:"Find Next",allreplaced:"All occurrences of the search string were replaced.","searchnext_desc":"Find Again",notfound:"The search has been completed. The search string could not be found.","search_title":"Find","replace_title":"Find/Replace",replaceall:"Replace All",replace:"Replace"}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/searchreplace/searchreplace.htm b/js/jquery/tiny_mce/plugins/searchreplace/searchreplace.htm deleted file mode 100644 index 5a22d8aa..00000000 --- a/js/jquery/tiny_mce/plugins/searchreplace/searchreplace.htm +++ /dev/null @@ -1,100 +0,0 @@ - - - - {#searchreplace_dlg.replace_title} - - - - - - - - -
    - - -
    -
    - - - - - - - - - - - -
    - - - - - - - - - -
    - - - - - -
    -
    -
    - -
    - - - - - - - - - - - - - - - -
    - - - - - - - - - -
    - - - - - -
    -
    -
    - -
    - -
    - - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/spellchecker/css/content.css b/js/jquery/tiny_mce/plugins/spellchecker/css/content.css deleted file mode 100644 index 24efa021..00000000 --- a/js/jquery/tiny_mce/plugins/spellchecker/css/content.css +++ /dev/null @@ -1 +0,0 @@ -.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} diff --git a/js/jquery/tiny_mce/plugins/spellchecker/editor_plugin.js b/js/jquery/tiny_mce/plugins/spellchecker/editor_plugin.js deleted file mode 100644 index 71fbb68a..00000000 --- a/js/jquery/tiny_mce/plugins/spellchecker/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}§©«®±¶·¸»¼½¾¿×÷¤\u201d\u201c');for(d=0;d$2");while((s=p.indexOf(""))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(f.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(f.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(f.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(e,'$1$2')}f.replace(q,t)}});h.moveToBookmark(i)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}if(h.getParam("show_ignore_words",true)){e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}})}if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=b.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/spellchecker/editor_plugin_src.js deleted file mode 100644 index fb32af43..00000000 --- a/js/jquery/tiny_mce/plugins/spellchecker/editor_plugin_src.js +++ /dev/null @@ -1,436 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - var JSONRequest = tinymce.util.JSONRequest, each = tinymce.each, DOM = tinymce.DOM; - - tinymce.create('tinymce.plugins.SpellcheckerPlugin', { - getInfo : function() { - return { - longname : 'Spellchecker', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - }, - - init : function(ed, url) { - var t = this, cm; - - t.url = url; - t.editor = ed; - t.rpcUrl = ed.getParam("spellchecker_rpc_url", "{backend}"); - - if (t.rpcUrl == '{backend}') { - // Sniff if the browser supports native spellchecking (Don't know of a better way) - if (tinymce.isIE) - return; - - t.hasSupport = true; - - // Disable the context menu when spellchecking is active - ed.onContextMenu.addToTop(function(ed, e) { - if (t.active) - return false; - }); - } - - // Register commands - ed.addCommand('mceSpellCheck', function() { - if (t.rpcUrl == '{backend}') { - // Enable/disable native spellchecker - t.editor.getBody().spellcheck = t.active = !t.active; - return; - } - - if (!t.active) { - ed.setProgressState(1); - t._sendRPC('checkWords', [t.selectedLang, t._getWords()], function(r) { - if (r.length > 0) { - t.active = 1; - t._markWords(r); - ed.setProgressState(0); - ed.nodeChanged(); - } else { - ed.setProgressState(0); - - if (ed.getParam('spellchecker_report_no_misspellings', true)) - ed.windowManager.alert('spellchecker.no_mpell'); - } - }); - } else - t._done(); - }); - - if (ed.settings.content_css !== false) - ed.contentCSS.push(url + '/css/content.css'); - - ed.onClick.add(t._showMenu, t); - ed.onContextMenu.add(t._showMenu, t); - ed.onBeforeGetContent.add(function() { - if (t.active) - t._removeWords(); - }); - - ed.onNodeChange.add(function(ed, cm) { - cm.setActive('spellchecker', t.active); - }); - - ed.onSetContent.add(function() { - t._done(); - }); - - ed.onBeforeGetContent.add(function() { - t._done(); - }); - - ed.onBeforeExecCommand.add(function(ed, cmd) { - if (cmd == 'mceFullScreen') - t._done(); - }); - - // Find selected language - t.languages = {}; - each(ed.getParam('spellchecker_languages', '+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv', 'hash'), function(v, k) { - if (k.indexOf('+') === 0) { - k = k.substring(1); - t.selectedLang = v; - } - - t.languages[k] = v; - }); - }, - - createControl : function(n, cm) { - var t = this, c, ed = t.editor; - - if (n == 'spellchecker') { - // Use basic button if we use the native spellchecker - if (t.rpcUrl == '{backend}') { - // Create simple toggle button if we have native support - if (t.hasSupport) - c = cm.createButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t}); - - return c; - } - - c = cm.createSplitButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t}); - - c.onRenderMenu.add(function(c, m) { - m.add({title : 'spellchecker.langs', 'class' : 'mceMenuItemTitle'}).setDisabled(1); - each(t.languages, function(v, k) { - var o = {icon : 1}, mi; - - o.onclick = function() { - if (v == t.selectedLang) { - return; - } - mi.setSelected(1); - t.selectedItem.setSelected(0); - t.selectedItem = mi; - t.selectedLang = v; - }; - - o.title = k; - mi = m.add(o); - mi.setSelected(v == t.selectedLang); - - if (v == t.selectedLang) - t.selectedItem = mi; - }) - }); - - return c; - } - }, - - // Internal functions - - _walk : function(n, f) { - var d = this.editor.getDoc(), w; - - if (d.createTreeWalker) { - w = d.createTreeWalker(n, NodeFilter.SHOW_TEXT, null, false); - - while ((n = w.nextNode()) != null) - f.call(this, n); - } else - tinymce.walk(n, f, 'childNodes'); - }, - - _getSeparators : function() { - var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}§©«®±¶·¸»¼½¾¿×÷¤\u201d\u201c'); - - // Build word separator regexp - for (i=0; i elements content is broken after spellchecking. - // Bug #1408: Preceding whitespace characters are removed - // @TODO: I'm not sure that both are still issues on IE9. - if (tinymce.isIE) { - // Enclose mispelled words with temporal tag - v = v.replace(rx, '$1$2'); - // Loop over the content finding mispelled words - while ((pos = v.indexOf('')) != -1) { - // Add text node for the content before the word - txt = v.substring(0, pos); - if (txt.length) { - node = doc.createTextNode(dom.decode(txt)); - elem.appendChild(node); - } - v = v.substring(pos+10); - pos = v.indexOf(''); - txt = v.substring(0, pos); - v = v.substring(pos+11); - // Add span element for the word - elem.appendChild(dom.create('span', {'class' : 'mceItemHiddenSpellWord'}, txt)); - } - // Add text node for the rest of the content - if (v.length) { - node = doc.createTextNode(dom.decode(v)); - elem.appendChild(node); - } - } else { - // Other browsers preserve whitespace characters on innerHTML usage - elem.innerHTML = v.replace(rx, '$1$2'); - } - - // Finally, replace the node with the container - dom.replace(elem, n); - } - }); - - se.moveToBookmark(b); - }, - - _showMenu : function(ed, e) { - var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin()), wordSpan = e.target; - - e = 0; // Fixes IE memory leak - - if (!m) { - m = ed.controlManager.createDropMenu('spellcheckermenu', {'class' : 'mceNoIcons'}); - t._menu = m; - } - - if (dom.hasClass(wordSpan, 'mceItemHiddenSpellWord')) { - m.removeAll(); - m.add({title : 'spellchecker.wait', 'class' : 'mceMenuItemTitle'}).setDisabled(1); - - t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(wordSpan.innerHTML)], function(r) { - var ignoreRpc; - - m.removeAll(); - - if (r.length > 0) { - m.add({title : 'spellchecker.sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1); - each(r, function(v) { - m.add({title : v, onclick : function() { - dom.replace(ed.getDoc().createTextNode(v), wordSpan); - t._checkDone(); - }}); - }); - - m.addSeparator(); - } else - m.add({title : 'spellchecker.no_sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1); - - if (ed.getParam('show_ignore_words', true)) { - ignoreRpc = t.editor.getParam("spellchecker_enable_ignore_rpc", ''); - m.add({ - title : 'spellchecker.ignore_word', - onclick : function() { - var word = wordSpan.innerHTML; - - dom.remove(wordSpan, 1); - t._checkDone(); - - // tell the server if we need to - if (ignoreRpc) { - ed.setProgressState(1); - t._sendRPC('ignoreWord', [t.selectedLang, word], function(r) { - ed.setProgressState(0); - }); - } - } - }); - - m.add({ - title : 'spellchecker.ignore_words', - onclick : function() { - var word = wordSpan.innerHTML; - - t._removeWords(dom.decode(word)); - t._checkDone(); - - // tell the server if we need to - if (ignoreRpc) { - ed.setProgressState(1); - t._sendRPC('ignoreWords', [t.selectedLang, word], function(r) { - ed.setProgressState(0); - }); - } - } - }); - } - - if (t.editor.getParam("spellchecker_enable_learn_rpc")) { - m.add({ - title : 'spellchecker.learn_word', - onclick : function() { - var word = wordSpan.innerHTML; - - dom.remove(wordSpan, 1); - t._checkDone(); - - ed.setProgressState(1); - t._sendRPC('learnWord', [t.selectedLang, word], function(r) { - ed.setProgressState(0); - }); - } - }); - } - - m.update(); - }); - - p1 = DOM.getPos(ed.getContentAreaContainer()); - m.settings.offset_x = p1.x; - m.settings.offset_y = p1.y; - - ed.selection.select(wordSpan); - p1 = dom.getPos(wordSpan); - m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y); - - return tinymce.dom.Event.cancel(e); - } else - m.hideMenu(); - }, - - _checkDone : function() { - var t = this, ed = t.editor, dom = ed.dom, o; - - each(dom.select('span'), function(n) { - if (n && dom.hasClass(n, 'mceItemHiddenSpellWord')) { - o = true; - return false; - } - }); - - if (!o) - t._done(); - }, - - _done : function() { - var t = this, la = t.active; - - if (t.active) { - t.active = 0; - t._removeWords(); - - if (t._menu) - t._menu.hideMenu(); - - if (la) - t.editor.nodeChanged(); - } - }, - - _sendRPC : function(m, p, cb) { - var t = this; - - JSONRequest.sendRPC({ - url : t.rpcUrl, - method : m, - params : p, - success : cb, - error : function(e, x) { - t.editor.setProgressState(0); - t.editor.windowManager.alert(e.errstr || ('Error response: ' + x.responseText)); - } - }); - } - }); - - // Register plugin - tinymce.PluginManager.add('spellchecker', tinymce.plugins.SpellcheckerPlugin); -})(); diff --git a/js/jquery/tiny_mce/plugins/spellchecker/img/wline.gif b/js/jquery/tiny_mce/plugins/spellchecker/img/wline.gif deleted file mode 100644 index 7d0a4dbc..00000000 Binary files a/js/jquery/tiny_mce/plugins/spellchecker/img/wline.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/plugins/style/css/props.css b/js/jquery/tiny_mce/plugins/style/css/props.css deleted file mode 100644 index eb1f2649..00000000 --- a/js/jquery/tiny_mce/plugins/style/css/props.css +++ /dev/null @@ -1,13 +0,0 @@ -#text_font {width:250px;} -#text_size {width:70px;} -.mceAddSelectValue {background:#DDD;} -select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {width:70px;} -#box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {width:70px;} -#positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {width:70px;} -#positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {width:70px;} -.panel_wrapper div.current {padding-top:10px;height:230px;} -.delim {border-left:1px solid gray;} -.tdelim {border-bottom:1px solid gray;} -#block_display {width:145px;} -#list_type {width:115px;} -.disabled {background:#EEE;} diff --git a/js/jquery/tiny_mce/plugins/style/editor_plugin.js b/js/jquery/tiny_mce/plugins/style/editor_plugin.js deleted file mode 100644 index cab2153c..00000000 --- a/js/jquery/tiny_mce/plugins/style/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(a,b){a.addCommand("mceStyleProps",function(){a.windowManager.open({file:b+"/props.htm",width:480+parseInt(a.getLang("style.delta_width",0)),height:320+parseInt(a.getLang("style.delta_height",0)),inline:1},{plugin_url:b,style_text:a.selection.getNode().style.cssText})});a.addCommand("mceSetElementStyle",function(d,c){if(e=a.selection.getNode()){a.dom.setAttrib(e,"style",c);a.execCommand("mceRepaint")}});a.onNodeChange.add(function(d,c,f){c.setDisabled("styleprops",f.nodeName==="BODY")});a.addButton("styleprops",{title:"style.desc",cmd:"mceStyleProps"})},getInfo:function(){return{longname:"Style",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("style",tinymce.plugins.StylePlugin)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/style/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/style/editor_plugin_src.js deleted file mode 100644 index 5f7755f1..00000000 --- a/js/jquery/tiny_mce/plugins/style/editor_plugin_src.js +++ /dev/null @@ -1,55 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.StylePlugin', { - init : function(ed, url) { - // Register commands - ed.addCommand('mceStyleProps', function() { - ed.windowManager.open({ - file : url + '/props.htm', - width : 480 + parseInt(ed.getLang('style.delta_width', 0)), - height : 320 + parseInt(ed.getLang('style.delta_height', 0)), - inline : 1 - }, { - plugin_url : url, - style_text : ed.selection.getNode().style.cssText - }); - }); - - ed.addCommand('mceSetElementStyle', function(ui, v) { - if (e = ed.selection.getNode()) { - ed.dom.setAttrib(e, 'style', v); - ed.execCommand('mceRepaint'); - } - }); - - ed.onNodeChange.add(function(ed, cm, n) { - cm.setDisabled('styleprops', n.nodeName === 'BODY'); - }); - - // Register buttons - ed.addButton('styleprops', {title : 'style.desc', cmd : 'mceStyleProps'}); - }, - - getInfo : function() { - return { - longname : 'Style', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - // Register plugin - tinymce.PluginManager.add('style', tinymce.plugins.StylePlugin); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/style/js/props.js b/js/jquery/tiny_mce/plugins/style/js/props.js deleted file mode 100644 index 6800a9a9..00000000 --- a/js/jquery/tiny_mce/plugins/style/js/props.js +++ /dev/null @@ -1,635 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var defaultFonts = "" + - "Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" + - "Times New Roman, Times, serif=Times New Roman, Times, serif;" + - "Courier New, Courier, mono=Courier New, Courier, mono;" + - "Times New Roman, Times, serif=Times New Roman, Times, serif;" + - "Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" + - "Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" + - "Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif"; - -var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger"; -var defaultMeasurement = "+pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%"; -var defaultSpacingMeasurement = "pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;+ems=em;exs=ex;%"; -var defaultIndentMeasurement = "pixels=px;+points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%"; -var defaultWeight = "normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900"; -var defaultTextStyle = "normal;italic;oblique"; -var defaultVariant = "normal;small-caps"; -var defaultLineHeight = "normal"; -var defaultAttachment = "fixed;scroll"; -var defaultRepeat = "no-repeat;repeat;repeat-x;repeat-y"; -var defaultPosH = "left;center;right"; -var defaultPosV = "top;center;bottom"; -var defaultVAlign = "baseline;sub;super;top;text-top;middle;bottom;text-bottom"; -var defaultDisplay = "inline;block;list-item;run-in;compact;marker;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none"; -var defaultBorderStyle = "none;solid;dashed;dotted;double;groove;ridge;inset;outset"; -var defaultBorderWidth = "thin;medium;thick"; -var defaultListType = "disc;circle;square;decimal;lower-roman;upper-roman;lower-alpha;upper-alpha;none"; - -function init() { - var ce = document.getElementById('container'), h; - - ce.style.cssText = tinyMCEPopup.getWindowArg('style_text'); - - h = getBrowserHTML('background_image_browser','background_image','image','advimage'); - document.getElementById("background_image_browser").innerHTML = h; - - document.getElementById('text_color_pickcontainer').innerHTML = getColorPickerHTML('text_color_pick','text_color'); - document.getElementById('background_color_pickcontainer').innerHTML = getColorPickerHTML('background_color_pick','background_color'); - document.getElementById('border_color_top_pickcontainer').innerHTML = getColorPickerHTML('border_color_top_pick','border_color_top'); - document.getElementById('border_color_right_pickcontainer').innerHTML = getColorPickerHTML('border_color_right_pick','border_color_right'); - document.getElementById('border_color_bottom_pickcontainer').innerHTML = getColorPickerHTML('border_color_bottom_pick','border_color_bottom'); - document.getElementById('border_color_left_pickcontainer').innerHTML = getColorPickerHTML('border_color_left_pick','border_color_left'); - - fillSelect(0, 'text_font', 'style_font', defaultFonts, ';', true); - fillSelect(0, 'text_size', 'style_font_size', defaultSizes, ';', true); - fillSelect(0, 'text_size_measurement', 'style_font_size_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'text_case', 'style_text_case', "capitalize;uppercase;lowercase", ';', true); - fillSelect(0, 'text_weight', 'style_font_weight', defaultWeight, ';', true); - fillSelect(0, 'text_style', 'style_font_style', defaultTextStyle, ';', true); - fillSelect(0, 'text_variant', 'style_font_variant', defaultVariant, ';', true); - fillSelect(0, 'text_lineheight', 'style_font_line_height', defaultLineHeight, ';', true); - fillSelect(0, 'text_lineheight_measurement', 'style_font_line_height_measurement', defaultMeasurement, ';', true); - - fillSelect(0, 'background_attachment', 'style_background_attachment', defaultAttachment, ';', true); - fillSelect(0, 'background_repeat', 'style_background_repeat', defaultRepeat, ';', true); - - fillSelect(0, 'background_hpos_measurement', 'style_background_hpos_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'background_vpos_measurement', 'style_background_vpos_measurement', defaultMeasurement, ';', true); - - fillSelect(0, 'background_hpos', 'style_background_hpos', defaultPosH, ';', true); - fillSelect(0, 'background_vpos', 'style_background_vpos', defaultPosV, ';', true); - - fillSelect(0, 'block_wordspacing', 'style_wordspacing', 'normal', ';', true); - fillSelect(0, 'block_wordspacing_measurement', 'style_wordspacing_measurement', defaultSpacingMeasurement, ';', true); - fillSelect(0, 'block_letterspacing', 'style_letterspacing', 'normal', ';', true); - fillSelect(0, 'block_letterspacing_measurement', 'style_letterspacing_measurement', defaultSpacingMeasurement, ';', true); - fillSelect(0, 'block_vertical_alignment', 'style_vertical_alignment', defaultVAlign, ';', true); - fillSelect(0, 'block_text_align', 'style_text_align', "left;right;center;justify", ';', true); - fillSelect(0, 'block_whitespace', 'style_whitespace', "normal;pre;nowrap", ';', true); - fillSelect(0, 'block_display', 'style_display', defaultDisplay, ';', true); - fillSelect(0, 'block_text_indent_measurement', 'style_text_indent_measurement', defaultIndentMeasurement, ';', true); - - fillSelect(0, 'box_width_measurement', 'style_box_width_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_height_measurement', 'style_box_height_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_float', 'style_float', 'left;right;none', ';', true); - fillSelect(0, 'box_clear', 'style_clear', 'left;right;both;none', ';', true); - fillSelect(0, 'box_padding_left_measurement', 'style_padding_left_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_padding_top_measurement', 'style_padding_top_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_padding_bottom_measurement', 'style_padding_bottom_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_padding_right_measurement', 'style_padding_right_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_margin_left_measurement', 'style_margin_left_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_margin_top_measurement', 'style_margin_top_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_margin_bottom_measurement', 'style_margin_bottom_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'box_margin_right_measurement', 'style_margin_right_measurement', defaultMeasurement, ';', true); - - fillSelect(0, 'border_style_top', 'style_border_style_top', defaultBorderStyle, ';', true); - fillSelect(0, 'border_style_right', 'style_border_style_right', defaultBorderStyle, ';', true); - fillSelect(0, 'border_style_bottom', 'style_border_style_bottom', defaultBorderStyle, ';', true); - fillSelect(0, 'border_style_left', 'style_border_style_left', defaultBorderStyle, ';', true); - - fillSelect(0, 'border_width_top', 'style_border_width_top', defaultBorderWidth, ';', true); - fillSelect(0, 'border_width_right', 'style_border_width_right', defaultBorderWidth, ';', true); - fillSelect(0, 'border_width_bottom', 'style_border_width_bottom', defaultBorderWidth, ';', true); - fillSelect(0, 'border_width_left', 'style_border_width_left', defaultBorderWidth, ';', true); - - fillSelect(0, 'border_width_top_measurement', 'style_border_width_top_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'border_width_right_measurement', 'style_border_width_right_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'border_width_bottom_measurement', 'style_border_width_bottom_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'border_width_left_measurement', 'style_border_width_left_measurement', defaultMeasurement, ';', true); - - fillSelect(0, 'list_type', 'style_list_type', defaultListType, ';', true); - fillSelect(0, 'list_position', 'style_list_position', "inside;outside", ';', true); - - fillSelect(0, 'positioning_type', 'style_positioning_type', "absolute;relative;static", ';', true); - fillSelect(0, 'positioning_visibility', 'style_positioning_visibility', "inherit;visible;hidden", ';', true); - - fillSelect(0, 'positioning_width_measurement', 'style_positioning_width_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_height_measurement', 'style_positioning_height_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_overflow', 'style_positioning_overflow', "visible;hidden;scroll;auto", ';', true); - - fillSelect(0, 'positioning_placement_top_measurement', 'style_positioning_placement_top_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_placement_right_measurement', 'style_positioning_placement_right_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_placement_bottom_measurement', 'style_positioning_placement_bottom_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_placement_left_measurement', 'style_positioning_placement_left_measurement', defaultMeasurement, ';', true); - - fillSelect(0, 'positioning_clip_top_measurement', 'style_positioning_clip_top_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_clip_right_measurement', 'style_positioning_clip_right_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_clip_bottom_measurement', 'style_positioning_clip_bottom_measurement', defaultMeasurement, ';', true); - fillSelect(0, 'positioning_clip_left_measurement', 'style_positioning_clip_left_measurement', defaultMeasurement, ';', true); - - TinyMCE_EditableSelects.init(); - setupFormData(); - showDisabledControls(); -} - -function setupFormData() { - var ce = document.getElementById('container'), f = document.forms[0], s, b, i; - - // Setup text fields - - selectByValue(f, 'text_font', ce.style.fontFamily, true, true); - selectByValue(f, 'text_size', getNum(ce.style.fontSize), true, true); - selectByValue(f, 'text_size_measurement', getMeasurement(ce.style.fontSize)); - selectByValue(f, 'text_weight', ce.style.fontWeight, true, true); - selectByValue(f, 'text_style', ce.style.fontStyle, true, true); - selectByValue(f, 'text_lineheight', getNum(ce.style.lineHeight), true, true); - selectByValue(f, 'text_lineheight_measurement', getMeasurement(ce.style.lineHeight)); - selectByValue(f, 'text_case', ce.style.textTransform, true, true); - selectByValue(f, 'text_variant', ce.style.fontVariant, true, true); - f.text_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.color); - updateColor('text_color_pick', 'text_color'); - f.text_underline.checked = inStr(ce.style.textDecoration, 'underline'); - f.text_overline.checked = inStr(ce.style.textDecoration, 'overline'); - f.text_linethrough.checked = inStr(ce.style.textDecoration, 'line-through'); - f.text_blink.checked = inStr(ce.style.textDecoration, 'blink'); - - // Setup background fields - - f.background_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.backgroundColor); - updateColor('background_color_pick', 'background_color'); - f.background_image.value = ce.style.backgroundImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); - selectByValue(f, 'background_repeat', ce.style.backgroundRepeat, true, true); - selectByValue(f, 'background_attachment', ce.style.backgroundAttachment, true, true); - selectByValue(f, 'background_hpos', getNum(getVal(ce.style.backgroundPosition, 0)), true, true); - selectByValue(f, 'background_hpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 0))); - selectByValue(f, 'background_vpos', getNum(getVal(ce.style.backgroundPosition, 1)), true, true); - selectByValue(f, 'background_vpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 1))); - - // Setup block fields - - selectByValue(f, 'block_wordspacing', getNum(ce.style.wordSpacing), true, true); - selectByValue(f, 'block_wordspacing_measurement', getMeasurement(ce.style.wordSpacing)); - selectByValue(f, 'block_letterspacing', getNum(ce.style.letterSpacing), true, true); - selectByValue(f, 'block_letterspacing_measurement', getMeasurement(ce.style.letterSpacing)); - selectByValue(f, 'block_vertical_alignment', ce.style.verticalAlign, true, true); - selectByValue(f, 'block_text_align', ce.style.textAlign, true, true); - f.block_text_indent.value = getNum(ce.style.textIndent); - selectByValue(f, 'block_text_indent_measurement', getMeasurement(ce.style.textIndent)); - selectByValue(f, 'block_whitespace', ce.style.whiteSpace, true, true); - selectByValue(f, 'block_display', ce.style.display, true, true); - - // Setup box fields - - f.box_width.value = getNum(ce.style.width); - selectByValue(f, 'box_width_measurement', getMeasurement(ce.style.width)); - - f.box_height.value = getNum(ce.style.height); - selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height)); - selectByValue(f, 'box_float', ce.style.cssFloat || ce.style.styleFloat, true, true); - - selectByValue(f, 'box_clear', ce.style.clear, true, true); - - setupBox(f, ce, 'box_padding', 'padding', ''); - setupBox(f, ce, 'box_margin', 'margin', ''); - - // Setup border fields - - setupBox(f, ce, 'border_style', 'border', 'Style'); - setupBox(f, ce, 'border_width', 'border', 'Width'); - setupBox(f, ce, 'border_color', 'border', 'Color'); - - updateColor('border_color_top_pick', 'border_color_top'); - updateColor('border_color_right_pick', 'border_color_right'); - updateColor('border_color_bottom_pick', 'border_color_bottom'); - updateColor('border_color_left_pick', 'border_color_left'); - - f.elements.border_color_top.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_top.value); - f.elements.border_color_right.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_right.value); - f.elements.border_color_bottom.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_bottom.value); - f.elements.border_color_left.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_left.value); - - // Setup list fields - - selectByValue(f, 'list_type', ce.style.listStyleType, true, true); - selectByValue(f, 'list_position', ce.style.listStylePosition, true, true); - f.list_bullet_image.value = ce.style.listStyleImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); - - // Setup box fields - - selectByValue(f, 'positioning_type', ce.style.position, true, true); - selectByValue(f, 'positioning_visibility', ce.style.visibility, true, true); - selectByValue(f, 'positioning_overflow', ce.style.overflow, true, true); - f.positioning_zindex.value = ce.style.zIndex ? ce.style.zIndex : ""; - - f.positioning_width.value = getNum(ce.style.width); - selectByValue(f, 'positioning_width_measurement', getMeasurement(ce.style.width)); - - f.positioning_height.value = getNum(ce.style.height); - selectByValue(f, 'positioning_height_measurement', getMeasurement(ce.style.height)); - - setupBox(f, ce, 'positioning_placement', '', '', ['top', 'right', 'bottom', 'left']); - - s = ce.style.clip.replace(new RegExp("rect\\('?([^']*)'?\\)", 'gi'), "$1"); - s = s.replace(/,/g, ' '); - - if (!hasEqualValues([getVal(s, 0), getVal(s, 1), getVal(s, 2), getVal(s, 3)])) { - f.positioning_clip_top.value = getNum(getVal(s, 0)); - selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); - f.positioning_clip_right.value = getNum(getVal(s, 1)); - selectByValue(f, 'positioning_clip_right_measurement', getMeasurement(getVal(s, 1))); - f.positioning_clip_bottom.value = getNum(getVal(s, 2)); - selectByValue(f, 'positioning_clip_bottom_measurement', getMeasurement(getVal(s, 2))); - f.positioning_clip_left.value = getNum(getVal(s, 3)); - selectByValue(f, 'positioning_clip_left_measurement', getMeasurement(getVal(s, 3))); - } else { - f.positioning_clip_top.value = getNum(getVal(s, 0)); - selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); - f.positioning_clip_right.value = f.positioning_clip_bottom.value = f.positioning_clip_left.value; - } - -// setupBox(f, ce, '', 'border', 'Color'); -} - -function getMeasurement(s) { - return s.replace(/^([0-9.]+)(.*)$/, "$2"); -} - -function getNum(s) { - if (new RegExp('^(?:[0-9.]+)(?:[a-z%]+)$', 'gi').test(s)) - return s.replace(/[^0-9.]/g, ''); - - return s; -} - -function inStr(s, n) { - return new RegExp(n, 'gi').test(s); -} - -function getVal(s, i) { - var a = s.split(' '); - - if (a.length > 1) - return a[i]; - - return ""; -} - -function setValue(f, n, v) { - if (f.elements[n].type == "text") - f.elements[n].value = v; - else - selectByValue(f, n, v, true, true); -} - -function setupBox(f, ce, fp, pr, sf, b) { - if (typeof(b) == "undefined") - b = ['Top', 'Right', 'Bottom', 'Left']; - - if (isSame(ce, pr, sf, b)) { - f.elements[fp + "_same"].checked = true; - - setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); - f.elements[fp + "_top"].disabled = false; - - f.elements[fp + "_right"].value = ""; - f.elements[fp + "_right"].disabled = true; - f.elements[fp + "_bottom"].value = ""; - f.elements[fp + "_bottom"].disabled = true; - f.elements[fp + "_left"].value = ""; - f.elements[fp + "_left"].disabled = true; - - if (f.elements[fp + "_top_measurement"]) { - selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); - f.elements[fp + "_left_measurement"].disabled = true; - f.elements[fp + "_bottom_measurement"].disabled = true; - f.elements[fp + "_right_measurement"].disabled = true; - } - } else { - f.elements[fp + "_same"].checked = false; - - setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); - f.elements[fp + "_top"].disabled = false; - - setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf])); - f.elements[fp + "_right"].disabled = false; - - setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf])); - f.elements[fp + "_bottom"].disabled = false; - - setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf])); - f.elements[fp + "_left"].disabled = false; - - if (f.elements[fp + "_top_measurement"]) { - selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); - selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf])); - selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf])); - selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf])); - f.elements[fp + "_left_measurement"].disabled = false; - f.elements[fp + "_bottom_measurement"].disabled = false; - f.elements[fp + "_right_measurement"].disabled = false; - } - } -} - -function isSame(e, pr, sf, b) { - var a = [], i, x; - - if (typeof(b) == "undefined") - b = ['Top', 'Right', 'Bottom', 'Left']; - - if (typeof(sf) == "undefined" || sf == null) - sf = ""; - - a[0] = e.style[pr + b[0] + sf]; - a[1] = e.style[pr + b[1] + sf]; - a[2] = e.style[pr + b[2] + sf]; - a[3] = e.style[pr + b[3] + sf]; - - for (i=0; i 0 ? s.substring(1) : s; - - if (f.text_none.checked) - s = "none"; - - ce.style.textDecoration = s; - - // Build background styles - - ce.style.backgroundColor = f.background_color.value; - ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : ""; - ce.style.backgroundRepeat = f.background_repeat.value; - ce.style.backgroundAttachment = f.background_attachment.value; - - if (f.background_hpos.value != "") { - s = ""; - s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " "; - s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : ""); - ce.style.backgroundPosition = s; - } - - // Build block styles - - ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : ""); - ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : ""); - ce.style.verticalAlign = f.block_vertical_alignment.value; - ce.style.textAlign = f.block_text_align.value; - ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : ""); - ce.style.whiteSpace = f.block_whitespace.value; - ce.style.display = f.block_display.value; - - // Build box styles - - ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : ""); - ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : ""); - ce.style.styleFloat = f.box_float.value; - ce.style.cssFloat = f.box_float.value; - - ce.style.clear = f.box_clear.value; - - if (!f.box_padding_same.checked) { - ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); - ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : ""); - ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : ""); - ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : ""); - } else - ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); - - if (!f.box_margin_same.checked) { - ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); - ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : ""); - ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : ""); - ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : ""); - } else - ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); - - // Build border styles - - if (!f.border_style_same.checked) { - ce.style.borderTopStyle = f.border_style_top.value; - ce.style.borderRightStyle = f.border_style_right.value; - ce.style.borderBottomStyle = f.border_style_bottom.value; - ce.style.borderLeftStyle = f.border_style_left.value; - } else - ce.style.borderStyle = f.border_style_top.value; - - if (!f.border_width_same.checked) { - ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); - ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : ""); - ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : ""); - ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : ""); - } else - ce.style.borderWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); - - if (!f.border_color_same.checked) { - ce.style.borderTopColor = f.border_color_top.value; - ce.style.borderRightColor = f.border_color_right.value; - ce.style.borderBottomColor = f.border_color_bottom.value; - ce.style.borderLeftColor = f.border_color_left.value; - } else - ce.style.borderColor = f.border_color_top.value; - - // Build list styles - - ce.style.listStyleType = f.list_type.value; - ce.style.listStylePosition = f.list_position.value; - ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : ""; - - // Build positioning styles - - ce.style.position = f.positioning_type.value; - ce.style.visibility = f.positioning_visibility.value; - - if (ce.style.width == "") - ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : ""); - - if (ce.style.height == "") - ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : ""); - - ce.style.zIndex = f.positioning_zindex.value; - ce.style.overflow = f.positioning_overflow.value; - - if (!f.positioning_placement_same.checked) { - ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); - ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : ""); - ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : ""); - ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : ""); - } else { - s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); - ce.style.top = s; - ce.style.right = s; - ce.style.bottom = s; - ce.style.left = s; - } - - if (!f.positioning_clip_same.checked) { - s = "rect("; - s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " "; - s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " "; - s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " "; - s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto"); - s += ")"; - - if (s != "rect(auto auto auto auto)") - ce.style.clip = s; - } else { - s = "rect("; - t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto"; - s += t + " "; - s += t + " "; - s += t + " "; - s += t + ")"; - - if (s != "rect(auto auto auto auto)") - ce.style.clip = s; - } - - ce.style.cssText = ce.style.cssText; -} - -function isNum(s) { - return new RegExp('[0-9]+', 'g').test(s); -} - -function showDisabledControls() { - var f = document.forms, i, a; - - for (i=0; i 1) { - addSelectValue(f, s, p[0], p[1]); - - if (se) - selectByValue(f, s, p[1]); - } else { - addSelectValue(f, s, p[0], p[0]); - - if (se) - selectByValue(f, s, p[0]); - } - } -} - -function toggleSame(ce, pre) { - var el = document.forms[0].elements, i; - - if (ce.checked) { - el[pre + "_top"].disabled = false; - el[pre + "_right"].disabled = true; - el[pre + "_bottom"].disabled = true; - el[pre + "_left"].disabled = true; - - if (el[pre + "_top_measurement"]) { - el[pre + "_top_measurement"].disabled = false; - el[pre + "_right_measurement"].disabled = true; - el[pre + "_bottom_measurement"].disabled = true; - el[pre + "_left_measurement"].disabled = true; - } - } else { - el[pre + "_top"].disabled = false; - el[pre + "_right"].disabled = false; - el[pre + "_bottom"].disabled = false; - el[pre + "_left"].disabled = false; - - if (el[pre + "_top_measurement"]) { - el[pre + "_top_measurement"].disabled = false; - el[pre + "_right_measurement"].disabled = false; - el[pre + "_bottom_measurement"].disabled = false; - el[pre + "_left_measurement"].disabled = false; - } - } - - showDisabledControls(); -} - -function synch(fr, to) { - var f = document.forms[0]; - - f.elements[to].value = f.elements[fr].value; - - if (f.elements[fr + "_measurement"]) - selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value); -} - -tinyMCEPopup.onInit.add(init); diff --git a/js/jquery/tiny_mce/plugins/style/langs/en_dlg.js b/js/jquery/tiny_mce/plugins/style/langs/en_dlg.js deleted file mode 100644 index 9a1d4a22..00000000 --- a/js/jquery/tiny_mce/plugins/style/langs/en_dlg.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.style_dlg',{"text_lineheight":"Line Height","text_variant":"Variant","text_style":"Style","text_weight":"Weight","text_size":"Size","text_font":"Font","text_props":"Text","positioning_tab":"Positioning","list_tab":"List","border_tab":"Border","box_tab":"Box","block_tab":"Block","background_tab":"Background","text_tab":"Text",apply:"Apply",title:"Edit CSS Style",clip:"Clip",placement:"Placement",overflow:"Overflow",zindex:"Z-index",visibility:"Visibility","positioning_type":"Type",position:"Position","bullet_image":"Bullet Image","list_type":"Type",color:"Color",height:"Height",width:"Width",style:"Style",margin:"Margin",left:"Left",bottom:"Bottom",right:"Right",top:"Top",same:"Same for All",padding:"Padding","box_clear":"Clear","box_float":"Float","box_height":"Height","box_width":"Width","block_display":"Display","block_whitespace":"Whitespace","block_text_indent":"Text Indent","block_text_align":"Text Align","block_vertical_alignment":"Vertical Alignment","block_letterspacing":"Letter Spacing","block_wordspacing":"Word Spacing","background_vpos":"Vertical Position","background_hpos":"Horizontal Position","background_attachment":"Attachment","background_repeat":"Repeat","background_image":"Background Image","background_color":"Background Color","text_none":"None","text_blink":"Blink","text_case":"Case","text_striketrough":"Strikethrough","text_underline":"Underline","text_overline":"Overline","text_decoration":"Decoration","text_color":"Color",text:"Text",background:"Background",block:"Block",box:"Box",border:"Border",list:"List"}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/style/props.htm b/js/jquery/tiny_mce/plugins/style/props.htm deleted file mode 100644 index 76ab68d8..00000000 --- a/js/jquery/tiny_mce/plugins/style/props.htm +++ /dev/null @@ -1,840 +0,0 @@ - - - - {#style_dlg.title} - - - - - - - - - - -
    - - -
    -
    -
    - {#style_dlg.text} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - - - - -
      - - -
    -
    - -
    - - - -
    - - - - - - -
    - -   - - -
    -
    - -
    - - - - - -
     
    -
    {#style_dlg.text_decoration} - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    - -
    -
    - {#style_dlg.background} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
     
    -
    - - - - -
     
    -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    -
    -
    - -
    -
    - {#style_dlg.block} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - - -
    -
    -
    -
    - -
    -
    - {#style_dlg.box} - - - - - - - - - - - - - - -
    - - - - - - -
      - - -
    -
       
    - - - - - - -
      - - -
    -
       
    -
    - -
    -
    - {#style_dlg.padding} - - - - - - - - - - - - - - - - - - - - - - -
     
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    -
    -
    - -
    -
    - {#style_dlg.margin} - - - - - - - - - - - - - - - - - - - - - - -
     
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    - - - - - - -
      - - -
    -
    -
    -
    -
    -
    - -
    -
    - {#style_dlg.border} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      {#style_dlg.style} {#style_dlg.width} {#style_dlg.color}
          
    {#style_dlg.top}   - - - - - - -
      - - -
    -
      - - - - - -
     
    -
    {#style_dlg.right}   - - - - - - -
      - - -
    -
      - - - - - -
     
    -
    {#style_dlg.bottom}   - - - - - - -
      - - -
    -
      - - - - - -
     
    -
    {#style_dlg.left}   - - - - - - -
      - - -
    -
      - - - - - -
     
    -
    -
    -
    - -
    -
    - {#style_dlg.list} - - - - - - - - - - - - - - - -
    -
    -
    - -
    -
    - {#style_dlg.position} - - - - - - - - - - - - - - - - - - - - - -
       
    - - - - - - -
      - - -
    -
       
    - - - - - - -
      - - -
    -
       
    -
    - -
    -
    - {#style_dlg.placement} - - - - - - - - - - - - - - - - - - - - - - -
     
    {#style_dlg.top} - - - - - - -
      - - -
    -
    {#style_dlg.right} - - - - - - -
      - - -
    -
    {#style_dlg.bottom} - - - - - - -
      - - -
    -
    {#style_dlg.left} - - - - - - -
      - - -
    -
    -
    -
    - -
    -
    - {#style_dlg.clip} - - - - - - - - - - - - - - - - - - - - - - -
     
    {#style_dlg.top} - - - - - - -
      - - -
    -
    {#style_dlg.right} - - - - - - -
      - - -
    -
    {#style_dlg.bottom} - - - - - - -
      - - -
    -
    {#style_dlg.left} - - - - - - -
      - - -
    -
    -
    -
    -
    -
    -
    - -
    - - - -
    -
    - -
    -
    -
    - - - diff --git a/js/jquery/tiny_mce/plugins/tabfocus/editor_plugin.js b/js/jquery/tiny_mce/plugins/tabfocus/editor_plugin.js deleted file mode 100644 index 42a82d11..00000000 --- a/js/jquery/tiny_mce/plugins/tabfocus/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(t){n=c.select(":input:enabled,*[tabindex]");function s(v){return v.nodeName==="BODY"||(v.type!="hidden"&&!(v.style.display=="none")&&!(v.style.visibility=="hidden")&&s(v.parentNode))}function i(v){return v.attributes.tabIndex.specified||v.nodeName=="INPUT"||v.nodeName=="TEXTAREA"}function u(){return tinymce.isIE6||tinymce.isIE7}function r(v){return((!u()||i(v)))&&v.getAttribute("tabindex")!="-1"&&s(v)}d(n,function(w,v){if(w.id==l.id){j=v;return false}});if(t>0){for(m=j+1;m=0;m--){if(r(n[m])){return n[m]}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(n.id&&(l=tinymce.get(n.id||n.name))){l.focus()}else{window.setTimeout(function(){if(!tinymce.isWebKit){window.focus()}n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/tabfocus/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/tabfocus/editor_plugin_src.js deleted file mode 100644 index a1579c85..00000000 --- a/js/jquery/tiny_mce/plugins/tabfocus/editor_plugin_src.js +++ /dev/null @@ -1,122 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode; - - tinymce.create('tinymce.plugins.TabFocusPlugin', { - init : function(ed, url) { - function tabCancel(ed, e) { - if (e.keyCode === 9) - return Event.cancel(e); - } - - function tabHandler(ed, e) { - var x, i, f, el, v; - - function find(d) { - el = DOM.select(':input:enabled,*[tabindex]'); - - function canSelectRecursive(e) { - return e.nodeName==="BODY" || (e.type != 'hidden' && - !(e.style.display == "none") && - !(e.style.visibility == "hidden") && canSelectRecursive(e.parentNode)); - } - function canSelectInOldIe(el) { - return el.attributes["tabIndex"].specified || el.nodeName == "INPUT" || el.nodeName == "TEXTAREA"; - } - function isOldIe() { - return tinymce.isIE6 || tinymce.isIE7; - } - function canSelect(el) { - return ((!isOldIe() || canSelectInOldIe(el))) && el.getAttribute("tabindex") != '-1' && canSelectRecursive(el); - } - - each(el, function(e, i) { - if (e.id == ed.id) { - x = i; - return false; - } - }); - if (d > 0) { - for (i = x + 1; i < el.length; i++) { - if (canSelect(el[i])) - return el[i]; - } - } else { - for (i = x - 1; i >= 0; i--) { - if (canSelect(el[i])) - return el[i]; - } - } - - return null; - } - - if (e.keyCode === 9) { - v = explode(ed.getParam('tab_focus', ed.getParam('tabfocus_elements', ':prev,:next'))); - - if (v.length == 1) { - v[1] = v[0]; - v[0] = ':prev'; - } - - // Find element to focus - if (e.shiftKey) { - if (v[0] == ':prev') - el = find(-1); - else - el = DOM.get(v[0]); - } else { - if (v[1] == ':next') - el = find(1); - else - el = DOM.get(v[1]); - } - - if (el) { - if (el.id && (ed = tinymce.get(el.id || el.name))) - ed.focus(); - else - window.setTimeout(function() { - if (!tinymce.isWebKit) - window.focus(); - el.focus(); - }, 10); - - return Event.cancel(e); - } - } - } - - ed.onKeyUp.add(tabCancel); - - if (tinymce.isGecko) { - ed.onKeyPress.add(tabHandler); - ed.onKeyDown.add(tabCancel); - } else - ed.onKeyDown.add(tabHandler); - - }, - - getInfo : function() { - return { - longname : 'Tabfocus', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - // Register plugin - tinymce.PluginManager.add('tabfocus', tinymce.plugins.TabFocusPlugin); -})(); diff --git a/js/jquery/tiny_mce/plugins/table/cell.htm b/js/jquery/tiny_mce/plugins/table/cell.htm deleted file mode 100644 index a72a8d69..00000000 --- a/js/jquery/tiny_mce/plugins/table/cell.htm +++ /dev/null @@ -1,180 +0,0 @@ - - - - {#table_dlg.cell_title} - - - - - - - - - -
    - - -
    -
    -
    - {#table_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - -
    - - - -
    - -
    -
    -
    - -
    -
    - {#table_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - - - - - -
     
    -
    - - - - - -
     
    -
    - - - - - -
     
    -
    -
    -
    -
    - -
    -
    - -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/table/css/cell.css b/js/jquery/tiny_mce/plugins/table/css/cell.css deleted file mode 100644 index a067ecdf..00000000 --- a/js/jquery/tiny_mce/plugins/table/css/cell.css +++ /dev/null @@ -1,17 +0,0 @@ -/* CSS file for cell dialog in the table plugin */ - -.panel_wrapper div.current { - height: 200px; -} - -.advfield { - width: 200px; -} - -#action { - margin-bottom: 3px; -} - -#class { - width: 150px; -} \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/table/css/row.css b/js/jquery/tiny_mce/plugins/table/css/row.css deleted file mode 100644 index 1f7755da..00000000 --- a/js/jquery/tiny_mce/plugins/table/css/row.css +++ /dev/null @@ -1,25 +0,0 @@ -/* CSS file for row dialog in the table plugin */ - -.panel_wrapper div.current { - height: 200px; -} - -.advfield { - width: 200px; -} - -#action { - margin-bottom: 3px; -} - -#rowtype,#align,#valign,#class,#height { - width: 150px; -} - -#height { - width: 50px; -} - -.col2 { - padding-left: 20px; -} diff --git a/js/jquery/tiny_mce/plugins/table/css/table.css b/js/jquery/tiny_mce/plugins/table/css/table.css deleted file mode 100644 index d11c3f69..00000000 --- a/js/jquery/tiny_mce/plugins/table/css/table.css +++ /dev/null @@ -1,13 +0,0 @@ -/* CSS file for table dialog in the table plugin */ - -.panel_wrapper div.current { - height: 245px; -} - -.advfield { - width: 200px; -} - -#class { - width: 150px; -} diff --git a/js/jquery/tiny_mce/plugins/table/editor_plugin.js b/js/jquery/tiny_mce/plugins/table/editor_plugin.js deleted file mode 100644 index 2f3b0e2d..00000000 --- a/js/jquery/tiny_mce/plugins/table/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(d){var e=d.each;function c(g,h){var j=h.ownerDocument,f=j.createRange(),k;f.setStartBefore(h);f.setEnd(g.endContainer,g.endOffset);k=j.createElement("body");k.appendChild(f.cloneContents());return k.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length==0}function a(g,f){return parseInt(g.getAttribute(f)||1)}function b(H,G,K){var g,L,D,o;t();o=G.getParent(K.getStart(),"th,td");if(o){L=F(o);D=I();o=z(L.x,L.y)}function A(N,M){N=N.cloneNode(M);N.removeAttribute("id");return N}function t(){var M=0;g=[];e(["thead","tbody","tfoot"],function(N){var O=G.select("> "+N+" tr",H);e(O,function(P,Q){Q+=M;e(G.select("> td, > th",P),function(W,R){var S,T,U,V;if(g[Q]){while(g[Q][R]){R++}}U=a(W,"rowspan");V=a(W,"colspan");for(T=Q;T'}return false}},"childNodes");M=A(M,false);s(M,"rowSpan",1);s(M,"colSpan",1);if(N){M.appendChild(N)}else{if(!d.isIE){M.innerHTML='
    '}}return M}function q(){var M=G.createRng();e(G.select("tr",H),function(N){if(N.cells.length==0){G.remove(N)}});if(G.select("tr",H).length==0){M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H);return}e(G.select("thead,tbody,tfoot",H),function(N){if(N.rows.length==0){G.remove(N)}});t();row=g[Math.min(g.length-1,L.y)];if(row){K.select(row[Math.min(row.length-1,L.x)].elm,true);K.collapse(true)}}function u(S,Q,U,R){var P,N,M,O,T;P=g[Q][S].elm.parentNode;for(M=1;M<=U;M++){P=G.getNext(P,"tr");if(P){for(N=S;N>=0;N--){T=g[Q+M][N].elm;if(T.parentNode==P){for(O=1;O<=R;O++){G.insertAfter(f(T),T)}break}}if(N==-1){for(O=1;O<=R;O++){P.insertBefore(f(P.cells[0]),P.cells[0])}}}}}function C(){e(g,function(M,N){e(M,function(P,O){var S,R,T,Q;if(j(P)){P=P.elm;S=a(P,"colspan");R=a(P,"rowspan");if(S>1||R>1){s(P,"rowSpan",1);s(P,"colSpan",1);for(Q=0;Q1){s(S,"rowSpan",O+1);continue}}else{if(M>0&&g[M-1][R]){V=g[M-1][R].elm;O=a(V,"rowSpan");if(O>1){s(V,"rowSpan",O+1);continue}}}N=f(S);s(N,"colSpan",S.colSpan);U.appendChild(N);P=S}}if(U.hasChildNodes()){if(!Q){G.insertAfter(U,T)}else{T.parentNode.insertBefore(U,T)}}}function h(N){var O,M;e(g,function(P,Q){e(P,function(S,R){if(j(S)){O=R;if(N){return false}}});if(N){return !O}});e(g,function(S,T){var P,Q,R;if(!S[O]){return}P=S[O].elm;if(P!=M){R=a(P,"colspan");Q=a(P,"rowspan");if(R==1){if(!N){G.insertAfter(f(P),P);u(O,T,Q-1,R)}else{P.parentNode.insertBefore(f(P),P);u(O,T,Q-1,R)}}else{s(P,"colSpan",P.colSpan+1)}M=P}})}function n(){var M=[];e(g,function(N,O){e(N,function(Q,P){if(j(Q)&&d.inArray(M,P)===-1){e(g,function(T){var R=T[P].elm,S;S=a(R,"colSpan");if(S>1){s(R,"colSpan",S-1)}else{G.remove(R)}});M.push(P)}})});q()}function m(){var N;function M(Q){var P,R,O;P=G.getNext(Q,"tr");e(Q.cells,function(S){var T=a(S,"rowSpan");if(T>1){s(S,"rowSpan",T-1);R=F(S);u(R.x,R.y,1,1)}});R=F(Q.cells[0]);e(g[R.y],function(S){var T;S=S.elm;if(S!=O){T=a(S,"rowSpan");if(T<=1){G.remove(S)}else{s(S,"rowSpan",T-1)}O=S}})}N=k();e(N.reverse(),function(O){M(O)});q()}function E(){var M=k();G.remove(M);q();return M}function J(){var M=k();e(M,function(O,N){M[N]=A(O,true)});return M}function B(O,N){var P=k(),M=P[N?0:P.length-1],Q=M.cells.length;e(g,function(S){var R;Q=0;e(S,function(U,T){if(U.real){Q+=U.colspan}if(U.elm.parentNode==M){R=1}});if(R){return false}});if(!N){O.reverse()}e(O,function(T){var S=T.cells.length,R;for(i=0;iN){N=R}if(Q>M){M=Q}if(S.real){U=S.colspan-1;T=S.rowspan-1;if(U){if(R+U>N){N=R+U}}if(T){if(Q+T>M){M=Q+T}}}}})});return{x:N,y:M}}function v(S){var P,O,U,T,N,M,Q,R;D=F(S);if(L&&D){P=Math.min(L.x,D.x);O=Math.min(L.y,D.y);U=Math.max(L.x,D.x);T=Math.max(L.y,D.y);N=U;M=T;for(y=O;y<=M;y++){S=g[y][P];if(!S.real){if(P-(S.colspan-1)N){N=x+Q}}if(R){if(y+R>M){M=y+R}}}}}G.removeClass(G.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=O;y<=M;y++){for(x=P;x<=N;x++){if(g[y][x]){G.addClass(g[y][x].elm,"mceSelected")}}}}}d.extend(this,{deleteTable:r,split:C,merge:p,insertRow:l,insertCol:h,deleteCols:n,deleteRows:m,cutRows:E,copyRows:J,pasteRows:B,getPos:F,setStartCell:w,setEndCell:v})}d.create("tinymce.plugins.TablePlugin",{init:function(g,h){var f,m,j=true;function l(p){var o=g.selection,n=g.dom.getParent(p||o.getNode(),"table");if(n){return new b(n,g.dom,o)}}function k(){g.getBody().style.webkitUserSelect="";if(j){g.dom.removeClass(g.dom.select("td.mceSelected,th.mceSelected"),"mceSelected");j=false}}e([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(n){g.addButton(n[0],{title:n[1],cmd:n[2],ui:n[3]})});if(!d.isIE){g.onClick.add(function(n,o){o=o.target;if(o.nodeName==="TABLE"){n.selection.select(o);n.nodeChanged()}})}g.onPreProcess.add(function(o,p){var n,q,r,t=o.dom,s;n=t.select("table",p.node);q=n.length;while(q--){r=n[q];t.setAttrib(r,"data-mce-style","");if((s=t.getAttrib(r,"width"))){t.setStyle(r,"width",s);t.setAttrib(r,"width","")}if((s=t.getAttrib(r,"height"))){t.setStyle(r,"height",s);t.setAttrib(r,"height","")}}});g.onNodeChange.add(function(q,o,s){var r;s=q.selection.getStart();r=q.dom.getParent(s,"td,th,caption");o.setActive("table",s.nodeName==="TABLE"||!!r);if(r&&r.nodeName==="CAPTION"){r=0}o.setDisabled("delete_table",!r);o.setDisabled("delete_col",!r);o.setDisabled("delete_table",!r);o.setDisabled("delete_row",!r);o.setDisabled("col_after",!r);o.setDisabled("col_before",!r);o.setDisabled("row_after",!r);o.setDisabled("row_before",!r);o.setDisabled("row_props",!r);o.setDisabled("cell_props",!r);o.setDisabled("split_cells",!r);o.setDisabled("merge_cells",!r)});g.onInit.add(function(r){var p,t,q=r.dom,u;f=r.windowManager;r.onMouseDown.add(function(w,z){if(z.button!=2){k();t=q.getParent(z.target,"td,th");p=q.getParent(t,"table")}});q.bind(r.getDoc(),"mouseover",function(C){var A,z,B=C.target;if(t&&(u||B!=t)&&(B.nodeName=="TD"||B.nodeName=="TH")){z=q.getParent(B,"table");if(z==p){if(!u){u=l(z);u.setStartCell(t);r.getBody().style.webkitUserSelect="none"}u.setEndCell(B);j=true}A=r.selection.getSel();try{if(A.removeAllRanges){A.removeAllRanges()}else{A.empty()}}catch(w){}C.preventDefault()}});r.onMouseUp.add(function(F,G){var z,B=F.selection,H,I=B.getSel(),w,C,A,E;if(t){if(u){F.getBody().style.webkitUserSelect=""}function D(J,L){var K=new d.dom.TreeWalker(J,J);do{if(J.nodeType==3&&d.trim(J.nodeValue).length!=0){if(L){z.setStart(J,0)}else{z.setEnd(J,J.nodeValue.length)}return}if(J.nodeName=="BR"){if(L){z.setStartBefore(J)}else{z.setEndBefore(J)}return}}while(J=(L?K.next():K.prev()))}H=q.select("td.mceSelected,th.mceSelected");if(H.length>0){z=q.createRng();C=H[0];E=H[H.length-1];z.setStartBefore(C);z.setEndAfter(C);D(C,1);w=new d.dom.TreeWalker(C,q.getParent(H[0],"table"));do{if(C.nodeName=="TD"||C.nodeName=="TH"){if(!q.hasClass(C,"mceSelected")){break}A=C}}while(C=w.next());D(A);B.setRng(z)}F.nodeChanged();t=u=p=null}});r.onKeyUp.add(function(w,z){k()});r.onKeyDown.add(function(w,z){n(w)});r.onMouseDown.add(function(w,z){if(z.button!=2){n(w)}});function o(D,z,A,F){var B=3,G=D.dom.getParent(z.startContainer,"TABLE"),C,w,E;if(G){C=G.parentNode}w=z.startContainer.nodeType==B&&z.startOffset==0&&z.endOffset==0&&F&&(A.nodeName=="TR"||A==C);E=(A.nodeName=="TD"||A.nodeName=="TH")&&!F;return w||E}function n(A){if(!d.isWebKit){return}var z=A.selection.getRng();var C=A.selection.getNode();var B=A.dom.getParent(z.startContainer,"TD,TH");if(!o(A,z,C,B)){return}if(!B){B=C}var w=B.lastChild;while(w.lastChild){w=w.lastChild}z.setEnd(w,w.nodeValue.length);A.selection.setRng(z)}r.plugins.table.fixTableCellSelection=n;if(r&&r.plugins.contextmenu){r.plugins.contextmenu.onContextMenu.add(function(A,w,C){var D,B=r.selection,z=B.getNode()||r.getBody();if(r.dom.getParent(C,"td")||r.dom.getParent(C,"th")||r.dom.select("td.mceSelected,th.mceSelected").length){w.removeAll();if(z.nodeName=="A"&&!r.dom.getAttrib(z,"name")){w.add({title:"advanced.link_desc",icon:"link",cmd:r.plugins.advlink?"mceAdvLink":"mceLink",ui:true});w.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});w.addSeparator()}if(z.nodeName=="IMG"&&z.className.indexOf("mceItem")==-1){w.add({title:"advanced.image_desc",icon:"image",cmd:r.plugins.advimage?"mceAdvImage":"mceImage",ui:true});w.addSeparator()}w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});w.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});w.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});w.addSeparator();D=w.addMenu({title:"table.cell"});D.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});D.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});D.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});D=w.addMenu({title:"table.row"});D.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});D.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});D.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});D.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});D.addSeparator();D.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});D.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});D.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!m);D.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!m);D=w.addMenu({title:"table.col"});D.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});D.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});D.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(d.isWebKit){function v(C,N){var L=d.VK;var Q=N.keyCode;function O(Y,U,S){var T=Y?"previousSibling":"nextSibling";var Z=C.dom.getParent(U,"tr");var X=Z[T];if(X){z(C,U,X,Y);d.dom.Event.cancel(S);return true}else{var aa=C.dom.getParent(Z,"table");var W=Z.parentNode;var R=W.nodeName.toLowerCase();if(R==="tbody"||R===(Y?"tfoot":"thead")){var V=w(Y,aa,W,"tbody");if(V!==null){return K(Y,V,U,S)}}return M(Y,Z,T,aa,S)}}function w(V,T,U,X){var S=C.dom.select(">"+X,T);var R=S.indexOf(U);if(V&&R===0||!V&&R===S.length-1){return B(V,T)}else{if(R===-1){var W=U.tagName.toLowerCase()==="thead"?0:S.length-1;return S[W]}else{return S[R+(V?-1:1)]}}}function B(U,T){var S=U?"thead":"tfoot";var R=C.dom.select(">"+S,T);return R.length!==0?R[0]:null}function K(V,T,S,U){var R=J(T,V);R&&z(C,S,R,V);d.dom.Event.cancel(U);return true}function M(Y,U,R,X,W){var S=X[R];if(S){F(S);return true}else{var V=C.dom.getParent(X,"td,th");if(V){return O(Y,V,W)}else{var T=J(U,!Y);F(T);return d.dom.Event.cancel(W)}}}function J(S,R){return S&&S[R?"lastChild":"firstChild"]}function F(R){C.selection.setCursorLocation(R,0)}function A(){return Q==L.UP||Q==L.DOWN}function D(R){var T=R.selection.getNode();var S=R.dom.getParent(T,"tr");return S!==null}function P(S){var R=0;var T=S;while(T.previousSibling){T=T.previousSibling;R=R+a(T,"colspan")}return R}function E(T,R){var U=0;var S=0;e(T.children,function(V,W){U=U+a(V,"colspan");S=W;if(U>R){return false}});return S}function z(T,W,Y,V){var X=P(T.dom.getParent(W,"td,th"));var S=E(Y,X);var R=Y.childNodes[S];var U=J(R,V);F(U||R)}function H(R){var T=C.selection.getNode();var U=C.dom.getParent(T,"td,th");var S=C.dom.getParent(R,"td,th");return U&&U!==S&&I(U,S)}function I(S,R){return C.dom.getParent(S,"TABLE")===C.dom.getParent(R,"TABLE")}if(A()&&D(C)){var G=C.selection.getNode();setTimeout(function(){if(H(G)){O(!N.shiftKey&&Q===L.UP,G,N)}},0)}}r.onKeyDown.add(v)}if(!d.isIE){function s(){var w;for(w=r.getBody().lastChild;w&&w.nodeType==3&&!w.nodeValue.length;w=w.previousSibling){}if(w&&w.nodeName=="TABLE"){r.dom.add(r.getBody(),"p",null,'
    ')}}if(d.isGecko){r.onKeyDown.add(function(z,B){var w,A,C=z.dom;if(B.keyCode==37||B.keyCode==38){w=z.selection.getRng();A=C.getParent(w.startContainer,"table");if(A&&z.getBody().firstChild==A){if(c(w,A)){w=C.createRng();w.setStartBefore(A);w.setEndBefore(A);z.selection.setRng(w);B.preventDefault()}}}})}r.onKeyUp.add(s);r.onSetContent.add(s);r.onVisualAid.add(s);r.onPreProcess.add(function(w,A){var z=A.node.lastChild;if(z&&z.childNodes.length==1&&z.firstChild.nodeName=="BR"){w.dom.remove(z)}});s();r.startContent=r.getContent({format:"raw"})}});e({mceTableSplitCells:function(n){n.split()},mceTableMergeCells:function(o){var p,q,n;n=g.dom.getParent(g.selection.getNode(),"th,td");if(n){p=n.rowSpan;q=n.colSpan}if(!g.dom.select("td.mceSelected,th.mceSelected").length){f.open({url:h+"/merge_cells.htm",width:240+parseInt(g.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(g.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:p,cols:q,onaction:function(r){o.merge(n,r.cols,r.rows)},plugin_url:h})}else{o.merge()}},mceTableInsertRowBefore:function(n){n.insertRow(true)},mceTableInsertRowAfter:function(n){n.insertRow()},mceTableInsertColBefore:function(n){n.insertCol(true)},mceTableInsertColAfter:function(n){n.insertCol()},mceTableDeleteCol:function(n){n.deleteCols()},mceTableDeleteRow:function(n){n.deleteRows()},mceTableCutRow:function(n){m=n.cutRows()},mceTableCopyRow:function(n){m=n.copyRows()},mceTablePasteRowBefore:function(n){n.pasteRows(m,true)},mceTablePasteRowAfter:function(n){n.pasteRows(m)},mceTableDelete:function(n){n.deleteTable()}},function(o,n){g.addCommand(n,function(){var p=l();if(p){o(p);g.execCommand("mceRepaint");k()}})});e({mceInsertTable:function(n){f.open({url:h+"/table.htm",width:400+parseInt(g.getLang("table.table_delta_width",0)),height:320+parseInt(g.getLang("table.table_delta_height",0)),inline:1},{plugin_url:h,action:n?n.action:0})},mceTableRowProps:function(){f.open({url:h+"/row.htm",width:400+parseInt(g.getLang("table.rowprops_delta_width",0)),height:295+parseInt(g.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:h})},mceTableCellProps:function(){f.open({url:h+"/cell.htm",width:400+parseInt(g.getLang("table.cellprops_delta_width",0)),height:295+parseInt(g.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:h})}},function(o,n){g.addCommand(n,function(p,q){o(q)})})}});d.PluginManager.add("table",d.plugins.TablePlugin)})(tinymce); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/table/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/table/editor_plugin_src.js deleted file mode 100644 index 8170e4ed..00000000 --- a/js/jquery/tiny_mce/plugins/table/editor_plugin_src.js +++ /dev/null @@ -1,1408 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function(tinymce) { - var each = tinymce.each; - - // Checks if the selection/caret is at the start of the specified block element - function isAtStart(rng, par) { - var doc = par.ownerDocument, rng2 = doc.createRange(), elm; - - rng2.setStartBefore(par); - rng2.setEnd(rng.endContainer, rng.endOffset); - - elm = doc.createElement('body'); - elm.appendChild(rng2.cloneContents()); - - // Check for text characters of other elements that should be treated as content - return elm.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi, '-').replace(/<[^>]+>/g, '').length == 0; - }; - - function getSpanVal(td, name) { - return parseInt(td.getAttribute(name) || 1); - } - - /** - * Table Grid class. - */ - function TableGrid(table, dom, selection) { - var grid, startPos, endPos, selectedCell; - - buildGrid(); - selectedCell = dom.getParent(selection.getStart(), 'th,td'); - if (selectedCell) { - startPos = getPos(selectedCell); - endPos = findEndPos(); - selectedCell = getCell(startPos.x, startPos.y); - } - - function cloneNode(node, children) { - node = node.cloneNode(children); - node.removeAttribute('id'); - - return node; - } - - function buildGrid() { - var startY = 0; - - grid = []; - - each(['thead', 'tbody', 'tfoot'], function(part) { - var rows = dom.select('> ' + part + ' tr', table); - - each(rows, function(tr, y) { - y += startY; - - each(dom.select('> td, > th', tr), function(td, x) { - var x2, y2, rowspan, colspan; - - // Skip over existing cells produced by rowspan - if (grid[y]) { - while (grid[y][x]) - x++; - } - - // Get col/rowspan from cell - rowspan = getSpanVal(td, 'rowspan'); - colspan = getSpanVal(td, 'colspan'); - - // Fill out rowspan/colspan right and down - for (y2 = y; y2 < y + rowspan; y2++) { - if (!grid[y2]) - grid[y2] = []; - - for (x2 = x; x2 < x + colspan; x2++) { - grid[y2][x2] = { - part : part, - real : y2 == y && x2 == x, - elm : td, - rowspan : rowspan, - colspan : colspan - }; - } - } - }); - }); - - startY += rows.length; - }); - }; - - function getCell(x, y) { - var row; - - row = grid[y]; - if (row) - return row[x]; - }; - - function setSpanVal(td, name, val) { - if (td) { - val = parseInt(val); - - if (val === 1) - td.removeAttribute(name, 1); - else - td.setAttribute(name, val, 1); - } - } - - function isCellSelected(cell) { - return cell && (dom.hasClass(cell.elm, 'mceSelected') || cell == selectedCell); - }; - - function getSelectedRows() { - var rows = []; - - each(table.rows, function(row) { - each(row.cells, function(cell) { - if (dom.hasClass(cell, 'mceSelected') || cell == selectedCell.elm) { - rows.push(row); - return false; - } - }); - }); - - return rows; - }; - - function deleteTable() { - var rng = dom.createRng(); - - rng.setStartAfter(table); - rng.setEndAfter(table); - - selection.setRng(rng); - - dom.remove(table); - }; - - function cloneCell(cell) { - var formatNode; - - // Clone formats - tinymce.walk(cell, function(node) { - var curNode; - - if (node.nodeType == 3) { - each(dom.getParents(node.parentNode, null, cell).reverse(), function(node) { - node = cloneNode(node, false); - - if (!formatNode) - formatNode = curNode = node; - else if (curNode) - curNode.appendChild(node); - - curNode = node; - }); - - // Add something to the inner node - if (curNode) - curNode.innerHTML = tinymce.isIE ? ' ' : '
    '; - - return false; - } - }, 'childNodes'); - - cell = cloneNode(cell, false); - setSpanVal(cell, 'rowSpan', 1); - setSpanVal(cell, 'colSpan', 1); - - if (formatNode) { - cell.appendChild(formatNode); - } else { - if (!tinymce.isIE) - cell.innerHTML = '
    '; - } - - return cell; - }; - - function cleanup() { - var rng = dom.createRng(); - - // Empty rows - each(dom.select('tr', table), function(tr) { - if (tr.cells.length == 0) - dom.remove(tr); - }); - - // Empty table - if (dom.select('tr', table).length == 0) { - rng.setStartAfter(table); - rng.setEndAfter(table); - selection.setRng(rng); - dom.remove(table); - return; - } - - // Empty header/body/footer - each(dom.select('thead,tbody,tfoot', table), function(part) { - if (part.rows.length == 0) - dom.remove(part); - }); - - // Restore selection to start position if it still exists - buildGrid(); - - // Restore the selection to the closest table position - row = grid[Math.min(grid.length - 1, startPos.y)]; - if (row) { - selection.select(row[Math.min(row.length - 1, startPos.x)].elm, true); - selection.collapse(true); - } - }; - - function fillLeftDown(x, y, rows, cols) { - var tr, x2, r, c, cell; - - tr = grid[y][x].elm.parentNode; - for (r = 1; r <= rows; r++) { - tr = dom.getNext(tr, 'tr'); - - if (tr) { - // Loop left to find real cell - for (x2 = x; x2 >= 0; x2--) { - cell = grid[y + r][x2].elm; - - if (cell.parentNode == tr) { - // Append clones after - for (c = 1; c <= cols; c++) - dom.insertAfter(cloneCell(cell), cell); - - break; - } - } - - if (x2 == -1) { - // Insert nodes before first cell - for (c = 1; c <= cols; c++) - tr.insertBefore(cloneCell(tr.cells[0]), tr.cells[0]); - } - } - } - }; - - function split() { - each(grid, function(row, y) { - each(row, function(cell, x) { - var colSpan, rowSpan, newCell, i; - - if (isCellSelected(cell)) { - cell = cell.elm; - colSpan = getSpanVal(cell, 'colspan'); - rowSpan = getSpanVal(cell, 'rowspan'); - - if (colSpan > 1 || rowSpan > 1) { - setSpanVal(cell, 'rowSpan', 1); - setSpanVal(cell, 'colSpan', 1); - - // Insert cells right - for (i = 0; i < colSpan - 1; i++) - dom.insertAfter(cloneCell(cell), cell); - - fillLeftDown(x, y, rowSpan - 1, colSpan); - } - } - }); - }); - }; - - function merge(cell, cols, rows) { - var startX, startY, endX, endY, x, y, startCell, endCell, cell, children, count; - - // Use specified cell and cols/rows - if (cell) { - pos = getPos(cell); - startX = pos.x; - startY = pos.y; - endX = startX + (cols - 1); - endY = startY + (rows - 1); - } else { - // Use selection - startX = startPos.x; - startY = startPos.y; - endX = endPos.x; - endY = endPos.y; - } - - // Find start/end cells - startCell = getCell(startX, startY); - endCell = getCell(endX, endY); - - // Check if the cells exists and if they are of the same part for example tbody = tbody - if (startCell && endCell && startCell.part == endCell.part) { - // Split and rebuild grid - split(); - buildGrid(); - - // Set row/col span to start cell - startCell = getCell(startX, startY).elm; - setSpanVal(startCell, 'colSpan', (endX - startX) + 1); - setSpanVal(startCell, 'rowSpan', (endY - startY) + 1); - - // Remove other cells and add it's contents to the start cell - for (y = startY; y <= endY; y++) { - for (x = startX; x <= endX; x++) { - if (!grid[y] || !grid[y][x]) - continue; - - cell = grid[y][x].elm; - - if (cell != startCell) { - // Move children to startCell - children = tinymce.grep(cell.childNodes); - each(children, function(node) { - startCell.appendChild(node); - }); - - // Remove bogus nodes if there is children in the target cell - if (children.length) { - children = tinymce.grep(startCell.childNodes); - count = 0; - each(children, function(node) { - if (node.nodeName == 'BR' && dom.getAttrib(node, 'data-mce-bogus') && count++ < children.length - 1) - startCell.removeChild(node); - }); - } - - // Remove cell - dom.remove(cell); - } - } - } - - // Remove empty rows etc and restore caret location - cleanup(); - } - }; - - function insertRow(before) { - var posY, cell, lastCell, x, rowElm, newRow, newCell, otherCell, rowSpan; - - // Find first/last row - each(grid, function(row, y) { - each(row, function(cell, x) { - if (isCellSelected(cell)) { - cell = cell.elm; - rowElm = cell.parentNode; - newRow = cloneNode(rowElm, false); - posY = y; - - if (before) - return false; - } - }); - - if (before) - return !posY; - }); - - for (x = 0; x < grid[0].length; x++) { - // Cell not found could be because of an invalid table structure - if (!grid[posY][x]) - continue; - - cell = grid[posY][x].elm; - - if (cell != lastCell) { - if (!before) { - rowSpan = getSpanVal(cell, 'rowspan'); - if (rowSpan > 1) { - setSpanVal(cell, 'rowSpan', rowSpan + 1); - continue; - } - } else { - // Check if cell above can be expanded - if (posY > 0 && grid[posY - 1][x]) { - otherCell = grid[posY - 1][x].elm; - rowSpan = getSpanVal(otherCell, 'rowSpan'); - if (rowSpan > 1) { - setSpanVal(otherCell, 'rowSpan', rowSpan + 1); - continue; - } - } - } - - // Insert new cell into new row - newCell = cloneCell(cell); - setSpanVal(newCell, 'colSpan', cell.colSpan); - - newRow.appendChild(newCell); - - lastCell = cell; - } - } - - if (newRow.hasChildNodes()) { - if (!before) - dom.insertAfter(newRow, rowElm); - else - rowElm.parentNode.insertBefore(newRow, rowElm); - } - }; - - function insertCol(before) { - var posX, lastCell; - - // Find first/last column - each(grid, function(row, y) { - each(row, function(cell, x) { - if (isCellSelected(cell)) { - posX = x; - - if (before) - return false; - } - }); - - if (before) - return !posX; - }); - - each(grid, function(row, y) { - var cell, rowSpan, colSpan; - - if (!row[posX]) - return; - - cell = row[posX].elm; - if (cell != lastCell) { - colSpan = getSpanVal(cell, 'colspan'); - rowSpan = getSpanVal(cell, 'rowspan'); - - if (colSpan == 1) { - if (!before) { - dom.insertAfter(cloneCell(cell), cell); - fillLeftDown(posX, y, rowSpan - 1, colSpan); - } else { - cell.parentNode.insertBefore(cloneCell(cell), cell); - fillLeftDown(posX, y, rowSpan - 1, colSpan); - } - } else - setSpanVal(cell, 'colSpan', cell.colSpan + 1); - - lastCell = cell; - } - }); - }; - - function deleteCols() { - var cols = []; - - // Get selected column indexes - each(grid, function(row, y) { - each(row, function(cell, x) { - if (isCellSelected(cell) && tinymce.inArray(cols, x) === -1) { - each(grid, function(row) { - var cell = row[x].elm, colSpan; - - colSpan = getSpanVal(cell, 'colSpan'); - - if (colSpan > 1) - setSpanVal(cell, 'colSpan', colSpan - 1); - else - dom.remove(cell); - }); - - cols.push(x); - } - }); - }); - - cleanup(); - }; - - function deleteRows() { - var rows; - - function deleteRow(tr) { - var nextTr, pos, lastCell; - - nextTr = dom.getNext(tr, 'tr'); - - // Move down row spanned cells - each(tr.cells, function(cell) { - var rowSpan = getSpanVal(cell, 'rowSpan'); - - if (rowSpan > 1) { - setSpanVal(cell, 'rowSpan', rowSpan - 1); - pos = getPos(cell); - fillLeftDown(pos.x, pos.y, 1, 1); - } - }); - - // Delete cells - pos = getPos(tr.cells[0]); - each(grid[pos.y], function(cell) { - var rowSpan; - - cell = cell.elm; - - if (cell != lastCell) { - rowSpan = getSpanVal(cell, 'rowSpan'); - - if (rowSpan <= 1) - dom.remove(cell); - else - setSpanVal(cell, 'rowSpan', rowSpan - 1); - - lastCell = cell; - } - }); - }; - - // Get selected rows and move selection out of scope - rows = getSelectedRows(); - - // Delete all selected rows - each(rows.reverse(), function(tr) { - deleteRow(tr); - }); - - cleanup(); - }; - - function cutRows() { - var rows = getSelectedRows(); - - dom.remove(rows); - cleanup(); - - return rows; - }; - - function copyRows() { - var rows = getSelectedRows(); - - each(rows, function(row, i) { - rows[i] = cloneNode(row, true); - }); - - return rows; - }; - - function pasteRows(rows, before) { - var selectedRows = getSelectedRows(), - targetRow = selectedRows[before ? 0 : selectedRows.length - 1], - targetCellCount = targetRow.cells.length; - - // Calc target cell count - each(grid, function(row) { - var match; - - targetCellCount = 0; - each(row, function(cell, x) { - if (cell.real) - targetCellCount += cell.colspan; - - if (cell.elm.parentNode == targetRow) - match = 1; - }); - - if (match) - return false; - }); - - if (!before) - rows.reverse(); - - each(rows, function(row) { - var cellCount = row.cells.length, cell; - - // Remove col/rowspans - for (i = 0; i < cellCount; i++) { - cell = row.cells[i]; - setSpanVal(cell, 'colSpan', 1); - setSpanVal(cell, 'rowSpan', 1); - } - - // Needs more cells - for (i = cellCount; i < targetCellCount; i++) - row.appendChild(cloneCell(row.cells[cellCount - 1])); - - // Needs less cells - for (i = targetCellCount; i < cellCount; i++) - dom.remove(row.cells[i]); - - // Add before/after - if (before) - targetRow.parentNode.insertBefore(row, targetRow); - else - dom.insertAfter(row, targetRow); - }); - }; - - function getPos(target) { - var pos; - - each(grid, function(row, y) { - each(row, function(cell, x) { - if (cell.elm == target) { - pos = {x : x, y : y}; - return false; - } - }); - - return !pos; - }); - - return pos; - }; - - function setStartCell(cell) { - startPos = getPos(cell); - }; - - function findEndPos() { - var pos, maxX, maxY; - - maxX = maxY = 0; - - each(grid, function(row, y) { - each(row, function(cell, x) { - var colSpan, rowSpan; - - if (isCellSelected(cell)) { - cell = grid[y][x]; - - if (x > maxX) - maxX = x; - - if (y > maxY) - maxY = y; - - if (cell.real) { - colSpan = cell.colspan - 1; - rowSpan = cell.rowspan - 1; - - if (colSpan) { - if (x + colSpan > maxX) - maxX = x + colSpan; - } - - if (rowSpan) { - if (y + rowSpan > maxY) - maxY = y + rowSpan; - } - } - } - }); - }); - - return {x : maxX, y : maxY}; - }; - - function setEndCell(cell) { - var startX, startY, endX, endY, maxX, maxY, colSpan, rowSpan; - - endPos = getPos(cell); - - if (startPos && endPos) { - // Get start/end positions - startX = Math.min(startPos.x, endPos.x); - startY = Math.min(startPos.y, endPos.y); - endX = Math.max(startPos.x, endPos.x); - endY = Math.max(startPos.y, endPos.y); - - // Expand end positon to include spans - maxX = endX; - maxY = endY; - - // Expand startX - for (y = startY; y <= maxY; y++) { - cell = grid[y][startX]; - - if (!cell.real) { - if (startX - (cell.colspan - 1) < startX) - startX -= cell.colspan - 1; - } - } - - // Expand startY - for (x = startX; x <= maxX; x++) { - cell = grid[startY][x]; - - if (!cell.real) { - if (startY - (cell.rowspan - 1) < startY) - startY -= cell.rowspan - 1; - } - } - - // Find max X, Y - for (y = startY; y <= endY; y++) { - for (x = startX; x <= endX; x++) { - cell = grid[y][x]; - - if (cell.real) { - colSpan = cell.colspan - 1; - rowSpan = cell.rowspan - 1; - - if (colSpan) { - if (x + colSpan > maxX) - maxX = x + colSpan; - } - - if (rowSpan) { - if (y + rowSpan > maxY) - maxY = y + rowSpan; - } - } - } - } - - // Remove current selection - dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected'); - - // Add new selection - for (y = startY; y <= maxY; y++) { - for (x = startX; x <= maxX; x++) { - if (grid[y][x]) - dom.addClass(grid[y][x].elm, 'mceSelected'); - } - } - } - }; - - // Expose to public - tinymce.extend(this, { - deleteTable : deleteTable, - split : split, - merge : merge, - insertRow : insertRow, - insertCol : insertCol, - deleteCols : deleteCols, - deleteRows : deleteRows, - cutRows : cutRows, - copyRows : copyRows, - pasteRows : pasteRows, - getPos : getPos, - setStartCell : setStartCell, - setEndCell : setEndCell - }); - }; - - tinymce.create('tinymce.plugins.TablePlugin', { - init : function(ed, url) { - var winMan, clipboardRows, hasCellSelection = true; // Might be selected cells on reload - - function createTableGrid(node) { - var selection = ed.selection, tblElm = ed.dom.getParent(node || selection.getNode(), 'table'); - - if (tblElm) - return new TableGrid(tblElm, ed.dom, selection); - }; - - function cleanup() { - // Restore selection possibilities - ed.getBody().style.webkitUserSelect = ''; - - if (hasCellSelection) { - ed.dom.removeClass(ed.dom.select('td.mceSelected,th.mceSelected'), 'mceSelected'); - hasCellSelection = false; - } - }; - - // Register buttons - each([ - ['table', 'table.desc', 'mceInsertTable', true], - ['delete_table', 'table.del', 'mceTableDelete'], - ['delete_col', 'table.delete_col_desc', 'mceTableDeleteCol'], - ['delete_row', 'table.delete_row_desc', 'mceTableDeleteRow'], - ['col_after', 'table.col_after_desc', 'mceTableInsertColAfter'], - ['col_before', 'table.col_before_desc', 'mceTableInsertColBefore'], - ['row_after', 'table.row_after_desc', 'mceTableInsertRowAfter'], - ['row_before', 'table.row_before_desc', 'mceTableInsertRowBefore'], - ['row_props', 'table.row_desc', 'mceTableRowProps', true], - ['cell_props', 'table.cell_desc', 'mceTableCellProps', true], - ['split_cells', 'table.split_cells_desc', 'mceTableSplitCells', true], - ['merge_cells', 'table.merge_cells_desc', 'mceTableMergeCells', true] - ], function(c) { - ed.addButton(c[0], {title : c[1], cmd : c[2], ui : c[3]}); - }); - - // Select whole table is a table border is clicked - if (!tinymce.isIE) { - ed.onClick.add(function(ed, e) { - e = e.target; - - if (e.nodeName === 'TABLE') { - ed.selection.select(e); - ed.nodeChanged(); - } - }); - } - - ed.onPreProcess.add(function(ed, args) { - var nodes, i, node, dom = ed.dom, value; - - nodes = dom.select('table', args.node); - i = nodes.length; - while (i--) { - node = nodes[i]; - dom.setAttrib(node, 'data-mce-style', ''); - - if ((value = dom.getAttrib(node, 'width'))) { - dom.setStyle(node, 'width', value); - dom.setAttrib(node, 'width', ''); - } - - if ((value = dom.getAttrib(node, 'height'))) { - dom.setStyle(node, 'height', value); - dom.setAttrib(node, 'height', ''); - } - } - }); - - // Handle node change updates - ed.onNodeChange.add(function(ed, cm, n) { - var p; - - n = ed.selection.getStart(); - p = ed.dom.getParent(n, 'td,th,caption'); - cm.setActive('table', n.nodeName === 'TABLE' || !!p); - - // Disable table tools if we are in caption - if (p && p.nodeName === 'CAPTION') - p = 0; - - cm.setDisabled('delete_table', !p); - cm.setDisabled('delete_col', !p); - cm.setDisabled('delete_table', !p); - cm.setDisabled('delete_row', !p); - cm.setDisabled('col_after', !p); - cm.setDisabled('col_before', !p); - cm.setDisabled('row_after', !p); - cm.setDisabled('row_before', !p); - cm.setDisabled('row_props', !p); - cm.setDisabled('cell_props', !p); - cm.setDisabled('split_cells', !p); - cm.setDisabled('merge_cells', !p); - }); - - ed.onInit.add(function(ed) { - var startTable, startCell, dom = ed.dom, tableGrid; - - winMan = ed.windowManager; - - // Add cell selection logic - ed.onMouseDown.add(function(ed, e) { - if (e.button != 2) { - cleanup(); - - startCell = dom.getParent(e.target, 'td,th'); - startTable = dom.getParent(startCell, 'table'); - } - }); - - dom.bind(ed.getDoc(), 'mouseover', function(e) { - var sel, table, target = e.target; - - if (startCell && (tableGrid || target != startCell) && (target.nodeName == 'TD' || target.nodeName == 'TH')) { - table = dom.getParent(target, 'table'); - if (table == startTable) { - if (!tableGrid) { - tableGrid = createTableGrid(table); - tableGrid.setStartCell(startCell); - - ed.getBody().style.webkitUserSelect = 'none'; - } - - tableGrid.setEndCell(target); - hasCellSelection = true; - } - - // Remove current selection - sel = ed.selection.getSel(); - - try { - if (sel.removeAllRanges) - sel.removeAllRanges(); - else - sel.empty(); - } catch (ex) { - // IE9 might throw errors here - } - - e.preventDefault(); - } - }); - - ed.onMouseUp.add(function(ed, e) { - var rng, sel = ed.selection, selectedCells, nativeSel = sel.getSel(), walker, node, lastNode, endNode; - - // Move selection to startCell - if (startCell) { - if (tableGrid) - ed.getBody().style.webkitUserSelect = ''; - - function setPoint(node, start) { - var walker = new tinymce.dom.TreeWalker(node, node); - - do { - // Text node - if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length != 0) { - if (start) - rng.setStart(node, 0); - else - rng.setEnd(node, node.nodeValue.length); - - return; - } - - // BR element - if (node.nodeName == 'BR') { - if (start) - rng.setStartBefore(node); - else - rng.setEndBefore(node); - - return; - } - } while (node = (start ? walker.next() : walker.prev())); - } - - // Try to expand text selection as much as we can only Gecko supports cell selection - selectedCells = dom.select('td.mceSelected,th.mceSelected'); - if (selectedCells.length > 0) { - rng = dom.createRng(); - node = selectedCells[0]; - endNode = selectedCells[selectedCells.length - 1]; - rng.setStartBefore(node); - rng.setEndAfter(node); - - setPoint(node, 1); - walker = new tinymce.dom.TreeWalker(node, dom.getParent(selectedCells[0], 'table')); - - do { - if (node.nodeName == 'TD' || node.nodeName == 'TH') { - if (!dom.hasClass(node, 'mceSelected')) - break; - - lastNode = node; - } - } while (node = walker.next()); - - setPoint(lastNode); - - sel.setRng(rng); - } - - ed.nodeChanged(); - startCell = tableGrid = startTable = null; - } - }); - - ed.onKeyUp.add(function(ed, e) { - cleanup(); - }); - - ed.onKeyDown.add(function (ed, e) { - fixTableCellSelection(ed); - }); - - ed.onMouseDown.add(function (ed, e) { - if (e.button != 2) { - fixTableCellSelection(ed); - } - }); - function tableCellSelected(ed, rng, n, currentCell) { - // The decision of when a table cell is selected is somewhat involved. The fact that this code is - // required is actually a pointer to the root cause of this bug. A cell is selected when the start - // and end offsets are 0, the start container is a text, and the selection node is either a TR (most cases) - // or the parent of the table (in the case of the selection containing the last cell of a table). - var TEXT_NODE = 3, table = ed.dom.getParent(rng.startContainer, 'TABLE'), - tableParent, allOfCellSelected, tableCellSelection; - if (table) - tableParent = table.parentNode; - allOfCellSelected =rng.startContainer.nodeType == TEXT_NODE && - rng.startOffset == 0 && - rng.endOffset == 0 && - currentCell && - (n.nodeName=="TR" || n==tableParent); - tableCellSelection = (n.nodeName=="TD"||n.nodeName=="TH")&& !currentCell; - return allOfCellSelected || tableCellSelection; - // return false; - } - - // this nasty hack is here to work around some WebKit selection bugs. - function fixTableCellSelection(ed) { - if (!tinymce.isWebKit) - return; - - var rng = ed.selection.getRng(); - var n = ed.selection.getNode(); - var currentCell = ed.dom.getParent(rng.startContainer, 'TD,TH'); - - if (!tableCellSelected(ed, rng, n, currentCell)) - return; - if (!currentCell) { - currentCell=n; - } - - // Get the very last node inside the table cell - var end = currentCell.lastChild; - while (end.lastChild) - end = end.lastChild; - - // Select the entire table cell. Nothing outside of the table cell should be selected. - rng.setEnd(end, end.nodeValue.length); - ed.selection.setRng(rng); - } - ed.plugins.table.fixTableCellSelection=fixTableCellSelection; - - // Add context menu - if (ed && ed.plugins.contextmenu) { - ed.plugins.contextmenu.onContextMenu.add(function(th, m, e) { - var sm, se = ed.selection, el = se.getNode() || ed.getBody(); - - if (ed.dom.getParent(e, 'td') || ed.dom.getParent(e, 'th') || ed.dom.select('td.mceSelected,th.mceSelected').length) { - m.removeAll(); - - if (el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) { - m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true}); - m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'}); - m.addSeparator(); - } - - if (el.nodeName == 'IMG' && el.className.indexOf('mceItem') == -1) { - m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true}); - m.addSeparator(); - } - - m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable', value : {action : 'insert'}}); - m.add({title : 'table.props_desc', icon : 'table_props', cmd : 'mceInsertTable'}); - m.add({title : 'table.del', icon : 'delete_table', cmd : 'mceTableDelete'}); - m.addSeparator(); - - // Cell menu - sm = m.addMenu({title : 'table.cell'}); - sm.add({title : 'table.cell_desc', icon : 'cell_props', cmd : 'mceTableCellProps'}); - sm.add({title : 'table.split_cells_desc', icon : 'split_cells', cmd : 'mceTableSplitCells'}); - sm.add({title : 'table.merge_cells_desc', icon : 'merge_cells', cmd : 'mceTableMergeCells'}); - - // Row menu - sm = m.addMenu({title : 'table.row'}); - sm.add({title : 'table.row_desc', icon : 'row_props', cmd : 'mceTableRowProps'}); - sm.add({title : 'table.row_before_desc', icon : 'row_before', cmd : 'mceTableInsertRowBefore'}); - sm.add({title : 'table.row_after_desc', icon : 'row_after', cmd : 'mceTableInsertRowAfter'}); - sm.add({title : 'table.delete_row_desc', icon : 'delete_row', cmd : 'mceTableDeleteRow'}); - sm.addSeparator(); - sm.add({title : 'table.cut_row_desc', icon : 'cut', cmd : 'mceTableCutRow'}); - sm.add({title : 'table.copy_row_desc', icon : 'copy', cmd : 'mceTableCopyRow'}); - sm.add({title : 'table.paste_row_before_desc', icon : 'paste', cmd : 'mceTablePasteRowBefore'}).setDisabled(!clipboardRows); - sm.add({title : 'table.paste_row_after_desc', icon : 'paste', cmd : 'mceTablePasteRowAfter'}).setDisabled(!clipboardRows); - - // Column menu - sm = m.addMenu({title : 'table.col'}); - sm.add({title : 'table.col_before_desc', icon : 'col_before', cmd : 'mceTableInsertColBefore'}); - sm.add({title : 'table.col_after_desc', icon : 'col_after', cmd : 'mceTableInsertColAfter'}); - sm.add({title : 'table.delete_col_desc', icon : 'delete_col', cmd : 'mceTableDeleteCol'}); - } else - m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable'}); - }); - } - - // Fix to allow navigating up and down in a table in WebKit browsers. - if (tinymce.isWebKit) { - function moveSelection(ed, e) { - var VK = tinymce.VK; - var key = e.keyCode; - - function handle(upBool, sourceNode, event) { - var siblingDirection = upBool ? 'previousSibling' : 'nextSibling'; - var currentRow = ed.dom.getParent(sourceNode, 'tr'); - var siblingRow = currentRow[siblingDirection]; - - if (siblingRow) { - moveCursorToRow(ed, sourceNode, siblingRow, upBool); - tinymce.dom.Event.cancel(event); - return true; - } else { - var tableNode = ed.dom.getParent(currentRow, 'table'); - var middleNode = currentRow.parentNode; - var parentNodeName = middleNode.nodeName.toLowerCase(); - if (parentNodeName === 'tbody' || parentNodeName === (upBool ? 'tfoot' : 'thead')) { - var targetParent = getTargetParent(upBool, tableNode, middleNode, 'tbody'); - if (targetParent !== null) { - return moveToRowInTarget(upBool, targetParent, sourceNode, event); - } - } - return escapeTable(upBool, currentRow, siblingDirection, tableNode, event); - } - } - - function getTargetParent(upBool, topNode, secondNode, nodeName) { - var tbodies = ed.dom.select('>' + nodeName, topNode); - var position = tbodies.indexOf(secondNode); - if (upBool && position === 0 || !upBool && position === tbodies.length - 1) { - return getFirstHeadOrFoot(upBool, topNode); - } else if (position === -1) { - var topOrBottom = secondNode.tagName.toLowerCase() === 'thead' ? 0 : tbodies.length - 1; - return tbodies[topOrBottom]; - } else { - return tbodies[position + (upBool ? -1 : 1)]; - } - } - - function getFirstHeadOrFoot(upBool, parent) { - var tagName = upBool ? 'thead' : 'tfoot'; - var headOrFoot = ed.dom.select('>' + tagName, parent); - return headOrFoot.length !== 0 ? headOrFoot[0] : null; - } - - function moveToRowInTarget(upBool, targetParent, sourceNode, event) { - var targetRow = getChildForDirection(targetParent, upBool); - targetRow && moveCursorToRow(ed, sourceNode, targetRow, upBool); - tinymce.dom.Event.cancel(event); - return true; - } - - function escapeTable(upBool, currentRow, siblingDirection, table, event) { - var tableSibling = table[siblingDirection]; - if (tableSibling) { - moveCursorToStartOfElement(tableSibling); - return true; - } else { - var parentCell = ed.dom.getParent(table, 'td,th'); - if (parentCell) { - return handle(upBool, parentCell, event); - } else { - var backUpSibling = getChildForDirection(currentRow, !upBool); - moveCursorToStartOfElement(backUpSibling); - return tinymce.dom.Event.cancel(event); - } - } - } - - function getChildForDirection(parent, up) { - return parent && parent[up ? 'lastChild' : 'firstChild']; - } - - function moveCursorToStartOfElement(n) { - ed.selection.setCursorLocation(n, 0); - } - - function isVerticalMovement() { - return key == VK.UP || key == VK.DOWN; - } - - function isInTable(ed) { - var node = ed.selection.getNode(); - var currentRow = ed.dom.getParent(node, 'tr'); - return currentRow !== null; - } - - function columnIndex(column) { - var colIndex = 0; - var c = column; - while (c.previousSibling) { - c = c.previousSibling; - colIndex = colIndex + getSpanVal(c, "colspan"); - } - return colIndex; - } - - function findColumn(rowElement, columnIndex) { - var c = 0; - var r = 0; - each(rowElement.children, function(cell, i) { - c = c + getSpanVal(cell, "colspan"); - r = i; - if (c > columnIndex) - return false; - }); - return r; - } - - function moveCursorToRow(ed, node, row, upBool) { - var srcColumnIndex = columnIndex(ed.dom.getParent(node, 'td,th')); - var tgtColumnIndex = findColumn(row, srcColumnIndex); - var tgtNode = row.childNodes[tgtColumnIndex]; - var rowCellTarget = getChildForDirection(tgtNode, upBool); - moveCursorToStartOfElement(rowCellTarget || tgtNode); - } - - function shouldFixCaret(preBrowserNode) { - var newNode = ed.selection.getNode(); - var newParent = ed.dom.getParent(newNode, 'td,th'); - var oldParent = ed.dom.getParent(preBrowserNode, 'td,th'); - return newParent && newParent !== oldParent && checkSameParentTable(newParent, oldParent) - } - - function checkSameParentTable(nodeOne, NodeTwo) { - return ed.dom.getParent(nodeOne, 'TABLE') === ed.dom.getParent(NodeTwo, 'TABLE'); - } - - if (isVerticalMovement() && isInTable(ed)) { - var preBrowserNode = ed.selection.getNode(); - setTimeout(function() { - if (shouldFixCaret(preBrowserNode)) { - handle(!e.shiftKey && key === VK.UP, preBrowserNode, e); - } - }, 0); - } - } - - ed.onKeyDown.add(moveSelection); - } - - // Fixes an issue on Gecko where it's impossible to place the caret behind a table - // This fix will force a paragraph element after the table but only when the forced_root_block setting is enabled - if (!tinymce.isIE) { - function fixTableCaretPos() { - var last; - - // Skip empty text nodes form the end - for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling) ; - - if (last && last.nodeName == 'TABLE') - ed.dom.add(ed.getBody(), 'p', null, '
    '); - }; - - // Fixes an bug where it's impossible to place the caret before a table in Gecko - // this fix solves it by detecting when the caret is at the beginning of such a table - // and then manually moves the caret infront of the table - if (tinymce.isGecko) { - ed.onKeyDown.add(function(ed, e) { - var rng, table, dom = ed.dom; - - // On gecko it's not possible to place the caret before a table - if (e.keyCode == 37 || e.keyCode == 38) { - rng = ed.selection.getRng(); - table = dom.getParent(rng.startContainer, 'table'); - - if (table && ed.getBody().firstChild == table) { - if (isAtStart(rng, table)) { - rng = dom.createRng(); - - rng.setStartBefore(table); - rng.setEndBefore(table); - - ed.selection.setRng(rng); - - e.preventDefault(); - } - } - } - }); - } - - ed.onKeyUp.add(fixTableCaretPos); - ed.onSetContent.add(fixTableCaretPos); - ed.onVisualAid.add(fixTableCaretPos); - - ed.onPreProcess.add(function(ed, o) { - var last = o.node.lastChild; - - if (last && last.childNodes.length == 1 && last.firstChild.nodeName == 'BR') - ed.dom.remove(last); - }); - - fixTableCaretPos(); - ed.startContent = ed.getContent({format : 'raw'}); - } - }); - - // Register action commands - each({ - mceTableSplitCells : function(grid) { - grid.split(); - }, - - mceTableMergeCells : function(grid) { - var rowSpan, colSpan, cell; - - cell = ed.dom.getParent(ed.selection.getNode(), 'th,td'); - if (cell) { - rowSpan = cell.rowSpan; - colSpan = cell.colSpan; - } - - if (!ed.dom.select('td.mceSelected,th.mceSelected').length) { - winMan.open({ - url : url + '/merge_cells.htm', - width : 240 + parseInt(ed.getLang('table.merge_cells_delta_width', 0)), - height : 110 + parseInt(ed.getLang('table.merge_cells_delta_height', 0)), - inline : 1 - }, { - rows : rowSpan, - cols : colSpan, - onaction : function(data) { - grid.merge(cell, data.cols, data.rows); - }, - plugin_url : url - }); - } else - grid.merge(); - }, - - mceTableInsertRowBefore : function(grid) { - grid.insertRow(true); - }, - - mceTableInsertRowAfter : function(grid) { - grid.insertRow(); - }, - - mceTableInsertColBefore : function(grid) { - grid.insertCol(true); - }, - - mceTableInsertColAfter : function(grid) { - grid.insertCol(); - }, - - mceTableDeleteCol : function(grid) { - grid.deleteCols(); - }, - - mceTableDeleteRow : function(grid) { - grid.deleteRows(); - }, - - mceTableCutRow : function(grid) { - clipboardRows = grid.cutRows(); - }, - - mceTableCopyRow : function(grid) { - clipboardRows = grid.copyRows(); - }, - - mceTablePasteRowBefore : function(grid) { - grid.pasteRows(clipboardRows, true); - }, - - mceTablePasteRowAfter : function(grid) { - grid.pasteRows(clipboardRows); - }, - - mceTableDelete : function(grid) { - grid.deleteTable(); - } - }, function(func, name) { - ed.addCommand(name, function() { - var grid = createTableGrid(); - - if (grid) { - func(grid); - ed.execCommand('mceRepaint'); - cleanup(); - } - }); - }); - - // Register dialog commands - each({ - mceInsertTable : function(val) { - winMan.open({ - url : url + '/table.htm', - width : 400 + parseInt(ed.getLang('table.table_delta_width', 0)), - height : 320 + parseInt(ed.getLang('table.table_delta_height', 0)), - inline : 1 - }, { - plugin_url : url, - action : val ? val.action : 0 - }); - }, - - mceTableRowProps : function() { - winMan.open({ - url : url + '/row.htm', - width : 400 + parseInt(ed.getLang('table.rowprops_delta_width', 0)), - height : 295 + parseInt(ed.getLang('table.rowprops_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }, - - mceTableCellProps : function() { - winMan.open({ - url : url + '/cell.htm', - width : 400 + parseInt(ed.getLang('table.cellprops_delta_width', 0)), - height : 295 + parseInt(ed.getLang('table.cellprops_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - } - }, function(func, name) { - ed.addCommand(name, function(ui, val) { - func(val); - }); - }); - } - }); - - // Register plugin - tinymce.PluginManager.add('table', tinymce.plugins.TablePlugin); -})(tinymce); diff --git a/js/jquery/tiny_mce/plugins/table/js/cell.js b/js/jquery/tiny_mce/plugins/table/js/cell.js deleted file mode 100644 index d6f32905..00000000 --- a/js/jquery/tiny_mce/plugins/table/js/cell.js +++ /dev/null @@ -1,319 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var ed; - -function init() { - ed = tinyMCEPopup.editor; - tinyMCEPopup.resizeToInnerSize(); - - document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); - document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); - document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor') - - var inst = ed; - var tdElm = ed.dom.getParent(ed.selection.getStart(), "td,th"); - var formObj = document.forms[0]; - var st = ed.dom.parseStyle(ed.dom.getAttrib(tdElm, "style")); - - // Get table cell data - var celltype = tdElm.nodeName.toLowerCase(); - var align = ed.dom.getAttrib(tdElm, 'align'); - var valign = ed.dom.getAttrib(tdElm, 'valign'); - var width = trimSize(getStyle(tdElm, 'width', 'width')); - var height = trimSize(getStyle(tdElm, 'height', 'height')); - var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor')); - var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor')); - var className = ed.dom.getAttrib(tdElm, 'class'); - var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); - var id = ed.dom.getAttrib(tdElm, 'id'); - var lang = ed.dom.getAttrib(tdElm, 'lang'); - var dir = ed.dom.getAttrib(tdElm, 'dir'); - var scope = ed.dom.getAttrib(tdElm, 'scope'); - - // Setup form - addClassesToList('class', 'table_cell_styles'); - TinyMCE_EditableSelects.init(); - - if (!ed.dom.hasClass(tdElm, 'mceSelected')) { - formObj.bordercolor.value = bordercolor; - formObj.bgcolor.value = bgcolor; - formObj.backgroundimage.value = backgroundimage; - formObj.width.value = width; - formObj.height.value = height; - formObj.id.value = id; - formObj.lang.value = lang; - formObj.style.value = ed.dom.serializeStyle(st); - selectByValue(formObj, 'align', align); - selectByValue(formObj, 'valign', valign); - selectByValue(formObj, 'class', className, true, true); - selectByValue(formObj, 'celltype', celltype); - selectByValue(formObj, 'dir', dir); - selectByValue(formObj, 'scope', scope); - - // Resize some elements - if (isVisible('backgroundimagebrowser')) - document.getElementById('backgroundimage').style.width = '180px'; - - updateColor('bordercolor_pick', 'bordercolor'); - updateColor('bgcolor_pick', 'bgcolor'); - } else - tinyMCEPopup.dom.hide('action'); -} - -function updateAction() { - var el, inst = ed, tdElm, trElm, tableElm, formObj = document.forms[0]; - - if (!AutoValidator.validate(formObj)) { - tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.'); - return false; - } - - tinyMCEPopup.restoreSelection(); - el = ed.selection.getStart(); - tdElm = ed.dom.getParent(el, "td,th"); - trElm = ed.dom.getParent(el, "tr"); - tableElm = ed.dom.getParent(el, "table"); - - // Cell is selected - if (ed.dom.hasClass(tdElm, 'mceSelected')) { - // Update all selected sells - tinymce.each(ed.dom.select('td.mceSelected,th.mceSelected'), function(td) { - updateCell(td); - }); - - ed.addVisual(); - ed.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - tinyMCEPopup.close(); - return; - } - - switch (getSelectValue(formObj, 'action')) { - case "cell": - var celltype = getSelectValue(formObj, 'celltype'); - var scope = getSelectValue(formObj, 'scope'); - - function doUpdate(s) { - if (s) { - updateCell(tdElm); - - ed.addVisual(); - ed.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - tinyMCEPopup.close(); - } - }; - - if (ed.getParam("accessibility_warnings", 1)) { - if (celltype == "th" && scope == "") - tinyMCEPopup.confirm(ed.getLang('table_dlg.missing_scope', '', true), doUpdate); - else - doUpdate(1); - - return; - } - - updateCell(tdElm); - break; - - case "row": - var cell = trElm.firstChild; - - if (cell.nodeName != "TD" && cell.nodeName != "TH") - cell = nextCell(cell); - - do { - cell = updateCell(cell, true); - } while ((cell = nextCell(cell)) != null); - - break; - - case "col": - var curr, col = 0, cell = trElm.firstChild, rows = tableElm.getElementsByTagName("tr"); - - if (cell.nodeName != "TD" && cell.nodeName != "TH") - cell = nextCell(cell); - - do { - if (cell == tdElm) - break; - col += cell.getAttribute("colspan"); - } while ((cell = nextCell(cell)) != null); - - for (var i=0; i 0) { - tinymce.each(tableElm.rows, function(tr) { - var i; - - for (i = 0; i < tr.cells.length; i++) { - if (dom.hasClass(tr.cells[i], 'mceSelected')) { - updateRow(tr, true); - return; - } - } - }); - - inst.addVisual(); - inst.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - tinyMCEPopup.close(); - return; - } - - switch (action) { - case "row": - updateRow(trElm); - break; - - case "all": - var rows = tableElm.getElementsByTagName("tr"); - - for (var i=0; i colLimit) { - tinyMCEPopup.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit)); - return false; - } else if (rowLimit && rows > rowLimit) { - tinyMCEPopup.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit)); - return false; - } else if (cellLimit && cols * rows > cellLimit) { - tinyMCEPopup.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit)); - return false; - } - - // Update table - if (action == "update") { - dom.setAttrib(elm, 'cellPadding', cellpadding, true); - dom.setAttrib(elm, 'cellSpacing', cellspacing, true); - - if (!isCssSize(border)) { - dom.setAttrib(elm, 'border', border); - } else { - dom.setAttrib(elm, 'border', ''); - } - - if (border == '') { - dom.setStyle(elm, 'border-width', ''); - dom.setStyle(elm, 'border', ''); - dom.setAttrib(elm, 'border', ''); - } - - dom.setAttrib(elm, 'align', align); - dom.setAttrib(elm, 'frame', frame); - dom.setAttrib(elm, 'rules', rules); - dom.setAttrib(elm, 'class', className); - dom.setAttrib(elm, 'style', style); - dom.setAttrib(elm, 'id', id); - dom.setAttrib(elm, 'summary', summary); - dom.setAttrib(elm, 'dir', dir); - dom.setAttrib(elm, 'lang', lang); - - capEl = inst.dom.select('caption', elm)[0]; - - if (capEl && !caption) - capEl.parentNode.removeChild(capEl); - - if (!capEl && caption) { - capEl = elm.ownerDocument.createElement('caption'); - - if (!tinymce.isIE) - capEl.innerHTML = '
    '; - - elm.insertBefore(capEl, elm.firstChild); - } - - if (width && inst.settings.inline_styles) { - dom.setStyle(elm, 'width', width); - dom.setAttrib(elm, 'width', ''); - } else { - dom.setAttrib(elm, 'width', width, true); - dom.setStyle(elm, 'width', ''); - } - - // Remove these since they are not valid XHTML - dom.setAttrib(elm, 'borderColor', ''); - dom.setAttrib(elm, 'bgColor', ''); - dom.setAttrib(elm, 'background', ''); - - if (height && inst.settings.inline_styles) { - dom.setStyle(elm, 'height', height); - dom.setAttrib(elm, 'height', ''); - } else { - dom.setAttrib(elm, 'height', height, true); - dom.setStyle(elm, 'height', ''); - } - - if (background != '') - elm.style.backgroundImage = "url('" + background + "')"; - else - elm.style.backgroundImage = ''; - -/* if (tinyMCEPopup.getParam("inline_styles")) { - if (width != '') - elm.style.width = getCSSSize(width); - }*/ - - if (bordercolor != "") { - elm.style.borderColor = bordercolor; - elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle; - elm.style.borderWidth = cssSize(border); - } else - elm.style.borderColor = ''; - - elm.style.backgroundColor = bgcolor; - elm.style.height = getCSSSize(height); - - inst.addVisual(); - - // Fix for stange MSIE align bug - //elm.outerHTML = elm.outerHTML; - - inst.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - - // Repaint if dimensions changed - if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight) - inst.execCommand('mceRepaint'); - - tinyMCEPopup.close(); - return true; - } - - // Create new table - html += ''); - - tinymce.each('h1,h2,h3,h4,h5,h6,p'.split(','), function(n) { - if (patt) - patt += ','; - - patt += n + ' ._mce_marker'; - }); - - tinymce.each(inst.dom.select(patt), function(n) { - inst.dom.split(inst.dom.getParent(n, 'h1,h2,h3,h4,h5,h6,p'), n); - }); - - dom.setOuterHTML(dom.select('br._mce_marker')[0], html); - } else - inst.execCommand('mceInsertContent', false, html); - - tinymce.each(dom.select('table[data-mce-new]'), function(node) { - var tdorth = dom.select('td,th', node); - - try { - // IE9 might fail to do this selection - inst.selection.setCursorLocation(tdorth[0], 0); - } catch (ex) { - // Ignore - } - - dom.setAttrib(node, 'data-mce-new', ''); - }); - - inst.addVisual(); - inst.execCommand('mceEndUndoLevel'); - - tinyMCEPopup.close(); -} - -function makeAttrib(attrib, value) { - var formObj = document.forms[0]; - var valueElm = formObj.elements[attrib]; - - if (typeof(value) == "undefined" || value == null) { - value = ""; - - if (valueElm) - value = valueElm.value; - } - - if (value == "") - return ""; - - // XML encode it - value = value.replace(/&/g, '&'); - value = value.replace(/\"/g, '"'); - value = value.replace(//g, '>'); - - return ' ' + attrib + '="' + value + '"'; -} - -function init() { - tinyMCEPopup.resizeToInnerSize(); - - document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); - document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); - document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); - document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); - - var cols = 2, rows = 2, border = tinyMCEPopup.getParam('table_default_border', '0'), cellpadding = tinyMCEPopup.getParam('table_default_cellpadding', ''), cellspacing = tinyMCEPopup.getParam('table_default_cellspacing', ''); - var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = ""; - var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = "", rules = "", frame = ""; - var inst = tinyMCEPopup.editor, dom = inst.dom; - var formObj = document.forms[0]; - var elm = dom.getParent(inst.selection.getNode(), "table"); - - action = tinyMCEPopup.getWindowArg('action'); - - if (!action) - action = elm ? "update" : "insert"; - - if (elm && action != "insert") { - var rowsAr = elm.rows; - var cols = 0; - for (var i=0; i cols) - cols = rowsAr[i].cells.length; - - cols = cols; - rows = rowsAr.length; - - st = dom.parseStyle(dom.getAttrib(elm, "style")); - border = trimSize(getStyle(elm, 'border', 'borderWidth')); - cellpadding = dom.getAttrib(elm, 'cellpadding', ""); - cellspacing = dom.getAttrib(elm, 'cellspacing', ""); - width = trimSize(getStyle(elm, 'width', 'width')); - height = trimSize(getStyle(elm, 'height', 'height')); - bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor')); - bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor')); - align = dom.getAttrib(elm, 'align', align); - frame = dom.getAttrib(elm, 'frame'); - rules = dom.getAttrib(elm, 'rules'); - className = tinymce.trim(dom.getAttrib(elm, 'class').replace(/mceItem.+/g, '')); - id = dom.getAttrib(elm, 'id'); - summary = dom.getAttrib(elm, 'summary'); - style = dom.serializeStyle(st); - dir = dom.getAttrib(elm, 'dir'); - lang = dom.getAttrib(elm, 'lang'); - background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); - formObj.caption.checked = elm.getElementsByTagName('caption').length > 0; - - orgTableWidth = width; - orgTableHeight = height; - - action = "update"; - formObj.insert.value = inst.getLang('update'); - } - - addClassesToList('class', "table_styles"); - TinyMCE_EditableSelects.init(); - - // Update form - selectByValue(formObj, 'align', align); - selectByValue(formObj, 'tframe', frame); - selectByValue(formObj, 'rules', rules); - selectByValue(formObj, 'class', className, true, true); - formObj.cols.value = cols; - formObj.rows.value = rows; - formObj.border.value = border; - formObj.cellpadding.value = cellpadding; - formObj.cellspacing.value = cellspacing; - formObj.width.value = width; - formObj.height.value = height; - formObj.bordercolor.value = bordercolor; - formObj.bgcolor.value = bgcolor; - formObj.id.value = id; - formObj.summary.value = summary; - formObj.style.value = style; - formObj.dir.value = dir; - formObj.lang.value = lang; - formObj.backgroundimage.value = background; - - updateColor('bordercolor_pick', 'bordercolor'); - updateColor('bgcolor_pick', 'bgcolor'); - - // Resize some elements - if (isVisible('backgroundimagebrowser')) - document.getElementById('backgroundimage').style.width = '180px'; - - // Disable some fields in update mode - if (action == "update") { - formObj.cols.disabled = true; - formObj.rows.disabled = true; - } -} - -function changedSize() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - -/* var width = formObj.width.value; - if (width != "") - st['width'] = tinyMCEPopup.getParam("inline_styles") ? getCSSSize(width) : ""; - else - st['width'] = "";*/ - - var height = formObj.height.value; - if (height != "") - st['height'] = getCSSSize(height); - else - st['height'] = ""; - - formObj.style.value = dom.serializeStyle(st); -} - -function isCssSize(value) { - return /^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)$/.test(value); -} - -function cssSize(value, def) { - value = tinymce.trim(value || def); - - if (!isCssSize(value)) { - return parseInt(value, 10) + 'px'; - } - - return value; -} - -function changedBackgroundImage() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - st['background-image'] = "url('" + formObj.backgroundimage.value + "')"; - - formObj.style.value = dom.serializeStyle(st); -} - -function changedBorder() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - // Update border width if the element has a color - if (formObj.border.value != "" && (isCssSize(formObj.border.value) || formObj.bordercolor.value != "")) - st['border-width'] = cssSize(formObj.border.value); - else { - if (!formObj.border.value) { - st['border'] = ''; - st['border-width'] = ''; - } - } - - formObj.style.value = dom.serializeStyle(st); -} - -function changedColor() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - st['background-color'] = formObj.bgcolor.value; - - if (formObj.bordercolor.value != "") { - st['border-color'] = formObj.bordercolor.value; - - // Add border-width if it's missing - if (!st['border-width']) - st['border-width'] = cssSize(formObj.border.value, 1); - } - - formObj.style.value = dom.serializeStyle(st); -} - -function changedStyle() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - if (st['background-image']) - formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); - else - formObj.backgroundimage.value = ''; - - if (st['width']) - formObj.width.value = trimSize(st['width']); - - if (st['height']) - formObj.height.value = trimSize(st['height']); - - if (st['background-color']) { - formObj.bgcolor.value = st['background-color']; - updateColor('bgcolor_pick','bgcolor'); - } - - if (st['border-color']) { - formObj.bordercolor.value = st['border-color']; - updateColor('bordercolor_pick','bordercolor'); - } -} - -tinyMCEPopup.onInit.add(init); diff --git a/js/jquery/tiny_mce/plugins/table/langs/en_dlg.js b/js/jquery/tiny_mce/plugins/table/langs/en_dlg.js deleted file mode 100644 index 463e09ee..00000000 --- a/js/jquery/tiny_mce/plugins/table/langs/en_dlg.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.table_dlg',{"rules_border":"border","rules_box":"box","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"below","rules_above":"above","rules_void":"void",rules:"Rules","frame_all":"all","frame_cols":"cols","frame_rows":"rows","frame_groups":"groups","frame_none":"none",frame:"Frame",caption:"Table Caption","missing_scope":"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.","cell_limit":"You\'ve exceeded the maximum number of cells of {$cells}.","row_limit":"You\'ve exceeded the maximum number of rows of {$rows}.","col_limit":"You\'ve exceeded the maximum number of columns of {$cols}.",colgroup:"Col Group",rowgroup:"Row Group",scope:"Scope",tfoot:"Footer",tbody:"Body",thead:"Header","row_all":"Update All Rows in Table","row_even":"Update Even Rows in Table","row_odd":"Update Odd Rows in Table","row_row":"Update Current Row","cell_all":"Update All Cells in Table","cell_row":"Update All Cells in Row","cell_cell":"Update Current Cell",th:"Header",td:"Data",summary:"Summary",bgimage:"Background Image",rtl:"Right to Left",ltr:"Left to Right",mime:"Target MIME Type",langcode:"Language Code",langdir:"Language Direction",style:"Style",id:"ID","merge_cells_title":"Merge Table Cells",bgcolor:"Background Color",bordercolor:"Border Color","align_bottom":"Bottom","align_top":"Top",valign:"Vertical Alignment","cell_type":"Cell Type","cell_title":"Table Cell Properties","row_title":"Table Row Properties","align_middle":"Center","align_right":"Right","align_left":"Left","align_default":"Default",align:"Alignment",border:"Border",cellpadding:"Cell Padding",cellspacing:"Cell Spacing",rows:"Rows",cols:"Columns",height:"Height",width:"Width",title:"Insert/Edit Table",rowtype:"Row Type","advanced_props":"Advanced Properties","general_props":"General Properties","advanced_tab":"Advanced","general_tab":"General","cell_col":"Update all cells in column"}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/table/merge_cells.htm b/js/jquery/tiny_mce/plugins/table/merge_cells.htm deleted file mode 100644 index d231090e..00000000 --- a/js/jquery/tiny_mce/plugins/table/merge_cells.htm +++ /dev/null @@ -1,32 +0,0 @@ - - - - {#table_dlg.merge_cells_title} - - - - - - -
    -
    - {#table_dlg.merge_cells_title} - - - - - - - - - -
    :
    :
    -
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/table/row.htm b/js/jquery/tiny_mce/plugins/table/row.htm deleted file mode 100644 index 1885401f..00000000 --- a/js/jquery/tiny_mce/plugins/table/row.htm +++ /dev/null @@ -1,158 +0,0 @@ - - - - {#table_dlg.row_title} - - - - - - - - - -
    - - -
    -
    -
    - {#table_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - -
    - -
    -
    -
    - -
    -
    - {#table_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - - - - - -
     
    -
    - - - - - - -
     
    -
    -
    -
    -
    -
    - -
    -
    - -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/table/table.htm b/js/jquery/tiny_mce/plugins/table/table.htm deleted file mode 100644 index b92fa741..00000000 --- a/js/jquery/tiny_mce/plugins/table/table.htm +++ /dev/null @@ -1,188 +0,0 @@ - - - - {#table_dlg.title} - - - - - - - - - - -
    - - -
    -
    -
    - {#table_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    - -
    -
    - {#table_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - - - -
     
    -
    - -
    - -
    - -
    - - - - - -
     
    -
    - - - - - -
     
    -
    -
    -
    -
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/template/blank.htm b/js/jquery/tiny_mce/plugins/template/blank.htm deleted file mode 100644 index ecde53fa..00000000 --- a/js/jquery/tiny_mce/plugins/template/blank.htm +++ /dev/null @@ -1,12 +0,0 @@ - - - blank_page - - - - - - - diff --git a/js/jquery/tiny_mce/plugins/template/css/template.css b/js/jquery/tiny_mce/plugins/template/css/template.css deleted file mode 100644 index 2d23a493..00000000 --- a/js/jquery/tiny_mce/plugins/template/css/template.css +++ /dev/null @@ -1,23 +0,0 @@ -#frmbody { - padding: 10px; - background-color: #FFF; - border: 1px solid #CCC; -} - -.frmRow { - margin-bottom: 10px; -} - -#templatesrc { - border: none; - width: 320px; - height: 240px; -} - -.title { - padding-bottom: 5px; -} - -.mceActionPanel { - padding-top: 5px; -} diff --git a/js/jquery/tiny_mce/plugins/template/editor_plugin.js b/js/jquery/tiny_mce/plugins/template/editor_plugin.js deleted file mode 100644 index ebe3c27d..00000000 --- a/js/jquery/tiny_mce/plugins/template/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){var a=tinymce.each;tinymce.create("tinymce.plugins.TemplatePlugin",{init:function(b,c){var d=this;d.editor=b;b.addCommand("mceTemplate",function(e){b.windowManager.open({file:c+"/template.htm",width:b.getParam("template_popup_width",750),height:b.getParam("template_popup_height",600),inline:1},{plugin_url:c})});b.addCommand("mceInsertTemplate",d._insertTemplate,d);b.addButton("template",{title:"template.desc",cmd:"mceTemplate"});b.onPreProcess.add(function(e,g){var f=e.dom;a(f.select("div",g.node),function(h){if(f.hasClass(h,"mceTmpl")){a(f.select("*",h),function(i){if(f.hasClass(i,e.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))){i.innerHTML=d._getDateTime(new Date(),e.getParam("template_mdate_format",e.getLang("template.mdate_format")))}});d._replaceVals(h)}})})},getInfo:function(){return{longname:"Template plugin",author:"Moxiecode Systems AB",authorurl:"http://www.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_insertTemplate:function(i,j){var k=this,g=k.editor,f,c,d=g.dom,b=g.selection.getContent();f=j.content;a(k.editor.getParam("template_replace_values"),function(l,h){if(typeof(l)!="function"){f=f.replace(new RegExp("\\{\\$"+h+"\\}","g"),l)}});c=d.create("div",null,f);n=d.select(".mceTmpl",c);if(n&&n.length>0){c=d.create("div",null);c.appendChild(n[0].cloneNode(true))}function e(l,h){return new RegExp("\\b"+h+"\\b","g").test(l.className)}a(d.select("*",c),function(h){if(e(h,g.getParam("template_cdate_classes","cdate").replace(/\s+/g,"|"))){h.innerHTML=k._getDateTime(new Date(),g.getParam("template_cdate_format",g.getLang("template.cdate_format")))}if(e(h,g.getParam("template_mdate_classes","mdate").replace(/\s+/g,"|"))){h.innerHTML=k._getDateTime(new Date(),g.getParam("template_mdate_format",g.getLang("template.mdate_format")))}if(e(h,g.getParam("template_selected_content_classes","selcontent").replace(/\s+/g,"|"))){h.innerHTML=b}});k._replaceVals(c);g.execCommand("mceInsertContent",false,c.innerHTML);g.addVisual()},_replaceVals:function(c){var d=this.editor.dom,b=this.editor.getParam("template_replace_values");a(d.select("*",c),function(f){a(b,function(g,e){if(d.hasClass(f,e)){if(typeof(b[e])=="function"){b[e](f)}}})})},_getDateTime:function(e,b){if(!b){return""}function c(g,d){var f;g=""+g;if(g.length 0) { - el = dom.create('div', null); - el.appendChild(n[0].cloneNode(true)); - } - - function hasClass(n, c) { - return new RegExp('\\b' + c + '\\b', 'g').test(n.className); - }; - - each(dom.select('*', el), function(n) { - // Replace cdate - if (hasClass(n, ed.getParam('template_cdate_classes', 'cdate').replace(/\s+/g, '|'))) - n.innerHTML = t._getDateTime(new Date(), ed.getParam("template_cdate_format", ed.getLang("template.cdate_format"))); - - // Replace mdate - if (hasClass(n, ed.getParam('template_mdate_classes', 'mdate').replace(/\s+/g, '|'))) - n.innerHTML = t._getDateTime(new Date(), ed.getParam("template_mdate_format", ed.getLang("template.mdate_format"))); - - // Replace selection - if (hasClass(n, ed.getParam('template_selected_content_classes', 'selcontent').replace(/\s+/g, '|'))) - n.innerHTML = sel; - }); - - t._replaceVals(el); - - ed.execCommand('mceInsertContent', false, el.innerHTML); - ed.addVisual(); - }, - - _replaceVals : function(e) { - var dom = this.editor.dom, vl = this.editor.getParam('template_replace_values'); - - each(dom.select('*', e), function(e) { - each(vl, function(v, k) { - if (dom.hasClass(e, k)) { - if (typeof(vl[k]) == 'function') - vl[k](e); - } - }); - }); - }, - - _getDateTime : function(d, fmt) { - if (!fmt) - return ""; - - function addZeros(value, len) { - var i; - - value = "" + value; - - if (value.length < len) { - for (i=0; i<(len-value.length); i++) - value = "0" + value; - } - - return value; - } - - fmt = fmt.replace("%D", "%m/%d/%y"); - fmt = fmt.replace("%r", "%I:%M:%S %p"); - fmt = fmt.replace("%Y", "" + d.getFullYear()); - fmt = fmt.replace("%y", "" + d.getYear()); - fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2)); - fmt = fmt.replace("%d", addZeros(d.getDate(), 2)); - fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2)); - fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2)); - fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2)); - fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1)); - fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM")); - fmt = fmt.replace("%B", "" + this.editor.getLang("template_months_long").split(',')[d.getMonth()]); - fmt = fmt.replace("%b", "" + this.editor.getLang("template_months_short").split(',')[d.getMonth()]); - fmt = fmt.replace("%A", "" + this.editor.getLang("template_day_long").split(',')[d.getDay()]); - fmt = fmt.replace("%a", "" + this.editor.getLang("template_day_short").split(',')[d.getDay()]); - fmt = fmt.replace("%%", "%"); - - return fmt; - } - }); - - // Register plugin - tinymce.PluginManager.add('template', tinymce.plugins.TemplatePlugin); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/template/js/template.js b/js/jquery/tiny_mce/plugins/template/js/template.js deleted file mode 100644 index bc3045d2..00000000 --- a/js/jquery/tiny_mce/plugins/template/js/template.js +++ /dev/null @@ -1,106 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var TemplateDialog = { - preInit : function() { - var url = tinyMCEPopup.getParam("template_external_list_url"); - - if (url != null) - document.write(''); - }, - - init : function() { - var ed = tinyMCEPopup.editor, tsrc, sel, x, u; - - tsrc = ed.getParam("template_templates", false); - sel = document.getElementById('tpath'); - - // Setup external template list - if (!tsrc && typeof(tinyMCETemplateList) != 'undefined') { - for (x=0, tsrc = []; x'); - }); - }, - - selectTemplate : function(u, ti) { - var d = window.frames['templatesrc'].document, x, tsrc = this.tsrc; - - if (!u) - return; - - d.body.innerHTML = this.templateHTML = this.getFileContents(u); - - for (x=0; x - - {#template_dlg.title} - - - - - -
    -
    -
    {#template_dlg.desc}
    -
    - -
    -
    -
    -
    - {#template_dlg.preview} - -
    -
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/visualchars/editor_plugin.js b/js/jquery/tiny_mce/plugins/visualchars/editor_plugin.js deleted file mode 100644 index 1a148e8b..00000000 --- a/js/jquery/tiny_mce/plugins/visualchars/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.VisualChars",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceVisualChars",c._toggleVisualChars,c);a.addButton("visualchars",{title:"visualchars.desc",cmd:"mceVisualChars"});a.onBeforeGetContent.add(function(d,e){if(c.state&&e.format!="raw"&&!e.draft){c.state=true;c._toggleVisualChars(false)}})},getInfo:function(){return{longname:"Visual characters",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_toggleVisualChars:function(m){var p=this,k=p.editor,a,g,j,n=k.getDoc(),o=k.getBody(),l,q=k.selection,e,c,f;p.state=!p.state;k.controlManager.setActive("visualchars",p.state);if(m){f=q.getBookmark()}if(p.state){a=[];tinymce.walk(o,function(b){if(b.nodeType==3&&b.nodeValue&&b.nodeValue.indexOf("\u00a0")!=-1){a.push(b)}},"childNodes");for(g=0;g$1');c=k.dom.create("div",null,l);while(node=c.lastChild){k.dom.insertAfter(node,a[g])}k.dom.remove(a[g])}}else{a=k.dom.select("span.mceItemNbsp",o);for(g=a.length-1;g>=0;g--){k.dom.remove(a[g],1)}}q.moveToBookmark(f)}});tinymce.PluginManager.add("visualchars",tinymce.plugins.VisualChars)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/visualchars/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/visualchars/editor_plugin_src.js deleted file mode 100644 index df985905..00000000 --- a/js/jquery/tiny_mce/plugins/visualchars/editor_plugin_src.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.VisualChars', { - init : function(ed, url) { - var t = this; - - t.editor = ed; - - // Register commands - ed.addCommand('mceVisualChars', t._toggleVisualChars, t); - - // Register buttons - ed.addButton('visualchars', {title : 'visualchars.desc', cmd : 'mceVisualChars'}); - - ed.onBeforeGetContent.add(function(ed, o) { - if (t.state && o.format != 'raw' && !o.draft) { - t.state = true; - t._toggleVisualChars(false); - } - }); - }, - - getInfo : function() { - return { - longname : 'Visual characters', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - }, - - // Private methods - - _toggleVisualChars : function(bookmark) { - var t = this, ed = t.editor, nl, i, h, d = ed.getDoc(), b = ed.getBody(), nv, s = ed.selection, bo, div, bm; - - t.state = !t.state; - ed.controlManager.setActive('visualchars', t.state); - - if (bookmark) - bm = s.getBookmark(); - - if (t.state) { - nl = []; - tinymce.walk(b, function(n) { - if (n.nodeType == 3 && n.nodeValue && n.nodeValue.indexOf('\u00a0') != -1) - nl.push(n); - }, 'childNodes'); - - for (i = 0; i < nl.length; i++) { - nv = nl[i].nodeValue; - nv = nv.replace(/(\u00a0)/g, '$1'); - - div = ed.dom.create('div', null, nv); - while (node = div.lastChild) - ed.dom.insertAfter(node, nl[i]); - - ed.dom.remove(nl[i]); - } - } else { - nl = ed.dom.select('span.mceItemNbsp', b); - - for (i = nl.length - 1; i >= 0; i--) - ed.dom.remove(nl[i], 1); - } - - s.moveToBookmark(bm); - } - }); - - // Register plugin - tinymce.PluginManager.add('visualchars', tinymce.plugins.VisualChars); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/wordcount/editor_plugin.js b/js/jquery/tiny_mce/plugins/wordcount/editor_plugin.js deleted file mode 100644 index a752ad32..00000000 --- a/js/jquery/tiny_mce/plugins/wordcount/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.WordCount",{block:0,id:null,countre:null,cleanre:null,init:function(a,b){var c=this,d=0;c.countre=a.getParam("wordcount_countregex",/[\w\u2019\'-]+/g);c.cleanre=a.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g);c.id=a.id+"-word-count";a.onPostRender.add(function(f,e){var g,h;h=f.getParam("wordcount_target_id");if(!h){g=tinymce.DOM.get(f.id+"_path_row");if(g){tinymce.DOM.add(g.parentNode,"div",{style:"float: right"},f.getLang("wordcount.words","Words: ")+'0')}}else{tinymce.DOM.add(h,"span",{},'0')}});a.onInit.add(function(e){e.selection.onSetContent.add(function(){c._count(e)});c._count(e)});a.onSetContent.add(function(e){c._count(e)});a.onKeyUp.add(function(f,g){if(g.keyCode==d){return}if(13==g.keyCode||8==d||46==d){c._count(f)}d=g.keyCode})},_getCount:function(c){var a=0;var b=c.getContent({format:"raw"});if(b){b=b.replace(/\.\.\./g," ");b=b.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ");b=b.replace(/(\w+)(&.+?;)+(\w+)/,"$1$3").replace(/&.+?;/g," ");b=b.replace(this.cleanre,"");var d=b.match(this.countre);if(d){a=d.length}}return a},_count:function(a){var b=this;if(b.block){return}b.block=1;setTimeout(function(){if(!a.destroyed){var c=b._getCount(a);tinymce.DOM.setHTML(b.id,c.toString());setTimeout(function(){b.block=0},2000)}},1)},getInfo:function(){return{longname:"Word Count plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("wordcount",tinymce.plugins.WordCount)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/wordcount/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/wordcount/editor_plugin_src.js deleted file mode 100644 index e94743ba..00000000 --- a/js/jquery/tiny_mce/plugins/wordcount/editor_plugin_src.js +++ /dev/null @@ -1,114 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.WordCount', { - block : 0, - id : null, - countre : null, - cleanre : null, - - init : function(ed, url) { - var t = this, last = 0; - - t.countre = ed.getParam('wordcount_countregex', /[\w\u2019\'-]+/g); // u2019 == ’ - t.cleanre = ed.getParam('wordcount_cleanregex', /[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g); - t.id = ed.id + '-word-count'; - - ed.onPostRender.add(function(ed, cm) { - var row, id; - - // Add it to the specified id or the theme advanced path - id = ed.getParam('wordcount_target_id'); - if (!id) { - row = tinymce.DOM.get(ed.id + '_path_row'); - - if (row) - tinymce.DOM.add(row.parentNode, 'div', {'style': 'float: right'}, ed.getLang('wordcount.words', 'Words: ') + '0'); - } else { - tinymce.DOM.add(id, 'span', {}, '0'); - } - }); - - ed.onInit.add(function(ed) { - ed.selection.onSetContent.add(function() { - t._count(ed); - }); - - t._count(ed); - }); - - ed.onSetContent.add(function(ed) { - t._count(ed); - }); - - ed.onKeyUp.add(function(ed, e) { - if (e.keyCode == last) - return; - - if (13 == e.keyCode || 8 == last || 46 == last) - t._count(ed); - - last = e.keyCode; - }); - }, - - _getCount : function(ed) { - var tc = 0; - var tx = ed.getContent({ format: 'raw' }); - - if (tx) { - tx = tx.replace(/\.\.\./g, ' '); // convert ellipses to spaces - tx = tx.replace(/<.[^<>]*?>/g, ' ').replace(/ | /gi, ' '); // remove html tags and space chars - - // deal with html entities - tx = tx.replace(/(\w+)(&.+?;)+(\w+)/, "$1$3").replace(/&.+?;/g, ' '); - tx = tx.replace(this.cleanre, ''); // remove numbers and punctuation - - var wordArray = tx.match(this.countre); - if (wordArray) { - tc = wordArray.length; - } - } - - return tc; - }, - - _count : function(ed) { - var t = this; - - // Keep multiple calls from happening at the same time - if (t.block) - return; - - t.block = 1; - - setTimeout(function() { - if (!ed.destroyed) { - var tc = t._getCount(ed); - tinymce.DOM.setHTML(t.id, tc.toString()); - setTimeout(function() {t.block = 0;}, 2000); - } - }, 1); - }, - - getInfo: function() { - return { - longname : 'Word Count plugin', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - tinymce.PluginManager.add('wordcount', tinymce.plugins.WordCount); -})(); diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/abbr.htm b/js/jquery/tiny_mce/plugins/xhtmlxtras/abbr.htm deleted file mode 100644 index 30a894f7..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/abbr.htm +++ /dev/null @@ -1,142 +0,0 @@ - - - - {#xhtmlxtras_dlg.title_abbr_element} - - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/acronym.htm b/js/jquery/tiny_mce/plugins/xhtmlxtras/acronym.htm deleted file mode 100644 index c1093459..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/acronym.htm +++ /dev/null @@ -1,142 +0,0 @@ - - - - {#xhtmlxtras_dlg.title_acronym_element} - - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/attributes.htm b/js/jquery/tiny_mce/plugins/xhtmlxtras/attributes.htm deleted file mode 100644 index e8d606a3..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/attributes.htm +++ /dev/null @@ -1,149 +0,0 @@ - - - - {#xhtmlxtras_dlg.attribs_title} - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.attribute_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.attribute_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/cite.htm b/js/jquery/tiny_mce/plugins/xhtmlxtras/cite.htm deleted file mode 100644 index 0ac6bdb6..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/cite.htm +++ /dev/null @@ -1,142 +0,0 @@ - - - - {#xhtmlxtras_dlg.title_cite_element} - - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/js/jquery/tiny_mce/plugins/xhtmlxtras/css/attributes.css deleted file mode 100644 index 9a6a235c..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/css/attributes.css +++ /dev/null @@ -1,11 +0,0 @@ -.panel_wrapper div.current { - height: 290px; -} - -#id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey { - width: 200px; -} - -#events_panel input { - width: 200px; -} diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/css/popup.css b/js/jquery/tiny_mce/plugins/xhtmlxtras/css/popup.css deleted file mode 100644 index e67114db..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/css/popup.css +++ /dev/null @@ -1,9 +0,0 @@ -input.field, select.field {width:200px;} -input.picker {width:179px; margin-left: 5px;} -input.disabled {border-color:#F2F2F2;} -img.picker {vertical-align:text-bottom; cursor:pointer;} -h1 {padding: 0 0 5px 0;} -.panel_wrapper div.current {height:160px;} -#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;} -a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;} -#datetime {width:180px;} diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/del.htm b/js/jquery/tiny_mce/plugins/xhtmlxtras/del.htm deleted file mode 100644 index 5f667510..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/del.htm +++ /dev/null @@ -1,162 +0,0 @@ - - - - {#xhtmlxtras_dlg.title_del_element} - - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_general_tab} - - - - - - - - - -
    : - - - - - -
    -
    :
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/editor_plugin.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/editor_plugin.js deleted file mode 100644 index 9b98a515..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.XHTMLXtrasPlugin",{init:function(a,b){a.addCommand("mceCite",function(){a.windowManager.open({file:b+"/cite.htm",width:350+parseInt(a.getLang("xhtmlxtras.cite_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.cite_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAcronym",function(){a.windowManager.open({file:b+"/acronym.htm",width:350+parseInt(a.getLang("xhtmlxtras.acronym_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.acronym_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAbbr",function(){a.windowManager.open({file:b+"/abbr.htm",width:350+parseInt(a.getLang("xhtmlxtras.abbr_delta_width",0)),height:250+parseInt(a.getLang("xhtmlxtras.abbr_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceDel",function(){a.windowManager.open({file:b+"/del.htm",width:340+parseInt(a.getLang("xhtmlxtras.del_delta_width",0)),height:310+parseInt(a.getLang("xhtmlxtras.del_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceIns",function(){a.windowManager.open({file:b+"/ins.htm",width:340+parseInt(a.getLang("xhtmlxtras.ins_delta_width",0)),height:310+parseInt(a.getLang("xhtmlxtras.ins_delta_height",0)),inline:1},{plugin_url:b})});a.addCommand("mceAttributes",function(){a.windowManager.open({file:b+"/attributes.htm",width:380+parseInt(a.getLang("xhtmlxtras.attr_delta_width",0)),height:370+parseInt(a.getLang("xhtmlxtras.attr_delta_height",0)),inline:1},{plugin_url:b})});a.addButton("cite",{title:"xhtmlxtras.cite_desc",cmd:"mceCite"});a.addButton("acronym",{title:"xhtmlxtras.acronym_desc",cmd:"mceAcronym"});a.addButton("abbr",{title:"xhtmlxtras.abbr_desc",cmd:"mceAbbr"});a.addButton("del",{title:"xhtmlxtras.del_desc",cmd:"mceDel"});a.addButton("ins",{title:"xhtmlxtras.ins_desc",cmd:"mceIns"});a.addButton("attribs",{title:"xhtmlxtras.attribs_desc",cmd:"mceAttributes"});a.onNodeChange.add(function(d,c,f,e){f=d.dom.getParent(f,"CITE,ACRONYM,ABBR,DEL,INS");c.setDisabled("cite",e);c.setDisabled("acronym",e);c.setDisabled("abbr",e);c.setDisabled("del",e);c.setDisabled("ins",e);c.setDisabled("attribs",f&&f.nodeName=="BODY");c.setActive("cite",0);c.setActive("acronym",0);c.setActive("abbr",0);c.setActive("del",0);c.setActive("ins",0);if(f){do{c.setDisabled(f.nodeName.toLowerCase(),0);c.setActive(f.nodeName.toLowerCase(),1)}while(f=f.parentNode)}});a.onPreInit.add(function(){a.dom.create("abbr")})},getInfo:function(){return{longname:"XHTML Xtras Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("xhtmlxtras",tinymce.plugins.XHTMLXtrasPlugin)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js deleted file mode 100644 index f2405721..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +++ /dev/null @@ -1,132 +0,0 @@ -/** - * editor_plugin_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', { - init : function(ed, url) { - // Register commands - ed.addCommand('mceCite', function() { - ed.windowManager.open({ - file : url + '/cite.htm', - width : 350 + parseInt(ed.getLang('xhtmlxtras.cite_delta_width', 0)), - height : 250 + parseInt(ed.getLang('xhtmlxtras.cite_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }); - - ed.addCommand('mceAcronym', function() { - ed.windowManager.open({ - file : url + '/acronym.htm', - width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)), - height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }); - - ed.addCommand('mceAbbr', function() { - ed.windowManager.open({ - file : url + '/abbr.htm', - width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)), - height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }); - - ed.addCommand('mceDel', function() { - ed.windowManager.open({ - file : url + '/del.htm', - width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)), - height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }); - - ed.addCommand('mceIns', function() { - ed.windowManager.open({ - file : url + '/ins.htm', - width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)), - height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }); - - ed.addCommand('mceAttributes', function() { - ed.windowManager.open({ - file : url + '/attributes.htm', - width : 380 + parseInt(ed.getLang('xhtmlxtras.attr_delta_width', 0)), - height : 370 + parseInt(ed.getLang('xhtmlxtras.attr_delta_height', 0)), - inline : 1 - }, { - plugin_url : url - }); - }); - - // Register buttons - ed.addButton('cite', {title : 'xhtmlxtras.cite_desc', cmd : 'mceCite'}); - ed.addButton('acronym', {title : 'xhtmlxtras.acronym_desc', cmd : 'mceAcronym'}); - ed.addButton('abbr', {title : 'xhtmlxtras.abbr_desc', cmd : 'mceAbbr'}); - ed.addButton('del', {title : 'xhtmlxtras.del_desc', cmd : 'mceDel'}); - ed.addButton('ins', {title : 'xhtmlxtras.ins_desc', cmd : 'mceIns'}); - ed.addButton('attribs', {title : 'xhtmlxtras.attribs_desc', cmd : 'mceAttributes'}); - - ed.onNodeChange.add(function(ed, cm, n, co) { - n = ed.dom.getParent(n, 'CITE,ACRONYM,ABBR,DEL,INS'); - - cm.setDisabled('cite', co); - cm.setDisabled('acronym', co); - cm.setDisabled('abbr', co); - cm.setDisabled('del', co); - cm.setDisabled('ins', co); - cm.setDisabled('attribs', n && n.nodeName == 'BODY'); - cm.setActive('cite', 0); - cm.setActive('acronym', 0); - cm.setActive('abbr', 0); - cm.setActive('del', 0); - cm.setActive('ins', 0); - - // Activate all - if (n) { - do { - cm.setDisabled(n.nodeName.toLowerCase(), 0); - cm.setActive(n.nodeName.toLowerCase(), 1); - } while (n = n.parentNode); - } - }); - - ed.onPreInit.add(function() { - // Fixed IE issue where it can't handle these elements correctly - ed.dom.create('abbr'); - }); - }, - - getInfo : function() { - return { - longname : 'XHTML Xtras Plugin', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras', - version : tinymce.majorVersion + "." + tinymce.minorVersion - }; - } - }); - - // Register plugin - tinymce.PluginManager.add('xhtmlxtras', tinymce.plugins.XHTMLXtrasPlugin); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/ins.htm b/js/jquery/tiny_mce/plugins/xhtmlxtras/ins.htm deleted file mode 100644 index d001ac7c..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/ins.htm +++ /dev/null @@ -1,162 +0,0 @@ - - - - {#xhtmlxtras_dlg.title_ins_element} - - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_general_tab} - - - - - - - - - -
    : - - - - - -
    -
    :
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/js/abbr.js deleted file mode 100644 index 4b51a257..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/abbr.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * abbr.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('abbr'); - if (SXE.currentAction == "update") { - SXE.showRemoveButton(); - } -} - -function insertAbbr() { - SXE.insertElement('abbr'); - tinyMCEPopup.close(); -} - -function removeAbbr() { - SXE.removeElement('abbr'); - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/js/acronym.js deleted file mode 100644 index 6ec2f887..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/acronym.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * acronym.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('acronym'); - if (SXE.currentAction == "update") { - SXE.showRemoveButton(); - } -} - -function insertAcronym() { - SXE.insertElement('acronym'); - tinyMCEPopup.close(); -} - -function removeAcronym() { - SXE.removeElement('acronym'); - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/js/attributes.js deleted file mode 100644 index 9c99995a..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/attributes.js +++ /dev/null @@ -1,111 +0,0 @@ -/** - * attributes.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - tinyMCEPopup.resizeToInnerSize(); - var inst = tinyMCEPopup.editor; - var dom = inst.dom; - var elm = inst.selection.getNode(); - var f = document.forms[0]; - var onclick = dom.getAttrib(elm, 'onclick'); - - setFormValue('title', dom.getAttrib(elm, 'title')); - setFormValue('id', dom.getAttrib(elm, 'id')); - setFormValue('style', dom.getAttrib(elm, "style")); - setFormValue('dir', dom.getAttrib(elm, 'dir')); - setFormValue('lang', dom.getAttrib(elm, 'lang')); - setFormValue('tabindex', dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); - setFormValue('accesskey', dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); - setFormValue('onfocus', dom.getAttrib(elm, 'onfocus')); - setFormValue('onblur', dom.getAttrib(elm, 'onblur')); - setFormValue('onclick', onclick); - setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick')); - setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown')); - setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup')); - setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover')); - setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove')); - setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout')); - setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress')); - setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown')); - setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup')); - className = dom.getAttrib(elm, 'class'); - - addClassesToList('classlist', 'advlink_styles'); - selectByValue(f, 'classlist', className, true); - - TinyMCE_EditableSelects.init(); -} - -function setFormValue(name, value) { - if(value && document.forms[0].elements[name]){ - document.forms[0].elements[name].value = value; - } -} - -function insertAction() { - var inst = tinyMCEPopup.editor; - var elm = inst.selection.getNode(); - - setAllAttribs(elm); - tinyMCEPopup.execCommand("mceEndUndoLevel"); - tinyMCEPopup.close(); -} - -function setAttrib(elm, attrib, value) { - var formObj = document.forms[0]; - var valueElm = formObj.elements[attrib.toLowerCase()]; - var inst = tinyMCEPopup.editor; - var dom = inst.dom; - - if (typeof(value) == "undefined" || value == null) { - value = ""; - - if (valueElm) - value = valueElm.value; - } - - dom.setAttrib(elm, attrib.toLowerCase(), value); -} - -function setAllAttribs(elm) { - var f = document.forms[0]; - - setAttrib(elm, 'title'); - setAttrib(elm, 'id'); - setAttrib(elm, 'style'); - setAttrib(elm, 'class', getSelectValue(f, 'classlist')); - setAttrib(elm, 'dir'); - setAttrib(elm, 'lang'); - setAttrib(elm, 'tabindex'); - setAttrib(elm, 'accesskey'); - setAttrib(elm, 'onfocus'); - setAttrib(elm, 'onblur'); - setAttrib(elm, 'onclick'); - setAttrib(elm, 'ondblclick'); - setAttrib(elm, 'onmousedown'); - setAttrib(elm, 'onmouseup'); - setAttrib(elm, 'onmouseover'); - setAttrib(elm, 'onmousemove'); - setAttrib(elm, 'onmouseout'); - setAttrib(elm, 'onkeypress'); - setAttrib(elm, 'onkeydown'); - setAttrib(elm, 'onkeyup'); - - // Refresh in old MSIE -// if (tinyMCE.isMSIE5) -// elm.outerHTML = elm.outerHTML; -} - -function insertAttribute() { - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); -tinyMCEPopup.requireLangPack(); diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/cite.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/js/cite.js deleted file mode 100644 index 009b7154..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/cite.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * cite.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('cite'); - if (SXE.currentAction == "update") { - SXE.showRemoveButton(); - } -} - -function insertCite() { - SXE.insertElement('cite'); - tinyMCEPopup.close(); -} - -function removeCite() { - SXE.removeElement('cite'); - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/del.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/js/del.js deleted file mode 100644 index 1f957dc7..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/del.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * del.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('del'); - if (SXE.currentAction == "update") { - setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); - setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); - SXE.showRemoveButton(); - } -} - -function setElementAttribs(elm) { - setAllCommonAttribs(elm); - setAttrib(elm, 'datetime'); - setAttrib(elm, 'cite'); - elm.removeAttribute('data-mce-new'); -} - -function insertDel() { - var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL'); - - if (elm == null) { - var s = SXE.inst.selection.getContent(); - if(s.length > 0) { - insertInlineElement('del'); - var elementArray = SXE.inst.dom.select('del[data-mce-new]'); - for (var i=0; i 0) { - tagName = element_name; - - insertInlineElement(element_name); - var elementArray = tinymce.grep(SXE.inst.dom.select(element_name)); - for (var i=0; i -1) ? true : false; -} - -SXE.removeClass = function(elm,cl) { - if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) { - return true; - } - var classNames = elm.className.split(" "); - var newClassNames = ""; - for (var x = 0, cnl = classNames.length; x < cnl; x++) { - if (classNames[x] != cl) { - newClassNames += (classNames[x] + " "); - } - } - elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end -} - -SXE.addClass = function(elm,cl) { - if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl; - return true; -} - -function insertInlineElement(en) { - var ed = tinyMCEPopup.editor, dom = ed.dom; - - ed.getDoc().execCommand('FontName', false, 'mceinline'); - tinymce.each(dom.select('span,font'), function(n) { - if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') - dom.replace(dom.create(en, {'data-mce-new' : 1}), n, 1); - }); -} diff --git a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/ins.js b/js/jquery/tiny_mce/plugins/xhtmlxtras/js/ins.js deleted file mode 100644 index c4addfb0..00000000 --- a/js/jquery/tiny_mce/plugins/xhtmlxtras/js/ins.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * ins.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('ins'); - if (SXE.currentAction == "update") { - setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); - setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); - SXE.showRemoveButton(); - } -} - -function setElementAttribs(elm) { - setAllCommonAttribs(elm); - setAttrib(elm, 'datetime'); - setAttrib(elm, 'cite'); - elm.removeAttribute('data-mce-new'); -} - -function insertIns() { - var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'INS'); - - if (elm == null) { - var s = SXE.inst.selection.getContent(); - if(s.length > 0) { - insertInlineElement('ins'); - var elementArray = SXE.inst.dom.select('ins[data-mce-new]'); - for (var i=0; i - - - {#advanced_dlg.about_title} - - - - - - - -
    -
    -

    {#advanced_dlg.about_title}

    -

    Version: ()

    -

    TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL - by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.

    -

    Copyright © 2003-2008, Moxiecode Systems AB, All rights reserved.

    -

    For more information about this software visit the TinyMCE website.

    - -
    - Got Moxie? -
    -
    - -
    -
    -

    {#advanced_dlg.about_loaded}

    - -
    -
    - -

     

    -
    -
    - -
    -
    -
    -
    - -
    - -
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/anchor.htm b/js/jquery/tiny_mce/themes/advanced/anchor.htm deleted file mode 100644 index 75c93b79..00000000 --- a/js/jquery/tiny_mce/themes/advanced/anchor.htm +++ /dev/null @@ -1,26 +0,0 @@ - - - - {#advanced_dlg.anchor_title} - - - - -
    - - - - - - - - -
    {#advanced_dlg.anchor_title}
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/charmap.htm b/js/jquery/tiny_mce/themes/advanced/charmap.htm deleted file mode 100644 index d4b6bdfb..00000000 --- a/js/jquery/tiny_mce/themes/advanced/charmap.htm +++ /dev/null @@ -1,55 +0,0 @@ - - - - {#advanced_dlg.charmap_title} - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - -
     
     
    -
    - - - - - - - - - - - - - - - - -
     
     
     
    -
    {#advanced_dlg.charmap_usage}
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/color_picker.htm b/js/jquery/tiny_mce/themes/advanced/color_picker.htm deleted file mode 100644 index ad1bb0f6..00000000 --- a/js/jquery/tiny_mce/themes/advanced/color_picker.htm +++ /dev/null @@ -1,74 +0,0 @@ - - - - {#advanced_dlg.colorpicker_title} - - - - - - -
    - - -
    -
    -
    - {#advanced_dlg.colorpicker_picker_title} -
    - - -
    - -
    - -
    -
    -
    -
    - -
    -
    - {#advanced_dlg.colorpicker_palette_title} -
    - -
    - -
    -
    -
    - -
    -
    - {#advanced_dlg.colorpicker_named_title} -
    - -
    - -
    - -
    - {#advanced_dlg.colorpicker_name} -
    -
    -
    -
    - -
    - - -
    - -
    - -
    -
    -
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/editor_template.js b/js/jquery/tiny_mce/themes/advanced/editor_template.js deleted file mode 100644 index 812578d0..00000000 --- a/js/jquery/tiny_mce/themes/advanced/editor_template.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(j,k){var l=this,m,i,n;l.editor=j;l.url=k;l.onResolveName=new e.util.Dispatcher(this);j.forcedHighContrastMode=j.settings.detect_highcontrast&&l._isHighContrast();j.settings.skin=j.forcedHighContrastMode?"highcontrast":j.settings.skin;l.settings=m=h({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",theme_advanced_font_selector:"span",theme_advanced_show_current_color:0,readonly:j.settings.readonly},j.settings);if(!m.font_size_style_values){m.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(e.is(m.theme_advanced_font_sizes,"string")){m.font_size_style_values=e.explode(m.font_size_style_values);m.font_size_classes=e.explode(m.font_size_classes||"");n={};j.settings.theme_advanced_font_sizes=m.theme_advanced_font_sizes;f(j.getParam("theme_advanced_font_sizes","","hash"),function(q,p){var o;if(p==q&&q>=1&&q<=7){p=q+" ("+l.sizes[q-1]+"pt)";o=m.font_size_classes[q-1];q=m.font_size_style_values[q-1]||(l.sizes[q-1]+"pt")}if(/^\s*\./.test(q)){o=q.replace(/\./g,"")}n[p]=o?{"class":o}:{fontSize:q}});m.theme_advanced_font_sizes=n}if((i=m.theme_advanced_path_location)&&i!="none"){m.theme_advanced_statusbar_location=m.theme_advanced_path_location}if(m.theme_advanced_statusbar_location=="none"){m.theme_advanced_statusbar_location=0}if(j.settings.content_css!==false){j.contentCSS.push(j.baseURI.toAbsolute(k+"/skins/"+j.settings.skin+"/content.css"))}j.onInit.add(function(){if(!j.settings.readonly){j.onNodeChange.add(l._nodeChanged,l);j.onKeyUp.add(l._updateUndoStatus,l);j.onMouseUp.add(l._updateUndoStatus,l);j.dom.bind(j.dom.getRoot(),"dragend",function(){l._updateUndoStatus(j)})}});j.onSetProgressState.add(function(q,o,r){var s,t=q.id,p;if(o){l.progressTimer=setTimeout(function(){s=q.getContainer();s=s.insertBefore(d.create("DIV",{style:"position:relative"}),s.firstChild);p=d.get(q.id+"_tbl");d.add(s,"div",{id:t+"_blocker","class":"mceBlocker",style:{width:p.clientWidth+2,height:p.clientHeight+2}});d.add(s,"div",{id:t+"_progress","class":"mceProgress",style:{left:p.clientWidth/2,top:p.clientHeight/2}})},r||0)}else{d.remove(t+"_blocker");d.remove(t+"_progress");clearTimeout(l.progressTimer)}});d.loadCSS(m.editor_css?j.documentBaseURI.toAbsolute(m.editor_css):k+"/skins/"+j.settings.skin+"/ui.css");if(m.skin_variant){d.loadCSS(k+"/skins/"+j.settings.skin+"/ui_"+m.skin_variant+".css")}},_isHighContrast:function(){var i,j=d.add(d.getRoot(),"div",{style:"background-color: rgb(171,239,86);"});i=(d.getStyle(j,"background-color",true)+"").toLowerCase().replace(/ /g,"");d.remove(j);return i!="rgb(171,239,86)"&&i!="#abef56"},createControl:function(l,i){var j,k;if(k=i.createControl(l)){return k}switch(l){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((j=this.controls[l])){return i.createButton(l,{title:"advanced."+j[0],cmd:j[1],ui:j[2],value:j[3]})}},execCommand:function(k,j,l){var i=this["_"+k];if(i){i.call(this,j,l);return true}return false},_importClasses:function(k){var i=this.editor,j=i.controlManager.get("styleselect");if(j.getLength()==0){f(i.dom.getClasses(),function(n,l){var m="style_"+l;i.formatter.register(m,{inline:"span",attributes:{"class":n["class"]},selector:"*"});j.add(n["class"],m)})}},_createStyleSelect:function(m){var k=this,i=k.editor,j=i.controlManager,l;l=j.createListBox("styleselect",{title:"advanced.style_select",onselect:function(o){var p,n=[];f(l.items,function(q){n.push(q.value)});i.focus();i.undoManager.add();p=i.formatter.matchAll(n);if(!o||p[0]==o){if(p[0]){i.formatter.remove(p[0])}}else{i.formatter.apply(o)}i.undoManager.add();i.nodeChanged();return false}});i.onInit.add(function(){var o=0,n=i.getParam("style_formats");if(n){f(n,function(p){var q,r=0;f(p,function(){r++});if(r>1){q=p.name=p.name||"style_"+(o++);i.formatter.register(q,p);l.add(p.title,q)}else{l.add(p.title)}})}else{f(i.getParam("theme_advanced_styles","","hash"),function(r,q){var p;if(r){p="style_"+(o++);i.formatter.register(p,{inline:"span",classes:r,selector:"*"});l.add(k.editor.translate(q),p)}})}});if(l.getLength()==0){l.onPostRender.add(function(o,p){if(!l.NativeListBox){b.add(p.id+"_text","focus",k._importClasses,k);b.add(p.id+"_text","mousedown",k._importClasses,k);b.add(p.id+"_open","focus",k._importClasses,k);b.add(p.id+"_open","mousedown",k._importClasses,k)}else{b.add(p.id,"focus",k._importClasses,k)}})}return l},_createFontSelect:function(){var k,j=this,i=j.editor;k=i.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(l){var m=k.items[k.selectedIndex];if(!l&&m){i.execCommand("FontName",false,m.value);return}i.execCommand("FontName",false,l);k.select(function(n){return l==n});if(m&&m.value==l){k.select(null)}return false}});if(k){f(i.getParam("theme_advanced_fonts",j.settings.theme_advanced_fonts,"hash"),function(m,l){k.add(i.translate(l),m,{style:m.indexOf("dings")==-1?"font-family:"+m:""})})}return k},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(i){var o=n.items[n.selectedIndex];if(!i&&o){o=o.value;if(o["class"]){k.formatter.toggle("fontsize_class",{value:o["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,o.fontSize)}return}if(i["class"]){k.focus();k.undoManager.add();k.formatter.toggle("fontsize_class",{value:i["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,i.fontSize)}n.select(function(p){return i==p});if(o&&(o.value.fontSize==i.fontSize||o.value["class"]==i["class"])){n.select(null)}return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(o,i){var p=o.fontSize;if(p>=1&&p<=7){p=m.sizes[parseInt(p)-1]+"pt"}n.add(i,o,{style:"font-size:"+p,"class":"mceFontSize"+(l++)+(" "+(o["class"]||""))})})}return n},_createBlockFormats:function(){var k,i={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},j=this;k=j.editor.controlManager.createListBox("formatselect",{title:"advanced.block",onselect:function(l){j.editor.execCommand("FormatBlock",false,l);return false}});if(k){f(j.editor.getParam("theme_advanced_blockformats",j.settings.theme_advanced_blockformats,"hash"),function(m,l){k.add(j.editor.translate(l!=m?l:i[m]),m,{"class":"mce_formatPreview mce_"+m})})}return k},_createForeColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_text_colors){l.colors=i}if(k.theme_advanced_default_foreground_color){l.default_color=k.theme_advanced_default_foreground_color}l.title="advanced.forecolor_desc";l.cmd="ForeColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("forecolor",l);return m},_createBackColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_background_colors){l.colors=i}if(k.theme_advanced_default_background_color){l.default_color=k.theme_advanced_default_background_color}l.title="advanced.backcolor_desc";l.cmd="HiliteColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("backcolor",l);return m},renderUI:function(k){var m,l,q,v=this,r=v.editor,w=v.settings,u,j,i;if(r.settings){r.settings.aria_label=w.aria_label+r.getLang("advanced.help_shortcut")}m=j=d.create("span",{role:"application","aria-labelledby":r.id+"_voice",id:r.id+"_parent","class":"mceEditor "+r.settings.skin+"Skin"+(w.skin_variant?" "+r.settings.skin+"Skin"+v._ufirst(w.skin_variant):"")});d.add(m,"span",{"class":"mceVoiceLabel",style:"display:none;",id:r.id+"_voice"},w.aria_label);if(!d.boxModel){m=d.add(m,"div",{"class":"mceOldBoxModel"})}m=u=d.add(m,"table",{role:"presentation",id:r.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});m=q=d.add(m,"tbody");switch((w.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":l=v._rowLayout(w,q,k);break;case"customlayout":l=r.execCallback("theme_advanced_custom_layout",w,q,k,j);break;default:l=v._simpleLayout(w,q,k,j)}m=k.targetNode;i=u.rows;d.addClass(i[0],"mceFirst");d.addClass(i[i.length-1],"mceLast");f(d.select("tr",q),function(o){d.addClass(o.firstChild,"mceFirst");d.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(d.get(w.theme_advanced_toolbar_container)){d.get(w.theme_advanced_toolbar_container).appendChild(j)}else{d.insertAfter(j,m)}b.add(r.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){v._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return b.cancel(n)}});if(!r.getParam("accessibility_focus")){b.add(d.add(j,"a",{href:"#"},""),"focus",function(){tinyMCE.get(r.id).focus()})}if(w.theme_advanced_toolbar_location=="external"){k.deltaHeight=0}v.deltaHeight=k.deltaHeight;k.targetNode=null;r.onKeyDown.add(function(p,n){var s=121,o=122;if(n.altKey){if(n.keyCode===s){if(e.isWebKit){window.focus()}v.toolbarGroup.focus();return b.cancel(n)}else{if(n.keyCode===o){d.get(p.id+"_path_row").focus();return b.cancel(n)}}}});r.addShortcut("alt+0","","mceShortcuts",v);return{iframeContainer:l,editorContainer:r.id+"_parent",sizeContainer:u,deltaHeight:k.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:e.majorVersion+"."+e.minorVersion}},resizeBy:function(i,j){var k=d.get(this.editor.id+"_ifr");this.resizeTo(k.clientWidth+i,k.clientHeight+j)},resizeTo:function(i,m,k){var j=this.editor,l=this.settings,n=d.get(j.id+"_tbl"),o=d.get(j.id+"_ifr");i=Math.max(l.theme_advanced_resizing_min_width||100,i);m=Math.max(l.theme_advanced_resizing_min_height||100,m);i=Math.min(l.theme_advanced_resizing_max_width||65535,i);m=Math.min(l.theme_advanced_resizing_max_height||65535,m);d.setStyle(n,"height","");d.setStyle(o,"height",m);if(l.theme_advanced_resize_horizontal){d.setStyle(n,"width","");d.setStyle(o,"width",i);if(i"));d.setHTML(l,q.join(""))},_addStatusBar:function(m,j){var k,v=this,p=v.editor,w=v.settings,i,q,u,l;k=d.add(m,"tr");k=l=d.add(k,"td",{"class":"mceStatusbar"});k=d.add(k,"div",{id:p.id+"_path_row",role:"group","aria-labelledby":p.id+"_path_voice"});if(w.theme_advanced_path){d.add(k,"span",{id:p.id+"_path_voice"},p.translate("advanced.path"));d.add(k,"span",{},": ")}else{d.add(k,"span",{}," ")}if(w.theme_advanced_resizing){d.add(l,"a",{id:p.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize",tabIndex:"-1"});if(w.theme_advanced_resizing_use_cookie){p.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+p.id+"_size"),r=d.get(p.id+"_tbl");if(!n){return}v.resizeTo(n.cw,n.ch)})}p.onPostRender.add(function(){b.add(p.id+"_resize","click",function(n){n.preventDefault()});b.add(p.id+"_resize","mousedown",function(D){var t,r,s,o,C,z,A,F,n,E,x;function y(G){G.preventDefault();n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E)}function B(G){b.remove(d.doc,"mousemove",t);b.remove(p.getDoc(),"mousemove",r);b.remove(d.doc,"mouseup",s);b.remove(p.getDoc(),"mouseup",o);n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E,true)}D.preventDefault();C=D.screenX;z=D.screenY;x=d.get(v.editor.id+"_ifr");A=n=x.clientWidth;F=E=x.clientHeight;t=b.add(d.doc,"mousemove",y);r=b.add(p.getDoc(),"mousemove",y);s=b.add(d.doc,"mouseup",B);o=b.add(p.getDoc(),"mouseup",B)})})}j.deltaHeight-=21;k=m=null},_updateUndoStatus:function(j){var i=j.controlManager,k=j.undoManager;i.setDisabled("undo",!k.hasUndo()&&!k.typing);i.setDisabled("redo",!k.hasRedo())},_nodeChanged:function(m,r,D,q,E){var y=this,C,F=0,x,G,z=y.settings,w,k,u,B,l,j,i;e.each(y.stateControls,function(n){r.setActive(n,m.queryCommandState(y.controls[n][1]))});function o(p){var s,n=E.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s0){y.statusKeyboardNavigation=new e.ui.KeyboardNavigation({root:m.id+"_path_row",items:d.select("a",C),excludeFromTabOrder:true,onCancel:function(){m.focus()}},d)}}},_sel:function(i){this.editor.execCommand("mceSelectNodeDepth",false,i)},_mceInsertAnchor:function(k,j){var i=this.editor;i.windowManager.open({url:this.url+"/anchor.htm",width:320+parseInt(i.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(i.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var i=this.editor;i.windowManager.open({url:this.url+"/charmap.htm",width:550+parseInt(i.getLang("advanced.charmap_delta_width",0)),height:260+parseInt(i.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var i=this.editor;i.windowManager.open({url:this.url+"/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceShortcuts:function(){var i=this.editor;i.windowManager.open({url:this.url+"/shortcuts.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(k,j){var i=this.editor;j=j||{};i.windowManager.open({url:this.url+"/color_picker.htm",width:375+parseInt(i.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(i.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:j.color,func:j.func,theme_url:this.url})},_mceCodeEditor:function(j,k){var i=this.editor;i.windowManager.open({url:this.url+"/source_editor.htm",width:parseInt(i.getParam("theme_advanced_source_editor_width",720)),height:parseInt(i.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(j,k){var i=this.editor;if(i.dom.getAttrib(i.selection.getNode(),"class").indexOf("mceItem")!=-1){return}i.windowManager.open({url:this.url+"/image.htm",width:355+parseInt(i.getLang("advanced.image_delta_width",0)),height:275+parseInt(i.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(j,k){var i=this.editor;i.windowManager.open({url:this.url+"/link.htm",width:310+parseInt(i.getLang("advanced.link_delta_width",0)),height:200+parseInt(i.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var i=this.editor;i.windowManager.confirm("advanced.newdocument",function(j){if(j){i.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var i=this;this._mceColorPicker(0,{color:i.fgColor,func:function(j){i.fgColor=j;i.editor.execCommand("ForeColor",false,j)}})},_mceBackColor:function(){var i=this;this._mceColorPicker(0,{color:i.bgColor,func:function(j){i.bgColor=j;i.editor.execCommand("HiliteColor",false,j)}})},_ufirst:function(i){return i.substring(0,1).toUpperCase()+i.substring(1)}});e.ThemeManager.add("advanced",e.themes.AdvancedTheme)}(tinymce)); \ No newline at end of file diff --git a/js/jquery/tiny_mce/themes/advanced/editor_template_src.js b/js/jquery/tiny_mce/themes/advanced/editor_template_src.js deleted file mode 100644 index a3713b29..00000000 --- a/js/jquery/tiny_mce/themes/advanced/editor_template_src.js +++ /dev/null @@ -1,1362 +0,0 @@ -/** - * editor_template_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function(tinymce) { - var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend, each = tinymce.each, Cookie = tinymce.util.Cookie, lastExtID, explode = tinymce.explode; - - // Tell it to load theme specific language pack(s) - tinymce.ThemeManager.requireLangPack('advanced'); - - tinymce.create('tinymce.themes.AdvancedTheme', { - sizes : [8, 10, 12, 14, 18, 24, 36], - - // Control name lookup, format: title, command - controls : { - bold : ['bold_desc', 'Bold'], - italic : ['italic_desc', 'Italic'], - underline : ['underline_desc', 'Underline'], - strikethrough : ['striketrough_desc', 'Strikethrough'], - justifyleft : ['justifyleft_desc', 'JustifyLeft'], - justifycenter : ['justifycenter_desc', 'JustifyCenter'], - justifyright : ['justifyright_desc', 'JustifyRight'], - justifyfull : ['justifyfull_desc', 'JustifyFull'], - bullist : ['bullist_desc', 'InsertUnorderedList'], - numlist : ['numlist_desc', 'InsertOrderedList'], - outdent : ['outdent_desc', 'Outdent'], - indent : ['indent_desc', 'Indent'], - cut : ['cut_desc', 'Cut'], - copy : ['copy_desc', 'Copy'], - paste : ['paste_desc', 'Paste'], - undo : ['undo_desc', 'Undo'], - redo : ['redo_desc', 'Redo'], - link : ['link_desc', 'mceLink'], - unlink : ['unlink_desc', 'unlink'], - image : ['image_desc', 'mceImage'], - cleanup : ['cleanup_desc', 'mceCleanup'], - help : ['help_desc', 'mceHelp'], - code : ['code_desc', 'mceCodeEditor'], - hr : ['hr_desc', 'InsertHorizontalRule'], - removeformat : ['removeformat_desc', 'RemoveFormat'], - sub : ['sub_desc', 'subscript'], - sup : ['sup_desc', 'superscript'], - forecolor : ['forecolor_desc', 'ForeColor'], - forecolorpicker : ['forecolor_desc', 'mceForeColor'], - backcolor : ['backcolor_desc', 'HiliteColor'], - backcolorpicker : ['backcolor_desc', 'mceBackColor'], - charmap : ['charmap_desc', 'mceCharMap'], - visualaid : ['visualaid_desc', 'mceToggleVisualAid'], - anchor : ['anchor_desc', 'mceInsertAnchor'], - newdocument : ['newdocument_desc', 'mceNewDocument'], - blockquote : ['blockquote_desc', 'mceBlockQuote'] - }, - - stateControls : ['bold', 'italic', 'underline', 'strikethrough', 'bullist', 'numlist', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'sub', 'sup', 'blockquote'], - - init : function(ed, url) { - var t = this, s, v, o; - - t.editor = ed; - t.url = url; - t.onResolveName = new tinymce.util.Dispatcher(this); - - ed.forcedHighContrastMode = ed.settings.detect_highcontrast && t._isHighContrast(); - ed.settings.skin = ed.forcedHighContrastMode ? 'highcontrast' : ed.settings.skin; - - // Default settings - t.settings = s = extend({ - theme_advanced_path : true, - theme_advanced_toolbar_location : 'bottom', - theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect", - theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code", - theme_advanced_buttons3 : "hr,removeformat,visualaid,|,sub,sup,|,charmap", - theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6", - theme_advanced_toolbar_align : "center", - theme_advanced_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats", - theme_advanced_more_colors : 1, - theme_advanced_row_height : 23, - theme_advanced_resize_horizontal : 1, - theme_advanced_resizing_use_cookie : 1, - theme_advanced_font_sizes : "1,2,3,4,5,6,7", - theme_advanced_font_selector : "span", - theme_advanced_show_current_color: 0, - readonly : ed.settings.readonly - }, ed.settings); - - // Setup default font_size_style_values - if (!s.font_size_style_values) - s.font_size_style_values = "8pt,10pt,12pt,14pt,18pt,24pt,36pt"; - - if (tinymce.is(s.theme_advanced_font_sizes, 'string')) { - s.font_size_style_values = tinymce.explode(s.font_size_style_values); - s.font_size_classes = tinymce.explode(s.font_size_classes || ''); - - // Parse string value - o = {}; - ed.settings.theme_advanced_font_sizes = s.theme_advanced_font_sizes; - each(ed.getParam('theme_advanced_font_sizes', '', 'hash'), function(v, k) { - var cl; - - if (k == v && v >= 1 && v <= 7) { - k = v + ' (' + t.sizes[v - 1] + 'pt)'; - cl = s.font_size_classes[v - 1]; - v = s.font_size_style_values[v - 1] || (t.sizes[v - 1] + 'pt'); - } - - if (/^\s*\./.test(v)) - cl = v.replace(/\./g, ''); - - o[k] = cl ? {'class' : cl} : {fontSize : v}; - }); - - s.theme_advanced_font_sizes = o; - } - - if ((v = s.theme_advanced_path_location) && v != 'none') - s.theme_advanced_statusbar_location = s.theme_advanced_path_location; - - if (s.theme_advanced_statusbar_location == 'none') - s.theme_advanced_statusbar_location = 0; - - if (ed.settings.content_css !== false) - ed.contentCSS.push(ed.baseURI.toAbsolute(url + "/skins/" + ed.settings.skin + "/content.css")); - - // Init editor - ed.onInit.add(function() { - if (!ed.settings.readonly) { - ed.onNodeChange.add(t._nodeChanged, t); - ed.onKeyUp.add(t._updateUndoStatus, t); - ed.onMouseUp.add(t._updateUndoStatus, t); - ed.dom.bind(ed.dom.getRoot(), 'dragend', function() { - t._updateUndoStatus(ed); - }); - } - }); - - ed.onSetProgressState.add(function(ed, b, ti) { - var co, id = ed.id, tb; - - if (b) { - t.progressTimer = setTimeout(function() { - co = ed.getContainer(); - co = co.insertBefore(DOM.create('DIV', {style : 'position:relative'}), co.firstChild); - tb = DOM.get(ed.id + '_tbl'); - - DOM.add(co, 'div', {id : id + '_blocker', 'class' : 'mceBlocker', style : {width : tb.clientWidth + 2, height : tb.clientHeight + 2}}); - DOM.add(co, 'div', {id : id + '_progress', 'class' : 'mceProgress', style : {left : tb.clientWidth / 2, top : tb.clientHeight / 2}}); - }, ti || 0); - } else { - DOM.remove(id + '_blocker'); - DOM.remove(id + '_progress'); - clearTimeout(t.progressTimer); - } - }); - - DOM.loadCSS(s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : url + "/skins/" + ed.settings.skin + "/ui.css"); - - if (s.skin_variant) - DOM.loadCSS(url + "/skins/" + ed.settings.skin + "/ui_" + s.skin_variant + ".css"); - }, - - _isHighContrast : function() { - var actualColor, div = DOM.add(DOM.getRoot(), 'div', {'style': 'background-color: rgb(171,239,86);'}); - - actualColor = (DOM.getStyle(div, 'background-color', true) + '').toLowerCase().replace(/ /g, ''); - DOM.remove(div); - - return actualColor != 'rgb(171,239,86)' && actualColor != '#abef56'; - }, - - createControl : function(n, cf) { - var cd, c; - - if (c = cf.createControl(n)) - return c; - - switch (n) { - case "styleselect": - return this._createStyleSelect(); - - case "formatselect": - return this._createBlockFormats(); - - case "fontselect": - return this._createFontSelect(); - - case "fontsizeselect": - return this._createFontSizeSelect(); - - case "forecolor": - return this._createForeColorMenu(); - - case "backcolor": - return this._createBackColorMenu(); - } - - if ((cd = this.controls[n])) - return cf.createButton(n, {title : "advanced." + cd[0], cmd : cd[1], ui : cd[2], value : cd[3]}); - }, - - execCommand : function(cmd, ui, val) { - var f = this['_' + cmd]; - - if (f) { - f.call(this, ui, val); - return true; - } - - return false; - }, - - _importClasses : function(e) { - var ed = this.editor, ctrl = ed.controlManager.get('styleselect'); - - if (ctrl.getLength() == 0) { - each(ed.dom.getClasses(), function(o, idx) { - var name = 'style_' + idx; - - ed.formatter.register(name, { - inline : 'span', - attributes : {'class' : o['class']}, - selector : '*' - }); - - ctrl.add(o['class'], name); - }); - } - }, - - _createStyleSelect : function(n) { - var t = this, ed = t.editor, ctrlMan = ed.controlManager, ctrl; - - // Setup style select box - ctrl = ctrlMan.createListBox('styleselect', { - title : 'advanced.style_select', - onselect : function(name) { - var matches, formatNames = []; - - each(ctrl.items, function(item) { - formatNames.push(item.value); - }); - - ed.focus(); - ed.undoManager.add(); - - // Toggle off the current format - matches = ed.formatter.matchAll(formatNames); - if (!name || matches[0] == name) { - if (matches[0]) - ed.formatter.remove(matches[0]); - } else - ed.formatter.apply(name); - - ed.undoManager.add(); - ed.nodeChanged(); - - return false; // No auto select - } - }); - - // Handle specified format - ed.onInit.add(function() { - var counter = 0, formats = ed.getParam('style_formats'); - - if (formats) { - each(formats, function(fmt) { - var name, keys = 0; - - each(fmt, function() {keys++;}); - - if (keys > 1) { - name = fmt.name = fmt.name || 'style_' + (counter++); - ed.formatter.register(name, fmt); - ctrl.add(fmt.title, name); - } else - ctrl.add(fmt.title); - }); - } else { - each(ed.getParam('theme_advanced_styles', '', 'hash'), function(val, key) { - var name; - - if (val) { - name = 'style_' + (counter++); - - ed.formatter.register(name, { - inline : 'span', - classes : val, - selector : '*' - }); - - ctrl.add(t.editor.translate(key), name); - } - }); - } - }); - - // Auto import classes if the ctrl box is empty - if (ctrl.getLength() == 0) { - ctrl.onPostRender.add(function(ed, n) { - if (!ctrl.NativeListBox) { - Event.add(n.id + '_text', 'focus', t._importClasses, t); - Event.add(n.id + '_text', 'mousedown', t._importClasses, t); - Event.add(n.id + '_open', 'focus', t._importClasses, t); - Event.add(n.id + '_open', 'mousedown', t._importClasses, t); - } else - Event.add(n.id, 'focus', t._importClasses, t); - }); - } - - return ctrl; - }, - - _createFontSelect : function() { - var c, t = this, ed = t.editor; - - c = ed.controlManager.createListBox('fontselect', { - title : 'advanced.fontdefault', - onselect : function(v) { - var cur = c.items[c.selectedIndex]; - - if (!v && cur) { - ed.execCommand('FontName', false, cur.value); - return; - } - - ed.execCommand('FontName', false, v); - - // Fake selection, execCommand will fire a nodeChange and update the selection - c.select(function(sv) { - return v == sv; - }); - - if (cur && cur.value == v) { - c.select(null); - } - - return false; // No auto select - } - }); - - if (c) { - each(ed.getParam('theme_advanced_fonts', t.settings.theme_advanced_fonts, 'hash'), function(v, k) { - c.add(ed.translate(k), v, {style : v.indexOf('dings') == -1 ? 'font-family:' + v : ''}); - }); - } - - return c; - }, - - _createFontSizeSelect : function() { - var t = this, ed = t.editor, c, i = 0, cl = []; - - c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) { - var cur = c.items[c.selectedIndex]; - - if (!v && cur) { - cur = cur.value; - - if (cur['class']) { - ed.formatter.toggle('fontsize_class', {value : cur['class']}); - ed.undoManager.add(); - ed.nodeChanged(); - } else { - ed.execCommand('FontSize', false, cur.fontSize); - } - - return; - } - - if (v['class']) { - ed.focus(); - ed.undoManager.add(); - ed.formatter.toggle('fontsize_class', {value : v['class']}); - ed.undoManager.add(); - ed.nodeChanged(); - } else - ed.execCommand('FontSize', false, v.fontSize); - - // Fake selection, execCommand will fire a nodeChange and update the selection - c.select(function(sv) { - return v == sv; - }); - - if (cur && (cur.value.fontSize == v.fontSize || cur.value['class'] == v['class'])) { - c.select(null); - } - - return false; // No auto select - }}); - - if (c) { - each(t.settings.theme_advanced_font_sizes, function(v, k) { - var fz = v.fontSize; - - if (fz >= 1 && fz <= 7) - fz = t.sizes[parseInt(fz) - 1] + 'pt'; - - c.add(k, v, {'style' : 'font-size:' + fz, 'class' : 'mceFontSize' + (i++) + (' ' + (v['class'] || ''))}); - }); - } - - return c; - }, - - _createBlockFormats : function() { - var c, fmts = { - p : 'advanced.paragraph', - address : 'advanced.address', - pre : 'advanced.pre', - h1 : 'advanced.h1', - h2 : 'advanced.h2', - h3 : 'advanced.h3', - h4 : 'advanced.h4', - h5 : 'advanced.h5', - h6 : 'advanced.h6', - div : 'advanced.div', - blockquote : 'advanced.blockquote', - code : 'advanced.code', - dt : 'advanced.dt', - dd : 'advanced.dd', - samp : 'advanced.samp' - }, t = this; - - c = t.editor.controlManager.createListBox('formatselect', {title : 'advanced.block', onselect : function(v) { - t.editor.execCommand('FormatBlock', false, v); - return false; - }}); - - if (c) { - each(t.editor.getParam('theme_advanced_blockformats', t.settings.theme_advanced_blockformats, 'hash'), function(v, k) { - c.add(t.editor.translate(k != v ? k : fmts[v]), v, {'class' : 'mce_formatPreview mce_' + v}); - }); - } - - return c; - }, - - _createForeColorMenu : function() { - var c, t = this, s = t.settings, o = {}, v; - - if (s.theme_advanced_more_colors) { - o.more_colors_func = function() { - t._mceColorPicker(0, { - color : c.value, - func : function(co) { - c.setColor(co); - } - }); - }; - } - - if (v = s.theme_advanced_text_colors) - o.colors = v; - - if (s.theme_advanced_default_foreground_color) - o.default_color = s.theme_advanced_default_foreground_color; - - o.title = 'advanced.forecolor_desc'; - o.cmd = 'ForeColor'; - o.scope = this; - - c = t.editor.controlManager.createColorSplitButton('forecolor', o); - - return c; - }, - - _createBackColorMenu : function() { - var c, t = this, s = t.settings, o = {}, v; - - if (s.theme_advanced_more_colors) { - o.more_colors_func = function() { - t._mceColorPicker(0, { - color : c.value, - func : function(co) { - c.setColor(co); - } - }); - }; - } - - if (v = s.theme_advanced_background_colors) - o.colors = v; - - if (s.theme_advanced_default_background_color) - o.default_color = s.theme_advanced_default_background_color; - - o.title = 'advanced.backcolor_desc'; - o.cmd = 'HiliteColor'; - o.scope = this; - - c = t.editor.controlManager.createColorSplitButton('backcolor', o); - - return c; - }, - - renderUI : function(o) { - var n, ic, tb, t = this, ed = t.editor, s = t.settings, sc, p, nl; - - if (ed.settings) { - ed.settings.aria_label = s.aria_label + ed.getLang('advanced.help_shortcut'); - } - - // TODO: ACC Should have an aria-describedby attribute which is user-configurable to describe what this field is actually for. - // Maybe actually inherit it from the original textara? - n = p = DOM.create('span', {role : 'application', 'aria-labelledby' : ed.id + '_voice', id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '')}); - DOM.add(n, 'span', {'class': 'mceVoiceLabel', 'style': 'display:none;', id: ed.id + '_voice'}, s.aria_label); - - if (!DOM.boxModel) - n = DOM.add(n, 'div', {'class' : 'mceOldBoxModel'}); - - n = sc = DOM.add(n, 'table', {role : "presentation", id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0}); - n = tb = DOM.add(n, 'tbody'); - - switch ((s.theme_advanced_layout_manager || '').toLowerCase()) { - case "rowlayout": - ic = t._rowLayout(s, tb, o); - break; - - case "customlayout": - ic = ed.execCallback("theme_advanced_custom_layout", s, tb, o, p); - break; - - default: - ic = t._simpleLayout(s, tb, o, p); - } - - n = o.targetNode; - - // Add classes to first and last TRs - nl = sc.rows; - DOM.addClass(nl[0], 'mceFirst'); - DOM.addClass(nl[nl.length - 1], 'mceLast'); - - // Add classes to first and last TDs - each(DOM.select('tr', tb), function(n) { - DOM.addClass(n.firstChild, 'mceFirst'); - DOM.addClass(n.childNodes[n.childNodes.length - 1], 'mceLast'); - }); - - if (DOM.get(s.theme_advanced_toolbar_container)) - DOM.get(s.theme_advanced_toolbar_container).appendChild(p); - else - DOM.insertAfter(p, n); - - Event.add(ed.id + '_path_row', 'click', function(e) { - e = e.target; - - if (e.nodeName == 'A') { - t._sel(e.className.replace(/^.*mcePath_([0-9]+).*$/, '$1')); - - return Event.cancel(e); - } - }); -/* - if (DOM.get(ed.id + '_path_row')) { - Event.add(ed.id + '_tbl', 'mouseover', function(e) { - var re; - - e = e.target; - - if (e.nodeName == 'SPAN' && DOM.hasClass(e.parentNode, 'mceButton')) { - re = DOM.get(ed.id + '_path_row'); - t.lastPath = re.innerHTML; - DOM.setHTML(re, e.parentNode.title); - } - }); - - Event.add(ed.id + '_tbl', 'mouseout', function(e) { - if (t.lastPath) { - DOM.setHTML(ed.id + '_path_row', t.lastPath); - t.lastPath = 0; - } - }); - } -*/ - - if (!ed.getParam('accessibility_focus')) - Event.add(DOM.add(p, 'a', {href : '#'}, ''), 'focus', function() {tinyMCE.get(ed.id).focus();}); - - if (s.theme_advanced_toolbar_location == 'external') - o.deltaHeight = 0; - - t.deltaHeight = o.deltaHeight; - o.targetNode = null; - - ed.onKeyDown.add(function(ed, evt) { - var DOM_VK_F10 = 121, DOM_VK_F11 = 122; - - if (evt.altKey) { - if (evt.keyCode === DOM_VK_F10) { - // Make sure focus is given to toolbar in Safari. - // We can't do this in IE as it prevents giving focus to toolbar when editor is in a frame - if (tinymce.isWebKit) { - window.focus(); - } - t.toolbarGroup.focus(); - return Event.cancel(evt); - } else if (evt.keyCode === DOM_VK_F11) { - DOM.get(ed.id + '_path_row').focus(); - return Event.cancel(evt); - } - } - }); - - // alt+0 is the UK recommended shortcut for accessing the list of access controls. - ed.addShortcut('alt+0', '', 'mceShortcuts', t); - - return { - iframeContainer : ic, - editorContainer : ed.id + '_parent', - sizeContainer : sc, - deltaHeight : o.deltaHeight - }; - }, - - getInfo : function() { - return { - longname : 'Advanced theme', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - version : tinymce.majorVersion + "." + tinymce.minorVersion - } - }, - - resizeBy : function(dw, dh) { - var e = DOM.get(this.editor.id + '_ifr'); - - this.resizeTo(e.clientWidth + dw, e.clientHeight + dh); - }, - - resizeTo : function(w, h, store) { - var ed = this.editor, s = this.settings, e = DOM.get(ed.id + '_tbl'), ifr = DOM.get(ed.id + '_ifr'); - - // Boundery fix box - w = Math.max(s.theme_advanced_resizing_min_width || 100, w); - h = Math.max(s.theme_advanced_resizing_min_height || 100, h); - w = Math.min(s.theme_advanced_resizing_max_width || 0xFFFF, w); - h = Math.min(s.theme_advanced_resizing_max_height || 0xFFFF, h); - - // Resize iframe and container - DOM.setStyle(e, 'height', ''); - DOM.setStyle(ifr, 'height', h); - - if (s.theme_advanced_resize_horizontal) { - DOM.setStyle(e, 'width', ''); - DOM.setStyle(ifr, 'width', w); - - // Make sure that the size is never smaller than the over all ui - if (w < e.clientWidth) { - w = e.clientWidth; - DOM.setStyle(ifr, 'width', e.clientWidth); - } - } - - // Store away the size - if (store && s.theme_advanced_resizing_use_cookie) { - Cookie.setHash("TinyMCE_" + ed.id + "_size", { - cw : w, - ch : h - }); - } - }, - - destroy : function() { - var id = this.editor.id; - - Event.clear(id + '_resize'); - Event.clear(id + '_path_row'); - Event.clear(id + '_external_close'); - }, - - // Internal functions - - _simpleLayout : function(s, tb, o, p) { - var t = this, ed = t.editor, lo = s.theme_advanced_toolbar_location, sl = s.theme_advanced_statusbar_location, n, ic, etb, c; - - if (s.readonly) { - n = DOM.add(tb, 'tr'); - n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'}); - return ic; - } - - // Create toolbar container at top - if (lo == 'top') - t._addToolbars(tb, o); - - // Create external toolbar - if (lo == 'external') { - n = c = DOM.create('div', {style : 'position:relative'}); - n = DOM.add(n, 'div', {id : ed.id + '_external', 'class' : 'mceExternalToolbar'}); - DOM.add(n, 'a', {id : ed.id + '_external_close', href : 'javascript:;', 'class' : 'mceExternalClose'}); - n = DOM.add(n, 'table', {id : ed.id + '_tblext', cellSpacing : 0, cellPadding : 0}); - etb = DOM.add(n, 'tbody'); - - if (p.firstChild.className == 'mceOldBoxModel') - p.firstChild.appendChild(c); - else - p.insertBefore(c, p.firstChild); - - t._addToolbars(etb, o); - - ed.onMouseUp.add(function() { - var e = DOM.get(ed.id + '_external'); - DOM.show(e); - - DOM.hide(lastExtID); - - var f = Event.add(ed.id + '_external_close', 'click', function() { - DOM.hide(ed.id + '_external'); - Event.remove(ed.id + '_external_close', 'click', f); - }); - - DOM.show(e); - DOM.setStyle(e, 'top', 0 - DOM.getRect(ed.id + '_tblext').h - 1); - - // Fixes IE rendering bug - DOM.hide(e); - DOM.show(e); - e.style.filter = ''; - - lastExtID = ed.id + '_external'; - - e = null; - }); - } - - if (sl == 'top') - t._addStatusBar(tb, o); - - // Create iframe container - if (!s.theme_advanced_toolbar_container) { - n = DOM.add(tb, 'tr'); - n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'}); - } - - // Create toolbar container at bottom - if (lo == 'bottom') - t._addToolbars(tb, o); - - if (sl == 'bottom') - t._addStatusBar(tb, o); - - return ic; - }, - - _rowLayout : function(s, tb, o) { - var t = this, ed = t.editor, dc, da, cf = ed.controlManager, n, ic, to, a; - - dc = s.theme_advanced_containers_default_class || ''; - da = s.theme_advanced_containers_default_align || 'center'; - - each(explode(s.theme_advanced_containers || ''), function(c, i) { - var v = s['theme_advanced_container_' + c] || ''; - - switch (c.toLowerCase()) { - case 'mceeditor': - n = DOM.add(tb, 'tr'); - n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'}); - break; - - case 'mceelementpath': - t._addStatusBar(tb, o); - break; - - default: - a = (s['theme_advanced_container_' + c + '_align'] || da).toLowerCase(); - a = 'mce' + t._ufirst(a); - - n = DOM.add(DOM.add(tb, 'tr'), 'td', { - 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc) + ' ' + a || da - }); - - to = cf.createToolbar("toolbar" + i); - t._addControls(v, to); - DOM.setHTML(n, to.renderHTML()); - o.deltaHeight -= s.theme_advanced_row_height; - } - }); - - return ic; - }, - - _addControls : function(v, tb) { - var t = this, s = t.settings, di, cf = t.editor.controlManager; - - if (s.theme_advanced_disable && !t._disabled) { - di = {}; - - each(explode(s.theme_advanced_disable), function(v) { - di[v] = 1; - }); - - t._disabled = di; - } else - di = t._disabled; - - each(explode(v), function(n) { - var c; - - if (di && di[n]) - return; - - // Compatiblity with 2.x - if (n == 'tablecontrols') { - each(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"], function(n) { - n = t.createControl(n, cf); - - if (n) - tb.add(n); - }); - - return; - } - - c = t.createControl(n, cf); - - if (c) - tb.add(c); - }); - }, - - _addToolbars : function(c, o) { - var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a, toolbarGroup; - - toolbarGroup = cf.createToolbarGroup('toolbargroup', { - 'name': ed.getLang('advanced.toolbar'), - 'tab_focus_toolbar':ed.getParam('theme_advanced_tab_focus_toolbar') - }); - - t.toolbarGroup = toolbarGroup; - - a = s.theme_advanced_toolbar_align.toLowerCase(); - a = 'mce' + t._ufirst(a); - - n = DOM.add(DOM.add(c, 'tr', {role: 'presentation'}), 'td', {'class' : 'mceToolbar ' + a, "role":"presentation"}); - - // Create toolbar and add the controls - for (i=1; (v = s['theme_advanced_buttons' + i]); i++) { - tb = cf.createToolbar("toolbar" + i, {'class' : 'mceToolbarRow' + i}); - - if (s['theme_advanced_buttons' + i + '_add']) - v += ',' + s['theme_advanced_buttons' + i + '_add']; - - if (s['theme_advanced_buttons' + i + '_add_before']) - v = s['theme_advanced_buttons' + i + '_add_before'] + ',' + v; - - t._addControls(v, tb); - toolbarGroup.add(tb); - - o.deltaHeight -= s.theme_advanced_row_height; - } - h.push(toolbarGroup.renderHTML()); - h.push(DOM.createHTML('a', {href : '#', accesskey : 'z', title : ed.getLang("advanced.toolbar_focus"), onfocus : 'tinyMCE.getInstanceById(\'' + ed.id + '\').focus();'}, '')); - DOM.setHTML(n, h.join('')); - }, - - _addStatusBar : function(tb, o) { - var n, t = this, ed = t.editor, s = t.settings, r, mf, me, td; - - n = DOM.add(tb, 'tr'); - n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'}); - n = DOM.add(n, 'div', {id : ed.id + '_path_row', 'role': 'group', 'aria-labelledby': ed.id + '_path_voice'}); - if (s.theme_advanced_path) { - DOM.add(n, 'span', {id: ed.id + '_path_voice'}, ed.translate('advanced.path')); - DOM.add(n, 'span', {}, ': '); - } else { - DOM.add(n, 'span', {}, ' '); - } - - - if (s.theme_advanced_resizing) { - DOM.add(td, 'a', {id : ed.id + '_resize', href : 'javascript:;', onclick : "return false;", 'class' : 'mceResize', tabIndex:"-1"}); - - if (s.theme_advanced_resizing_use_cookie) { - ed.onPostRender.add(function() { - var o = Cookie.getHash("TinyMCE_" + ed.id + "_size"), c = DOM.get(ed.id + '_tbl'); - - if (!o) - return; - - t.resizeTo(o.cw, o.ch); - }); - } - - ed.onPostRender.add(function() { - Event.add(ed.id + '_resize', 'click', function(e) { - e.preventDefault(); - }); - - Event.add(ed.id + '_resize', 'mousedown', function(e) { - var mouseMoveHandler1, mouseMoveHandler2, - mouseUpHandler1, mouseUpHandler2, - startX, startY, startWidth, startHeight, width, height, ifrElm; - - function resizeOnMove(e) { - e.preventDefault(); - - width = startWidth + (e.screenX - startX); - height = startHeight + (e.screenY - startY); - - t.resizeTo(width, height); - }; - - function endResize(e) { - // Stop listening - Event.remove(DOM.doc, 'mousemove', mouseMoveHandler1); - Event.remove(ed.getDoc(), 'mousemove', mouseMoveHandler2); - Event.remove(DOM.doc, 'mouseup', mouseUpHandler1); - Event.remove(ed.getDoc(), 'mouseup', mouseUpHandler2); - - width = startWidth + (e.screenX - startX); - height = startHeight + (e.screenY - startY); - t.resizeTo(width, height, true); - }; - - e.preventDefault(); - - // Get the current rect size - startX = e.screenX; - startY = e.screenY; - ifrElm = DOM.get(t.editor.id + '_ifr'); - startWidth = width = ifrElm.clientWidth; - startHeight = height = ifrElm.clientHeight; - - // Register envent handlers - mouseMoveHandler1 = Event.add(DOM.doc, 'mousemove', resizeOnMove); - mouseMoveHandler2 = Event.add(ed.getDoc(), 'mousemove', resizeOnMove); - mouseUpHandler1 = Event.add(DOM.doc, 'mouseup', endResize); - mouseUpHandler2 = Event.add(ed.getDoc(), 'mouseup', endResize); - }); - }); - } - - o.deltaHeight -= 21; - n = tb = null; - }, - - _updateUndoStatus : function(ed) { - var cm = ed.controlManager, um = ed.undoManager; - - cm.setDisabled('undo', !um.hasUndo() && !um.typing); - cm.setDisabled('redo', !um.hasRedo()); - }, - - _nodeChanged : function(ed, cm, n, co, ob) { - var t = this, p, de = 0, v, c, s = t.settings, cl, fz, fn, fc, bc, formatNames, matches; - - tinymce.each(t.stateControls, function(c) { - cm.setActive(c, ed.queryCommandState(t.controls[c][1])); - }); - - function getParent(name) { - var i, parents = ob.parents, func = name; - - if (typeof(name) == 'string') { - func = function(node) { - return node.nodeName == name; - }; - } - - for (i = 0; i < parents.length; i++) { - if (func(parents[i])) - return parents[i]; - } - }; - - cm.setActive('visualaid', ed.hasVisual); - t._updateUndoStatus(ed); - cm.setDisabled('outdent', !ed.queryCommandState('Outdent')); - - p = getParent('A'); - if (c = cm.get('link')) { - if (!p || !p.name) { - c.setDisabled(!p && co); - c.setActive(!!p); - } - } - - if (c = cm.get('unlink')) { - c.setDisabled(!p && co); - c.setActive(!!p && !p.name); - } - - if (c = cm.get('anchor')) { - c.setActive(!co && !!p && p.name); - } - - p = getParent('IMG'); - if (c = cm.get('image')) - c.setActive(!co && !!p && n.className.indexOf('mceItem') == -1); - - if (c = cm.get('styleselect')) { - t._importClasses(); - - formatNames = []; - each(c.items, function(item) { - formatNames.push(item.value); - }); - - matches = ed.formatter.matchAll(formatNames); - c.select(matches[0]); - } - - if (c = cm.get('formatselect')) { - p = getParent(DOM.isBlock); - - if (p) - c.select(p.nodeName.toLowerCase()); - } - - // Find out current fontSize, fontFamily and fontClass - getParent(function(n) { - if (n.nodeName === 'SPAN') { - if (!cl && n.className) - cl = n.className; - } - - if (ed.dom.is(n, s.theme_advanced_font_selector)) { - if (!fz && n.style.fontSize) - fz = n.style.fontSize; - - if (!fn && n.style.fontFamily) - fn = n.style.fontFamily.replace(/[\"\']+/g, '').replace(/^([^,]+).*/, '$1').toLowerCase(); - - if (!fc && n.style.color) - fc = n.style.color; - - if (!bc && n.style.backgroundColor) - bc = n.style.backgroundColor; - } - - return false; - }); - - if (c = cm.get('fontselect')) { - c.select(function(v) { - return v.replace(/^([^,]+).*/, '$1').toLowerCase() == fn; - }); - } - - // Select font size - if (c = cm.get('fontsizeselect')) { - // Use computed style - if (s.theme_advanced_runtime_fontsize && !fz && !cl) - fz = ed.dom.getStyle(n, 'fontSize', true); - - c.select(function(v) { - if (v.fontSize && v.fontSize === fz) - return true; - - if (v['class'] && v['class'] === cl) - return true; - }); - } - - if (s.theme_advanced_show_current_color) { - function updateColor(controlId, color) { - if (c = cm.get(controlId)) { - if (!color) - color = c.settings.default_color; - if (color !== c.value) { - c.displayColor(color); - } - } - } - updateColor('forecolor', fc); - updateColor('backcolor', bc); - } - - if (s.theme_advanced_show_current_color) { - function updateColor(controlId, color) { - if (c = cm.get(controlId)) { - if (!color) - color = c.settings.default_color; - if (color !== c.value) { - c.displayColor(color); - } - } - }; - - updateColor('forecolor', fc); - updateColor('backcolor', bc); - } - - if (s.theme_advanced_path && s.theme_advanced_statusbar_location) { - p = DOM.get(ed.id + '_path') || DOM.add(ed.id + '_path_row', 'span', {id : ed.id + '_path'}); - - if (t.statusKeyboardNavigation) { - t.statusKeyboardNavigation.destroy(); - t.statusKeyboardNavigation = null; - } - - DOM.setHTML(p, ''); - - getParent(function(n) { - var na = n.nodeName.toLowerCase(), u, pi, ti = ''; - - // Ignore non element and bogus/hidden elements - if (n.nodeType != 1 || na === 'br' || n.getAttribute('data-mce-bogus') || DOM.hasClass(n, 'mceItemHidden') || DOM.hasClass(n, 'mceItemRemoved')) - return; - - // Handle prefix - if (tinymce.isIE && n.scopeName !== 'HTML') - na = n.scopeName + ':' + na; - - // Remove internal prefix - na = na.replace(/mce\:/g, ''); - - // Handle node name - switch (na) { - case 'b': - na = 'strong'; - break; - - case 'i': - na = 'em'; - break; - - case 'img': - if (v = DOM.getAttrib(n, 'src')) - ti += 'src: ' + v + ' '; - - break; - - case 'a': - if (v = DOM.getAttrib(n, 'name')) { - ti += 'name: ' + v + ' '; - na += '#' + v; - } - - if (v = DOM.getAttrib(n, 'href')) - ti += 'href: ' + v + ' '; - - break; - - case 'font': - if (v = DOM.getAttrib(n, 'face')) - ti += 'font: ' + v + ' '; - - if (v = DOM.getAttrib(n, 'size')) - ti += 'size: ' + v + ' '; - - if (v = DOM.getAttrib(n, 'color')) - ti += 'color: ' + v + ' '; - - break; - - case 'span': - if (v = DOM.getAttrib(n, 'style')) - ti += 'style: ' + v + ' '; - - break; - } - - if (v = DOM.getAttrib(n, 'id')) - ti += 'id: ' + v + ' '; - - if (v = n.className) { - v = v.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g, '') - - if (v) { - ti += 'class: ' + v + ' '; - - if (DOM.isBlock(n) || na == 'img' || na == 'span') - na += '.' + v; - } - } - - na = na.replace(/(html:)/g, ''); - na = {name : na, node : n, title : ti}; - t.onResolveName.dispatch(t, na); - ti = na.title; - na = na.name; - - //u = "javascript:tinymce.EditorManager.get('" + ed.id + "').theme._sel('" + (de++) + "');"; - pi = DOM.create('a', {'href' : "javascript:;", role: 'button', onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na); - - if (p.hasChildNodes()) { - p.insertBefore(DOM.create('span', {'aria-hidden': 'true'}, '\u00a0\u00bb '), p.firstChild); - p.insertBefore(pi, p.firstChild); - } else - p.appendChild(pi); - }, ed.getBody()); - - if (DOM.select('a', p).length > 0) { - t.statusKeyboardNavigation = new tinymce.ui.KeyboardNavigation({ - root: ed.id + "_path_row", - items: DOM.select('a', p), - excludeFromTabOrder: true, - onCancel: function() { - ed.focus(); - } - }, DOM); - } - } - }, - - // Commands gets called by execCommand - - _sel : function(v) { - this.editor.execCommand('mceSelectNodeDepth', false, v); - }, - - _mceInsertAnchor : function(ui, v) { - var ed = this.editor; - - ed.windowManager.open({ - url : this.url + '/anchor.htm', - width : 320 + parseInt(ed.getLang('advanced.anchor_delta_width', 0)), - height : 90 + parseInt(ed.getLang('advanced.anchor_delta_height', 0)), - inline : true - }, { - theme_url : this.url - }); - }, - - _mceCharMap : function() { - var ed = this.editor; - - ed.windowManager.open({ - url : this.url + '/charmap.htm', - width : 550 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)), - height : 260 + parseInt(ed.getLang('advanced.charmap_delta_height', 0)), - inline : true - }, { - theme_url : this.url - }); - }, - - _mceHelp : function() { - var ed = this.editor; - - ed.windowManager.open({ - url : this.url + '/about.htm', - width : 480, - height : 380, - inline : true - }, { - theme_url : this.url - }); - }, - - _mceShortcuts : function() { - var ed = this.editor; - ed.windowManager.open({ - url: this.url + '/shortcuts.htm', - width: 480, - height: 380, - inline: true - }, { - theme_url: this.url - }); - }, - - _mceColorPicker : function(u, v) { - var ed = this.editor; - - v = v || {}; - - ed.windowManager.open({ - url : this.url + '/color_picker.htm', - width : 375 + parseInt(ed.getLang('advanced.colorpicker_delta_width', 0)), - height : 250 + parseInt(ed.getLang('advanced.colorpicker_delta_height', 0)), - close_previous : false, - inline : true - }, { - input_color : v.color, - func : v.func, - theme_url : this.url - }); - }, - - _mceCodeEditor : function(ui, val) { - var ed = this.editor; - - ed.windowManager.open({ - url : this.url + '/source_editor.htm', - width : parseInt(ed.getParam("theme_advanced_source_editor_width", 720)), - height : parseInt(ed.getParam("theme_advanced_source_editor_height", 580)), - inline : true, - resizable : true, - maximizable : true - }, { - theme_url : this.url - }); - }, - - _mceImage : function(ui, val) { - var ed = this.editor; - - // Internal image object like a flash placeholder - if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1) - return; - - ed.windowManager.open({ - url : this.url + '/image.htm', - width : 355 + parseInt(ed.getLang('advanced.image_delta_width', 0)), - height : 275 + parseInt(ed.getLang('advanced.image_delta_height', 0)), - inline : true - }, { - theme_url : this.url - }); - }, - - _mceLink : function(ui, val) { - var ed = this.editor; - - ed.windowManager.open({ - url : this.url + '/link.htm', - width : 310 + parseInt(ed.getLang('advanced.link_delta_width', 0)), - height : 200 + parseInt(ed.getLang('advanced.link_delta_height', 0)), - inline : true - }, { - theme_url : this.url - }); - }, - - _mceNewDocument : function() { - var ed = this.editor; - - ed.windowManager.confirm('advanced.newdocument', function(s) { - if (s) - ed.execCommand('mceSetContent', false, ''); - }); - }, - - _mceForeColor : function() { - var t = this; - - this._mceColorPicker(0, { - color: t.fgColor, - func : function(co) { - t.fgColor = co; - t.editor.execCommand('ForeColor', false, co); - } - }); - }, - - _mceBackColor : function() { - var t = this; - - this._mceColorPicker(0, { - color: t.bgColor, - func : function(co) { - t.bgColor = co; - t.editor.execCommand('HiliteColor', false, co); - } - }); - }, - - _ufirst : function(s) { - return s.substring(0, 1).toUpperCase() + s.substring(1); - } - }); - - tinymce.ThemeManager.add('advanced', tinymce.themes.AdvancedTheme); -}(tinymce)); diff --git a/js/jquery/tiny_mce/themes/advanced/image.htm b/js/jquery/tiny_mce/themes/advanced/image.htm deleted file mode 100644 index b8ba729f..00000000 --- a/js/jquery/tiny_mce/themes/advanced/image.htm +++ /dev/null @@ -1,80 +0,0 @@ - - - - {#advanced_dlg.image_title} - - - - - - -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
     
    - x -
    -
    -
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/img/colorpicker.jpg b/js/jquery/tiny_mce/themes/advanced/img/colorpicker.jpg deleted file mode 100644 index b1a377ab..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/colorpicker.jpg and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/flash.gif b/js/jquery/tiny_mce/themes/advanced/img/flash.gif deleted file mode 100644 index dec3f7c7..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/flash.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/icons.gif b/js/jquery/tiny_mce/themes/advanced/img/icons.gif deleted file mode 100644 index 641a9e3d..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/icons.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/iframe.gif b/js/jquery/tiny_mce/themes/advanced/img/iframe.gif deleted file mode 100644 index 410c7ad0..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/iframe.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/pagebreak.gif b/js/jquery/tiny_mce/themes/advanced/img/pagebreak.gif deleted file mode 100644 index acdf4085..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/pagebreak.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/quicktime.gif b/js/jquery/tiny_mce/themes/advanced/img/quicktime.gif deleted file mode 100644 index 8f10e7aa..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/quicktime.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/realmedia.gif b/js/jquery/tiny_mce/themes/advanced/img/realmedia.gif deleted file mode 100644 index fdfe0b9a..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/realmedia.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/shockwave.gif b/js/jquery/tiny_mce/themes/advanced/img/shockwave.gif deleted file mode 100644 index 9314d044..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/shockwave.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/trans.gif b/js/jquery/tiny_mce/themes/advanced/img/trans.gif deleted file mode 100644 index 38848651..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/trans.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/video.gif b/js/jquery/tiny_mce/themes/advanced/img/video.gif deleted file mode 100644 index 35701040..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/video.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/img/windowsmedia.gif b/js/jquery/tiny_mce/themes/advanced/img/windowsmedia.gif deleted file mode 100644 index ab50f2d8..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/img/windowsmedia.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/js/about.js b/js/jquery/tiny_mce/themes/advanced/js/about.js deleted file mode 100644 index 5b358457..00000000 --- a/js/jquery/tiny_mce/themes/advanced/js/about.js +++ /dev/null @@ -1,73 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -function init() { - var ed, tcont; - - tinyMCEPopup.resizeToInnerSize(); - ed = tinyMCEPopup.editor; - - // Give FF some time - window.setTimeout(insertHelpIFrame, 10); - - tcont = document.getElementById('plugintablecontainer'); - document.getElementById('plugins_tab').style.display = 'none'; - - var html = ""; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - html += ''; - - tinymce.each(ed.plugins, function(p, n) { - var info; - - if (!p.getInfo) - return; - - html += ''; - - info = p.getInfo(); - - if (info.infourl != null && info.infourl != '') - html += ''; - else - html += ''; - - if (info.authorurl != null && info.authorurl != '') - html += ''; - else - html += ''; - - html += ''; - html += ''; - - document.getElementById('plugins_tab').style.display = ''; - - }); - - html += ''; - html += '
    ' + ed.getLang('advanced_dlg.about_plugin') + '' + ed.getLang('advanced_dlg.about_author') + '' + ed.getLang('advanced_dlg.about_version') + '
    ' + info.longname + '' + info.longname + '' + info.author + '' + info.author + '' + info.version + '
    '; - - tcont.innerHTML = html; - - tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; - tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate; -} - -function insertHelpIFrame() { - var html; - - if (tinyMCEPopup.getParam('docs_url')) { - html = ''; - document.getElementById('iframecontainer').innerHTML = html; - document.getElementById('help_tab').style.display = 'block'; - document.getElementById('help_tab').setAttribute("aria-hidden", "false"); - } -} - -tinyMCEPopup.onInit.add(init); diff --git a/js/jquery/tiny_mce/themes/advanced/js/anchor.js b/js/jquery/tiny_mce/themes/advanced/js/anchor.js deleted file mode 100644 index 04f41e0c..00000000 --- a/js/jquery/tiny_mce/themes/advanced/js/anchor.js +++ /dev/null @@ -1,43 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var AnchorDialog = { - init : function(ed) { - var action, elm, f = document.forms[0]; - - this.editor = ed; - elm = ed.dom.getParent(ed.selection.getNode(), 'A'); - v = ed.dom.getAttrib(elm, 'name'); - - if (v) { - this.action = 'update'; - f.anchorName.value = v; - } - - f.insert.value = ed.getLang(elm ? 'update' : 'insert'); - }, - - update : function() { - var ed = this.editor, elm, name = document.forms[0].anchorName.value; - - if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) { - tinyMCEPopup.alert('advanced_dlg.anchor_invalid'); - return; - } - - tinyMCEPopup.restoreSelection(); - - if (this.action != 'update') - ed.selection.collapse(1); - - elm = ed.dom.getParent(ed.selection.getNode(), 'A'); - if (elm) { - elm.setAttribute('name', name); - elm.name = name; - } else - ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('a', {name : name, 'class' : 'mceItemAnchor'}, '')); - - tinyMCEPopup.close(); - } -}; - -tinyMCEPopup.onInit.add(AnchorDialog.init, AnchorDialog); diff --git a/js/jquery/tiny_mce/themes/advanced/js/charmap.js b/js/jquery/tiny_mce/themes/advanced/js/charmap.js deleted file mode 100644 index bb186955..00000000 --- a/js/jquery/tiny_mce/themes/advanced/js/charmap.js +++ /dev/null @@ -1,363 +0,0 @@ -/** - * charmap.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -tinyMCEPopup.requireLangPack(); - -var charmap = [ - [' ', ' ', true, 'no-break space'], - ['&', '&', true, 'ampersand'], - ['"', '"', true, 'quotation mark'], -// finance - ['¢', '¢', true, 'cent sign'], - ['€', '€', true, 'euro sign'], - ['£', '£', true, 'pound sign'], - ['¥', '¥', true, 'yen sign'], -// signs - ['©', '©', true, 'copyright sign'], - ['®', '®', true, 'registered sign'], - ['™', '™', true, 'trade mark sign'], - ['‰', '‰', true, 'per mille sign'], - ['µ', 'µ', true, 'micro sign'], - ['·', '·', true, 'middle dot'], - ['•', '•', true, 'bullet'], - ['…', '…', true, 'three dot leader'], - ['′', '′', true, 'minutes / feet'], - ['″', '″', true, 'seconds / inches'], - ['§', '§', true, 'section sign'], - ['¶', '¶', true, 'paragraph sign'], - ['ß', 'ß', true, 'sharp s / ess-zed'], -// quotations - ['‹', '‹', true, 'single left-pointing angle quotation mark'], - ['›', '›', true, 'single right-pointing angle quotation mark'], - ['«', '«', true, 'left pointing guillemet'], - ['»', '»', true, 'right pointing guillemet'], - ['‘', '‘', true, 'left single quotation mark'], - ['’', '’', true, 'right single quotation mark'], - ['“', '“', true, 'left double quotation mark'], - ['”', '”', true, 'right double quotation mark'], - ['‚', '‚', true, 'single low-9 quotation mark'], - ['„', '„', true, 'double low-9 quotation mark'], - ['<', '<', true, 'less-than sign'], - ['>', '>', true, 'greater-than sign'], - ['≤', '≤', true, 'less-than or equal to'], - ['≥', '≥', true, 'greater-than or equal to'], - ['–', '–', true, 'en dash'], - ['—', '—', true, 'em dash'], - ['¯', '¯', true, 'macron'], - ['‾', '‾', true, 'overline'], - ['¤', '¤', true, 'currency sign'], - ['¦', '¦', true, 'broken bar'], - ['¨', '¨', true, 'diaeresis'], - ['¡', '¡', true, 'inverted exclamation mark'], - ['¿', '¿', true, 'turned question mark'], - ['ˆ', 'ˆ', true, 'circumflex accent'], - ['˜', '˜', true, 'small tilde'], - ['°', '°', true, 'degree sign'], - ['−', '−', true, 'minus sign'], - ['±', '±', true, 'plus-minus sign'], - ['÷', '÷', true, 'division sign'], - ['⁄', '⁄', true, 'fraction slash'], - ['×', '×', true, 'multiplication sign'], - ['¹', '¹', true, 'superscript one'], - ['²', '²', true, 'superscript two'], - ['³', '³', true, 'superscript three'], - ['¼', '¼', true, 'fraction one quarter'], - ['½', '½', true, 'fraction one half'], - ['¾', '¾', true, 'fraction three quarters'], -// math / logical - ['ƒ', 'ƒ', true, 'function / florin'], - ['∫', '∫', true, 'integral'], - ['∑', '∑', true, 'n-ary sumation'], - ['∞', '∞', true, 'infinity'], - ['√', '√', true, 'square root'], - ['∼', '∼', false,'similar to'], - ['≅', '≅', false,'approximately equal to'], - ['≈', '≈', true, 'almost equal to'], - ['≠', '≠', true, 'not equal to'], - ['≡', '≡', true, 'identical to'], - ['∈', '∈', false,'element of'], - ['∉', '∉', false,'not an element of'], - ['∋', '∋', false,'contains as member'], - ['∏', '∏', true, 'n-ary product'], - ['∧', '∧', false,'logical and'], - ['∨', '∨', false,'logical or'], - ['¬', '¬', true, 'not sign'], - ['∩', '∩', true, 'intersection'], - ['∪', '∪', false,'union'], - ['∂', '∂', true, 'partial differential'], - ['∀', '∀', false,'for all'], - ['∃', '∃', false,'there exists'], - ['∅', '∅', false,'diameter'], - ['∇', '∇', false,'backward difference'], - ['∗', '∗', false,'asterisk operator'], - ['∝', '∝', false,'proportional to'], - ['∠', '∠', false,'angle'], -// undefined - ['´', '´', true, 'acute accent'], - ['¸', '¸', true, 'cedilla'], - ['ª', 'ª', true, 'feminine ordinal indicator'], - ['º', 'º', true, 'masculine ordinal indicator'], - ['†', '†', true, 'dagger'], - ['‡', '‡', true, 'double dagger'], -// alphabetical special chars - ['À', 'À', true, 'A - grave'], - ['Á', 'Á', true, 'A - acute'], - ['Â', 'Â', true, 'A - circumflex'], - ['Ã', 'Ã', true, 'A - tilde'], - ['Ä', 'Ä', true, 'A - diaeresis'], - ['Å', 'Å', true, 'A - ring above'], - ['Æ', 'Æ', true, 'ligature AE'], - ['Ç', 'Ç', true, 'C - cedilla'], - ['È', 'È', true, 'E - grave'], - ['É', 'É', true, 'E - acute'], - ['Ê', 'Ê', true, 'E - circumflex'], - ['Ë', 'Ë', true, 'E - diaeresis'], - ['Ì', 'Ì', true, 'I - grave'], - ['Í', 'Í', true, 'I - acute'], - ['Î', 'Î', true, 'I - circumflex'], - ['Ï', 'Ï', true, 'I - diaeresis'], - ['Ð', 'Ð', true, 'ETH'], - ['Ñ', 'Ñ', true, 'N - tilde'], - ['Ò', 'Ò', true, 'O - grave'], - ['Ó', 'Ó', true, 'O - acute'], - ['Ô', 'Ô', true, 'O - circumflex'], - ['Õ', 'Õ', true, 'O - tilde'], - ['Ö', 'Ö', true, 'O - diaeresis'], - ['Ø', 'Ø', true, 'O - slash'], - ['Œ', 'Œ', true, 'ligature OE'], - ['Š', 'Š', true, 'S - caron'], - ['Ù', 'Ù', true, 'U - grave'], - ['Ú', 'Ú', true, 'U - acute'], - ['Û', 'Û', true, 'U - circumflex'], - ['Ü', 'Ü', true, 'U - diaeresis'], - ['Ý', 'Ý', true, 'Y - acute'], - ['Ÿ', 'Ÿ', true, 'Y - diaeresis'], - ['Þ', 'Þ', true, 'THORN'], - ['à', 'à', true, 'a - grave'], - ['á', 'á', true, 'a - acute'], - ['â', 'â', true, 'a - circumflex'], - ['ã', 'ã', true, 'a - tilde'], - ['ä', 'ä', true, 'a - diaeresis'], - ['å', 'å', true, 'a - ring above'], - ['æ', 'æ', true, 'ligature ae'], - ['ç', 'ç', true, 'c - cedilla'], - ['è', 'è', true, 'e - grave'], - ['é', 'é', true, 'e - acute'], - ['ê', 'ê', true, 'e - circumflex'], - ['ë', 'ë', true, 'e - diaeresis'], - ['ì', 'ì', true, 'i - grave'], - ['í', 'í', true, 'i - acute'], - ['î', 'î', true, 'i - circumflex'], - ['ï', 'ï', true, 'i - diaeresis'], - ['ð', 'ð', true, 'eth'], - ['ñ', 'ñ', true, 'n - tilde'], - ['ò', 'ò', true, 'o - grave'], - ['ó', 'ó', true, 'o - acute'], - ['ô', 'ô', true, 'o - circumflex'], - ['õ', 'õ', true, 'o - tilde'], - ['ö', 'ö', true, 'o - diaeresis'], - ['ø', 'ø', true, 'o slash'], - ['œ', 'œ', true, 'ligature oe'], - ['š', 'š', true, 's - caron'], - ['ù', 'ù', true, 'u - grave'], - ['ú', 'ú', true, 'u - acute'], - ['û', 'û', true, 'u - circumflex'], - ['ü', 'ü', true, 'u - diaeresis'], - ['ý', 'ý', true, 'y - acute'], - ['þ', 'þ', true, 'thorn'], - ['ÿ', 'ÿ', true, 'y - diaeresis'], - ['Α', 'Α', true, 'Alpha'], - ['Β', 'Β', true, 'Beta'], - ['Γ', 'Γ', true, 'Gamma'], - ['Δ', 'Δ', true, 'Delta'], - ['Ε', 'Ε', true, 'Epsilon'], - ['Ζ', 'Ζ', true, 'Zeta'], - ['Η', 'Η', true, 'Eta'], - ['Θ', 'Θ', true, 'Theta'], - ['Ι', 'Ι', true, 'Iota'], - ['Κ', 'Κ', true, 'Kappa'], - ['Λ', 'Λ', true, 'Lambda'], - ['Μ', 'Μ', true, 'Mu'], - ['Ν', 'Ν', true, 'Nu'], - ['Ξ', 'Ξ', true, 'Xi'], - ['Ο', 'Ο', true, 'Omicron'], - ['Π', 'Π', true, 'Pi'], - ['Ρ', 'Ρ', true, 'Rho'], - ['Σ', 'Σ', true, 'Sigma'], - ['Τ', 'Τ', true, 'Tau'], - ['Υ', 'Υ', true, 'Upsilon'], - ['Φ', 'Φ', true, 'Phi'], - ['Χ', 'Χ', true, 'Chi'], - ['Ψ', 'Ψ', true, 'Psi'], - ['Ω', 'Ω', true, 'Omega'], - ['α', 'α', true, 'alpha'], - ['β', 'β', true, 'beta'], - ['γ', 'γ', true, 'gamma'], - ['δ', 'δ', true, 'delta'], - ['ε', 'ε', true, 'epsilon'], - ['ζ', 'ζ', true, 'zeta'], - ['η', 'η', true, 'eta'], - ['θ', 'θ', true, 'theta'], - ['ι', 'ι', true, 'iota'], - ['κ', 'κ', true, 'kappa'], - ['λ', 'λ', true, 'lambda'], - ['μ', 'μ', true, 'mu'], - ['ν', 'ν', true, 'nu'], - ['ξ', 'ξ', true, 'xi'], - ['ο', 'ο', true, 'omicron'], - ['π', 'π', true, 'pi'], - ['ρ', 'ρ', true, 'rho'], - ['ς', 'ς', true, 'final sigma'], - ['σ', 'σ', true, 'sigma'], - ['τ', 'τ', true, 'tau'], - ['υ', 'υ', true, 'upsilon'], - ['φ', 'φ', true, 'phi'], - ['χ', 'χ', true, 'chi'], - ['ψ', 'ψ', true, 'psi'], - ['ω', 'ω', true, 'omega'], -// symbols - ['ℵ', 'ℵ', false,'alef symbol'], - ['ϖ', 'ϖ', false,'pi symbol'], - ['ℜ', 'ℜ', false,'real part symbol'], - ['ϑ','ϑ', false,'theta symbol'], - ['ϒ', 'ϒ', false,'upsilon - hook symbol'], - ['℘', '℘', false,'Weierstrass p'], - ['ℑ', 'ℑ', false,'imaginary part'], -// arrows - ['←', '←', true, 'leftwards arrow'], - ['↑', '↑', true, 'upwards arrow'], - ['→', '→', true, 'rightwards arrow'], - ['↓', '↓', true, 'downwards arrow'], - ['↔', '↔', true, 'left right arrow'], - ['↵', '↵', false,'carriage return'], - ['⇐', '⇐', false,'leftwards double arrow'], - ['⇑', '⇑', false,'upwards double arrow'], - ['⇒', '⇒', false,'rightwards double arrow'], - ['⇓', '⇓', false,'downwards double arrow'], - ['⇔', '⇔', false,'left right double arrow'], - ['∴', '∴', false,'therefore'], - ['⊂', '⊂', false,'subset of'], - ['⊃', '⊃', false,'superset of'], - ['⊄', '⊄', false,'not a subset of'], - ['⊆', '⊆', false,'subset of or equal to'], - ['⊇', '⊇', false,'superset of or equal to'], - ['⊕', '⊕', false,'circled plus'], - ['⊗', '⊗', false,'circled times'], - ['⊥', '⊥', false,'perpendicular'], - ['⋅', '⋅', false,'dot operator'], - ['⌈', '⌈', false,'left ceiling'], - ['⌉', '⌉', false,'right ceiling'], - ['⌊', '⌊', false,'left floor'], - ['⌋', '⌋', false,'right floor'], - ['⟨', '〈', false,'left-pointing angle bracket'], - ['⟩', '〉', false,'right-pointing angle bracket'], - ['◊', '◊', true, 'lozenge'], - ['♠', '♠', true, 'black spade suit'], - ['♣', '♣', true, 'black club suit'], - ['♥', '♥', true, 'black heart suit'], - ['♦', '♦', true, 'black diamond suit'], - [' ', ' ', false,'en space'], - [' ', ' ', false,'em space'], - [' ', ' ', false,'thin space'], - ['‌', '‌', false,'zero width non-joiner'], - ['‍', '‍', false,'zero width joiner'], - ['‎', '‎', false,'left-to-right mark'], - ['‏', '‏', false,'right-to-left mark'], - ['­', '­', false,'soft hyphen'] -]; - -tinyMCEPopup.onInit.add(function() { - tinyMCEPopup.dom.setHTML('charmapView', renderCharMapHTML()); - addKeyboardNavigation(); -}); - -function addKeyboardNavigation(){ - var tableElm, cells, settings; - - cells = tinyMCEPopup.dom.select("a.charmaplink", "charmapgroup"); - - settings ={ - root: "charmapgroup", - items: cells - }; - cells[0].tabindex=0; - tinyMCEPopup.dom.addClass(cells[0], "mceFocus"); - if (tinymce.isGecko) { - cells[0].focus(); - } else { - setTimeout(function(){ - cells[0].focus(); - }, 100); - } - tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom); -} - -function renderCharMapHTML() { - var charsPerRow = 20, tdWidth=20, tdHeight=20, i; - var html = '
    '+ - ''; - var cols=-1; - - for (i=0; i' - + '' - + charmap[i][1] - + ''; - if ((cols+1) % charsPerRow == 0) - html += ''; - } - } - - if (cols % charsPerRow > 0) { - var padd = charsPerRow - (cols % charsPerRow); - for (var i=0; i '; - } - - html += '
    '; - html = html.replace(/<\/tr>/g, ''); - - return html; -} - -function insertChar(chr) { - tinyMCEPopup.execCommand('mceInsertContent', false, '&#' + chr + ';'); - - // Refocus in window - if (tinyMCEPopup.isWindow) - window.focus(); - - tinyMCEPopup.editor.focus(); - tinyMCEPopup.close(); -} - -function previewChar(codeA, codeB, codeN) { - var elmA = document.getElementById('codeA'); - var elmB = document.getElementById('codeB'); - var elmV = document.getElementById('codeV'); - var elmN = document.getElementById('codeN'); - - if (codeA=='#160;') { - elmV.innerHTML = '__'; - } else { - elmV.innerHTML = '&' + codeA; - } - - elmB.innerHTML = '&' + codeA; - elmA.innerHTML = '&' + codeB; - elmN.innerHTML = codeN; -} diff --git a/js/jquery/tiny_mce/themes/advanced/js/color_picker.js b/js/jquery/tiny_mce/themes/advanced/js/color_picker.js deleted file mode 100644 index f51e703b..00000000 --- a/js/jquery/tiny_mce/themes/advanced/js/color_picker.js +++ /dev/null @@ -1,329 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; - -var colors = [ - "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", - "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", - "#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff", - "#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033", - "#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399", - "#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff", - "#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333", - "#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399", - "#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff", - "#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633", - "#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699", - "#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff", - "#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633", - "#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999", - "#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff", - "#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933", - "#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999", - "#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff", - "#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33", - "#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99", - "#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff", - "#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33", - "#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99", - "#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff", - "#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33", - "#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99", - "#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff" -]; - -var named = { - '#F0F8FF':'Alice Blue','#FAEBD7':'Antique White','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige', - '#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'Blanched Almond','#0000FF':'Blue','#8A2BE2':'Blue Violet','#A52A2A':'Brown', - '#DEB887':'Burly Wood','#5F9EA0':'Cadet Blue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'Cornflower Blue', - '#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'Dark Blue','#008B8B':'Dark Cyan','#B8860B':'Dark Golden Rod', - '#A9A9A9':'Dark Gray','#A9A9A9':'Dark Grey','#006400':'Dark Green','#BDB76B':'Dark Khaki','#8B008B':'Dark Magenta','#556B2F':'Dark Olive Green', - '#FF8C00':'Darkorange','#9932CC':'Dark Orchid','#8B0000':'Dark Red','#E9967A':'Dark Salmon','#8FBC8F':'Dark Sea Green','#483D8B':'Dark Slate Blue', - '#2F4F4F':'Dark Slate Gray','#2F4F4F':'Dark Slate Grey','#00CED1':'Dark Turquoise','#9400D3':'Dark Violet','#FF1493':'Deep Pink','#00BFFF':'Deep Sky Blue', - '#696969':'Dim Gray','#696969':'Dim Grey','#1E90FF':'Dodger Blue','#B22222':'Fire Brick','#FFFAF0':'Floral White','#228B22':'Forest Green', - '#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'Ghost White','#FFD700':'Gold','#DAA520':'Golden Rod','#808080':'Gray','#808080':'Grey', - '#008000':'Green','#ADFF2F':'Green Yellow','#F0FFF0':'Honey Dew','#FF69B4':'Hot Pink','#CD5C5C':'Indian Red','#4B0082':'Indigo','#FFFFF0':'Ivory', - '#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'Lavender Blush','#7CFC00':'Lawn Green','#FFFACD':'Lemon Chiffon','#ADD8E6':'Light Blue', - '#F08080':'Light Coral','#E0FFFF':'Light Cyan','#FAFAD2':'Light Golden Rod Yellow','#D3D3D3':'Light Gray','#D3D3D3':'Light Grey','#90EE90':'Light Green', - '#FFB6C1':'Light Pink','#FFA07A':'Light Salmon','#20B2AA':'Light Sea Green','#87CEFA':'Light Sky Blue','#778899':'Light Slate Gray','#778899':'Light Slate Grey', - '#B0C4DE':'Light Steel Blue','#FFFFE0':'Light Yellow','#00FF00':'Lime','#32CD32':'Lime Green','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon', - '#66CDAA':'Medium Aqua Marine','#0000CD':'Medium Blue','#BA55D3':'Medium Orchid','#9370D8':'Medium Purple','#3CB371':'Medium Sea Green','#7B68EE':'Medium Slate Blue', - '#00FA9A':'Medium Spring Green','#48D1CC':'Medium Turquoise','#C71585':'Medium Violet Red','#191970':'Midnight Blue','#F5FFFA':'Mint Cream','#FFE4E1':'Misty Rose','#FFE4B5':'Moccasin', - '#FFDEAD':'Navajo White','#000080':'Navy','#FDF5E6':'Old Lace','#808000':'Olive','#6B8E23':'Olive Drab','#FFA500':'Orange','#FF4500':'Orange Red','#DA70D6':'Orchid', - '#EEE8AA':'Pale Golden Rod','#98FB98':'Pale Green','#AFEEEE':'Pale Turquoise','#D87093':'Pale Violet Red','#FFEFD5':'Papaya Whip','#FFDAB9':'Peach Puff', - '#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'Powder Blue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'Rosy Brown','#4169E1':'Royal Blue', - '#8B4513':'Saddle Brown','#FA8072':'Salmon','#F4A460':'Sandy Brown','#2E8B57':'Sea Green','#FFF5EE':'Sea Shell','#A0522D':'Sienna','#C0C0C0':'Silver', - '#87CEEB':'Sky Blue','#6A5ACD':'Slate Blue','#708090':'Slate Gray','#708090':'Slate Grey','#FFFAFA':'Snow','#00FF7F':'Spring Green', - '#4682B4':'Steel Blue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet', - '#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'White Smoke','#FFFF00':'Yellow','#9ACD32':'Yellow Green' -}; - -var namedLookup = {}; - -function init() { - var inputColor = convertRGBToHex(tinyMCEPopup.getWindowArg('input_color')), key, value; - - tinyMCEPopup.resizeToInnerSize(); - - generatePicker(); - generateWebColors(); - generateNamedColors(); - - if (inputColor) { - changeFinalColor(inputColor); - - col = convertHexToRGB(inputColor); - - if (col) - updateLight(col.r, col.g, col.b); - } - - for (key in named) { - value = named[key]; - namedLookup[value.replace(/\s+/, '').toLowerCase()] = key.replace(/#/, '').toLowerCase(); - } -} - -function toHexColor(color) { - var matches, red, green, blue, toInt = parseInt; - - function hex(value) { - value = parseInt(value).toString(16); - - return value.length > 1 ? value : '0' + value; // Padd with leading zero - }; - - color = color.replace(/[\s#]+/g, '').toLowerCase(); - color = namedLookup[color] || color; - matches = /^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)|([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})|([a-f0-9])([a-f0-9])([a-f0-9])$/.exec(color); - - if (matches) { - if (matches[1]) { - red = toInt(matches[1]); - green = toInt(matches[2]); - blue = toInt(matches[3]); - } else if (matches[4]) { - red = toInt(matches[4], 16); - green = toInt(matches[5], 16); - blue = toInt(matches[6], 16); - } else if (matches[7]) { - red = toInt(matches[7] + matches[7], 16); - green = toInt(matches[8] + matches[8], 16); - blue = toInt(matches[9] + matches[9], 16); - } - - return '#' + hex(red) + hex(green) + hex(blue); - } - - return ''; -} - -function insertAction() { - var color = document.getElementById("color").value, f = tinyMCEPopup.getWindowArg('func'); - - tinyMCEPopup.restoreSelection(); - - if (f) - f(toHexColor(color)); - - tinyMCEPopup.close(); -} - -function showColor(color, name) { - if (name) - document.getElementById("colorname").innerHTML = name; - - document.getElementById("preview").style.backgroundColor = color; - document.getElementById("color").value = color.toUpperCase(); -} - -function convertRGBToHex(col) { - var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi"); - - if (!col) - return col; - - var rgb = col.replace(re, "$1,$2,$3").split(','); - if (rgb.length == 3) { - r = parseInt(rgb[0]).toString(16); - g = parseInt(rgb[1]).toString(16); - b = parseInt(rgb[2]).toString(16); - - r = r.length == 1 ? '0' + r : r; - g = g.length == 1 ? '0' + g : g; - b = b.length == 1 ? '0' + b : b; - - return "#" + r + g + b; - } - - return col; -} - -function convertHexToRGB(col) { - if (col.indexOf('#') != -1) { - col = col.replace(new RegExp('[^0-9A-F]', 'gi'), ''); - - r = parseInt(col.substring(0, 2), 16); - g = parseInt(col.substring(2, 4), 16); - b = parseInt(col.substring(4, 6), 16); - - return {r : r, g : g, b : b}; - } - - return null; -} - -function generatePicker() { - var el = document.getElementById('light'), h = '', i; - - for (i = 0; i < detail; i++){ - h += '
    '; - } - - el.innerHTML = h; -} - -function generateWebColors() { - var el = document.getElementById('webcolors'), h = '', i; - - if (el.className == 'generated') - return; - - // TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby. - h += '
    ' - + ''; - - for (i=0; i' - + ''; - if (tinyMCEPopup.editor.forcedHighContrastMode) { - h += ''; - } - h += ''; - h += ''; - if ((i+1) % 18 == 0) - h += ''; - } - - h += '
    '; - - el.innerHTML = h; - el.className = 'generated'; - - paintCanvas(el); - enableKeyboardNavigation(el.firstChild); -} - -function paintCanvas(el) { - tinyMCEPopup.getWin().tinymce.each(tinyMCEPopup.dom.select('canvas.mceColorSwatch', el), function(canvas) { - var context; - if (canvas.getContext && (context = canvas.getContext("2d"))) { - context.fillStyle = canvas.getAttribute('data-color'); - context.fillRect(0, 0, 10, 10); - } - }); -} -function generateNamedColors() { - var el = document.getElementById('namedcolors'), h = '', n, v, i = 0; - - if (el.className == 'generated') - return; - - for (n in named) { - v = named[n]; - h += ''; - if (tinyMCEPopup.editor.forcedHighContrastMode) { - h += ''; - } - h += ''; - h += ''; - i++; - } - - el.innerHTML = h; - el.className = 'generated'; - - paintCanvas(el); - enableKeyboardNavigation(el); -} - -function enableKeyboardNavigation(el) { - tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', { - root: el, - items: tinyMCEPopup.dom.select('a', el) - }, tinyMCEPopup.dom); -} - -function dechex(n) { - return strhex.charAt(Math.floor(n / 16)) + strhex.charAt(n % 16); -} - -function computeColor(e) { - var x, y, partWidth, partDetail, imHeight, r, g, b, coef, i, finalCoef, finalR, finalG, finalB, pos = tinyMCEPopup.dom.getPos(e.target); - - x = e.offsetX ? e.offsetX : (e.target ? e.clientX - pos.x : 0); - y = e.offsetY ? e.offsetY : (e.target ? e.clientY - pos.y : 0); - - partWidth = document.getElementById('colors').width / 6; - partDetail = detail / 2; - imHeight = document.getElementById('colors').height; - - r = (x >= 0)*(x < partWidth)*255 + (x >= partWidth)*(x < 2*partWidth)*(2*255 - x * 255 / partWidth) + (x >= 4*partWidth)*(x < 5*partWidth)*(-4*255 + x * 255 / partWidth) + (x >= 5*partWidth)*(x < 6*partWidth)*255; - g = (x >= 0)*(x < partWidth)*(x * 255 / partWidth) + (x >= partWidth)*(x < 3*partWidth)*255 + (x >= 3*partWidth)*(x < 4*partWidth)*(4*255 - x * 255 / partWidth); - b = (x >= 2*partWidth)*(x < 3*partWidth)*(-2*255 + x * 255 / partWidth) + (x >= 3*partWidth)*(x < 5*partWidth)*255 + (x >= 5*partWidth)*(x < 6*partWidth)*(6*255 - x * 255 / partWidth); - - coef = (imHeight - y) / imHeight; - r = 128 + (r - 128) * coef; - g = 128 + (g - 128) * coef; - b = 128 + (b - 128) * coef; - - changeFinalColor('#' + dechex(r) + dechex(g) + dechex(b)); - updateLight(r, g, b); -} - -function updateLight(r, g, b) { - var i, partDetail = detail / 2, finalCoef, finalR, finalG, finalB, color; - - for (i=0; i=0) && (i'); - }, - - init : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor; - - // Setup browse button - document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); - if (isVisible('srcbrowser')) - document.getElementById('src').style.width = '180px'; - - e = ed.selection.getNode(); - - this.fillFileList('image_list', tinyMCEPopup.getParam('external_image_list', 'tinyMCEImageList')); - - if (e.nodeName == 'IMG') { - f.src.value = ed.dom.getAttrib(e, 'src'); - f.alt.value = ed.dom.getAttrib(e, 'alt'); - f.border.value = this.getAttrib(e, 'border'); - f.vspace.value = this.getAttrib(e, 'vspace'); - f.hspace.value = this.getAttrib(e, 'hspace'); - f.width.value = ed.dom.getAttrib(e, 'width'); - f.height.value = ed.dom.getAttrib(e, 'height'); - f.insert.value = ed.getLang('update'); - this.styleVal = ed.dom.getAttrib(e, 'style'); - selectByValue(f, 'image_list', f.src.value); - selectByValue(f, 'align', this.getAttrib(e, 'align')); - this.updateStyle(); - } - }, - - fillFileList : function(id, l) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - l = typeof(l) === 'function' ? l() : window[l]; - - if (l && l.length > 0) { - lst.options[lst.options.length] = new Option('', ''); - - tinymce.each(l, function(o) { - lst.options[lst.options.length] = new Option(o[0], o[1]); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - update : function() { - var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, args = {}, el; - - tinyMCEPopup.restoreSelection(); - - if (f.src.value === '') { - if (ed.selection.getNode().nodeName == 'IMG') { - ed.dom.remove(ed.selection.getNode()); - ed.execCommand('mceRepaint'); - } - - tinyMCEPopup.close(); - return; - } - - if (!ed.settings.inline_styles) { - args = tinymce.extend(args, { - vspace : nl.vspace.value, - hspace : nl.hspace.value, - border : nl.border.value, - align : getSelectValue(f, 'align') - }); - } else - args.style = this.styleVal; - - tinymce.extend(args, { - src : f.src.value.replace(/ /g, '%20'), - alt : f.alt.value, - width : f.width.value, - height : f.height.value - }); - - el = ed.selection.getNode(); - - if (el && el.nodeName == 'IMG') { - ed.dom.setAttribs(el, args); - tinyMCEPopup.editor.execCommand('mceRepaint'); - tinyMCEPopup.editor.focus(); - } else { - tinymce.each(args, function(value, name) { - if (value === "") { - delete args[name]; - } - }); - - ed.execCommand('mceInsertContent', false, tinyMCEPopup.editor.dom.createHTML('img', args), {skip_undo : 1}); - ed.undoManager.add(); - } - - tinyMCEPopup.close(); - }, - - updateStyle : function() { - var dom = tinyMCEPopup.dom, st, v, f = document.forms[0]; - - if (tinyMCEPopup.editor.settings.inline_styles) { - st = tinyMCEPopup.dom.parseStyle(this.styleVal); - - // Handle align - v = getSelectValue(f, 'align'); - if (v) { - if (v == 'left' || v == 'right') { - st['float'] = v; - delete st['vertical-align']; - } else { - st['vertical-align'] = v; - delete st['float']; - } - } else { - delete st['float']; - delete st['vertical-align']; - } - - // Handle border - v = f.border.value; - if (v || v == '0') { - if (v == '0') - st['border'] = '0'; - else - st['border'] = v + 'px solid black'; - } else - delete st['border']; - - // Handle hspace - v = f.hspace.value; - if (v) { - delete st['margin']; - st['margin-left'] = v + 'px'; - st['margin-right'] = v + 'px'; - } else { - delete st['margin-left']; - delete st['margin-right']; - } - - // Handle vspace - v = f.vspace.value; - if (v) { - delete st['margin']; - st['margin-top'] = v + 'px'; - st['margin-bottom'] = v + 'px'; - } else { - delete st['margin-top']; - delete st['margin-bottom']; - } - - // Merge - st = tinyMCEPopup.dom.parseStyle(dom.serializeStyle(st), 'img'); - this.styleVal = dom.serializeStyle(st, 'img'); - } - }, - - getAttrib : function(e, at) { - var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2; - - if (ed.settings.inline_styles) { - switch (at) { - case 'align': - if (v = dom.getStyle(e, 'float')) - return v; - - if (v = dom.getStyle(e, 'vertical-align')) - return v; - - break; - - case 'hspace': - v = dom.getStyle(e, 'margin-left') - v2 = dom.getStyle(e, 'margin-right'); - if (v && v == v2) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - - case 'vspace': - v = dom.getStyle(e, 'margin-top') - v2 = dom.getStyle(e, 'margin-bottom'); - if (v && v == v2) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - - case 'border': - v = 0; - - tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) { - sv = dom.getStyle(e, 'border-' + sv + '-width'); - - // False or not the same as prev - if (!sv || (sv != v && v !== 0)) { - v = 0; - return false; - } - - if (sv) - v = sv; - }); - - if (v) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - } - } - - if (v = dom.getAttrib(e, at)) - return v; - - return ''; - }, - - resetImageData : function() { - var f = document.forms[0]; - - f.width.value = f.height.value = ""; - }, - - updateImageData : function() { - var f = document.forms[0], t = ImageDialog; - - if (f.width.value == "") - f.width.value = t.preloadImg.width; - - if (f.height.value == "") - f.height.value = t.preloadImg.height; - }, - - getImageData : function() { - var f = document.forms[0]; - - this.preloadImg = new Image(); - this.preloadImg.onload = this.updateImageData; - this.preloadImg.onerror = this.resetImageData; - this.preloadImg.src = tinyMCEPopup.editor.documentBaseURI.toAbsolute(f.src.value); - } -}; - -ImageDialog.preInit(); -tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog); diff --git a/js/jquery/tiny_mce/themes/advanced/js/link.js b/js/jquery/tiny_mce/themes/advanced/js/link.js deleted file mode 100644 index 53ff409e..00000000 --- a/js/jquery/tiny_mce/themes/advanced/js/link.js +++ /dev/null @@ -1,153 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var LinkDialog = { - preInit : function() { - var url; - - if (url = tinyMCEPopup.getParam("external_link_list_url")) - document.write(''); - }, - - init : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor; - - // Setup browse button - document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser', 'href', 'file', 'theme_advanced_link'); - if (isVisible('hrefbrowser')) - document.getElementById('href').style.width = '180px'; - - this.fillClassList('class_list'); - this.fillFileList('link_list', 'tinyMCELinkList'); - this.fillTargetList('target_list'); - - if (e = ed.dom.getParent(ed.selection.getNode(), 'A')) { - f.href.value = ed.dom.getAttrib(e, 'href'); - f.linktitle.value = ed.dom.getAttrib(e, 'title'); - f.insert.value = ed.getLang('update'); - selectByValue(f, 'link_list', f.href.value); - selectByValue(f, 'target_list', ed.dom.getAttrib(e, 'target')); - selectByValue(f, 'class_list', ed.dom.getAttrib(e, 'class')); - } - }, - - update : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor, e, b, href = f.href.value.replace(/ /g, '%20'); - - tinyMCEPopup.restoreSelection(); - e = ed.dom.getParent(ed.selection.getNode(), 'A'); - - // Remove element if there is no href - if (!f.href.value) { - if (e) { - b = ed.selection.getBookmark(); - ed.dom.remove(e, 1); - ed.selection.moveToBookmark(b); - tinyMCEPopup.execCommand("mceEndUndoLevel"); - tinyMCEPopup.close(); - return; - } - } - - // Create new anchor elements - if (e == null) { - ed.getDoc().execCommand("unlink", false, null); - tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1}); - - tinymce.each(ed.dom.select("a"), function(n) { - if (ed.dom.getAttrib(n, 'href') == '#mce_temp_url#') { - e = n; - - ed.dom.setAttribs(e, { - href : href, - title : f.linktitle.value, - target : f.target_list ? getSelectValue(f, "target_list") : null, - 'class' : f.class_list ? getSelectValue(f, "class_list") : null - }); - } - }); - } else { - ed.dom.setAttribs(e, { - href : href, - title : f.linktitle.value, - target : f.target_list ? getSelectValue(f, "target_list") : null, - 'class' : f.class_list ? getSelectValue(f, "class_list") : null - }); - } - - // Don't move caret if selection was image - if (e.childNodes.length != 1 || e.firstChild.nodeName != 'IMG') { - ed.focus(); - ed.selection.select(e); - ed.selection.collapse(0); - tinyMCEPopup.storeSelection(); - } - - tinyMCEPopup.execCommand("mceEndUndoLevel"); - tinyMCEPopup.close(); - }, - - checkPrefix : function(n) { - if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_email'))) - n.value = 'mailto:' + n.value; - - if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_external'))) - n.value = 'http://' + n.value; - }, - - fillFileList : function(id, l) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - l = window[l]; - - if (l && l.length > 0) { - lst.options[lst.options.length] = new Option('', ''); - - tinymce.each(l, function(o) { - lst.options[lst.options.length] = new Option(o[0], o[1]); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - fillClassList : function(id) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - if (v = tinyMCEPopup.getParam('theme_advanced_styles')) { - cl = []; - - tinymce.each(v.split(';'), function(v) { - var p = v.split('='); - - cl.push({'title' : p[0], 'class' : p[1]}); - }); - } else - cl = tinyMCEPopup.editor.dom.getClasses(); - - if (cl.length > 0) { - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); - - tinymce.each(cl, function(o) { - lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - fillTargetList : function(id) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v; - - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_same'), '_self'); - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_blank'), '_blank'); - - if (v = tinyMCEPopup.getParam('theme_advanced_link_targets')) { - tinymce.each(v.split(','), function(v) { - v = v.split('='); - lst.options[lst.options.length] = new Option(v[0], v[1]); - }); - } - } -}; - -LinkDialog.preInit(); -tinyMCEPopup.onInit.add(LinkDialog.init, LinkDialog); diff --git a/js/jquery/tiny_mce/themes/advanced/js/source_editor.js b/js/jquery/tiny_mce/themes/advanced/js/source_editor.js deleted file mode 100644 index 84546ad5..00000000 --- a/js/jquery/tiny_mce/themes/advanced/js/source_editor.js +++ /dev/null @@ -1,56 +0,0 @@ -tinyMCEPopup.requireLangPack(); -tinyMCEPopup.onInit.add(onLoadInit); - -function saveContent() { - tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); - tinyMCEPopup.close(); -} - -function onLoadInit() { - tinyMCEPopup.resizeToInnerSize(); - - // Remove Gecko spellchecking - if (tinymce.isGecko) - document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck"); - - document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true}); - - if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) { - setWrap('soft'); - document.getElementById('wraped').checked = true; - } - - resizeInputs(); -} - -function setWrap(val) { - var v, n, s = document.getElementById('htmlSource'); - - s.wrap = val; - - if (!tinymce.isIE) { - v = s.value; - n = s.cloneNode(false); - n.setAttribute("wrap", val); - s.parentNode.replaceChild(n, s); - n.value = v; - } -} - -function toggleWordWrap(elm) { - if (elm.checked) - setWrap('soft'); - else - setWrap('off'); -} - -function resizeInputs() { - var vp = tinyMCEPopup.dom.getViewPort(window), el; - - el = document.getElementById('htmlSource'); - - if (el) { - el.style.width = (vp.w - 20) + 'px'; - el.style.height = (vp.h - 65) + 'px'; - } -} diff --git a/js/jquery/tiny_mce/themes/advanced/langs/en.js b/js/jquery/tiny_mce/themes/advanced/langs/en.js deleted file mode 100644 index 6e584818..00000000 --- a/js/jquery/tiny_mce/themes/advanced/langs/en.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.advanced',{"underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)",dd:"Definition Description",dt:"Definition Term ",samp:"Code Sample",code:"Code",blockquote:"Block Quote",h6:"Heading 6",h5:"Heading 5",h4:"Heading 4",h3:"Heading 3",h2:"Heading 2",h1:"Heading 1",pre:"Preformatted",address:"Address",div:"DIV",paragraph:"Paragraph",block:"Format",fontdefault:"Font Family","font_size":"Font Size","style_select":"Styles","anchor_delta_height":"","anchor_delta_width":"","charmap_delta_height":"","charmap_delta_width":"","colorpicker_delta_height":"","colorpicker_delta_width":"","link_delta_height":"","link_delta_width":"","image_delta_height":"","image_delta_width":"","more_colors":"More Colors...","toolbar_focus":"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",newdocument:"Are you sure you want clear all contents?",path:"Path","clipboard_msg":"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?","blockquote_desc":"Block Quote","help_desc":"Help","newdocument_desc":"New Document","image_props_desc":"Image Properties","paste_desc":"Paste (Ctrl+V)","copy_desc":"Copy (Ctrl+C)","cut_desc":"Cut (Ctrl+X)","anchor_desc":"Insert/Edit Anchor","visualaid_desc":"show/Hide Guidelines/Invisible Elements","charmap_desc":"Insert Special Character","backcolor_desc":"Select Background Color","forecolor_desc":"Select Text Color","custom1_desc":"Your Custom Description Here","removeformat_desc":"Remove Formatting","hr_desc":"Insert Horizontal Line","sup_desc":"Superscript","sub_desc":"Subscript","code_desc":"Edit HTML Source","cleanup_desc":"Cleanup Messy Code","image_desc":"Insert/Edit Image","unlink_desc":"Unlink","link_desc":"Insert/Edit Link","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","indent_desc":"Increase Indent","outdent_desc":"Decrease Indent","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","justifyfull_desc":"Align Full","justifyright_desc":"Align Right","justifycenter_desc":"Align Center","justifyleft_desc":"Align Left","striketrough_desc":"Strikethrough","help_shortcut":"Press ALT-F10 for toolbar. Press ALT-0 for help","rich_text_area":"Rich Text Area","shortcuts_desc":"Accessability Help",toolbar:"Toolbar"}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/themes/advanced/langs/en_dlg.js b/js/jquery/tiny_mce/themes/advanced/langs/en_dlg.js deleted file mode 100644 index 42c9a13c..00000000 --- a/js/jquery/tiny_mce/themes/advanced/langs/en_dlg.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.advanced_dlg', {"link_list":"Link List","link_is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","link_is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","link_titlefield":"Title","link_target_blank":"Open Link in a New Window","link_target_same":"Open Link in the Same Window","link_target":"Target","link_url":"Link URL","link_title":"Insert/Edit Link","image_align_right":"Right","image_align_left":"Left","image_align_textbottom":"Text Bottom","image_align_texttop":"Text Top","image_align_bottom":"Bottom","image_align_middle":"Middle","image_align_top":"Top","image_align_baseline":"Baseline","image_align":"Alignment","image_hspace":"Horizontal Space","image_vspace":"Vertical Space","image_dimensions":"Dimensions","image_alt":"Image Description","image_list":"Image List","image_border":"Border","image_src":"Image URL","image_title":"Insert/Edit Image","charmap_title":"Select Special Character", "charmap_usage":"Use left and right arrows to navigate.","colorpicker_name":"Name:","colorpicker_color":"Color:","colorpicker_named_title":"Named Colors","colorpicker_named_tab":"Named","colorpicker_palette_title":"Palette Colors","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Color Picker","colorpicker_picker_tab":"Picker","colorpicker_title":"Select a Color","code_wordwrap":"Word Wrap","code_title":"HTML Source Editor","anchor_name":"Anchor Name","anchor_title":"Insert/Edit Anchor","about_loaded":"Loaded Plugins","about_version":"Version","about_author":"Author","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"License","about_help":"Help","about_general":"About","about_title":"About TinyMCE","anchor_invalid":"Please specify a valid anchor name.","accessibility_help":"Accessibility Help","accessibility_usage_title":"General Usage","":""}); diff --git a/js/jquery/tiny_mce/themes/advanced/link.htm b/js/jquery/tiny_mce/themes/advanced/link.htm deleted file mode 100644 index 5d9dea9b..00000000 --- a/js/jquery/tiny_mce/themes/advanced/link.htm +++ /dev/null @@ -1,57 +0,0 @@ - - - - {#advanced_dlg.link_title} - - - - - - - -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
     
    -
    -
    - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/shortcuts.htm b/js/jquery/tiny_mce/themes/advanced/shortcuts.htm deleted file mode 100644 index 20ec2f5a..00000000 --- a/js/jquery/tiny_mce/themes/advanced/shortcuts.htm +++ /dev/null @@ -1,47 +0,0 @@ - - - - {#advanced_dlg.accessibility_help} - - - - -

    {#advanced_dlg.accessibility_usage_title}

    -

    Toolbars

    -

    Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys. - Press enter to activate a button and return focus to the editor. - Press escape to return focus to the editor without performing any actions.

    - -

    Status Bar

    -

    To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path. - Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.

    - -

    Context Menu

    -

    Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key. - To close submenus press the left arrow key. Press escape to close the context menu.

    - -

    Keyboard Shortcuts

    - - - - - - - - - - - - - - - - - - - - - -
    KeystrokeFunction
    Control-BBold
    Control-IItalic
    Control-ZUndo
    Control-YRedo
    - - diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/content.css b/js/jquery/tiny_mce/themes/advanced/skins/default/content.css deleted file mode 100644 index 2fd94a1f..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/default/content.css +++ /dev/null @@ -1,50 +0,0 @@ -body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} -body {background:#FFF;} -body.mceForceColors {background:#FFF; color:#000;} -body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} -h1 {font-size: 2em} -h2 {font-size: 1.5em} -h3 {font-size: 1.17em} -h4 {font-size: 1em} -h5 {font-size: .83em} -h6 {font-size: .75em} -.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} -a.mceItemAnchor {display:inline-block; -webkit-user-select:all; -webkit-user-modify:read-only; -moz-user-select:all; -moz-user-modify:read-only; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat center center} -span.mceItemNbsp {background: #DDD} -td.mceSelected, th.mceSelected {background-color:#3399ff !important} -img {border:0;} -table, img, hr, .mceItemAnchor {cursor:default} -table td, table th {cursor:text} -ins {border-bottom:1px solid green; text-decoration: none; color:green} -del {color:red; text-decoration:line-through} -cite {border-bottom:1px dashed blue} -acronym {border-bottom:1px dotted #CCC; cursor:help} -abbr {border-bottom:1px dashed #CCC; cursor:help} - -/* IE */ -* html body { -scrollbar-3dlight-color:#F0F0EE; -scrollbar-arrow-color:#676662; -scrollbar-base-color:#F0F0EE; -scrollbar-darkshadow-color:#DDD; -scrollbar-face-color:#E0E0DD; -scrollbar-highlight-color:#F0F0EE; -scrollbar-shadow-color:#F0F0EE; -scrollbar-track-color:#F5F5F5; -} - -img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} -font[face=mceinline] {font-family:inherit !important} -*[contentEditable]:focus {outline:0} - -.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} -.mceItemShockWave {background-image:url(../../img/shockwave.gif)} -.mceItemFlash {background-image:url(../../img/flash.gif)} -.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} -.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} -.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} -.mceItemVideo {background-image:url(../../img/video.gif)} -.mceItemAudio {background-image:url(../../img/video.gif)} -.mceItemEmbeddedAudio {background-image:url(../../img/video.gif)} -.mceItemIframe {background-image:url(../../img/iframe.gif)} -.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/dialog.css b/js/jquery/tiny_mce/themes/advanced/skins/default/dialog.css deleted file mode 100644 index f0122265..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/default/dialog.css +++ /dev/null @@ -1,117 +0,0 @@ -/* Generic */ -body { -font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; -scrollbar-3dlight-color:#F0F0EE; -scrollbar-arrow-color:#676662; -scrollbar-base-color:#F0F0EE; -scrollbar-darkshadow-color:#DDDDDD; -scrollbar-face-color:#E0E0DD; -scrollbar-highlight-color:#F0F0EE; -scrollbar-shadow-color:#F0F0EE; -scrollbar-track-color:#F5F5F5; -background:#F0F0EE; -padding:0; -margin:8px 8px 0 8px; -} - -html {background:#F0F0EE;} -td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -textarea {resize:none;outline:none;} -a:link, a:visited {color:black;} -a:hover {color:#2B6FB6;} -.nowrap {white-space: nowrap} - -/* Forms */ -fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} -legend {color:#2B6FB6; font-weight:bold;} -label.msg {display:none;} -label.invalid {color:#EE0000; display:inline;} -input.invalid {border:1px solid #EE0000;} -input {background:#FFF; border:1px solid #CCC;} -input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -input, select, textarea {border:1px solid #808080;} -input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} -input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} -.input_noborder {border:0;} - -/* Buttons */ -#insert, #cancel, input.button, .updateButton { -border:0; margin:0; padding:0; -font-weight:bold; -width:94px; height:26px; -background:url(img/buttons.png) 0 -26px; -cursor:pointer; -padding-bottom:2px; -float:left; -} - -#insert {background:url(img/buttons.png) 0 -52px} -#cancel {background:url(img/buttons.png) 0 0; float:right} - -/* Browse */ -a.pickcolor, a.browse {text-decoration:none} -a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} -.mceOldBoxModel a.browse span {width:22px; height:20px;} -a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} -a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} -a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} -.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} -a.pickcolor:hover span {background-color:#B2BBD0;} -a.pickcolor:hover span.disabled {} - -/* Charmap */ -table.charmap {border:1px solid #AAA; text-align:center} -td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} -#charmap a {display:block; color:#000; text-decoration:none; border:0} -#charmap a:hover {background:#CCC;color:#2B6FB6} -#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} -#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} - -/* Source */ -.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} -.mceActionPanel {margin-top:5px;} - -/* Tabs classes */ -.tabs {width:100%; height:18px; line-height:normal; background:url(img/tabs.gif) repeat-x 0 -72px;} -.tabs ul {margin:0; padding:0; list-style:none;} -.tabs li {float:left; background:url(img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} -.tabs li.current {background:url(img/tabs.gif) no-repeat 0 -18px; margin-right:2px;} -.tabs span {float:left; display:block; background:url(img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;} -.tabs .current span {background:url(img/tabs.gif) no-repeat right -54px;} -.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} -.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} - -/* Panels */ -.panel_wrapper div.panel {display:none;} -.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} -.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} - -/* Columns */ -.column {float:left;} -.properties {width:100%;} -.properties .column1 {} -.properties .column2 {text-align:left;} - -/* Titles */ -h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} -h3 {font-size:14px;} -.title {font-size:12px; font-weight:bold; color:#2B6FB6;} - -/* Dialog specific */ -#link .panel_wrapper, #link div.current {height:125px;} -#image .panel_wrapper, #image div.current {height:200px;} -#plugintable thead {font-weight:bold; background:#DDD;} -#plugintable, #about #plugintable td {border:1px solid #919B9C;} -#plugintable {width:96%; margin-top:10px;} -#pluginscontainer {height:290px; overflow:auto;} -#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;} -#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} -#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} -#colorpicker #light div {overflow:hidden;} -#colorpicker #previewblock {float:right; padding-left:10px; height:20px;} -#colorpicker .panel_wrapper div.current {height:175px;} -#colorpicker #namedcolors {width:150px;} -#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} -#colorpicker #colornamecontainer {margin-top:5px;} -#colorpicker #picker_panel fieldset {margin:auto;width:325px;} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/img/buttons.png b/js/jquery/tiny_mce/themes/advanced/skins/default/img/buttons.png deleted file mode 100644 index 1e53560e..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/default/img/buttons.png and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/img/items.gif b/js/jquery/tiny_mce/themes/advanced/skins/default/img/items.gif deleted file mode 100644 index d2f93671..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/default/img/items.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif b/js/jquery/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif deleted file mode 100644 index 85e31dfb..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/img/menu_check.gif b/js/jquery/tiny_mce/themes/advanced/skins/default/img/menu_check.gif deleted file mode 100644 index adfdddcc..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/default/img/menu_check.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/img/progress.gif b/js/jquery/tiny_mce/themes/advanced/skins/default/img/progress.gif deleted file mode 100644 index 5bb90fd6..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/default/img/progress.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/img/tabs.gif b/js/jquery/tiny_mce/themes/advanced/skins/default/img/tabs.gif deleted file mode 100644 index 06812cb4..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/default/img/tabs.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/default/ui.css b/js/jquery/tiny_mce/themes/advanced/skins/default/ui.css deleted file mode 100644 index 2b7c2a59..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/default/ui.css +++ /dev/null @@ -1,214 +0,0 @@ -/* Reset */ -.defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left} -.defaultSkin a:hover, .defaultSkin a:link, .defaultSkin a:visited, .defaultSkin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000} -.defaultSkin table td {vertical-align:middle} - -/* Containers */ -.defaultSkin table {direction:ltr;background:transparent} -.defaultSkin iframe {display:block;} -.defaultSkin .mceToolbar {height:26px} -.defaultSkin .mceLeft {text-align:left} -.defaultSkin .mceRight {text-align:right} - -/* External */ -.defaultSkin .mceExternalToolbar {position:absolute; border:1px solid #CCC; border-bottom:0; display:none;} -.defaultSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;} -.defaultSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0} - -/* Layout */ -.defaultSkin table.mceLayout {border:0; border-left:1px solid #CCC; border-right:1px solid #CCC} -.defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC} -.defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC} -.defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;} -.defaultSkin td.mceToolbar {background:#F0F0EE; padding-top:1px; vertical-align:top} -.defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC} -.defaultSkin .mceStatusbar {background:#F0F0EE; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px} -.defaultSkin .mceStatusbar div {float:left; margin:2px} -.defaultSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} -.defaultSkin .mceStatusbar a:hover {text-decoration:underline} -.defaultSkin table.mceToolbar {margin-left:3px} -.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px} -.defaultSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} -.defaultSkin td.mceCenter {text-align:center;} -.defaultSkin td.mceCenter table {margin:0 auto; text-align:left;} -.defaultSkin td.mceRight table {margin:0 0 0 auto;} - -/* Button */ -.defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px; margin-right:1px} -.defaultSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0} -.defaultSkin a.mceButtonActive, .defaultSkin a.mceButtonSelected {border:1px solid #0A246A; background-color:#C2CBE0} -.defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -.defaultSkin .mceButtonLabeled {width:auto} -.defaultSkin .mceButtonLabeled span.mceIcon {float:left} -.defaultSkin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica} -.defaultSkin .mceButtonDisabled .mceButtonLabel {color:#888} - -/* Separator */ -.defaultSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:2px 2px 0 4px} - -/* ListBox */ -.defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block} -.defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden} -.defaultSkin .mceListBox .mceOpen {width:9px; height:20px; background:url(../../img/icons.gif) -741px 0; margin-right:2px; border:1px solid #CCC;} -.defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF} -.defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0} -.defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;} -.defaultSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden} -.defaultSkin .mceOldBoxModel .mceListBox .mceText {height:22px} -.defaultSkin .mceOldBoxModel .mceListBox .mceOpen {width:11px; height:22px;} -.defaultSkin select.mceNativeListBox {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:7pt; background:#F0F0EE; border:1px solid gray; margin-right:2px;} - -/* SplitButton */ -.defaultSkin .mceSplitButton {width:32px; height:20px; direction:ltr} -.defaultSkin .mceSplitButton a, .defaultSkin .mceSplitButton span {height:20px; display:block} -.defaultSkin .mceSplitButton a.mceAction {width:20px; border:1px solid #F0F0EE; border-right:0;} -.defaultSkin .mceSplitButton span.mceAction {width:20px; background-image:url(../../img/icons.gif);} -.defaultSkin .mceSplitButton a.mceOpen {width:9px; background:url(../../img/icons.gif) -741px 0; border:1px solid #F0F0EE;} -.defaultSkin .mceSplitButton span.mceOpen {display:none} -.defaultSkin table.mceSplitButtonEnabled:hover a.mceAction, .defaultSkin .mceSplitButtonHover a.mceAction, .defaultSkin .mceSplitButtonSelected a.mceAction {border:1px solid #0A246A; border-right:0; background-color:#B2BBD0} -.defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen, .defaultSkin .mceSplitButtonHover a.mceOpen, .defaultSkin .mceSplitButtonSelected a.mceOpen {background-color:#B2BBD0; border:1px solid #0A246A;} -.defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled a.mceOpen {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -.defaultSkin .mceSplitButtonActive a.mceAction {border:1px solid #0A246A; background-color:#C2CBE0} -.defaultSkin .mceSplitButtonActive a.mceOpen {border-left:0;} - -/* ColorSplitButton */ -.defaultSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray} -.defaultSkin .mceColorSplitMenu td {padding:2px} -.defaultSkin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080} -.defaultSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} -.defaultSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} -.defaultSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2} -.defaultSkin a.mceMoreColors:hover {border:1px solid #0A246A} -.defaultSkin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a} -.defaultSkin .mce_forecolor span.mceAction, .defaultSkin .mce_backcolor span.mceAction {overflow:hidden; height:16px} - -/* Menu */ -.defaultSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #D4D0C8} -.defaultSkin .mceNoIcons span.mceIcon {width:0;} -.defaultSkin .mceNoIcons a .mceText {padding-left:10px} -.defaultSkin .mceMenu table {background:#FFF} -.defaultSkin .mceMenu a, .defaultSkin .mceMenu span, .defaultSkin .mceMenu {display:block} -.defaultSkin .mceMenu td {height:20px} -.defaultSkin .mceMenu a {position:relative;padding:3px 0 4px 0} -.defaultSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block} -.defaultSkin .mceMenu span.mceText, .defaultSkin .mceMenu .mcePreview {font-size:11px} -.defaultSkin .mceMenu pre.mceText {font-family:Monospace} -.defaultSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;} -.defaultSkin .mceMenu .mceMenuItemEnabled a:hover, .defaultSkin .mceMenu .mceMenuItemActive {background-color:#dbecf3} -.defaultSkin td.mceMenuItemSeparator {background:#DDD; height:1px} -.defaultSkin .mceMenuItemTitle a {border:0; background:#EEE; border-bottom:1px solid #DDD} -.defaultSkin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px} -.defaultSkin .mceMenuItemDisabled .mceText {color:#888} -.defaultSkin .mceMenuItemSelected .mceIcon {background:url(img/menu_check.gif)} -.defaultSkin .mceNoIcons .mceMenuItemSelected a {background:url(img/menu_arrow.gif) no-repeat -6px center} -.defaultSkin .mceMenu span.mceMenuLine {display:none} -.defaultSkin .mceMenuItemSub a {background:url(img/menu_arrow.gif) no-repeat top right;} -.defaultSkin .mceMenuItem td, .defaultSkin .mceMenuItem th {line-height: normal} - -/* Progress,Resize */ -.defaultSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50); background:#FFF} -.defaultSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} - -/* Formats */ -.defaultSkin .mce_formatPreview a {font-size:10px} -.defaultSkin .mce_p span.mceText {} -.defaultSkin .mce_address span.mceText {font-style:italic} -.defaultSkin .mce_pre span.mceText {font-family:monospace} -.defaultSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} -.defaultSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} -.defaultSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} -.defaultSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} -.defaultSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} -.defaultSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} - -/* Theme */ -.defaultSkin span.mce_bold {background-position:0 0} -.defaultSkin span.mce_italic {background-position:-60px 0} -.defaultSkin span.mce_underline {background-position:-140px 0} -.defaultSkin span.mce_strikethrough {background-position:-120px 0} -.defaultSkin span.mce_undo {background-position:-160px 0} -.defaultSkin span.mce_redo {background-position:-100px 0} -.defaultSkin span.mce_cleanup {background-position:-40px 0} -.defaultSkin span.mce_bullist {background-position:-20px 0} -.defaultSkin span.mce_numlist {background-position:-80px 0} -.defaultSkin span.mce_justifyleft {background-position:-460px 0} -.defaultSkin span.mce_justifyright {background-position:-480px 0} -.defaultSkin span.mce_justifycenter {background-position:-420px 0} -.defaultSkin span.mce_justifyfull {background-position:-440px 0} -.defaultSkin span.mce_anchor {background-position:-200px 0} -.defaultSkin span.mce_indent {background-position:-400px 0} -.defaultSkin span.mce_outdent {background-position:-540px 0} -.defaultSkin span.mce_link {background-position:-500px 0} -.defaultSkin span.mce_unlink {background-position:-640px 0} -.defaultSkin span.mce_sub {background-position:-600px 0} -.defaultSkin span.mce_sup {background-position:-620px 0} -.defaultSkin span.mce_removeformat {background-position:-580px 0} -.defaultSkin span.mce_newdocument {background-position:-520px 0} -.defaultSkin span.mce_image {background-position:-380px 0} -.defaultSkin span.mce_help {background-position:-340px 0} -.defaultSkin span.mce_code {background-position:-260px 0} -.defaultSkin span.mce_hr {background-position:-360px 0} -.defaultSkin span.mce_visualaid {background-position:-660px 0} -.defaultSkin span.mce_charmap {background-position:-240px 0} -.defaultSkin span.mce_paste {background-position:-560px 0} -.defaultSkin span.mce_copy {background-position:-700px 0} -.defaultSkin span.mce_cut {background-position:-680px 0} -.defaultSkin span.mce_blockquote {background-position:-220px 0} -.defaultSkin .mce_forecolor span.mceAction {background-position:-720px 0} -.defaultSkin .mce_backcolor span.mceAction {background-position:-760px 0} -.defaultSkin span.mce_forecolorpicker {background-position:-720px 0} -.defaultSkin span.mce_backcolorpicker {background-position:-760px 0} - -/* Plugins */ -.defaultSkin span.mce_advhr {background-position:-0px -20px} -.defaultSkin span.mce_ltr {background-position:-20px -20px} -.defaultSkin span.mce_rtl {background-position:-40px -20px} -.defaultSkin span.mce_emotions {background-position:-60px -20px} -.defaultSkin span.mce_fullpage {background-position:-80px -20px} -.defaultSkin span.mce_fullscreen {background-position:-100px -20px} -.defaultSkin span.mce_iespell {background-position:-120px -20px} -.defaultSkin span.mce_insertdate {background-position:-140px -20px} -.defaultSkin span.mce_inserttime {background-position:-160px -20px} -.defaultSkin span.mce_absolute {background-position:-180px -20px} -.defaultSkin span.mce_backward {background-position:-200px -20px} -.defaultSkin span.mce_forward {background-position:-220px -20px} -.defaultSkin span.mce_insert_layer {background-position:-240px -20px} -.defaultSkin span.mce_insertlayer {background-position:-260px -20px} -.defaultSkin span.mce_movebackward {background-position:-280px -20px} -.defaultSkin span.mce_moveforward {background-position:-300px -20px} -.defaultSkin span.mce_media {background-position:-320px -20px} -.defaultSkin span.mce_nonbreaking {background-position:-340px -20px} -.defaultSkin span.mce_pastetext {background-position:-360px -20px} -.defaultSkin span.mce_pasteword {background-position:-380px -20px} -.defaultSkin span.mce_selectall {background-position:-400px -20px} -.defaultSkin span.mce_preview {background-position:-420px -20px} -.defaultSkin span.mce_print {background-position:-440px -20px} -.defaultSkin span.mce_cancel {background-position:-460px -20px} -.defaultSkin span.mce_save {background-position:-480px -20px} -.defaultSkin span.mce_replace {background-position:-500px -20px} -.defaultSkin span.mce_search {background-position:-520px -20px} -.defaultSkin span.mce_styleprops {background-position:-560px -20px} -.defaultSkin span.mce_table {background-position:-580px -20px} -.defaultSkin span.mce_cell_props {background-position:-600px -20px} -.defaultSkin span.mce_delete_table {background-position:-620px -20px} -.defaultSkin span.mce_delete_col {background-position:-640px -20px} -.defaultSkin span.mce_delete_row {background-position:-660px -20px} -.defaultSkin span.mce_col_after {background-position:-680px -20px} -.defaultSkin span.mce_col_before {background-position:-700px -20px} -.defaultSkin span.mce_row_after {background-position:-720px -20px} -.defaultSkin span.mce_row_before {background-position:-740px -20px} -.defaultSkin span.mce_merge_cells {background-position:-760px -20px} -.defaultSkin span.mce_table_props {background-position:-980px -20px} -.defaultSkin span.mce_row_props {background-position:-780px -20px} -.defaultSkin span.mce_split_cells {background-position:-800px -20px} -.defaultSkin span.mce_template {background-position:-820px -20px} -.defaultSkin span.mce_visualchars {background-position:-840px -20px} -.defaultSkin span.mce_abbr {background-position:-860px -20px} -.defaultSkin span.mce_acronym {background-position:-880px -20px} -.defaultSkin span.mce_attribs {background-position:-900px -20px} -.defaultSkin span.mce_cite {background-position:-920px -20px} -.defaultSkin span.mce_del {background-position:-940px -20px} -.defaultSkin span.mce_ins {background-position:-960px -20px} -.defaultSkin span.mce_pagebreak {background-position:0 -40px} -.defaultSkin span.mce_restoredraft {background-position:-20px -40px} -.defaultSkin span.mce_spellchecker {background-position:-540px -20px} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/content.css b/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/content.css deleted file mode 100644 index cbce6c6a..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/content.css +++ /dev/null @@ -1,24 +0,0 @@ -body, td, pre { margin:8px;} -body.mceForceColors {background:#FFF; color:#000;} -h1 {font-size: 2em} -h2 {font-size: 1.5em} -h3 {font-size: 1.17em} -h4 {font-size: 1em} -h5 {font-size: .83em} -h6 {font-size: .75em} -.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} -a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} -span.mceItemNbsp {background: #DDD} -td.mceSelected, th.mceSelected {background-color:#3399ff !important} -img {border:0;} -table, img, hr, .mceItemAnchor {cursor:default} -table td, table th {cursor:text} -ins {border-bottom:1px solid green; text-decoration: none; color:green} -del {color:red; text-decoration:line-through} -cite {border-bottom:1px dashed blue} -acronym {border-bottom:1px dotted #CCC; cursor:help} -abbr {border-bottom:1px dashed #CCC; cursor:help} - -img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} -font[face=mceinline] {font-family:inherit !important} -*[contentEditable]:focus {outline:0} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/dialog.css b/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/dialog.css deleted file mode 100644 index b2ed097c..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +++ /dev/null @@ -1,105 +0,0 @@ -/* Generic */ -body { -font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; -background:#F0F0EE; -color: black; -padding:0; -margin:8px 8px 0 8px; -} - -html {background:#F0F0EE; color:#000;} -td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -textarea {resize:none;outline:none;} -a:link, a:visited {color:black;background-color:transparent;} -a:hover {color:#2B6FB6;background-color:transparent;} -.nowrap {white-space: nowrap} - -/* Forms */ -fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} -legend {color:#2B6FB6; font-weight:bold;} -label.msg {display:none;} -label.invalid {color:#EE0000; display:inline;background-color:transparent;} -input.invalid {border:1px solid #EE0000;background-color:transparent;} -input {background:#FFF; border:1px solid #CCC;color:black;} -input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -input, select, textarea {border:1px solid #808080;} -input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} -input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} -.input_noborder {border:0;} - -/* Buttons */ -#insert, #cancel, input.button, .updateButton { -font-weight:bold; -width:94px; height:23px; -cursor:pointer; -padding-bottom:2px; -float:left; -} - -#cancel {float:right} - -/* Browse */ -a.pickcolor, a.browse {text-decoration:none} -a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} -.mceOldBoxModel a.browse span {width:22px; height:20px;} -a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} -a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} -a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} -.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} -a.pickcolor:hover span {background-color:#B2BBD0;} -a.pickcolor:hover span.disabled {} - -/* Charmap */ -table.charmap {border:1px solid #AAA; text-align:center} -td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} -#charmap a {display:block; color:#000; text-decoration:none; border:0} -#charmap a:hover {background:#CCC;color:#2B6FB6} -#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} -#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} - -/* Source */ -.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} -.mceActionPanel {margin-top:5px;} - -/* Tabs classes */ -.tabs {width:100%; height:18px; line-height:normal;} -.tabs ul {margin:0; padding:0; list-style:none;} -.tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;} -.tabs li.current {font-weight: bold; margin-right:2px;} -.tabs span {float:left; display:block; padding:0px 10px 0 0;} -.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} -.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} - -/* Panels */ -.panel_wrapper div.panel {display:none;} -.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} -.panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;} - -/* Columns */ -.column {float:left;} -.properties {width:100%;} -.properties .column1 {} -.properties .column2 {text-align:left;} - -/* Titles */ -h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} -h3 {font-size:14px;} -.title {font-size:12px; font-weight:bold; color:#2B6FB6;} - -/* Dialog specific */ -#link .panel_wrapper, #link div.current {height:125px;} -#image .panel_wrapper, #image div.current {height:200px;} -#plugintable thead {font-weight:bold; background:#DDD;} -#plugintable, #about #plugintable td {border:1px solid #919B9C;} -#plugintable {width:96%; margin-top:10px;} -#pluginscontainer {height:290px; overflow:auto;} -#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;} -#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} -#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} -#colorpicker #light div {overflow:hidden;} -#colorpicker #previewblock {float:right; padding-left:10px; height:20px;} -#colorpicker .panel_wrapper div.current {height:175px;} -#colorpicker #namedcolors {width:150px;} -#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} -#colorpicker #colornamecontainer {margin-top:5px;} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/ui.css b/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/ui.css deleted file mode 100644 index a2cfcc39..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/highcontrast/ui.css +++ /dev/null @@ -1,102 +0,0 @@ -/* Reset */ -.highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;} -.highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;} -.highcontrastSkin table td {vertical-align:middle} - -.highcontrastSkin .mceIconOnly {display: block !important;} - -/* External */ -.highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;} -.highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;} -.highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;} - -/* Layout */ -.highcontrastSkin table.mceLayout {border: 1px solid;} -.highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid} -.highcontrastSkin .mceStatusbar a:hover {text-decoration:underline} -.highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;} -.highcontrastSkin .mceStatusbar div {float:left} -.highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0} - -.highcontrastSkin .mceToolbar td { display: inline-block; float: left;} -.highcontrastSkin .mceToolbar tr { display: block;} -.highcontrastSkin .mceToolbar table { display: block; } - -/* Button */ - -.highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;} -.highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em} -.highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);} -.highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;} - -/* Separator */ -.highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;} - -/* ListBox */ -.highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;} -.highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;} -.highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);} -.highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;} -.highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;} -.highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;} -.highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;} - -.highcontrastSkin .mceListBoxMenu {overflow-y:auto} - -/* SplitButton */ -.highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} - -.highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;} -.highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;} -.highcontrastSkin .mceSplitButton tr { display: table-row; } -.highcontrastSkin table.mceSplitButton { display: table; } -.highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;} -.highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;} -.highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; } -.highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;} -.highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;} - -/* Menu */ -.highcontrastSkin .mceNoIcons span.mceIcon {width:0;} -.highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; } -.highcontrastSkin .mceMenu table {background:white; color: black} -.highcontrastSkin .mceNoIcons a .mceText {padding-left:10px} -.highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black} -.highcontrastSkin .mceMenu td {height:2em} -.highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;} -.highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;} -.highcontrastSkin .mceMenu pre.mceText {font-family:Monospace} -.highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;} -.highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px} -.highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid} -.highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px} -.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";} -.highcontrastSkin .mceMenu span.mceMenuLine {display:none} -.highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"} -.highcontrastSkin .mceMenuItem td, .highcontrastSkin .mceMenuItem th {line-height: normal} - -/* ColorSplitButton */ -.highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000} -.highcontrastSkin .mceColorSplitMenu td {padding:2px} -.highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;} -.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} -.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} -.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2} -.highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;} -.highcontrastSkin .mceColorPreview {display:none;} -.highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden} - -/* Progress,Resize */ -.highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF} -.highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} - -/* Formats */ -.highcontrastSkin .mce_p span.mceText {} -.highcontrastSkin .mce_address span.mceText {font-style:italic} -.highcontrastSkin .mce_pre span.mceText {font-family:monospace} -.highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} -.highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} -.highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} -.highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} -.highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} -.highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/content.css b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/content.css deleted file mode 100644 index a1a8f9bd..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/content.css +++ /dev/null @@ -1,48 +0,0 @@ -body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} -body {background:#FFF;} -body.mceForceColors {background:#FFF; color:#000;} -h1 {font-size: 2em} -h2 {font-size: 1.5em} -h3 {font-size: 1.17em} -h4 {font-size: 1em} -h5 {font-size: .83em} -h6 {font-size: .75em} -.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} -a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} -span.mceItemNbsp {background: #DDD} -td.mceSelected, th.mceSelected {background-color:#3399ff !important} -img {border:0;} -table, img, hr, .mceItemAnchor {cursor:default} -table td, table th {cursor:text} -ins {border-bottom:1px solid green; text-decoration: none; color:green} -del {color:red; text-decoration:line-through} -cite {border-bottom:1px dashed blue} -acronym {border-bottom:1px dotted #CCC; cursor:help} -abbr {border-bottom:1px dashed #CCC; cursor:help} - -/* IE */ -* html body { -scrollbar-3dlight-color:#F0F0EE; -scrollbar-arrow-color:#676662; -scrollbar-base-color:#F0F0EE; -scrollbar-darkshadow-color:#DDD; -scrollbar-face-color:#E0E0DD; -scrollbar-highlight-color:#F0F0EE; -scrollbar-shadow-color:#F0F0EE; -scrollbar-track-color:#F5F5F5; -} - -img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} -font[face=mceinline] {font-family:inherit !important} -*[contentEditable]:focus {outline:0} - -.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} -.mceItemShockWave {background-image:url(../../img/shockwave.gif)} -.mceItemFlash {background-image:url(../../img/flash.gif)} -.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} -.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} -.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} -.mceItemVideo {background-image:url(../../img/video.gif)} -.mceItemAudio {background-image:url(../../img/video.gif)} -.mceItemIframe {background-image:url(../../img/iframe.gif)} -.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/dialog.css b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/dialog.css deleted file mode 100644 index ec087722..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/dialog.css +++ /dev/null @@ -1,117 +0,0 @@ -/* Generic */ -body { -font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; -scrollbar-3dlight-color:#F0F0EE; -scrollbar-arrow-color:#676662; -scrollbar-base-color:#F0F0EE; -scrollbar-darkshadow-color:#DDDDDD; -scrollbar-face-color:#E0E0DD; -scrollbar-highlight-color:#F0F0EE; -scrollbar-shadow-color:#F0F0EE; -scrollbar-track-color:#F5F5F5; -background:#F0F0EE; -padding:0; -margin:8px 8px 0 8px; -} - -html {background:#F0F0EE;} -td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -textarea {resize:none;outline:none;} -a:link, a:visited {color:black;} -a:hover {color:#2B6FB6;} -.nowrap {white-space: nowrap} - -/* Forms */ -fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} -legend {color:#2B6FB6; font-weight:bold;} -label.msg {display:none;} -label.invalid {color:#EE0000; display:inline;} -input.invalid {border:1px solid #EE0000;} -input {background:#FFF; border:1px solid #CCC;} -input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -input, select, textarea {border:1px solid #808080;} -input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} -input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} -.input_noborder {border:0;} - -/* Buttons */ -#insert, #cancel, input.button, .updateButton { -border:0; margin:0; padding:0; -font-weight:bold; -width:94px; height:26px; -background:url(../default/img/buttons.png) 0 -26px; -cursor:pointer; -padding-bottom:2px; -float:left; -} - -#insert {background:url(../default/img/buttons.png) 0 -52px} -#cancel {background:url(../default/img/buttons.png) 0 0; float:right} - -/* Browse */ -a.pickcolor, a.browse {text-decoration:none} -a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} -.mceOldBoxModel a.browse span {width:22px; height:20px;} -a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} -a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} -a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} -.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} -a.pickcolor:hover span {background-color:#B2BBD0;} -a.pickcolor:hover span.disabled {} - -/* Charmap */ -table.charmap {border:1px solid #AAA; text-align:center} -td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} -#charmap a {display:block; color:#000; text-decoration:none; border:0} -#charmap a:hover {background:#CCC;color:#2B6FB6} -#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} -#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} - -/* Source */ -.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} -.mceActionPanel {margin-top:5px;} - -/* Tabs classes */ -.tabs {width:100%; height:18px; line-height:normal; background:url(../default/img/tabs.gif) repeat-x 0 -72px;} -.tabs ul {margin:0; padding:0; list-style:none;} -.tabs li {float:left; background:url(../default/img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} -.tabs li.current {background:url(../default/img/tabs.gif) no-repeat 0 -18px; margin-right:2px;} -.tabs span {float:left; display:block; background:url(../default/img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;} -.tabs .current span {background:url(../default/img/tabs.gif) no-repeat right -54px;} -.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} -.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} - -/* Panels */ -.panel_wrapper div.panel {display:none;} -.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} -.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} - -/* Columns */ -.column {float:left;} -.properties {width:100%;} -.properties .column1 {} -.properties .column2 {text-align:left;} - -/* Titles */ -h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} -h3 {font-size:14px;} -.title {font-size:12px; font-weight:bold; color:#2B6FB6;} - -/* Dialog specific */ -#link .panel_wrapper, #link div.current {height:125px;} -#image .panel_wrapper, #image div.current {height:200px;} -#plugintable thead {font-weight:bold; background:#DDD;} -#plugintable, #about #plugintable td {border:1px solid #919B9C;} -#plugintable {width:96%; margin-top:10px;} -#pluginscontainer {height:290px; overflow:auto;} -#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;} -#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} -#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} -#colorpicker #light div {overflow:hidden;} -#colorpicker #previewblock {float:right; padding-left:10px; height:20px;} -#colorpicker .panel_wrapper div.current {height:175px;} -#colorpicker #namedcolors {width:150px;} -#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} -#colorpicker #colornamecontainer {margin-top:5px;} -#colorpicker #picker_panel fieldset {margin:auto;width:325px;} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png deleted file mode 100644 index 13a5cb03..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png deleted file mode 100644 index 7fc57f2b..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png deleted file mode 100644 index c0dcc6ca..00000000 Binary files a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui.css b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui.css deleted file mode 100644 index 0916c34e..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui.css +++ /dev/null @@ -1,217 +0,0 @@ -/* Reset */ -.o2k7Skin table, .o2k7Skin tbody, .o2k7Skin a, .o2k7Skin img, .o2k7Skin tr, .o2k7Skin div, .o2k7Skin td, .o2k7Skin iframe, .o2k7Skin span, .o2k7Skin *, .o2k7Skin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left} -.o2k7Skin a:hover, .o2k7Skin a:link, .o2k7Skin a:visited, .o2k7Skin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000} -.o2k7Skin table td {vertical-align:middle} - -/* Containers */ -.o2k7Skin table {background:transparent} -.o2k7Skin iframe {display:block;} -.o2k7Skin .mceToolbar {height:26px} - -/* External */ -.o2k7Skin .mceExternalToolbar {position:absolute; border:1px solid #ABC6DD; border-bottom:0; display:none} -.o2k7Skin .mceExternalToolbar td.mceToolbar {padding-right:13px;} -.o2k7Skin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0} - -/* Layout */ -.o2k7Skin table.mceLayout {border:0; border-left:1px solid #ABC6DD; border-right:1px solid #ABC6DD} -.o2k7Skin table.mceLayout tr.mceFirst td {border-top:1px solid #ABC6DD} -.o2k7Skin table.mceLayout tr.mceLast td {border-bottom:1px solid #ABC6DD} -.o2k7Skin table.mceToolbar, .o2k7Skin tr.mceFirst .mceToolbar tr td, .o2k7Skin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0} -.o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD} -.o2k7Skin td.mceToolbar{background:#E5EFFD} -.o2k7Skin .mceStatusbar {background:#E5EFFD; display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px} -.o2k7Skin .mceStatusbar div {float:left; padding:2px} -.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} -.o2k7Skin .mceStatusbar a:hover {text-decoration:underline} -.o2k7Skin table.mceToolbar {margin-left:3px} -.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; margin-left:3px;} -.o2k7Skin .mceToolbar td.mceFirst span {margin:0} -.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px} -.o2k7Skin .mceToolbar .mceToolbarEndListBox span, .o2k7Skin .mceToolbar .mceToolbarStartListBox span {display:none} -.o2k7Skin span.mceIcon, .o2k7Skin img.mceIcon {display:block; width:20px; height:20px} -.o2k7Skin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} -.o2k7Skin td.mceCenter {text-align:center;} -.o2k7Skin td.mceCenter table {margin:0 auto; text-align:left;} -.o2k7Skin td.mceRight table {margin:0 0 0 auto;} - -/* Button */ -.o2k7Skin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px} -.o2k7Skin a.mceButton span, .o2k7Skin a.mceButton img {margin-left:1px} -.o2k7Skin .mceOldBoxModel a.mceButton span, .o2k7Skin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} -.o2k7Skin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px} -.o2k7Skin a.mceButtonActive, .o2k7Skin a.mceButtonSelected {background-position:0 -44px} -.o2k7Skin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -.o2k7Skin .mceButtonLabeled {width:auto} -.o2k7Skin .mceButtonLabeled span.mceIcon {float:left} -.o2k7Skin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica} -.o2k7Skin .mceButtonDisabled .mceButtonLabel {color:#888} - -/* Separator */ -.o2k7Skin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px} - -/* ListBox */ -.o2k7Skin .mceListBox {padding-left: 3px} -.o2k7Skin .mceListBox, .o2k7Skin .mceListBox a {display:block} -.o2k7Skin .mceListBox .mceText {padding-left:4px; text-align:left; width:70px; border:1px solid #b3c7e1; border-right:0; background:#eaf2fb; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden} -.o2k7Skin .mceListBox .mceOpen {width:14px; height:22px; background:url(img/button_bg.png) -66px 0} -.o2k7Skin table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF} -.o2k7Skin table.mceListBoxEnabled:hover .mceOpen, .o2k7Skin .mceListBoxHover .mceOpen, .o2k7Skin .mceListBoxSelected .mceOpen {background-position:-66px -22px} -.o2k7Skin .mceListBoxDisabled .mceText {color:gray} -.o2k7Skin .mceListBoxMenu {overflow:auto; overflow-x:hidden; margin-left:3px} -.o2k7Skin .mceOldBoxModel .mceListBox .mceText {height:22px} -.o2k7Skin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px; border:1px solid #b3c7e1; background:#FFF;} - -/* SplitButton */ -.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px; direction:ltr} -.o2k7Skin .mceSplitButton {background:url(img/button_bg.png)} -.o2k7Skin .mceSplitButton a.mceAction {width:22px} -.o2k7Skin .mceSplitButton span.mceAction {width:22px; background-image:url(../../img/icons.gif)} -.o2k7Skin .mceSplitButton a.mceOpen {width:10px; background:url(img/button_bg.png) -44px 0} -.o2k7Skin .mceSplitButton span.mceOpen {display:none} -.o2k7Skin table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected {background:url(img/button_bg.png) 0 -22px} -.o2k7Skin table.mceSplitButtonEnabled:hover a.mceOpen, .o2k7Skin .mceSplitButtonHover a.mceOpen, .o2k7Skin .mceSplitButtonSelected a.mceOpen {background-position:-44px -44px} -.o2k7Skin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} -.o2k7Skin .mceSplitButtonActive {background-position:0 -44px} - -/* ColorSplitButton */ -.o2k7Skin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray} -.o2k7Skin .mceColorSplitMenu td {padding:2px} -.o2k7Skin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080} -.o2k7Skin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} -.o2k7Skin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} -.o2k7Skin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2} -.o2k7Skin a.mceMoreColors:hover {border:1px solid #0A246A} -.o2k7Skin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a;overflow:hidden} -.o2k7Skin .mce_forecolor span.mceAction, .o2k7Skin .mce_backcolor span.mceAction {height:15px;overflow:hidden} - -/* Menu */ -.o2k7Skin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #ABC6DD} -.o2k7Skin .mceNoIcons span.mceIcon {width:0;} -.o2k7Skin .mceNoIcons a .mceText {padding-left:10px} -.o2k7Skin .mceMenu table {background:#FFF} -.o2k7Skin .mceMenu a, .o2k7Skin .mceMenu span, .o2k7Skin .mceMenu {display:block} -.o2k7Skin .mceMenu td {height:20px} -.o2k7Skin .mceMenu a {position:relative;padding:3px 0 4px 0} -.o2k7Skin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block} -.o2k7Skin .mceMenu span.mceText, .o2k7Skin .mceMenu .mcePreview {font-size:11px} -.o2k7Skin .mceMenu pre.mceText {font-family:Monospace} -.o2k7Skin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;} -.o2k7Skin .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#dbecf3} -.o2k7Skin td.mceMenuItemSeparator {background:#DDD; height:1px} -.o2k7Skin .mceMenuItemTitle a {border:0; background:#E5EFFD; border-bottom:1px solid #ABC6DD} -.o2k7Skin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px} -.o2k7Skin .mceMenuItemDisabled .mceText {color:#888} -.o2k7Skin .mceMenuItemSelected .mceIcon {background:url(../default/img/menu_check.gif)} -.o2k7Skin .mceNoIcons .mceMenuItemSelected a {background:url(../default/img/menu_arrow.gif) no-repeat -6px center} -.o2k7Skin .mceMenu span.mceMenuLine {display:none} -.o2k7Skin .mceMenuItemSub a {background:url(../default/img/menu_arrow.gif) no-repeat top right;} -.o2k7Skin .mceMenuItem td, .o2k7Skin .mceMenuItem th {line-height: normal} - -/* Progress,Resize */ -.o2k7Skin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF} -.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} - -/* Formats */ -.o2k7Skin .mce_formatPreview a {font-size:10px} -.o2k7Skin .mce_p span.mceText {} -.o2k7Skin .mce_address span.mceText {font-style:italic} -.o2k7Skin .mce_pre span.mceText {font-family:monospace} -.o2k7Skin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} -.o2k7Skin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} -.o2k7Skin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} -.o2k7Skin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} -.o2k7Skin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} -.o2k7Skin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} - -/* Theme */ -.o2k7Skin span.mce_bold {background-position:0 0} -.o2k7Skin span.mce_italic {background-position:-60px 0} -.o2k7Skin span.mce_underline {background-position:-140px 0} -.o2k7Skin span.mce_strikethrough {background-position:-120px 0} -.o2k7Skin span.mce_undo {background-position:-160px 0} -.o2k7Skin span.mce_redo {background-position:-100px 0} -.o2k7Skin span.mce_cleanup {background-position:-40px 0} -.o2k7Skin span.mce_bullist {background-position:-20px 0} -.o2k7Skin span.mce_numlist {background-position:-80px 0} -.o2k7Skin span.mce_justifyleft {background-position:-460px 0} -.o2k7Skin span.mce_justifyright {background-position:-480px 0} -.o2k7Skin span.mce_justifycenter {background-position:-420px 0} -.o2k7Skin span.mce_justifyfull {background-position:-440px 0} -.o2k7Skin span.mce_anchor {background-position:-200px 0} -.o2k7Skin span.mce_indent {background-position:-400px 0} -.o2k7Skin span.mce_outdent {background-position:-540px 0} -.o2k7Skin span.mce_link {background-position:-500px 0} -.o2k7Skin span.mce_unlink {background-position:-640px 0} -.o2k7Skin span.mce_sub {background-position:-600px 0} -.o2k7Skin span.mce_sup {background-position:-620px 0} -.o2k7Skin span.mce_removeformat {background-position:-580px 0} -.o2k7Skin span.mce_newdocument {background-position:-520px 0} -.o2k7Skin span.mce_image {background-position:-380px 0} -.o2k7Skin span.mce_help {background-position:-340px 0} -.o2k7Skin span.mce_code {background-position:-260px 0} -.o2k7Skin span.mce_hr {background-position:-360px 0} -.o2k7Skin span.mce_visualaid {background-position:-660px 0} -.o2k7Skin span.mce_charmap {background-position:-240px 0} -.o2k7Skin span.mce_paste {background-position:-560px 0} -.o2k7Skin span.mce_copy {background-position:-700px 0} -.o2k7Skin span.mce_cut {background-position:-680px 0} -.o2k7Skin span.mce_blockquote {background-position:-220px 0} -.o2k7Skin .mce_forecolor span.mceAction {background-position:-720px 0} -.o2k7Skin .mce_backcolor span.mceAction {background-position:-760px 0} -.o2k7Skin span.mce_forecolorpicker {background-position:-720px 0} -.o2k7Skin span.mce_backcolorpicker {background-position:-760px 0} - -/* Plugins */ -.o2k7Skin span.mce_advhr {background-position:-0px -20px} -.o2k7Skin span.mce_ltr {background-position:-20px -20px} -.o2k7Skin span.mce_rtl {background-position:-40px -20px} -.o2k7Skin span.mce_emotions {background-position:-60px -20px} -.o2k7Skin span.mce_fullpage {background-position:-80px -20px} -.o2k7Skin span.mce_fullscreen {background-position:-100px -20px} -.o2k7Skin span.mce_iespell {background-position:-120px -20px} -.o2k7Skin span.mce_insertdate {background-position:-140px -20px} -.o2k7Skin span.mce_inserttime {background-position:-160px -20px} -.o2k7Skin span.mce_absolute {background-position:-180px -20px} -.o2k7Skin span.mce_backward {background-position:-200px -20px} -.o2k7Skin span.mce_forward {background-position:-220px -20px} -.o2k7Skin span.mce_insert_layer {background-position:-240px -20px} -.o2k7Skin span.mce_insertlayer {background-position:-260px -20px} -.o2k7Skin span.mce_movebackward {background-position:-280px -20px} -.o2k7Skin span.mce_moveforward {background-position:-300px -20px} -.o2k7Skin span.mce_media {background-position:-320px -20px} -.o2k7Skin span.mce_nonbreaking {background-position:-340px -20px} -.o2k7Skin span.mce_pastetext {background-position:-360px -20px} -.o2k7Skin span.mce_pasteword {background-position:-380px -20px} -.o2k7Skin span.mce_selectall {background-position:-400px -20px} -.o2k7Skin span.mce_preview {background-position:-420px -20px} -.o2k7Skin span.mce_print {background-position:-440px -20px} -.o2k7Skin span.mce_cancel {background-position:-460px -20px} -.o2k7Skin span.mce_save {background-position:-480px -20px} -.o2k7Skin span.mce_replace {background-position:-500px -20px} -.o2k7Skin span.mce_search {background-position:-520px -20px} -.o2k7Skin span.mce_styleprops {background-position:-560px -20px} -.o2k7Skin span.mce_table {background-position:-580px -20px} -.o2k7Skin span.mce_cell_props {background-position:-600px -20px} -.o2k7Skin span.mce_delete_table {background-position:-620px -20px} -.o2k7Skin span.mce_delete_col {background-position:-640px -20px} -.o2k7Skin span.mce_delete_row {background-position:-660px -20px} -.o2k7Skin span.mce_col_after {background-position:-680px -20px} -.o2k7Skin span.mce_col_before {background-position:-700px -20px} -.o2k7Skin span.mce_row_after {background-position:-720px -20px} -.o2k7Skin span.mce_row_before {background-position:-740px -20px} -.o2k7Skin span.mce_merge_cells {background-position:-760px -20px} -.o2k7Skin span.mce_table_props {background-position:-980px -20px} -.o2k7Skin span.mce_row_props {background-position:-780px -20px} -.o2k7Skin span.mce_split_cells {background-position:-800px -20px} -.o2k7Skin span.mce_template {background-position:-820px -20px} -.o2k7Skin span.mce_visualchars {background-position:-840px -20px} -.o2k7Skin span.mce_abbr {background-position:-860px -20px} -.o2k7Skin span.mce_acronym {background-position:-880px -20px} -.o2k7Skin span.mce_attribs {background-position:-900px -20px} -.o2k7Skin span.mce_cite {background-position:-920px -20px} -.o2k7Skin span.mce_del {background-position:-940px -20px} -.o2k7Skin span.mce_ins {background-position:-960px -20px} -.o2k7Skin span.mce_pagebreak {background-position:0 -40px} -.o2k7Skin span.mce_restoredraft {background-position:-20px -40px} -.o2k7Skin span.mce_spellchecker {background-position:-540px -20px} diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui_black.css b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui_black.css deleted file mode 100644 index 50c9b76a..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +++ /dev/null @@ -1,8 +0,0 @@ -/* Black */ -.o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton a.mceOpen, .o2k7SkinBlack .mceListBox a.mceOpen {background-image:url(img/button_bg_black.png)} -.o2k7SkinBlack td.mceToolbar, .o2k7SkinBlack td.mceStatusbar, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF} -.o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0} -.o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7SkinBlack .mceListBoxHover .mceText, .o2k7SkinBlack .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0} -.o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;} -.o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7SkinBlack .mceSplitButtonHover a.mceAction, .o2k7SkinBlack .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)} -.o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7SkinBlack .mceMenu .mceMenuItemActive {background-color:#FFE7A1} \ No newline at end of file diff --git a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css b/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css deleted file mode 100644 index 960a8e47..00000000 --- a/js/jquery/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +++ /dev/null @@ -1,5 +0,0 @@ -/* Silver */ -.o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton a.mceOpen, .o2k7SkinSilver .mceListBox a.mceOpen {background-image:url(img/button_bg_silver.png)} -.o2k7SkinSilver td.mceToolbar, .o2k7SkinSilver td.mceStatusbar, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee} -.o2k7SkinSilver .mceListBox .mceText {background:#FFF} -.o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb} diff --git a/js/jquery/tiny_mce/themes/advanced/source_editor.htm b/js/jquery/tiny_mce/themes/advanced/source_editor.htm deleted file mode 100644 index 3c6d6580..00000000 --- a/js/jquery/tiny_mce/themes/advanced/source_editor.htm +++ /dev/null @@ -1,25 +0,0 @@ - - - {#advanced_dlg.code_title} - - - - -
    -
    - -
    - -
    - -
    - - - -
    - - -
    -
    - - diff --git a/js/jquery/tiny_mce/themes/simple/editor_template.js b/js/jquery/tiny_mce/themes/simple/editor_template.js deleted file mode 100644 index 4b3209cc..00000000 --- a/js/jquery/tiny_mce/themes/simple/editor_template.js +++ /dev/null @@ -1 +0,0 @@ -(function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.contentCSS.push(d+"/skins/"+f.skin+"/content.css");c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})})});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(h){var e=this,i=h.targetNode,b,c,d=e.editor,f=d.controlManager,g;i=a.insertAfter(a.create("span",{id:d.id+"_container","class":"mceEditor "+d.settings.skin+"SimpleSkin"}),i);i=g=a.add(i,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});i=c=a.add(i,"tbody");i=a.add(c,"tr");i=b=a.add(a.add(i,"td"),"div",{"class":"mceIframeContainer"});i=a.add(a.add(c,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});c=e.toolbar=f.createToolbar("tools1");c.add(f.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));c.add(f.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));c.add(f.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));c.add(f.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));c.add(f.createSeparator());c.add(f.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));c.add(f.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));c.add(f.createSeparator());c.add(f.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));c.add(f.createSeparator());c.add(f.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));c.add(f.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));c.renderTo(i);return{iframeContainer:b,editorContainer:d.id+"_container",sizeContainer:g,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/themes/simple/editor_template_src.js b/js/jquery/tiny_mce/themes/simple/editor_template_src.js deleted file mode 100644 index 01ce87c5..00000000 --- a/js/jquery/tiny_mce/themes/simple/editor_template_src.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * editor_template_src.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -(function() { - var DOM = tinymce.DOM; - - // Tell it to load theme specific language pack(s) - tinymce.ThemeManager.requireLangPack('simple'); - - tinymce.create('tinymce.themes.SimpleTheme', { - init : function(ed, url) { - var t = this, states = ['Bold', 'Italic', 'Underline', 'Strikethrough', 'InsertUnorderedList', 'InsertOrderedList'], s = ed.settings; - - t.editor = ed; - ed.contentCSS.push(url + "/skins/" + s.skin + "/content.css"); - - ed.onInit.add(function() { - ed.onNodeChange.add(function(ed, cm) { - tinymce.each(states, function(c) { - cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c)); - }); - }); - }); - - DOM.loadCSS((s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css"); - }, - - renderUI : function(o) { - var t = this, n = o.targetNode, ic, tb, ed = t.editor, cf = ed.controlManager, sc; - - n = DOM.insertAfter(DOM.create('span', {id : ed.id + '_container', 'class' : 'mceEditor ' + ed.settings.skin + 'SimpleSkin'}), n); - n = sc = DOM.add(n, 'table', {cellPadding : 0, cellSpacing : 0, 'class' : 'mceLayout'}); - n = tb = DOM.add(n, 'tbody'); - - // Create iframe container - n = DOM.add(tb, 'tr'); - n = ic = DOM.add(DOM.add(n, 'td'), 'div', {'class' : 'mceIframeContainer'}); - - // Create toolbar container - n = DOM.add(DOM.add(tb, 'tr', {'class' : 'last'}), 'td', {'class' : 'mceToolbar mceLast', align : 'center'}); - - // Create toolbar - tb = t.toolbar = cf.createToolbar("tools1"); - tb.add(cf.createButton('bold', {title : 'simple.bold_desc', cmd : 'Bold'})); - tb.add(cf.createButton('italic', {title : 'simple.italic_desc', cmd : 'Italic'})); - tb.add(cf.createButton('underline', {title : 'simple.underline_desc', cmd : 'Underline'})); - tb.add(cf.createButton('strikethrough', {title : 'simple.striketrough_desc', cmd : 'Strikethrough'})); - tb.add(cf.createSeparator()); - tb.add(cf.createButton('undo', {title : 'simple.undo_desc', cmd : 'Undo'})); - tb.add(cf.createButton('redo', {title : 'simple.redo_desc', cmd : 'Redo'})); - tb.add(cf.createSeparator()); - tb.add(cf.createButton('cleanup', {title : 'simple.cleanup_desc', cmd : 'mceCleanup'})); - tb.add(cf.createSeparator()); - tb.add(cf.createButton('insertunorderedlist', {title : 'simple.bullist_desc', cmd : 'InsertUnorderedList'})); - tb.add(cf.createButton('insertorderedlist', {title : 'simple.numlist_desc', cmd : 'InsertOrderedList'})); - tb.renderTo(n); - - return { - iframeContainer : ic, - editorContainer : ed.id + '_container', - sizeContainer : sc, - deltaHeight : -20 - }; - }, - - getInfo : function() { - return { - longname : 'Simple theme', - author : 'Moxiecode Systems AB', - authorurl : 'http://tinymce.moxiecode.com', - version : tinymce.majorVersion + "." + tinymce.minorVersion - } - } - }); - - tinymce.ThemeManager.add('simple', tinymce.themes.SimpleTheme); -})(); \ No newline at end of file diff --git a/js/jquery/tiny_mce/themes/simple/img/icons.gif b/js/jquery/tiny_mce/themes/simple/img/icons.gif deleted file mode 100644 index 6fcbcb5d..00000000 Binary files a/js/jquery/tiny_mce/themes/simple/img/icons.gif and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/simple/langs/en.js b/js/jquery/tiny_mce/themes/simple/langs/en.js deleted file mode 100644 index 088ed0fc..00000000 --- a/js/jquery/tiny_mce/themes/simple/langs/en.js +++ /dev/null @@ -1 +0,0 @@ -tinyMCE.addI18n('en.simple',{"cleanup_desc":"Cleanup Messy Code","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","striketrough_desc":"Strikethrough","underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)"}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/themes/simple/skins/default/content.css b/js/jquery/tiny_mce/themes/simple/skins/default/content.css deleted file mode 100644 index 2506c807..00000000 --- a/js/jquery/tiny_mce/themes/simple/skins/default/content.css +++ /dev/null @@ -1,25 +0,0 @@ -body, td, pre { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 10px; -} - -body { - background-color: #FFFFFF; -} - -.mceVisualAid { - border: 1px dashed #BBBBBB; -} - -/* MSIE specific */ - -* html body { - scrollbar-3dlight-color: #F0F0EE; - scrollbar-arrow-color: #676662; - scrollbar-base-color: #F0F0EE; - scrollbar-darkshadow-color: #DDDDDD; - scrollbar-face-color: #E0E0DD; - scrollbar-highlight-color: #F0F0EE; - scrollbar-shadow-color: #F0F0EE; - scrollbar-track-color: #F5F5F5; -} diff --git a/js/jquery/tiny_mce/themes/simple/skins/default/ui.css b/js/jquery/tiny_mce/themes/simple/skins/default/ui.css deleted file mode 100644 index 076fe84e..00000000 --- a/js/jquery/tiny_mce/themes/simple/skins/default/ui.css +++ /dev/null @@ -1,32 +0,0 @@ -/* Reset */ -.defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} - -/* Containers */ -.defaultSimpleSkin {position:relative} -.defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;} -.defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;} -.defaultSimpleSkin .mceToolbar {height:24px;} - -/* Layout */ -.defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px} -.defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} - -/* Button */ -.defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px} -.defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0} -.defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0} -.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} - -/* Separator */ -.defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px} - -/* Theme */ -.defaultSimpleSkin span.mce_bold {background-position:0 0} -.defaultSimpleSkin span.mce_italic {background-position:-60px 0} -.defaultSimpleSkin span.mce_underline {background-position:-140px 0} -.defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0} -.defaultSimpleSkin span.mce_undo {background-position:-160px 0} -.defaultSimpleSkin span.mce_redo {background-position:-100px 0} -.defaultSimpleSkin span.mce_cleanup {background-position:-40px 0} -.defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} -.defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0} diff --git a/js/jquery/tiny_mce/themes/simple/skins/o2k7/content.css b/js/jquery/tiny_mce/themes/simple/skins/o2k7/content.css deleted file mode 100644 index 595809fa..00000000 --- a/js/jquery/tiny_mce/themes/simple/skins/o2k7/content.css +++ /dev/null @@ -1,17 +0,0 @@ -body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} - -body {background: #FFF;} -.mceVisualAid {border: 1px dashed #BBB;} - -/* IE */ - -* html body { -scrollbar-3dlight-color: #F0F0EE; -scrollbar-arrow-color: #676662; -scrollbar-base-color: #F0F0EE; -scrollbar-darkshadow-color: #DDDDDD; -scrollbar-face-color: #E0E0DD; -scrollbar-highlight-color: #F0F0EE; -scrollbar-shadow-color: #F0F0EE; -scrollbar-track-color: #F5F5F5; -} diff --git a/js/jquery/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/js/jquery/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png deleted file mode 100644 index 527e3495..00000000 Binary files a/js/jquery/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png and /dev/null differ diff --git a/js/jquery/tiny_mce/themes/simple/skins/o2k7/ui.css b/js/jquery/tiny_mce/themes/simple/skins/o2k7/ui.css deleted file mode 100644 index cf6c35d1..00000000 --- a/js/jquery/tiny_mce/themes/simple/skins/o2k7/ui.css +++ /dev/null @@ -1,35 +0,0 @@ -/* Reset */ -.o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} - -/* Containers */ -.o2k7SimpleSkin {position:relative} -.o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;} -.o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;} -.o2k7SimpleSkin .mceToolbar {height:26px;} - -/* Layout */ -.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; } -.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px} -.o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px} -.o2k7SimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} - -/* Button */ -.o2k7SimpleSkin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px} -.o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px} -.o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px} -.o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px} -.o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} - -/* Separator */ -.o2k7SimpleSkin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px} - -/* Theme */ -.o2k7SimpleSkin span.mce_bold {background-position:0 0} -.o2k7SimpleSkin span.mce_italic {background-position:-60px 0} -.o2k7SimpleSkin span.mce_underline {background-position:-140px 0} -.o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0} -.o2k7SimpleSkin span.mce_undo {background-position:-160px 0} -.o2k7SimpleSkin span.mce_redo {background-position:-100px 0} -.o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0} -.o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} -.o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0} diff --git a/js/jquery/tiny_mce/tiny_mce.js b/js/jquery/tiny_mce/tiny_mce.js deleted file mode 100644 index e7139c08..00000000 --- a/js/jquery/tiny_mce/tiny_mce.js +++ /dev/null @@ -1 +0,0 @@ -(function(d){var a=/^\s*|\s*$/g,e,c="B".replace(/A(.)|B/,"$1")==="$1";var b={majorVersion:"3",minorVersion:"4.7",releaseDate:"2011-11-03",_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=d.opera&&opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&&!s.isOpera&&(/MSIE/gi).test(g)&&(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&&/MSIE [56]/.test(g);s.isIE7=s.isIE&&/MSIE [7]/.test(g);s.isIE8=s.isIE&&/MSIE [8]/.test(g);s.isIE9=s.isIE&&/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&&/Gecko/.test(g);s.isMac=g.indexOf("Mac")!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&&g.match(/AppleWebKit\/(\d*)/)[1]>=534;if(d.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m=c.length){for(e=0,b=g.length;e=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length=g.length||g[e]!=c[e]){f=e+1;break}}}if(f==1){return h}for(e=0,b=g.length-(f-1);e=0;c--){if(f[c].length==0||f[c]=="."){continue}if(f[c]==".."){b++;continue}if(b>0){b--;continue}h.push(f[c])}c=e.length-b;if(c<=0){g=h.reverse().join("/")}else{g=e.slice(0,c).join("/")+"/"+h.reverse().join("/")}if(g.indexOf("/")!==0){g="/"+g}if(d&&g.lastIndexOf("/")!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c="";if(!d){if(b.protocol){c+=b.protocol+"://"}if(b.userInfo){c+=b.userInfo+"@"}if(b.host){c+=b.host}if(b.port){c+=":"+b.port}}if(b.path){c+=b.path}if(b.query){c+="?"+b.query}if(b.anchor){c+="#"+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create("static tinymce.util.Cookie",{getHash:function(d){var b=this.get(d),c;if(b){a(b.split("&"),function(e){e=e.split("=");c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h="";a(b,function(e,d){h+=(!h?"":"&")+escape(d)+"="+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+"=",d;if(!h){return}d=h.indexOf("; "+f);if(d==-1){d=h.indexOf(f);if(d!=0){return null}}else{d+=2}g=h.indexOf(";",d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+"="+escape(b)+((g)?"; expires="+g.toGMTString():"")+((f)?"; path="+escape(f):"")+((h)?"; domain="+h:"")+((c)?"; secure":"")},remove:function(e,b){var c=new Date();c.setTime(c.getTime()-1000);this.set(e,"",c,b,c)}})})();(function(){function serialize(o,quote){var i,v,t;quote=quote||'"';if(o==null){return"null"}t=typeof o;if(t=="string"){v="\bb\tt\nn\ff\rr\"\"''\\\\";return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(a,b){if(quote==='"'&&a==="'"){return a}i=v.indexOf(b);if(i+1){return"\\"+v.charAt(i+1)}a=b.charCodeAt().toString(16);return"\\u"+"0000".substring(a.length)+a})+quote}if(t=="object"){if(o.hasOwnProperty&&o instanceof Array){for(i=0,v="[";i0?",":"")+serialize(o[i],quote)}return v+"]"}v="{";for(i in o){if(o.hasOwnProperty(i)){v+=typeof o[i]!="function"?(v.length>1?","+quote:quote)+i+quote+":"+serialize(o[i],quote):""}}return v+"}"}return""+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval("("+s+")")}catch(ex){}}}})();tinymce.create("static tinymce.util.XHR",{send:function(g){var a,e,b=window,h=0;g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||"";function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d("Microsoft.XMLHTTP")||d("Msxml2.XMLHTTP");if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?"POST":"GET"),g.url,g.async);if(g.content_type){a.setRequestHeader("Content-Type",g.content_type)}a.setRequestHeader("X-Requested-With","XMLHttpRequest");a.send(g.data);function f(){if(!g.async||a.readyState==4||h++>10000){if(g.success&&h<10000&&a.status==200){g.success.call(g.success_scope,""+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h>10000?"TIMED_OUT":"GENERAL",a,g)}}a=null}else{b.setTimeout(f,10)}}if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create("tinymce.util.JSONRequest",{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settings,f);f.success=function(h,g){h=b.parse(h);if(typeof(h)=="undefined"){h={error:"JSON Parse error."}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){if(e){e.call(f.error_scope||f.scope,h,g)}};f.data=b.serialize({id:f.id||"c"+(this.count++),method:f.method,params:f.params});f.content_type="application/json";a.send(f)},"static":{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(a){a.VK={DELETE:46,BACKSPACE:8,ENTER:13,TAB:9,SPACEBAR:32,UP:38,DOWN:40}})(tinymce);(function(k){var i=k.VK,j=i.BACKSPACE,h=i.DELETE;function c(m){var o=m.dom,n=m.selection;m.onKeyDown.add(function(q,u){var p,v,s,t,r;r=u.keyCode==h;if(r||u.keyCode==j){u.preventDefault();p=n.getRng();v=o.getParent(p.startContainer,o.isBlock);if(r){v=o.getNext(v,o.isBlock)}if(v){s=v.firstChild;while(s&&s.nodeType==3&&s.nodeValue.length==0){s=s.nextSibling}if(s&&s.nodeName==="SPAN"){t=s.cloneNode(false)}}q.getDoc().execCommand(r?"ForwardDelete":"Delete",false,null);v=o.getParent(p.startContainer,o.isBlock);k.each(o.select("span.Apple-style-span,font.Apple-style-span",v),function(x){var y=n.getBookmark();if(t){o.replace(t.cloneNode(false),x,true)}else{o.remove(x,true)}n.moveToBookmark(y)})}})}function d(m){m.onKeyUp.add(function(n,p){var o=p.keyCode;if(o==h||o==j){if(n.dom.isEmpty(n.getBody())){n.setContent("",{format:"raw"});n.nodeChanged();return}}})}function b(m){m.dom.bind(m.getDoc(),"focusin",function(){m.selection.setRng(m.selection.getRng())})}function e(m){m.onKeyDown.add(function(n,q){if(q.keyCode===j){if(n.selection.isCollapsed()&&n.selection.getRng(true).startOffset===0){var p=n.selection.getNode();var o=p.previousSibling;if(o&&o.nodeName&&o.nodeName.toLowerCase()==="hr"){n.dom.remove(o);k.dom.Event.cancel(q)}}}})}function g(m){if(!Range.prototype.getClientRects){m.onMouseDown.add(function(o,p){if(p.target.nodeName==="HTML"){var n=o.getBody();n.blur();setTimeout(function(){n.focus()},0)}})}}function f(m){m.onClick.add(function(n,o){o=o.target;if(/^(IMG|HR)$/.test(o.nodeName)){n.selection.getSel().setBaseAndExtent(o,0,o,1)}if(o.nodeName=="A"&&n.dom.hasClass(o,"mceItemAnchor")){n.selection.select(o)}n.nodeChanged()})}function l(m){var o,n;m.dom.bind(m.getDoc(),"selectionchange",function(){if(n){clearTimeout(n);n=0}n=window.setTimeout(function(){var p=m.selection.getRng();if(!o||!k.dom.RangeUtils.compareRanges(p,o)){m.nodeChanged();o=p}},50)})}function a(m){document.body.setAttribute("role","application")}k.create("tinymce.util.Quirks",{Quirks:function(m){if(k.isWebKit){c(m);d(m);b(m);f(m);if(k.isIDevice){l(m)}}if(k.isIE){e(m);d(m);a(m)}if(k.isGecko){e(m);g(m)}}})})(tinymce);(function(j){var a,g,d,k=/[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[<>&\"\']/g,c=/&(#x|#)?([\w]+);/g,i={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"};g={'"':""","'":"'","<":"<",">":">","&":"&"};d={"<":"<",">":">","&":"&",""":'"',"'":"'"};function h(l){var m;m=document.createElement("div");m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(",");p=p||10;for(n=0;n1){return"&#"+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+";"}return g[n]||"&#"+n.charCodeAt(0)+";"})},encodeNamed:function(n,l,m){m=m||a;return n.replace(l?k:b,function(o){return g[o]||m[o]||o})},getEncodeFunc:function(l,o){var p=j.html.Entities;o=e(o)||a;function m(r,q){return r.replace(q?k:b,function(s){return g[s]||o[s]||"&#"+s.charCodeAt(0)+";"||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,","));if(l.named&&l.numeric){return m}if(l.named){if(o){return n}return p.encodeNamed}if(l.numeric){return p.encodeNumeric}return p.encodeRaw},decode:function(l){return l.replace(c,function(n,m,o){if(m){o=parseInt(o,m.length===2?16:10);if(o>65535){o-=65536;return String.fromCharCode(55296+(o>>10),56320+(o&1023))}else{return i[o]||String.fromCharCode(o)}}return d[n]||a[n]||h(n)})}}})(tinymce);tinymce.html.Styles=function(d,f){var k=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,h=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j="\\\" \\' \\; \\: ; : \uFEFF".split(" ");for(g=0;g1?r:"0"+r}return"#"+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(r){var y={},p,n,v,q,u=d.url_converter,x=d.url_converter_scope||this;function o(C,F){var E,B,A,D;E=y[C+"-top"+F];if(!E){return}B=y[C+"-right"+F];if(E!=B){return}A=y[C+"-bottom"+F];if(B!=A){return}D=y[C+"-left"+F];if(A!=D){return}y[C+F]=D;delete y[C+"-top"+F];delete y[C+"-right"+F];delete y[C+"-bottom"+F];delete y[C+"-left"+F]}function t(B){var C=y[B],A;if(!C||C.indexOf(" ")<0){return}C=C.split(" ");A=C.length;while(A--){if(C[A]!==C[0]){return false}}y[B]=C[0];return true}function z(C,B,A,D){if(!t(B)){return}if(!t(A)){return}if(!t(D)){return}y[C]=y[B]+" "+y[A]+" "+y[D];delete y[B];delete y[A];delete y[D]}function s(A){q=true;return a[A]}function i(B,A){if(q){B=B.replace(/\uFEFF[0-9]/g,function(C){return a[C]})}if(!A){B=B.replace(/\\([\'\";:])/g,"$1")}return B}if(r){r=r.replace(/\\[\"\';:\uFEFF]/g,s).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(A){return A.replace(/[;:]/g,s)});while(p=b.exec(r)){n=p[1].replace(l,"").toLowerCase();v=p[2].replace(l,"");if(n&&v.length>0){if(n==="font-weight"&&v==="700"){v="bold"}else{if(n==="color"||n==="background-color"){v=v.toLowerCase()}}v=v.replace(k,c);v=v.replace(h,function(B,A,E,D,F,C){F=F||C;if(F){F=i(F);return"'"+F.replace(/\'/g,"\\'")+"'"}A=i(A||E||D);if(u){A=u.call(x,A,"style")}return"url('"+A.replace(/\'/g,"\\'")+"')"});y[n]=q?i(v,true):v}b.lastIndex=p.index+p[0].length}o("border","");o("border","-width");o("border","-color");o("border","-style");o("padding","");o("margin","");z("border","border-width","border-style","border-color");if(y.border==="medium none"){delete y.border}}return y},serialize:function(p,r){var o="",n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u0){o+=(o.length>0?" ":"")+t+": "+v+";"}}}}if(r&&f&&f.styles){i("*");i(r)}else{for(n in p){q=p[n];if(q!==e&&q.length>0){o+=(o.length>0?" ":"")+n+": "+q+";"}}}return o}}};(function(m){var h={},j,l,g,f,c={},b,e,d=m.makeMap,k=m.each;function i(o,n){return o.split(n||",")}function a(r,q){var o,p={};function n(s){return s.replace(/[A-Z]+/g,function(t){return n(r[t])})}for(o in r){if(r.hasOwnProperty(o)){r[o]=n(r[o])}}n(q).replace(/#/g,"#text").replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(v,t,s,u){s=i(s,"|");p[t]={attributes:d(s),attributesOrder:s,children:d(u,"|",{"#comment":{}})}});return p}l="h1,h2,h3,h4,h5,h6,hr,p,div,address,pre,form,table,tbody,thead,tfoot,th,tr,td,li,ol,ul,caption,blockquote,center,dl,dt,dd,dir,fieldset,noscript,menu,isindex,samp,header,footer,article,section,hgroup";l=d(l,",",d(l.toUpperCase()));h=a({Z:"H|K|N|O|P",Y:"X|form|R|Q",ZG:"E|span|width|align|char|charoff|valign",X:"p|T|div|U|W|isindex|fieldset|table",ZF:"E|align|char|charoff|valign",W:"pre|hr|blockquote|address|center|noframes",ZE:"abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height",ZD:"[E][S]",U:"ul|ol|dl|menu|dir",ZC:"p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q",T:"h1|h2|h3|h4|h5|h6",ZB:"X|S|Q",S:"R|P",ZA:"a|G|J|M|O|P",R:"a|H|K|N|O",Q:"noscript|P",P:"ins|del|script",O:"input|select|textarea|label|button",N:"M|L",M:"em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym",L:"sub|sup",K:"J|I",J:"tt|i|b|u|s|strike",I:"big|small|font|basefont",H:"G|F",G:"br|span|bdo",F:"object|applet|img|map|iframe",E:"A|B|C",D:"accesskey|tabindex|onfocus|onblur",C:"onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"lang|xml:lang|dir",A:"id|class|style|title"},"script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p[E|align][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|disabled|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onreset|accept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]");j=d("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected,autoplay,loop,controls");g=d("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed,source");f=m.extend(d("td,th,iframe,video,audio,object"),g);b=d("pre,script,style,textarea");e=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");m.html.Schema=function(r){var A=this,n={},o={},y=[],q,p;r=r||{};if(r.verify_html===false){r.valid_elements="*[*]"}if(r.valid_styles){q={};k(r.valid_styles,function(C,B){q[B]=m.explode(C)})}p=r.whitespace_elements?d(r.whitespace_elements):b;function z(B){return new RegExp("^"+B.replace(/([?+*])/g,".$1")+"$")}function t(I){var H,D,W,S,X,C,F,R,U,N,V,Z,L,G,T,B,P,E,Y,aa,M,Q,K=/^([#+-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,O=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,J=/[*?+]/;if(I){I=i(I);if(n["@"]){P=n["@"].attributes;E=n["@"].attributesOrder}for(H=0,D=I.length;H=0){for(T=z.length-1;T>=U;T--){S=z[T];if(S.valid){n.end(S.name)}}z.length=U}}l=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([^\\s\\/<>]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/)>))","g");C=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:\\.|[^\"])*)\")|(?:\'((?:\\.|[^\'])*)\')|([^>\s]+)))?/g;J={script:/<\/script[^>]*>/gi,style:/<\/style[^>]*>/gi,noscript:/<\/noscript[^>]*>/gi};L=e.getShortEndedElements();I=e.getSelfClosingElements();G=e.getBoolAttrs();u=c.validate;r=c.remove_internals;x=c.fix_self_closing;p=a.isIE;o=/^:/;while(g=l.exec(D)){if(F0&&z[z.length-1].name===H){t(H)}if(!u||(m=e.getElementRule(H))){k=true;if(u){O=m.attributes;E=m.attributePatterns}if(Q=g[8]){y=Q.indexOf("data-mce-type")!==-1;if(y&&r){k=false}M=[];M.map={};Q.replace(C,function(T,S,X,W,V){var Y,U;S=S.toLowerCase();X=S in G?S:j(X||W||V||"");if(u&&!y&&S.indexOf("data-")!==0){Y=O[S];if(!Y&&E){U=E.length;while(U--){Y=E[U];if(Y.pattern.test(S)){break}}if(U===-1){Y=null}}if(!Y){return}if(Y.validValues&&!(X in Y.validValues)){return}}M.map[S]=X;M.push({name:S,value:X})})}else{M=[];M.map={}}if(u&&!y){R=m.attributesRequired;K=m.attributesDefault;f=m.attributesForced;if(f){P=f.length;while(P--){s=f[P];q=s.name;h=s.value;if(h==="{$uid}"){h="mce_"+v++}M.map[q]=h;M.push({name:q,value:h})}}if(K){P=K.length;while(P--){s=K[P];q=s.name;if(!(q in M.map)){h=s.value;if(h==="{$uid}"){h="mce_"+v++}M.map[q]=h;M.push({name:q,value:h})}}}if(R){P=R.length;while(P--){if(R[P] in M.map){break}}if(P===-1){k=false}}if(M.map["data-mce-bogus"]){k=false}}if(k){n.start(H,M,N)}}else{k=false}if(A=J[H]){A.lastIndex=F=g.index+g[0].length;if(g=A.exec(D)){if(k){B=D.substr(F,g.index-F)}F=g.index+g[0].length}else{B=D.substr(F);F=D.length}if(k&&B.length>0){n.text(B,true)}if(k){n.end(H)}l.lastIndex=F;continue}if(!N){if(!Q||Q.indexOf("/")!=Q.length-1){z.push({name:H,valid:k})}else{if(k){n.end(H)}}}}else{if(H=g[1]){n.comment(H)}else{if(H=g[2]){n.cdata(H)}else{if(H=g[3]){n.doctype(H)}else{if(H=g[4]){n.pi(H,g[5])}}}}}}F=g.index+g[0].length}if(F=0;P--){H=z[P];if(H.valid){n.end(H.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function a(k,l,j){var i,h,f=j?"lastChild":"firstChild",g=j?"prev":"next";if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&&h!==l;h=h.parent){i=h[g];if(i){return i}}}}function b(f,g){this.name=f;this.type=g;if(g===1){this.attributes=[];this.attributes.map={}}}d.extend(b.prototype,{replace:function(g){var f=this;if(g.parent){g.remove()}f.insert(g,f);f.remove();return f},attr:function(h,l){var f=this,g,j,k;if(typeof h!=="string"){for(j in h){f.attr(j,h[j])}return f}if(g=f.attributes){if(l!==k){if(l===null){if(h in g.map){delete g.map[h];j=g.length;while(j--){if(g[j].name===h){g=g.splice(j,1);return f}}}return f}if(h in g.map){j=g.length;while(j--){if(g[j].name===h){g[j].value=l;break}}}else{g.push({name:h,value:l})}g.map[h]=l;return f}else{return g.map[h]}}},clone:function(){var g=this,n=new b(g.name,g.type),h,f,m,j,k;if(m=g.attributes){k=[];k.map={};for(h=0,f=m.length;h1){v.reverse();z=n=f.filterNode(v[0].clone());for(t=0;t0){N.value=l;N=N.prev}else{L=N.prev;N.remove();N=L}}}n=new b.html.SaxParser({validate:y,fix_self_closing:!y,cdata:function(l){A.append(I("#cdata",4)).value=l},text:function(M,l){var L;if(!s[A.name]){M=M.replace(k," ");if(A.lastChild&&o[A.lastChild.name]){M=M.replace(D,"")}}if(M.length!==0){L=I("#text",3);L.raw=!!l;A.append(L).value=M}},comment:function(l){A.append(I("#comment",8)).value=l},pi:function(l,L){A.append(I(l,7)).value=L;G(A)},doctype:function(L){var l;l=A.append(I("#doctype",10));l.value=L;G(A)},start:function(l,T,M){var R,O,N,L,P,U,S,Q;N=y?h.getElementRule(l):{};if(N){R=I(N.outputName||l,1);R.attributes=T;R.shortEnded=M;A.append(R);Q=p[A.name];if(Q&&p[R.name]&&!Q[R.name]){J.push(R)}O=d.length;while(O--){P=d[O].name;if(P in T.map){E=c[P];if(E){E.push(R)}else{c[P]=[R]}}}if(o[l]){G(R)}if(!M){A=R}}},end:function(l){var P,M,O,L,N;M=y?h.getElementRule(l):{};if(M){if(o[l]){if(!s[A.name]){for(P=A.firstChild;P&&P.type===3;){O=P.value.replace(D,"");if(O.length>0){P.value=O;P=P.next}else{L=P.next;P.remove();P=L}}for(P=A.lastChild;P&&P.type===3;){O=P.value.replace(t,"");if(O.length>0){P.value=O;P=P.prev}else{L=P.prev;P.remove();P=L}}}P=A.prev;if(P&&P.type===3){O=P.value.replace(D,"");if(O.length>0){P.value=O}else{P.remove()}}}if(M.removeEmpty||M.paddEmpty){if(A.isEmpty(u)){if(M.paddEmpty){A.empty().append(new a("#text","3")).value="\u00a0"}else{if(!A.attributes.map.name){N=A.parent;A.empty().remove();A=N;return}}}}A=A.parent}}},h);H=A=new a(m.context||g.root_name,11);n.parse(v);if(y&&J.length){if(!m.context){j(J)}else{m.invalid=true}}if(q&&H.name=="body"){F()}if(!m.invalid){for(K in i){E=e[K];z=i[K];x=z.length;while(x--){if(!z[x].parent){z.splice(x,1)}}for(C=0,B=E.length;C0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}c.push("<",m);if(k){for(n=0,j=k.length;n0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}},end:function(h){var i;c.push("");if(a&&d[h]&&c.length>0){i=c[c.length-1];if(i.length>0&&i!=="\n"){c.push("\n")}}},text:function(i,h){if(i.length>0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push("")},comment:function(h){c.push("")},pi:function(h,i){if(i){c.push("")}else{c.push("")}if(a){c.push("\n")}},doctype:function(h){c.push("",a?"\n":"")},reset:function(){c.length=0},getContent:function(){return c.join("").replace(/\n$/,"")}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate="validate" in c?c.validate:true;b.schema=d=d||new a.html.Schema();b.writer=e;b.serialize=function(h){var g,i;i=c.validate;g={3:function(k,j){e.text(k.value,k.raw)},8:function(j){e.comment(j.value)},7:function(j){e.pi(j.name,j.value)},10:function(j){e.doctype(j.value)},4:function(j){e.cdata(j.value)},11:function(j){if((j=j.firstChild)){do{f(j)}while(j=j.next)}}};e.reset();function f(k){var t=g[k.type],j,o,s,r,p,u,n,m,q;if(!t){j=k.name;o=k.shortEnded;s=k.attributes;if(i&&s&&s.length>1){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n=8;l.boxModel=!h.isIE||o.compatMode=="CSS1Compat"||l.stdMode;l.hasOuterHTML="outerHTML" in o.createElement("a");l.settings=m=h.extend({keep_values:false,hex_colors:1},m);l.schema=m.schema;l.styles=new h.html.Styles({url_converter:m.url_converter,url_converter_scope:m.url_converter_scope},m.schema);if(h.isIE6){try{o.execCommand("BackgroundImageCache",false,true)}catch(n){l.cssFlicker=true}}if(b&&m.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(p){o.createElement(p)});for(k in m.schema.getCustomElements()){o.createElement(k)}}h.addUnload(l.destroy,l)},getRoot:function(){var j=this,k=j.settings;return(k&&j.get(k.root_element))||j.doc.body},getViewPort:function(k){var l,j;k=!k?this.win:k;l=k.document;j=this.boxModel?l.documentElement:l.body;return{x:k.pageXOffset||j.scrollLeft,y:k.pageYOffset||j.scrollTop,w:k.innerWidth||j.clientWidth,h:k.innerHeight||j.clientHeight}},getRect:function(m){var l,j=this,k;m=j.get(m);l=j.getPos(m);k=j.getSize(m);return{x:l.x,y:l.y,w:k.w,h:k.h}},getSize:function(m){var k=this,j,l;m=k.get(m);j=k.getStyle(m,"width");l=k.getStyle(m,"height");if(j.indexOf("px")===-1){j=0}if(l.indexOf("px")===-1){l=0}return{w:parseInt(j)||m.offsetWidth||m.clientWidth,h:parseInt(l)||m.offsetHeight||m.clientHeight}},getParent:function(l,k,j){return this.getParents(l,k,j,false)},getParents:function(u,p,l,s){var k=this,j,m=k.settings,q=[];u=k.get(u);s=s===undefined;if(m.strict_root){l=l||k.getRoot()}if(e(p,"string")){j=p;if(p==="*"){p=function(o){return o.nodeType==1}}else{p=function(o){return k.is(o,j)}}}while(u){if(u==l||!u.nodeType||u.nodeType===9){break}if(!p||p(u)){if(s){q.push(u)}else{return u}}u=u.parentNode}return s?q:null},get:function(j){var k;if(j&&this.doc&&typeof(j)=="string"){k=j;j=this.doc.getElementById(j);if(j&&j.id!==k){return this.doc.getElementsByName(k)[1]}}return j},getNext:function(k,j){return this._findSib(k,j,"nextSibling")},getPrev:function(k,j){return this._findSib(k,j,"previousSibling")},add:function(m,q,j,l,o){var k=this;return this.run(m,function(s){var r,n;r=e(q,"string")?k.doc.createElement(q):q;k.setAttribs(r,j);if(l){if(l.nodeType){r.appendChild(l)}else{k.setHTML(r,l)}}return !o?s.appendChild(r):r})},create:function(l,j,k){return this.add(this.doc.createElement(l),l,j,k,1)},createHTML:function(r,j,p){var q="",m=this,l;q+="<"+r;for(l in j){if(j.hasOwnProperty(l)){q+=" "+l+'="'+m.encode(j[l])+'"'}}if(typeof(p)!="undefined"){return q+">"+p+""}return q+" />"},remove:function(j,k){return this.run(j,function(m){var n,l=m.parentNode;if(!l){return null}if(k){while(n=m.firstChild){if(!h.isIE||n.nodeType!==3||n.nodeValue){l.insertBefore(n,m)}else{m.removeChild(n)}}}return l.removeChild(m)})},setStyle:function(m,j,k){var l=this;return l.run(m,function(p){var o,n;o=p.style;j=j.replace(/-(\D)/g,function(r,q){return q.toUpperCase()});if(l.pixelStyles.test(j)&&(h.is(k,"number")||/^[\-0-9\.]+$/.test(k))){k+="px"}switch(j){case"opacity":if(b){o.filter=k===""?"":"alpha(opacity="+(k*100)+")";if(!m.currentStyle||!m.currentStyle.hasLayout){o.display="inline-block"}}o[j]=o["-moz-opacity"]=o["-khtml-opacity"]=k||"";break;case"float":b?o.styleFloat=k:o.cssFloat=k;break;default:o[j]=k||""}if(l.settings.update_styles){l.setAttrib(p,"data-mce-style")}})},getStyle:function(m,j,l){m=this.get(m);if(!m){return}if(this.doc.defaultView&&l){j=j.replace(/[A-Z]/g,function(n){return"-"+n});try{return this.doc.defaultView.getComputedStyle(m,null).getPropertyValue(j)}catch(k){return null}}j=j.replace(/-(\D)/g,function(o,n){return n.toUpperCase()});if(j=="float"){j=b?"styleFloat":"cssFloat"}if(m.currentStyle&&l){return m.currentStyle[j]}return m.style?m.style[j]:undefined},setStyles:function(m,n){var k=this,l=k.settings,j;j=l.update_styles;l.update_styles=0;f(n,function(o,p){k.setStyle(m,p,o)});l.update_styles=j;if(l.update_styles){k.setAttrib(m,l.cssText)}},removeAllAttribs:function(j){return this.run(j,function(m){var l,k=m.attributes;for(l=k.length-1;l>=0;l--){m.removeAttributeNode(k.item(l))}})},setAttrib:function(l,m,j){var k=this;if(!l||!m){return}if(k.settings.strict){m=m.toLowerCase()}return this.run(l,function(o){var n=k.settings;if(j!==null){switch(m){case"style":if(!e(j,"string")){f(j,function(p,q){k.setStyle(o,q,p)});return}if(n.keep_values){if(j&&!k._isRes(j)){o.setAttribute("data-mce-style",j,2)}else{o.removeAttribute("data-mce-style",2)}}o.style.cssText=j;break;case"class":o.className=j||"";break;case"src":case"href":if(n.keep_values){if(n.url_converter){j=n.url_converter.call(n.url_converter_scope||k,j,m,o)}k.setAttrib(o,"data-mce-"+m,j,2)}break;case"shape":o.setAttribute("data-mce-style",j);break}}if(e(j)&&j!==null&&j.length!==0){o.setAttribute(m,""+j,2)}else{o.removeAttribute(m,2)}})},setAttribs:function(k,l){var j=this;return this.run(k,function(m){f(l,function(o,p){j.setAttrib(m,p,o)})})},getAttrib:function(o,p,l){var j,k=this,m;o=k.get(o);if(!o||o.nodeType!==1){return l===m?false:l}if(!e(l)){l=""}if(/^(src|href|style|coords|shape)$/.test(p)){j=o.getAttribute("data-mce-"+p);if(j){return j}}if(b&&k.props[p]){j=o[k.props[p]];j=j&&j.nodeValue?j.nodeValue:j}if(!j){j=o.getAttribute(p,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(p)){if(o[k.props[p]]===true&&j===""){return p}return j?p:""}if(o.nodeName==="FORM"&&o.getAttributeNode(p)){return o.getAttributeNode(p).nodeValue}if(p==="style"){j=j||o.style.cssText;if(j){j=k.serializeStyle(k.parseStyle(j),o.nodeName);if(k.settings.keep_values&&!k._isRes(j)){o.setAttribute("data-mce-style",j)}}}if(d&&p==="class"&&j){j=j.replace(/(apple|webkit)\-[a-z\-]+/gi,"")}if(b){switch(p){case"rowspan":case"colspan":if(j===1){j=""}break;case"size":if(j==="+0"||j===20||j===0){j=""}break;case"width":case"height":case"vspace":case"checked":case"disabled":case"readonly":if(j===0){j=""}break;case"hspace":if(j===-1){j=""}break;case"maxlength":case"tabindex":if(j===32768||j===2147483647||j==="32768"){j=""}break;case"multiple":case"compact":case"noshade":case"nowrap":if(j===65535){return p}return l;case"shape":j=j.toLowerCase();break;default:if(p.indexOf("on")===0&&j){j=h._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,"$1",""+j)}}}return(j!==m&&j!==null&&j!=="")?""+j:l},getPos:function(s,m){var k=this,j=0,q=0,o,p=k.doc,l;s=k.get(s);m=m||p.body;if(s){if(s.getBoundingClientRect){s=s.getBoundingClientRect();o=k.boxModel?p.documentElement:p.body;j=s.left+(p.documentElement.scrollLeft||p.body.scrollLeft)-o.clientTop;q=s.top+(p.documentElement.scrollTop||p.body.scrollTop)-o.clientLeft;return{x:j,y:q}}l=s;while(l&&l!=m&&l.nodeType){j+=l.offsetLeft||0;q+=l.offsetTop||0;l=l.offsetParent}l=s.parentNode;while(l&&l!=m&&l.nodeType){j-=l.scrollLeft||0;q-=l.scrollTop||0;l=l.parentNode}}return{x:j,y:q}},parseStyle:function(j){return this.styles.parse(j)},serializeStyle:function(k,j){return this.styles.serialize(k,j)},loadCSS:function(j){var l=this,m=l.doc,k;if(!j){j=""}k=l.select("head")[0];f(j.split(","),function(n){var o;if(l.files[n]){return}l.files[n]=true;o=l.create("link",{rel:"stylesheet",href:h._addVer(n)});if(b&&m.documentMode&&m.recalc){o.onload=function(){if(m.recalc){m.recalc()}o.onload=null}}k.appendChild(o)})},addClass:function(j,k){return this.run(j,function(l){var m;if(!k){return 0}if(this.hasClass(l,k)){return l.className}m=this.removeClass(l,k);return l.className=(m!=""?(m+" "):"")+k})},removeClass:function(l,m){var j=this,k;return j.run(l,function(o){var n;if(j.hasClass(o,m)){if(!k){k=new RegExp("(^|\\s+)"+m+"(\\s+|$)","g")}n=o.className.replace(k," ");n=h.trim(n!=" "?n:"");o.className=n;if(!n){o.removeAttribute("class");o.removeAttribute("className")}return n}return o.className})},hasClass:function(k,j){k=this.get(k);if(!k||!j){return false}return(" "+k.className+" ").indexOf(" "+j+" ")!==-1},show:function(j){return this.setStyle(j,"display","block")},hide:function(j){return this.setStyle(j,"display","none")},isHidden:function(j){j=this.get(j);return !j||j.style.display=="none"||this.getStyle(j,"display")=="none"},uniqueId:function(j){return(!j?"mce_":j)+(this.counter++)},setHTML:function(l,k){var j=this;return j.run(l,function(n){if(b){while(n.firstChild){n.removeChild(n.firstChild)}try{n.innerHTML="
    "+k;n.removeChild(n.firstChild)}catch(m){n=j.create("div");n.innerHTML="
    "+k;f(n.childNodes,function(p,o){if(o){n.appendChild(p)}})}}else{n.innerHTML=k}return k})},getOuterHTML:function(l){var k,j=this;l=j.get(l);if(!l){return null}if(l.nodeType===1&&j.hasOuterHTML){return l.outerHTML}k=(l.ownerDocument||j.doc).createElement("body");k.appendChild(l.cloneNode(true));return k.innerHTML},setOuterHTML:function(m,k,n){var j=this;function l(p,o,r){var s,q;q=r.createElement("body");q.innerHTML=o;s=q.lastChild;while(s){j.insertAfter(s.cloneNode(true),p);s=s.previousSibling}j.remove(p)}return this.run(m,function(p){p=j.get(p);if(p.nodeType==1){n=n||p.ownerDocument||j.doc;if(b){try{if(b&&p.nodeType==1){p.outerHTML=k}else{l(p,k,n)}}catch(o){l(p,k,n)}}else{l(p,k,n)}}})},decode:c.decode,encode:c.encodeAllRaw,insertAfter:function(j,k){k=this.get(k);return this.run(j,function(m){var l,n;l=k.parentNode;n=k.nextSibling;if(n){l.insertBefore(m,n)}else{l.appendChild(m)}return m})},isBlock:function(k){var j=k.nodeType;if(j){return !!(j===1&&g[k.nodeName])}return !!g[k]},replace:function(p,m,j){var l=this;if(e(m,"array")){p=p.cloneNode(true)}return l.run(m,function(k){if(j){f(h.grep(k.childNodes),function(n){p.appendChild(n)})}return k.parentNode.replaceChild(p,k)})},rename:function(m,j){var l=this,k;if(m.nodeName!=j.toUpperCase()){k=l.create(j);f(l.getAttribs(m),function(n){l.setAttrib(k,n.nodeName,l.getAttrib(m,n.nodeName))});l.replace(k,m,1)}return k||m},findCommonAncestor:function(l,j){var m=l,k;while(m){k=j;while(k&&m!=k){k=k.parentNode}if(m==k){break}m=m.parentNode}if(!m&&l.ownerDocument){return l.ownerDocument.documentElement}return m},toHex:function(j){var l=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(j);function k(m){m=parseInt(m).toString(16);return m.length>1?m:"0"+m}if(l){j="#"+k(l[1])+k(l[2])+k(l[3]);return j}return j},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(r){f(r.imports,function(s){q(s)});f(r.cssRules||r.rules,function(s){switch(s.type||1){case 1:if(s.selectorText){f(s.selectorText.split(","),function(t){t=t.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(t)||!/\.[\w\-]+$/.test(t)){return}l=t;t=h._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",t);if(p&&!(t=p(t,l))){return}if(!o[t]){j.push({"class":t});o[t]=1}})}break;case 3:q(s.styleSheet);break}})}try{f(n.doc.styleSheets,q)}catch(k){}if(j.length>0){n.classes=j}return j},run:function(m,l,k){var j=this,n;if(j.doc&&typeof(m)==="string"){m=j.get(m)}if(!m){return false}k=k||this;if(!m.nodeType&&(m.length||m.length===0)){n=[];f(m,function(p,o){if(p){if(typeof(p)=="string"){p=j.doc.getElementById(p)}n.push(l.call(k,p,o))}});return n}return l.call(k,m)},getAttribs:function(k){var j;k=this.get(k);if(!k){return[]}if(b){j=[];if(k.nodeName=="OBJECT"){return k.attributes}if(k.nodeName==="OPTION"&&this.getAttrib(k,"selected")){j.push({specified:1,nodeName:"selected"})}k.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(l){j.push({specified:1,nodeName:l})});return j}return k.attributes},isEmpty:function(m,k){var r=this,o,n,q,j,l,p;m=m.firstChild;if(m){j=new h.dom.TreeWalker(m);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute("data-mce-bogus")){continue}l=m.nodeName.toLowerCase();if(k&&k[l]){p=m.parentNode;if(l==="br"&&r.isBlock(p)&&p.firstChild===m&&p.lastChild===m){continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l==="name"||l==="data-mce-bookmark"){return false}}}if((q===3&&!i.test(m.nodeValue))){return false}}while(m=j.next())}return true},destroy:function(k){var j=this;if(j.events){j.events.destroy()}j.win=j.doc=j.root=j.events=null;if(!k){h.removeUnload(j.destroy)}},createRng:function(){var j=this.doc;return j.createRange?j.createRange():new h.dom.Range(this)},nodeIndex:function(n,o){var j=0,l,m,k;if(n){for(l=n.nodeType,n=n.previousSibling,m=n;n;n=n.previousSibling){k=n.nodeType;if(o&&k==3){if(k==l||!n.nodeValue.length){continue}}j++;l=k}}return j},split:function(n,m,q){var s=this,j=s.createRng(),o,l,p;function k(v){var t,r=v.childNodes,u=v.nodeType;if(u==1&&v.getAttribute("data-mce-type")=="bookmark"){return}for(t=r.length-1;t>=0;t--){k(r[t])}if(u!=9){if(u==3&&v.nodeValue.length>0){if(!s.isBlock(v.parentNode)||h.trim(v.nodeValue).length>0){return}}else{if(u==1){r=v.childNodes;if(r.length==1&&r[0]&&r[0].nodeType==1&&r[0].getAttribute("data-mce-type")=="bookmark"){v.parentNode.insertBefore(r[0],v)}if(r.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}s.remove(v)}return v}if(n&&m){j.setStart(n.parentNode,s.nodeIndex(n));j.setEnd(m.parentNode,s.nodeIndex(m));o=j.extractContents();j=s.createRng();j.setStart(m.parentNode,s.nodeIndex(m)+1);j.setEnd(n.parentNode,s.nodeIndex(n)+1);l=j.extractContents();p=n.parentNode;p.insertBefore(k(o),n);if(q){p.replaceChild(q,m)}else{p.insertBefore(m,n)}p.insertBefore(k(l),n);s.remove(n);return q||m}},bind:function(n,j,m,l){var k=this;if(!k.events){k.events=new h.dom.EventUtils()}return k.events.add(n,j,m,l||this)},unbind:function(m,j,l){var k=this;if(!k.events){k.events=new h.dom.EventUtils()}return k.events.remove(m,j,l)},_findSib:function(m,j,k){var l=this,n=j;if(m){if(e(n,"string")){n=function(o){return l.is(o,j)}}for(m=m[k];m;m=m[k]){if(n(m)){return m}}}return null},_isRes:function(j){return/^(top|left|bottom|right|width|height)/i.test(j)||/;\s*(top|left|bottom|right|width|height)/i.test(j)}});h.DOM=new h.dom.DOMUtils(document,{process_html:0})})(tinymce);(function(a){function b(c){var N=this,e=c.doc,S=0,E=1,j=2,D=true,R=false,U="startOffset",h="startContainer",P="endContainer",z="endOffset",k=tinymce.extend,n=c.nodeIndex;k(N,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:D,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:I,setEndBefore:J,setEndAfter:u,collapse:A,selectNode:x,selectNodeContents:F,compareBoundaryPoints:v,deleteContents:p,extractContents:H,cloneContents:d,insertNode:C,surroundContents:M,cloneRange:K});function q(V,t){B(D,V,t)}function s(V,t){B(R,V,t)}function g(t){q(t.parentNode,n(t))}function I(t){q(t.parentNode,n(t)+1)}function J(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function A(t){if(t){N[P]=N[h];N[z]=N[U]}else{N[h]=N[P];N[U]=N[z]}N.collapsed=D}function x(t){g(t);u(t)}function F(t){q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(Y,t){var ab=N[h],W=N[U],aa=N[P],V=N[z],Z=t.startContainer,ad=t.startOffset,X=t.endContainer,ac=t.endOffset;if(Y===0){return G(ab,W,Z,ad)}if(Y===1){return G(aa,V,Z,ad)}if(Y===2){return G(aa,V,X,ac)}if(Y===3){return G(ab,W,X,ac)}}function p(){m(j)}function H(){return m(S)}function d(){return m(E)}function C(Y){var V=this[h],t=this[U],X,W;if((V.nodeType===3||V.nodeType===4)&&V.nodeValue){if(!t){V.parentNode.insertBefore(Y,V)}else{if(t>=V.nodeValue.length){c.insertAfter(Y,V)}else{X=V.splitText(t);V.parentNode.insertBefore(Y,X)}}}else{if(V.childNodes.length>0){W=V.childNodes[t]}if(W){V.insertBefore(Y,W)}else{V.appendChild(Y)}}}function M(V){var t=N.extractContents();N.insertNode(V);V.appendChild(t);N.selectNode(V)}function K(){return k(new b(c),{startContainer:N[h],startOffset:N[U],endContainer:N[P],endOffset:N[z],collapsed:N.collapsed,commonAncestorContainer:N.commonAncestorContainer})}function O(t,V){var W;if(t.nodeType==3){return t}if(V<0){return t}W=t.firstChild;while(W&&V>0){--V;W=W.nextSibling}if(W){return W}return t}function l(){return(N[h]==N[P]&&N[U]==N[z])}function G(X,Z,V,Y){var aa,W,t,ab,ad,ac;if(X==V){if(Z==Y){return 0}if(Z0){N.collapse(V)}}else{N.collapse(V)}N.collapsed=l();N.commonAncestorContainer=c.findCommonAncestor(N[h],N[P])}function m(ab){var aa,X=0,ad=0,V,Z,W,Y,t,ac;if(N[h]==N[P]){return f(ab)}for(aa=N[P],V=aa.parentNode;V;aa=V,V=V.parentNode){if(V==N[h]){return r(aa,ab)}++X}for(aa=N[h],V=aa.parentNode;V;aa=V,V=V.parentNode){if(V==N[P]){return T(aa,ab)}++ad}Z=ad-X;W=N[h];while(Z>0){W=W.parentNode;Z--}Y=N[P];while(Z<0){Y=Y.parentNode;Z++}for(t=W.parentNode,ac=Y.parentNode;t!=ac;t=t.parentNode,ac=ac.parentNode){W=t;Y=ac}return o(W,Y,ab)}function f(Z){var ab,Y,X,aa,t,W,V;if(Z!=j){ab=e.createDocumentFragment()}if(N[U]==N[z]){return ab}if(N[h].nodeType==3){Y=N[h].nodeValue;X=Y.substring(N[U],N[z]);if(Z!=E){N[h].deleteData(N[U],N[z]-N[U]);N.collapse(D)}if(Z==j){return}ab.appendChild(e.createTextNode(X));return ab}aa=O(N[h],N[U]);t=N[z]-N[U];while(t>0){W=aa.nextSibling;V=y(aa,Z);if(ab){ab.appendChild(V)}--t;aa=W}if(Z!=E){N.collapse(D)}return ab}function r(ab,Y){var aa,Z,V,t,X,W;if(Y!=j){aa=e.createDocumentFragment()}Z=i(ab,Y);if(aa){aa.appendChild(Z)}V=n(ab);t=V-N[U];if(t<=0){if(Y!=E){N.setEndBefore(ab);N.collapse(R)}return aa}Z=ab.previousSibling;while(t>0){X=Z.previousSibling;W=y(Z,Y);if(aa){aa.insertBefore(W,aa.firstChild)}--t;Z=X}if(Y!=E){N.setEndBefore(ab);N.collapse(R)}return aa}function T(Z,Y){var ab,V,aa,t,X,W;if(Y!=j){ab=e.createDocumentFragment()}aa=Q(Z,Y);if(ab){ab.appendChild(aa)}V=n(Z);++V;t=N[z]-V;aa=Z.nextSibling;while(t>0){X=aa.nextSibling;W=y(aa,Y);if(ab){ab.appendChild(W)}--t;aa=X}if(Y!=E){N.setStartAfter(Z);N.collapse(D)}return ab}function o(Z,t,ac){var W,ae,Y,aa,ab,V,ad,X;if(ac!=j){ae=e.createDocumentFragment()}W=Q(Z,ac);if(ae){ae.appendChild(W)}Y=Z.parentNode;aa=n(Z);ab=n(t);++aa;V=ab-aa;ad=Z.nextSibling;while(V>0){X=ad.nextSibling;W=y(ad,ac);if(ae){ae.appendChild(W)}ad=X;--V}W=i(t,ac);if(ae){ae.appendChild(W)}if(ac!=E){N.setStartAfter(Z);N.collapse(D)}return ae}function i(aa,ab){var W=O(N[P],N[z]-1),ac,Z,Y,t,V,X=W!=N[P];if(W==aa){return L(W,X,R,ab)}ac=W.parentNode;Z=L(ac,R,R,ab);while(ac){while(W){Y=W.previousSibling;t=L(W,X,R,ab);if(ab!=j){Z.insertBefore(t,Z.firstChild)}X=D;W=Y}if(ac==aa){return Z}W=ac.previousSibling;ac=ac.parentNode;V=L(ac,R,R,ab);if(ab!=j){V.appendChild(Z)}Z=V}}function Q(aa,ab){var X=O(N[h],N[U]),Y=X!=N[h],ac,Z,W,t,V;if(X==aa){return L(X,Y,D,ab)}ac=X.parentNode;Z=L(ac,R,D,ab);while(ac){while(X){W=X.nextSibling;t=L(X,Y,D,ab);if(ab!=j){Z.appendChild(t)}Y=D;X=W}if(ac==aa){return Z}X=ac.nextSibling;ac=ac.parentNode;V=L(ac,R,D,ab);if(ab!=j){V.appendChild(Z)}Z=V}}function L(t,Y,ab,ac){var X,W,Z,V,aa;if(Y){return y(t,ac)}if(t.nodeType==3){X=t.nodeValue;if(ab){V=N[U];W=X.substring(V);Z=X.substring(0,V)}else{V=N[z];W=X.substring(0,V);Z=X.substring(V)}if(ac!=E){t.nodeValue=Z}if(ac==j){return}aa=t.cloneNode(R);aa.nodeValue=W;return aa}if(ac==j){return}return t.cloneNode(R)}function y(V,t){if(t!=j){return t==E?V.cloneNode(D):V}V.parentNode.removeChild(V)}}a.Range=b})(tinymce.dom);(function(){function a(d){var b=this,h=d.dom,c=true,f=false;function e(i,j){var k,t=0,q,n,m,l,o,r,p=-1,s;k=i.duplicate();k.collapse(j);s=k.parentElement();if(s.ownerDocument!==d.dom.doc){return}while(s.contentEditable==="false"){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t<=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?"StartToStart":"EndToEnd",i);if(p>0){q=r-1}else{if(p<0){t=r+1}else{return{node:l}}}}if(p<0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.collapse(false)}k.setEndPoint(j?"EndToStart":"EndToEnd",i);if(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)>0){k=i.duplicate();k.collapse(j);o=-1;while(s==k.parentElement()){if(k.move("character",-1)==0){break}o++}}o=o||k.text.replace("\r\n"," ").length}else{k.collapse(true);k.setEndPoint(j?"StartToStart":"StartToEnd",i);o=k.text.replace("\r\n"," ").length}return{node:l,position:p,offset:o,inside:n}}function g(){var i=d.getRng(),r=h.createRng(),l,k,p,q,m,j;l=i.item?i.item(0):i.parentElement();if(l.ownerDocument!=h.doc){return r}k=d.isCollapsed();if(i.item){r.setStart(l.parentNode,h.nodeIndex(l));r.setEnd(r.startContainer,r.startOffset+1);return r}function o(A){var u=e(i,A),s,y,z=0,x,v,t;s=u.node;y=u.offset;if(u.inside&&!s.hasChildNodes()){r[A?"setStart":"setEnd"](s,0);return}if(y===v){r[A?"setStartBefore":"setEndAfter"](s);return}if(u.position<0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?"setStartAfter":"setEndAfter"](s);return}if(!y){if(x.nodeType==3){r[A?"setStart":"setEnd"](x,0)}else{r[A?"setStartBefore":"setEndBefore"](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z>=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?"setStartBefore":"setEndBefore"](s)}if(!y){if(s.nodeType==3){r[A?"setStart":"setEnd"](x,s.nodeValue.length)}else{r[A?"setStartAfter":"setEndAfter"](x)}return}while(x){z+=x.nodeValue.length;if(z>=y){s=x;z-=y;break}x=x.previousSibling}}r[A?"setStart":"setEnd"](s,z)}try{o(true);if(!k){o()}}catch(n){if(n.number==-2147024809){m=b.getBookmark(2);p=i.duplicate();p.collapse(true);l=p.parentElement();if(!k){p=i.duplicate();p.collapse(false);q=p.parentElement();q.innerHTML=q.innerHTML}l.innerHTML=l.innerHTML;b.moveToBookmark(m);i=d.getRng();o(true);if(!k){o()}}else{throw n}}return r}this.getBookmark=function(m){var j=d.getRng(),o,i,l={};function n(u){var u,t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&&t.nodeType!==9){s=t.children;r=s.length;while(r--){if(u===s[r]){q.push(r);break}}u=t;t=t.parentNode}return q}function k(q){var p;p=e(j,q);if(p){return{position:p.position,offset:p.offset,indexes:n(p.node),inside:p.inside}}}if(m===2){if(!j.item){l.start=k(true);if(!d.isCollapsed()){l.end=k()}}else{l.start={ctrl:true,indexes:n(j.item(0))}}}return l};this.moveToBookmark=function(k){var j,i=h.doc.body;function m(o){var r,q,n,p;r=h.getRoot();for(q=o.length-1;q>=0;q--){p=r.children;n=o[q];if(n<=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?"start":"end"],q,p,o;if(n){q=n.position>0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart("character",q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?"StartToStart":"EndToStart",p);if(r){j.collapse(true)}}}if(k.start){if(k.start.ctrl){j=i.createControlRange();j.addElement(m(k.start.indexes));j.select()}else{j=i.createTextRange();l(true);l();j.select()}}};this.addRange=function(i){var n,l,k,p,s,q,r=d.dom.doc,m=r.body;function j(z){var u,y,t,x,v;t=h.create("a");u=z?k:s;y=z?p:q;x=n.duplicate();if(u==r||u==r.documentElement){u=m;y=0}if(u.nodeType==3){u.parentNode.insertBefore(t,u);x.moveToElementText(t);x.moveStart("character",y);h.remove(t);n.setEndPoint(z?"StartToStart":"EndToEnd",x)}else{v=u.childNodes;if(v.length){if(y>=v.length){h.insertAfter(t,v[v.length-1])}else{u.insertBefore(t,v[y])}x.moveToElementText(t)}else{t=r.createTextNode("\uFEFF");u.appendChild(t);x.moveToElementText(t.parentNode);x.collapse(c)}n.setEndPoint(z?"StartToStart":"EndToEnd",x);h.remove(t)}}k=i.startContainer;p=i.startOffset;s=i.endContainer;q=i.endOffset;n=m.createTextRange();if(k==s&&k.nodeType==1&&p==q-1){if(p==q-1){try{l=m.createControlRange();l.addElement(k.childNodes[p]);l.select();return}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(d){var f=d.each,c=d.DOM,b=d.isIE,e=d.isWebKit,a;d.create("tinymce.dom.EventUtils",{EventUtils:function(){this.inits=[];this.events=[]},add:function(m,p,l,j){var g,h=this,i=h.events,k;if(p instanceof Array){k=[];f(p,function(o){k.push(h.add(m,o,l,j))});return k}if(m&&m.hasOwnProperty&&m instanceof Array){k=[];f(m,function(n){n=c.get(n);k.push(h.add(n,p,l,j))});return k}m=c.get(m);if(!m){return}g=function(n){if(h.disabled){return}n=n||window.event;if(n&&b){if(!n.target){n.target=n.srcElement}d.extend(n,h._stoppers)}if(!j){return l(n)}return l.call(j,n)};if(p=="unload"){d.unloads.unshift({func:g});return g}if(p=="init"){if(h.domLoaded){g()}else{h.inits.push(g)}return g}i.push({obj:m,name:p,func:l,cfunc:g,scope:j});h._add(m,p,g);return l},remove:function(l,m,k){var h=this,g=h.events,i=false,j;if(l&&l.hasOwnProperty&&l instanceof Array){j=[];f(l,function(n){n=c.get(n);j.push(h.remove(n,m,k))});return j}l=c.get(l);f(g,function(o,n){if(o.obj==l&&o.name==m&&(!k||(o.func==k||o.cfunc==k))){g.splice(n,1);h._remove(l,m,o.cfunc);i=true;return false}});return i},clear:function(l){var j=this,g=j.events,h,k;if(l){l=c.get(l);for(h=g.length-1;h>=0;h--){k=g[h];if(k.obj===l){j._remove(k.obj,k.name,k.cfunc);k.obj=k.cfunc=null;g.splice(h,1)}}}},cancel:function(g){if(!g){return false}this.stop(g);return this.prevent(g)},stop:function(g){if(g.stopPropagation){g.stopPropagation()}else{g.cancelBubble=true}return false},prevent:function(g){if(g.preventDefault){g.preventDefault()}else{g.returnValue=false}return false},destroy:function(){var g=this;f(g.events,function(j,h){g._remove(j.obj,j.name,j.cfunc);j.obj=j.cfunc=null});g.events=[];g=null},_add:function(h,i,g){if(h.attachEvent){h.attachEvent("on"+i,g)}else{if(h.addEventListener){h.addEventListener(i,g,false)}else{h["on"+i]=g}}},_remove:function(i,j,h){if(i){try{if(i.detachEvent){i.detachEvent("on"+j,h)}else{if(i.removeEventListener){i.removeEventListener(j,h,false)}else{i["on"+j]=null}}}catch(g){}}},_pageInit:function(h){var g=this;if(g.domLoaded){return}g.domLoaded=true;f(g.inits,function(i){i()});g.inits=[]},_wait:function(i){var g=this,h=i.document;if(i.tinyMCE_GZ&&tinyMCE_GZ.loaded){g.domLoaded=1;return}if(h.attachEvent){h.attachEvent("onreadystatechange",function(){if(h.readyState==="complete"){h.detachEvent("onreadystatechange",arguments.callee);g._pageInit(i)}});if(h.documentElement.doScroll&&i==i.top){(function(){if(g.domLoaded){return}try{h.documentElement.doScroll("left")}catch(j){setTimeout(arguments.callee,0);return}g._pageInit(i)})()}}else{if(h.addEventListener){g._add(i,"DOMContentLoaded",function(){g._pageInit(i)})}}g._add(i,"load",function(){g._pageInit(i)})},_stoppers:{preventDefault:function(){this.returnValue=false},stopPropagation:function(){this.cancelBubble=true}}});a=d.dom.Event=new d.dom.EventUtils();a._wait(window);d.addUnload(function(){a.destroy()})})(tinymce);(function(a){a.dom.Element=function(f,d){var b=this,e,c;b.settings=d=d||{};b.id=f;b.dom=e=d.dom||a.DOM;if(!a.isIE){c=e.get(b.id)}a.each(("getPos,getRect,getParent,add,setStyle,getStyle,setStyles,setAttrib,setAttribs,getAttrib,addClass,removeClass,hasClass,getOuterHTML,setOuterHTML,remove,show,hide,isHidden,setHTML,get").split(/,/),function(g){b[g]=function(){var h=[f],j;for(j=0;j"+(h.item?h.item(0).outerHTML:h.htmlText);l.removeChild(l.firstChild)}else{l.innerHTML=h.toString()}}if(/^\s/.test(l.innerHTML)){i=" "}if(/\s+$/.test(l.innerHTML)){k=" "}g.getInner=true;g.content=f.isCollapsed()?"":i+f.serializer.serialize(l,g)+k;f.onGetContent.dispatch(f,g);return g.content},setContent:function(g,i){var n=this,f=n.getRng(),j,k=n.win.document,m,l;i=i||{format:"html"};i.set=true;g=i.content=g;if(!i.no_events){n.onBeforeSetContent.dispatch(n,i)}g=i.content;if(f.insertNode){g+='_';if(f.startContainer==k&&f.endContainer==k){k.body.innerHTML=g}else{f.deleteContents();if(k.body.childNodes.length==0){k.body.innerHTML=g}else{if(f.createContextualFragment){f.insertNode(f.createContextualFragment(g))}else{m=k.createDocumentFragment();l=k.createElement("div");m.appendChild(l);l.outerHTML=g;f.insertNode(m)}}}j=n.dom.get("__caret");f=k.createRange();f.setStartBefore(j);f.setEndBefore(j);n.setRng(f);n.dom.remove("__caret");try{n.setRng(f)}catch(h){}}else{if(f.item){k.execCommand("Delete",false,null);f=n.getRng()}if(/^\s+/.test(g)){f.pasteHTML('_'+g);n.dom.remove("__mce_tmp")}else{f.pasteHTML(g)}}if(!i.no_events){n.onSetContent.dispatch(n,i)}},getStart:function(){var g=this.getRng(),h,f,j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}j=g.duplicate();j.collapse(1);h=j.parentElement();f=i=g.parentElement();while(i=i.parentNode){if(i==h){h=f;break}}return h}else{h=g.startContainer;if(h.nodeType==1&&h.hasChildNodes()){h=h.childNodes[Math.min(h.childNodes.length-1,g.startOffset)]}if(h&&h.nodeType==3){return h.parentNode}return h}},getEnd:function(){var g=this,h=g.getRng(),i,f;if(h.duplicate||h.item){if(h.item){return h.item(0)}h=h.duplicate();h.collapse(0);i=h.parentElement();if(i&&i.nodeName=="BODY"){return i.lastChild||i}return i}else{i=h.endContainer;f=h.endOffset;if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[f>0?f-1:f]}if(i&&i.nodeType==3){return i.parentNode}return i}},getBookmark:function(r,s){var v=this,m=v.dom,g,j,i,n,h,o,p,l="\uFEFF",u;function f(x,y){var t=0;d(m.select(x),function(A,z){if(A==y){t=z}});return t}if(r==2){function k(){var x=v.getRng(true),t=m.getRoot(),y={};function z(C,H){var B=C[H?"startContainer":"endContainer"],G=C[H?"startOffset":"endOffset"],A=[],D,F,E=0;if(B.nodeType==3){if(s){for(D=B.previousSibling;D&&D.nodeType==3;D=D.previousSibling){G+=D.nodeValue.length}}A.push(G)}else{F=B.childNodes;if(G>=F.length&&F.length){E=1;G=Math.max(0,F.length-1)}A.push(v.dom.nodeIndex(F[G],s)+E)}for(;B&&B!=t;B=B.parentNode){A.push(v.dom.nodeIndex(B,s))}return A}y.start=z(x,true);if(!v.isCollapsed()){y.end=z(x)}return y}if(v.tridentSel){return v.tridentSel.getBookmark(r)}return k()}if(r){return{rng:v.getRng()}}g=v.getRng();i=m.uniqueId();n=tinyMCE.activeEditor.selection.isCollapsed();u="overflow:hidden;line-height:0px";if(g.duplicate||g.item){if(!g.item){j=g.duplicate();try{g.collapse();g.pasteHTML(''+l+"");if(!n){j.collapse(false);g.moveToElementText(j.parentElement());if(g.compareEndPoints("StartToEnd",j)==0){j.move("character",-1)}j.pasteHTML(''+l+"")}}catch(q){return null}}else{o=g.item(0);h=o.nodeName;return{name:h,index:f(h,o)}}}else{o=v.getNode();h=o.nodeName;if(h=="IMG"){return{name:h,index:f(h,o)}}j=g.cloneRange();if(!n){j.collapse(false);j.insertNode(m.create("span",{"data-mce-type":"bookmark",id:i+"_end",style:u},l))}g.collapse(true);g.insertNode(m.create("span",{"data-mce-type":"bookmark",id:i+"_start",style:u},l))}v.moveToBookmark({id:i,keep:1});return{id:i}},moveToBookmark:function(n){var r=this,l=r.dom,i,h,f,q,j,s,o,p;if(n){if(n.start){f=l.createRng();q=l.getRoot();function g(z){var t=n[z?"start":"end"],v,x,y,u;if(t){y=t[0];for(x=q,v=t.length-1;v>=1;v--){u=x.childNodes;if(t[v]>u.length-1){return}x=u[t[v]]}if(x.nodeType===3){y=Math.min(t[0],x.nodeValue.length)}if(x.nodeType===1){y=Math.min(t[0],x.childNodes.length)}if(z){f.setStart(x,y)}else{f.setEnd(x,y)}}return true}if(r.tridentSel){return r.tridentSel.moveToBookmark(n)}if(g(true)&&g()){r.setRng(f)}}else{if(n.id){function k(A){var u=l.get(n.id+"_"+A),z,t,x,y,v=n.keep;if(u){z=u.parentNode;if(A=="start"){if(!v){t=l.nodeIndex(u)}else{z=u.firstChild;t=1}j=s=z;o=p=t}else{if(!v){t=l.nodeIndex(u)}else{z=u.firstChild;t=1}s=z;p=t}if(!v){y=u.previousSibling;x=u.nextSibling;d(c.grep(u.childNodes),function(B){if(B.nodeType==3){B.nodeValue=B.nodeValue.replace(/\uFEFF/g,"")}});while(u=l.get(n.id+"_"+A)){l.remove(u,1)}if(y&&x&&y.nodeType==x.nodeType&&y.nodeType==3&&!c.isOpera){t=y.nodeValue.length;y.appendData(x.nodeValue);l.remove(x);if(A=="start"){j=s=y;o=p=t}else{s=y;p=t}}}}}function m(t){if(l.isBlock(t)&&!t.innerHTML){t.innerHTML=!a?'
    ':" "}return t}k("start");k("end");if(j){f=l.createRng();f.setStart(m(j),o);f.setEnd(m(s),p);r.setRng(f)}}else{if(n.name){r.select(l.select(n.name)[n.index])}else{if(n.rng){r.setRng(n.rng)}}}}}},select:function(k,j){var i=this,l=i.dom,g=l.createRng(),f;if(k){f=l.nodeIndex(k);g.setStart(k.parentNode,f);g.setEnd(k.parentNode,f+1);if(j){function h(m,o){var n=new c.dom.TreeWalker(m,m);do{if(m.nodeType==3&&c.trim(m.nodeValue).length!=0){if(o){g.setStart(m,0)}else{g.setEnd(m,m.nodeValue.length)}return}if(m.nodeName=="BR"){if(o){g.setStartBefore(m)}else{g.setEndBefore(m)}return}}while(m=(o?n.next():n.prev()))}h(k,1);h(k)}i.setRng(g)}return k},isCollapsed:function(){var f=this,h=f.getRng(),g=f.getSel();if(!h||h.item){return false}if(h.compareEndPoints){return h.compareEndPoints("StartToEnd",h)===0}return !g||h.collapsed},collapse:function(f){var h=this,g=h.getRng(),i;if(g.item){i=g.item(0);g=h.win.document.body.createTextRange();g.moveToElementText(i)}g.collapse(!!f);h.setRng(g)},getSel:function(){var g=this,f=this.win;return f.getSelection?f.getSelection():f.document.selection},getRng:function(l){var g=this,h,i,k,j=g.win.document;if(l&&g.tridentSel){return g.tridentSel.getRangeAt(0)}try{if(h=g.getSel()){i=h.rangeCount>0?h.getRangeAt(0):(h.createRange?h.createRange():j.createRange())}}catch(f){}if(c.isIE&&i&&i.setStart&&j.selection.createRange().item){k=j.selection.createRange().item(0);i=j.createRange();i.setStartBefore(k);i.setEndAfter(k)}if(!i){i=j.createRange?j.createRange():j.body.createTextRange()}if(g.selectedRange&&g.explicitRange){if(i.compareBoundaryPoints(i.START_TO_START,g.selectedRange)===0&&i.compareBoundaryPoints(i.END_TO_END,g.selectedRange)===0){i=g.explicitRange}else{g.selectedRange=null;g.explicitRange=null}}return i},setRng:function(i){var h,g=this;if(!g.tridentSel){h=g.getSel();if(h){g.explicitRange=i;try{h.removeAllRanges()}catch(f){}h.addRange(i);g.selectedRange=h.getRangeAt(0)}}else{if(i.cloneRange){g.tridentSel.addRange(i);return}try{i.select()}catch(f){}}},setNode:function(g){var f=this;f.setContent(f.dom.getOuterHTML(g));return g},getNode:function(){var h=this,g=h.getRng(),i=h.getSel(),l,k=g.startContainer,f=g.endContainer;if(!g){return h.dom.getRoot()}if(g.setStart){l=g.commonAncestorContainer;if(!g.collapsed){if(g.startContainer==g.endContainer){if(g.endOffset-g.startOffset<2){if(g.startContainer.hasChildNodes()){l=g.startContainer.childNodes[g.startOffset]}}}if(k.nodeType===3&&f.nodeType===3){function j(p,m){var o=p;while(p&&p.nodeType===3&&p.length===0){p=m?p.nextSibling:p.previousSibling}return p||o}if(k.length===g.startOffset){k=j(k.nextSibling,true)}else{k=k.parentNode}if(g.endOffset===0){f=j(f.previousSibling,false)}else{f=f.parentNode}if(k&&k===f){return k}}}if(l&&l.nodeType==3){return l.parentNode}return l}return g.item?g.item(0):g.parentElement()},getSelectedBlocks:function(o,g){var m=this,j=m.dom,l,k,h,i=[];l=j.getParent(o||m.getStart(),j.isBlock);k=j.getParent(g||m.getEnd(),j.isBlock);if(l){i.push(l)}if(l&&k&&l!=k){h=l;var f=new c.dom.TreeWalker(l,j.getRoot());while((h=f.next())&&h!=k){if(j.isBlock(h)){i.push(h)}}}if(k&&l!=k){i.push(k)}return i},normalize:function(){var g=this,f,i;if(c.isIE){return}function h(p){var k,o,n,m=g.dom,j=m.getRoot(),l;k=f[(p?"start":"end")+"Container"];o=f[(p?"start":"end")+"Offset"];if(k.nodeType===9){k=k.body;o=0}if(k===j){if(k.hasChildNodes()){k=k.childNodes[Math.min(!p&&o>0?o-1:o,k.childNodes.length-1)];o=0;if(k.hasChildNodes()){l=k;n=new c.dom.TreeWalker(k,j);do{if(l.nodeType===3){o=p?0:l.nodeValue.length-1;k=l;break}if(l.nodeName==="BR"){o=m.nodeIndex(l);k=l.parentNode;break}}while(l=(p?n.next():n.prev()));i=true}}}if(i){f["set"+(p?"Start":"End")](k,o)}}f=g.getRng();h(true);if(f.collapsed){h()}if(i){g.setRng(f)}},destroy:function(g){var f=this;f.win=null;if(!g){c.removeUnload(f.destroy)}},_fixIESelection:function(){var g=this.dom,m=g.doc,h=m.body,j,n,f;m.documentElement.unselectable=true;function i(o,r){var p=h.createTextRange();try{p.moveToPoint(o,r)}catch(q){p=null}return p}function l(p){var o;if(p.button){o=i(p.x,p.y);if(o){if(o.compareEndPoints("StartToStart",n)>0){o.setEndPoint("StartToStart",n)}else{o.setEndPoint("EndToEnd",n)}o.select()}}else{k()}}function k(){var o=m.selection.createRange();if(n&&!o.item&&o.compareEndPoints("StartToEnd",o)===0){n.select()}g.unbind(m,"mouseup",k);g.unbind(m,"mousemove",l);n=j=0}g.bind(m,["mousedown","contextmenu"],function(o){if(o.target.nodeName==="HTML"){if(j){k()}f=m.documentElement;if(f.scrollHeight>f.clientHeight){return}j=1;n=i(o.x,o.y);if(n){g.bind(m,"mouseup",k);g.bind(m,"mousemove",l);g.win.focus();n.select()}}})}})})(tinymce);(function(a){a.dom.Serializer=function(e,i,f){var h,b,d=a.isIE,g=a.each,c;if(!e.apply_source_formatting){e.indent=false}e.remove_trailing_brs=true;i=i||a.DOM;f=f||new a.html.Schema(e);e.entity_encoding=e.entity_encoding||"named";h=new a.util.Dispatcher(self);b=new a.util.Dispatcher(self);c=new a.html.DomParser(e,f);c.addAttributeFilter("src,href,style",function(k,j){var o=k.length,l,q,n="data-mce-"+j,p=e.url_converter,r=e.url_converter_scope,m;while(o--){l=k[o];q=l.attributes.map[n];if(q!==m){l.attr(j,q.length>0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j==="style"){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length>0?q:null)}}});c.addAttributeFilter("class",function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr("class").replace(/\s*mce(Item\w+|Selected)\s*/g,"");m.attr("class",n.length>0?n:null)}});c.addAttributeFilter("data-mce-type",function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map["data-mce-type"]==="bookmark"&&!k.cleanup){n.remove()}}});c.addNodeFilter("script,style",function(k,l){var m=k.length,n,o;function j(p){return p.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(\/\/\s*|\]\]>|-->|\]\]-->)\s*$/g,"")}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:"";if(l==="script"){n.attr("type",(n.attr("type")||"text/javascript").replace(/^mce\-/,""));if(o.length>0){n.firstChild.value="// "}}else{if(o.length>0){n.firstChild.value=""}}}});c.addNodeFilter("#comment",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf("[CDATA[")===0){m.name="#cdata";m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(m.value.indexOf("mce:protected ")===0){m.name="#text";m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter("xml:namespace,input",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.type===7){m.remove()}else{if(m.type===1){if(k==="input"&&!("type" in m.attributes.map)){m.attr("type","text")}}}}});if(e.fix_list_elements){c.addNodeFilter("ul,ol",function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name==="ul"||j.name==="ol"){if(n.prev&&n.prev.name==="li"){n.prev.append(n)}}}})}c.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",function(j,k){var l=j.length;while(l--){j[l].attr(k,null)}});return{schema:f,addNodeFilter:c.addNodeFilter,addAttributeFilter:c.addAttributeFilter,onPreProcess:h,onPostProcess:b,serialize:function(o,m){var l,p,k,j,n;if(d&&i.select("script,style,select,map").length>0){n=o.innerHTML;o=o.cloneNode(false);i.setHTML(o,n)}else{o=o.cloneNode(true)}l=o.ownerDocument.implementation;if(l.createHTMLDocument){p=l.createHTMLDocument("");g(o.nodeName=="BODY"?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!="BODY"){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||"html";if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(m.getInner?o.innerHTML:a.trim(i.getOuterHTML(o),m),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF|\u200B/g,"")}if(!m.no_events){b.dispatch(self,m)}if(k){i.doc=k}m.node=null;return m.content},addRules:function(j){f.addValidElements(j)},setRules:function(j){f.setValidElements(j)}}}})(tinymce);(function(a){a.dom.ScriptLoader=function(h){var c=0,k=1,i=2,l={},j=[],f={},d=[],g=0,e;function b(m,v){var x=this,q=a.DOM,s,o,r,n;function p(){q.remove(n);if(s){s.onreadystatechange=s.onload=s=null}v()}function u(){if(typeof(console)!=="undefined"&&console.log){console.log("Failed to load: "+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&&o.port==r.port&&(o.protocol+":")==r.protocol&&o.protocol.toLowerCase()!="file"){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create("script",{type:"text/javascript"});t.text=y;document.getElementsByTagName("head")[0].appendChild(t);q.remove(t);p()},error:u});return}}s=q.create("script",{id:n,type:"text/javascript",src:a._addVer(m)});if(!a.isIE){s.onload=p}s.onerror=u;if(!a.isOpera){s.onreadystatechange=function(){var t=s.readyState;if(t=="complete"||t=="loaded"){p()}}}(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}this.isDone=function(m){return l[m]==i};this.markDone=function(m){l[m]=i};this.add=this.load=function(m,q,n){var o,p=l[m];if(p==e){j.push(m);l[m]=c}if(q){if(!f[m]){f[m]=[]}f[m].push({func:q,scope:n||this})}};this.loadQueue=function(n,m){this.loadScripts(j,n,m)};this.loadScripts=function(m,q,p){var o;function n(r){a.each(f[r],function(s){s.func.call(s.scope)});f[r]=e}d.push({func:q,scope:p||this});o=function(){var r=a.grep(m);m.length=0;a.each(r,function(s){if(l[s]==i){n(s);return}if(l[s]!=k){l[s]=k;g++;b(s,function(){l[s]=i;g--;n(s);o()})}});if(!g){a.each(d,function(s){s.func.call(s.scope)});d.length=0}};o()}};a.ScriptLoader=new a.dom.ScriptLoader()})(tinymce);tinymce.dom.TreeWalker=function(a,c){var b=a;function d(i,f,e,j){var h,g;if(i){if(!j&&i[f]){return i[f]}if(i!=c){h=i[e];if(h){return h}for(g=i.parentNode;g&&g!=c;g=g.parentNode){h=g[e];if(h){return h}}}}}this.current=function(){return b};this.next=function(e){return(b=d(b,"firstChild","nextSibling",e))};this.prev=function(e){return(b=d(b,"lastChild","previousSibling",e))}};(function(a){a.dom.RangeUtils=function(c){var b="\uFEFF";this.walk=function(d,s){var i=d.startContainer,l=d.startOffset,t=d.endContainer,m=d.endOffset,j,g,o,h,r,q,e;e=c.select("td.mceSelected,th.mceSelected");if(e.length>0){a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&&v===i&&l>=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&&u.length>0&&v===t&&v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&&x!=u;x=x[v]){y.push(x)}return y}function n(v,u){do{if(v.parentNode==u){return v}v=v.parentNode}while(v)}function k(x,v,y){var u=y?"nextSibling":"previousSibling";for(h=x,r=h.parentNode;h&&h!=v;h=r){r=h.parentNode;q=p(h==x?h:h[u],u);if(q.length){if(!y){q.reverse()}s(f(q))}}}if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&&t.hasChildNodes()){t=t.childNodes[Math.min(m-1,t.childNodes.length-1)]}if(i==t){return s(f([i]))}j=c.findCommonAncestor(i,t);for(h=i;h;h=h.parentNode){if(h===t){return k(i,j,true)}if(h===j){break}}for(h=t;h;h=h.parentNode){if(h===i){return k(t,j)}if(h===j){break}}g=n(i,j)||i;o=n(t,j)||t;k(i,g,true);q=p(g==i?g:g.nextSibling,"nextSibling",o==t?o.nextSibling:o);if(q.length){s(f(q))}k(t,o)};this.split=function(e){var h=e.startContainer,d=e.startOffset,i=e.endContainer,g=e.endOffset;function f(j,k){return j.splitText(k)}if(h==i&&h.nodeType==3){if(d>0&&dd){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&&d>0&&d0&&g=l.length){q=0}}s=l[q];f.setAttrib(g,"tabindex","-1");f.setAttrib(s.id,"tabindex","0");f.get(s.id).focus();if(e.actOnFocus){e.onAction(s.id)}if(r){a.cancel(r)}};o=function(y){var u=37,t=39,x=38,z=40,q=27,s=14,r=13,v=32;switch(y.keyCode){case u:if(i){p.moveFocus(-1)}break;case t:if(i){p.moveFocus(1)}break;case x:if(n){p.moveFocus(-1)}break;case z:if(n){p.moveFocus(1)}break;case q:if(e.onCancel){e.onCancel();a.cancel(y)}break;case s:case r:case v:if(e.onAction){e.onAction(g);a.cancel(y)}break}};c(l,function(s,q){var r;if(!s.id){s.id=f.uniqueId("_mce_item_")}if(k){f.bind(s.id,"blur",h);r="-1"}else{r=(q===0?"0":"-1")}f.setAttrib(s.id,"tabindex",r);f.bind(f.get(s.id),"focus",j)});if(l[0]){g=l[0].id}f.setAttrib(m,"tabindex","-1");f.bind(f.get(m),"focus",d);f.bind(f.get(m),"keydown",o)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c.create("tinymce.ui.Control",{Control:function(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix="";this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+"_aria")||b.get(this.id);if(d){b.setAttrib(d,"aria-"+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty("disabled",d);this.setState("Disabled",d);this.setState("Enabled",!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState("Active",d);this.active=d;this.setAriaProperty("pressed",d)}},isActive:function(){return this.active},setState:function(f,d){var e=b.get(this.id);f=this.classPrefix+f;if(d){b.addClass(e,f)}else{b.removeClass(e,f)}},isRendered:function(){return this.rendered},renderHTML:function(){},renderTo:function(d){b.setHTML(d,this.renderHTML())},postRender:function(){var e=this,d;if(a(e.disabled)){d=e.disabled;e.disabled=-1;e.setDisabled(d)}if(a(e.active)){d=e.active;e.active=-1;e.setActive(d)}},remove:function(){b.remove(this.id);this.destroy()},destroy:function(){c.dom.Event.clear(this.id)}})})(tinymce);tinymce.create("tinymce.ui.Container:tinymce.ui.Control",{Container:function(c,b,a){this.parent(c,b,a);this.controls=[];this.lookup={}},add:function(a){this.lookup[a.id]=a;this.controls.push(a);return a},get:function(a){return this.lookup[a]}});tinymce.create("tinymce.ui.Separator:tinymce.ui.Control",{Separator:function(b,a){this.parent(b,a);this.classPrefix="mceSeparator";this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML("span",{"class":this.classPrefix,role:"separator","aria-orientation":"vertical",tabindex:"-1"})}});(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.MenuItem:tinymce.ui.Control",{MenuItem:function(g,f){this.parent(g,f);this.classPrefix="mceMenuItem"},setSelected:function(f){this.setState("Selected",f);this.setAriaProperty("checked",!!f);this.selected=f},isSelected:function(){return this.selected},postRender:function(){var f=this;f.parent();if(c(f.selected)){f.setSelected(f.selected)}}})})(tinymce);(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.Menu:tinymce.ui.MenuItem",{Menu:function(h,g){var f=this;f.parent(h,g);f.items={};f.collapsed=false;f.menuCount=0;f.onAddItem=new d.util.Dispatcher(this)},expand:function(g){var f=this;if(g){a(f,function(h){if(h.expand){h.expand()}},"items",f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},"items",f)}f.collapsed=true},isCollapsed:function(){return this.collapsed},add:function(f){if(!f.settings){f=new d.ui.MenuItem(f.id||b.uniqueId(),f)}this.onAddItem.dispatch(this,f);return this.items[f.id]=f},addSeparator:function(){return this.add({separator:true})},addMenu:function(f){if(!f.collapse){f=this.createMenu(f)}this.menuCount++;return this.add(f)},hasMenus:function(){return this.menuCount!==0},remove:function(f){delete this.items[f.id]},removeAll:function(){var f=this;a(f,function(g){if(g.removeAll){g.removeAll()}else{g.remove()}g.destroy()},"items",f);f.items={}},createMenu:function(g){var f=new d.ui.Menu(g.id||b.uniqueId(),g);f.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return f}})})(tinymce);(function(e){var d=e.is,c=e.DOM,f=e.each,a=e.dom.Event,b=e.dom.Element;e.create("tinymce.ui.DropMenu:tinymce.ui.Menu",{DropMenu:function(h,g){g=g||{};g.container=g.container||c.doc.body;g.offset_x=g.offset_x||0;g.offset_y=g.offset_y||0;g.vp_offset_x=g.vp_offset_x||0;g.vp_offset_y=g.vp_offset_y||0;if(d(g.icons)&&!g.icons){g["class"]+=" mceNoIcons"}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix="mceMenu"},createMenu:function(j){var h=this,i=h.settings,g;j.container=j.container||i.container;j.parent=h;j.constrain=j.constrain||i.constrain;j["class"]=j["class"]||i["class"];j.vp_offset_x=j.vp_offset_x||i.vp_offset_x;j.vp_offset_y=j.vp_offset_y||i.vp_offset_y;j.keyboard_focus=i.keyboard_focus;g=new e.ui.DropMenu(j.id||c.uniqueId(),j);g.onAddItem.add(h.onAddItem.dispatch,h.onAddItem);return g},focus:function(){var g=this;if(g.keyboardNav){g.keyboardNav.focus()}},update:function(){var i=this,j=i.settings,g=c.get("menu_"+i.id+"_tbl"),l=c.get("menu_"+i.id+"_co"),h,k;h=j.max_width?Math.min(g.clientWidth,j.max_width):g.clientWidth;k=j.max_height?Math.min(g.clientHeight,j.max_height):g.clientHeight;if(!c.boxModel){i.element.setStyles({width:h+2,height:k+2})}else{i.element.setStyles({width:h,height:k})}if(j.max_width){c.setStyle(l,"width",h)}if(j.max_height){c.setStyle(l,"height",k);if(g.clientHeightv){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)>q){n=Math.max(0,(q-A.vp_offset_y)-l)}}c.setStyles(o,{left:p,top:n});z.element.update();z.isMenuVisible=1;z.mouseClickFunc=a.add(o,"click",function(s){var h;s=s.target;if(s&&(s=c.getParent(s,"tr"))&&!c.hasClass(s,m+"ItemSub")){h=z.items[s.id];if(h.isDisabled()){return}k=z;while(k){if(k.hideMenu){k.hideMenu()}k=k.settings.parent}if(h.settings.onclick){h.settings.onclick(s)}return a.cancel(s)}});if(z.hasMenus()){z.mouseOverFunc=a.add(o,"mouseover",function(x){var h,t,s;x=x.target;if(x&&(x=c.getParent(x,"tr"))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&&c.hasClass(x,m+"ItemSub")){t=c.getRect(x);h.showMenu((t.x+t.w-i),t.y-i,t.x);z.lastMenu=h;c.addClass(c.get(h.id).firstChild,m+"ItemActive")}}})}a.add(o,"keydown",z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get("menu_"+g.id),h;if(!g.isMenuVisible){return}if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(i,"mouseover",g.mouseOverFunc);a.remove(i,"click",g.mouseClickFunc);a.remove(i,"keydown",g._keyHandler);c.hide(i);g.isMenuVisible=0;if(!j){g.collapse(1)}if(g.element){g.element.hide()}if(h=c.get(g.id)){c.removeClass(h.firstChild,g.classPrefix+"ItemActive")}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&&(h=c.get("menu_"+g.id))){g._add(c.select("tbody",h)[0],i)}return i},collapse:function(g){this.parent(g);this.hideMenu(1)},remove:function(g){c.remove(g.id);this.destroy();return this.parent(g)},destroy:function(){var g=this,h=c.get("menu_"+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,"mouseover",g.mouseOverFunc);a.remove(c.select("a",h),"focus",g.mouseOverFunc);a.remove(h,"click",g.mouseClickFunc);a.remove(h,"keydown",g._keyHandler);if(g.element){g.element.remove()}c.remove(h)},renderNode:function(){var i=this,j=i.settings,l,h,k,g;g=c.create("div",{role:"listbox",id:"menu_"+i.id,"class":j["class"],style:"position:absolute;left:0;top:0;z-index:200000;outline:0"});if(i.settings.parent){c.setAttrib(g,"aria-parent","menu_"+i.settings.parent.id)}k=c.add(g,"div",{role:"presentation",id:"menu_"+i.id+"_co","class":i.classPrefix+(j["class"]?" "+j["class"]:"")});i.element=new b("menu_"+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,"span",{"class":i.classPrefix+"Line"})}l=c.add(k,"table",{role:"presentation",id:"menu_"+i.id+"_tbl",border:0,cellPadding:0,cellSpacing:0});h=c.add(l,"tbody");f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:function(){var i,h,g=this;i=c.select("#menu_"+g.id)[0];h=c.select("a[role=option]","menu_"+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:"menu_"+g.id,items:h,onCancel:function(){g.hideMenu()},enableUpDown:true});i.focus()},_keyHandler:function(g){var h=this,i;switch(g.keyCode){case 37:if(h.settings.parent){h.hideMenu();h.settings.parent.focus();a.cancel(g)}break;case 39:if(h.mouseOverFunc){h.mouseOverFunc(g)}break}},_add:function(j,h){var i,q=h.settings,p,l,k,m=this.classPrefix,g;if(q.separator){l=c.add(j,"tr",{id:h.id,"class":m+"ItemSeparator"});c.add(l,"td",{"class":m+"ItemSeparator"});if(i=l.previousSibling){c.addClass(i,"mceLast")}return}i=l=c.add(j,"tr",{id:h.id,"class":m+"Item "+m+"ItemEnabled"});i=k=c.add(i,q.titleItem?"th":"td");i=p=c.add(i,"a",{id:h.id+"_aria",role:q.titleItem?"presentation":"option",href:"javascript:;",onclick:"return false;",onmousedown:"return false;"});if(q.parent){c.setAttrib(p,"aria-haspopup","true");c.setAttrib(p,"aria-owns","menu_"+h.id)}c.addClass(k,q["class"]);g=c.add(i,"span",{"class":"mceIcon"+(q.icon?" mce_"+q.icon:"")});if(q.icon_src){c.add(g,"img",{src:q.icon_src})}i=c.add(i,q.element||"span",{"class":"mceText",title:h.settings.title},h.settings.title);if(h.settings.style){c.setAttrib(i,"style",h.settings.style)}if(j.childNodes.length==1){c.addClass(l,"mceFirst")}if((i=l.previousSibling)&&c.hasClass(i,m+"ItemSeparator")){c.addClass(l,"mceFirst")}if(h.collapse){c.addClass(l,m+"ItemSub")}if(i=l.previousSibling){c.removeClass(i,"mceLast")}c.addClass(l,"mceLast")}})})(tinymce);(function(b){var a=b.DOM;b.create("tinymce.ui.Button:tinymce.ui.Control",{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix="mceButton"},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||"");d='';if(e.image&&!(this.editor&&this.editor.forcedHighContrastMode)){d+=''+a.encode(e.title)+''+c}else{d+=''+(c?''+c+"":"")}d+='";d+="";return d},postRender:function(){var c=this,d=c.settings;b.dom.Event.add(c.id,"click",function(f){if(!c.isDisabled()){return d.onclick.call(d.scope,f)}})}})})(tinymce);(function(d){var c=d.DOM,b=d.dom.Event,e=d.each,a=d.util.Dispatcher;d.create("tinymce.ui.ListBox:tinymce.ui.Control",{ListBox:function(i,h,f){var g=this;g.parent(i,h,f);g.items=[];g.onChange=new a(g);g.onPostRender=new a(g);g.onAdd=new a(g);g.onRenderMenu=new d.util.Dispatcher(this);g.classPrefix="mceListBox"},select:function(h){var g=this,j,i;if(h==undefined){return g.selectByIndex(-1)}if(h&&h.call){i=h}else{i=function(f){return f==h}}if(h!=g.selectedValue){e(g.items,function(k,f){if(i(k.value)){j=1;g.selectByIndex(f);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(f){var h=this,i,j,g;if(f!=h.selectedIndex){i=c.get(h.id+"_text");g=c.get(h.id+"_voiceDesc");j=h.items[f];if(j){h.selectedValue=j.value;h.selectedIndex=f;c.setHTML(i,c.encode(j.title));c.setHTML(g,h.settings.title+" - "+j.title);c.removeClass(i,"mceTitle");c.setAttrib(h.id,"aria-valuenow",j.title)}else{c.setHTML(i,c.encode(h.settings.title));c.setHTML(g,c.encode(h.settings.title));c.addClass(i,"mceTitle");h.selectedValue=h.selectedIndex=null;c.setAttrib(h.id,"aria-valuenow",h.settings.title)}i=0}},add:function(i,f,h){var g=this;h=h||{};h=d.extend(h,{title:i,value:f});g.items.push(h);g.onAdd.dispatch(g,h)},getLength:function(){return this.items.length},renderHTML:function(){var i="",f=this,g=f.settings,j=f.classPrefix;i='';i+="";i+="";i+="";return i},showMenu:function(){var g=this,i,h=c.get(this.id),f;if(g.isDisabled()||g.items.length==0){return}if(g.menu&&g.menu.isMenuVisible){return g.hideMenu()}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}i=c.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.keyboard_focus=!d.isOpera;if(g.oldID){f.items[g.oldID].setSelected(0)}e(g.items,function(j){if(j.value===g.selectedValue){f.items[j.id].setSelected(1);g.oldID=j.id}});f.showMenu(0,h.clientHeight);b.add(c.doc,"mousedown",g.hideMenu,g);c.addClass(g.id,g.classPrefix+"Selected")},hideMenu:function(g){var f=this;if(f.menu&&f.menu.isMenuVisible){c.removeClass(f.id,f.classPrefix+"Selected");if(g&&g.type=="mousedown"&&(g.target.id==f.id+"_text"||g.target.id==f.id+"_open")){return}if(!g||!c.getParent(g.target,".mceMenu")){c.removeClass(f.id,f.classPrefix+"Selected");b.remove(c.doc,"mousedown",f.hideMenu,f);f.menu.hideMenu()}}},renderMenu:function(){var g=this,f;f=g.settings.control_manager.createDropMenu(g.id+"_menu",{menu_line:1,"class":g.classPrefix+"Menu mceNoIcons",max_width:150,max_height:150});f.onHideMenu.add(function(){g.hideMenu();g.focus()});f.add({title:g.settings.title,"class":"mceMenuItemTitle",onclick:function(){if(g.settings.onselect("")!==false){g.select("")}}});e(g.items,function(h){if(h.value===undefined){f.add({title:h.title,role:"option","class":"mceMenuItemTitle",onclick:function(){if(g.settings.onselect("")!==false){g.select("")}}})}else{h.id=c.uniqueId();h.role="option";h.onclick=function(){if(g.settings.onselect(h.value)!==false){g.select(h.value)}};f.add(h)}});g.onRenderMenu.dispatch(g,f);g.menu=f},postRender:function(){var f=this,g=f.classPrefix;b.add(f.id,"click",f.showMenu,f);b.add(f.id,"keydown",function(h){if(h.keyCode==32){f.showMenu(h);b.cancel(h)}});b.add(f.id,"focus",function(){if(!f._focused){f.keyDownHandler=b.add(f.id,"keydown",function(h){if(h.keyCode==40){f.showMenu();b.cancel(h)}});f.keyPressHandler=b.add(f.id,"keypress",function(i){var h;if(i.keyCode==13){h=f.selectedValue;f.selectedValue=null;b.cancel(i);f.settings.onselect(h)}})}f._focused=1});b.add(f.id,"blur",function(){b.remove(f.id,"keydown",f.keyDownHandler);b.remove(f.id,"keypress",f.keyPressHandler);f._focused=0});if(d.isIE6||!c.boxModel){b.add(f.id,"mouseover",function(){if(!c.hasClass(f.id,g+"Disabled")){c.addClass(f.id,g+"Hover")}});b.add(f.id,"mouseout",function(){if(!c.hasClass(f.id,g+"Disabled")){c.removeClass(f.id,g+"Hover")}})}f.onPostRender.dispatch(f,c.get(f.id))},destroy:function(){this.parent();b.clear(this.id+"_text");b.clear(this.id+"_open")}})})(tinymce);(function(d){var c=d.DOM,b=d.dom.Event,e=d.each,a=d.util.Dispatcher;d.create("tinymce.ui.NativeListBox:tinymce.ui.ListBox",{NativeListBox:function(g,f){this.parent(g,f);this.classPrefix="mceNativeListBox"},setDisabled:function(f){c.get(this.id).disabled=f;this.setAriaProperty("disabled",f)},isDisabled:function(){return c.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==undefined){return g.selectByIndex(-1)}if(h&&h.call){i=h}else{i=function(f){return f==h}}if(h!=g.selectedValue){e(g.items,function(k,f){if(i(k.value)){j=1;g.selectByIndex(f);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(f){c.get(this.id).selectedIndex=f+1;this.selectedValue=this.items[f]?this.items[f].value:null},add:function(j,g,f){var i,h=this;f=f||{};f.value=g;if(h.isRendered()){c.add(c.get(this.id),"option",f,j)}i={title:j,value:g,attribs:f};h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var g,f=this;g=c.createHTML("option",{value:""},"-- "+f.settings.title+" --");e(f.items,function(h){g+=c.createHTML("option",{value:h.value},h.title)});g=c.createHTML("select",{id:f.id,"class":"mceNativeListBox","aria-labelledby":f.id+"_aria"},g);g+=c.createHTML("span",{id:f.id+"_aria",style:"display: none"},f.settings.title);return g},postRender:function(){var g=this,h,i=true;g.rendered=true;function f(k){var j=g.items[k.target.selectedIndex-1];if(j&&(j=j.value)){g.onChange.dispatch(g,j);if(g.settings.onselect){g.settings.onselect(j)}}}b.add(g.id,"change",f);b.add(g.id,"keydown",function(k){var j;b.remove(g.id,"change",h);i=false;j=b.add(g.id,"blur",function(){if(i){return}i=true;b.add(g.id,"change",f);b.remove(g.id,"blur",j)});if(d.isWebKit&&(k.keyCode==37||k.keyCode==39)){return b.prevent(k)}if(k.keyCode==13||k.keyCode==32){f(k);return b.cancel(k)}});g.onPostRender.dispatch(g,c.get(g.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.MenuButton:tinymce.ui.Button",{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMenu(0,h.clientHeight);a.add(b.doc,"mousedown",g.hideMenu,g);g.setState("Selected",1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+"_menu",{menu_line:1,"class":this.classPrefix+"Menu",icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&&g.type=="mousedown"&&b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+"_open"})){return}if(!g||!b.getParent(g.target,".mceMenu")){f.setState("Selected",0);a.remove(b.doc,"mousedown",f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,"click",function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.SplitButton:tinymce.ui.MenuButton",{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix="mceSplitButton"},renderHTML:function(){var i,f=this,g=f.settings,e;i="";if(g.image){e=b.createHTML("img ",{src:g.image,role:"presentation","class":"mceAction "+g["class"]})}else{e=b.createHTML("span",{"class":"mceAction "+g["class"]},"")}e+=b.createHTML("span",{"class":"mceVoiceLabel mceIconOnly",id:f.id+"_voice",style:"display:none;"},g.title);i+=""+b.createHTML("a",{role:"button",id:f.id+"_action",tabindex:"-1",href:"javascript:;","class":"mceAction "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"";e=b.createHTML("span",{"class":"mceOpen "+g["class"]},'');i+=""+b.createHTML("a",{role:"button",id:f.id+"_open",tabindex:"-1",href:"javascript:;","class":"mceOpen "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"";i+="";i=b.createHTML("table",{role:"presentation","class":"mceSplitButton mceSplitButtonEnabled "+g["class"],cellpadding:"0",cellspacing:"0",title:g.title},i);return b.createHTML("div",{id:f.id,role:"button",tabindex:"0","aria-labelledby":f.id+"_voice","aria-haspopup":"true"},i)},postRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+"_action","click",f);a.add(e.id,["click","keydown"],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&&!h.altKey&&!h.ctrlKey&&!h.metaKey){f();a.cancel(h)}else{if(h.type==="click"||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+"_open","click",function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+"_open"],"focus",function(){e._focused=1});a.add([e.id,e.id+"_open"],"blur",function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,"mouseover",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.addClass(e.id,"mceSplitButtonHover")}});a.add(e.id,"mouseout",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.removeClass(e.id,"mceSplitButtonHover")}})}},destroy:function(){this.parent();a.clear(this.id+"_action");a.clear(this.id+"_open");a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create("tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton",{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",grid_width:8,default_color:"#888888"},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){return}if(!f.isMenuRendered){f.renderMenu();f.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+"_menu");c.addClass(i,"mceSplitButtonSelected");h=c.getPos(i);c.setStyles(f.id+"_menu",{left:h.x,top:h.y+i.clientHeight,zIndex:200000});i=0;a.add(c.doc,"mousedown",f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+"_menu","keydown",function(k){if(k.keyCode==27){f.hideMenu()}});c.select("a",f.id+"_menu")[0].focus()}f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&&g.type=="mousedown"&&c.getParent(g.target,function(h){return h.id===f.id+"_open"})){return}if(!g||!c.getParent(g.target,".mceSplitButtonMenu")){c.removeClass(f.id,"mceSplitButtonSelected");a.remove(c.doc,"mousedown",f.hideMenu,f);a.remove(f.id+"_menu","keydown",f._keyHandler);c.hide(f.id+"_menu")}f.isMenuVisible=0;f.onHideMenu.dispatch()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,"div",{role:"listbox",id:p.id+"_menu","class":q.menu_class+" "+q["class"],style:"position:absolute;left:0;top:-1000px;"});h=c.add(o,"div",{"class":q["class"]+" mceSplitButtonMenu"});c.add(h,"span",{"class":"mceMenuLine"});g=c.add(h,"table",{role:"presentation","class":"mceColorSplitMenu"});j=c.add(g,"tbody");k=0;e(b(q.colors,"array")?q.colors:q.colors.split(","),function(i){i=i.replace(/^#/,"");if(!k--){l=c.add(j,"tr");k=q.grid_width-1}g=c.add(l,"td");g=c.add(g,"a",{role:"option",href:"javascript:;",style:{backgroundColor:"#"+i},title:p.editor.getLang("colors."+i,i),"data-mce-color":"#"+i});if(p.editor.forcedHighContrastMode){g=c.add(g,"canvas",{width:16,height:16,"aria-hidden":"true"});if(g.getContext&&(f=g.getContext("2d"))){f.fillStyle="#"+i;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,"tr");g=c.add(g,"td",{colspan:q.grid_width,"class":"mceMoreColors"});g=c.add(g,"a",{role:"option",id:p.id+"_more",href:"javascript:;",onclick:"return false;","class":"mceMoreColors"},q.more_colors_title);a.add(g,"click",function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,"mceColorSplitMenu");new d.ui.KeyboardNavigation({root:p.id+"_menu",items:c.select("a",p.id+"_menu"),onCancel:function(){p.hideMenu();p.focus()}});a.add(p.id+"_menu","mousedown",function(i){return a.cancel(i)});a.add(p.id+"_menu","click",function(i){var m;i=c.getParent(i.target,"a",j);if(i&&i.nodeName.toLowerCase()=="a"&&(m=i.getAttribute("data-mce-color"))){p.setColor(m)}return a.cancel(i)});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+"_preview","backgroundColor",g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+"_action","div",{id:g+"_preview","class":"mceColorPreview"});c.setStyle(f.id+"_preview","backgroundColor",f.value)},destroy:function(){this.parent();a.clear(this.id+"_menu");a.clear(this.id+"_more");c.remove(this.id+"_menu")}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create("tinymce.ui.ToolbarGroup:tinymce.ui.Container",{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('
    ');i.push("");i.push('");j(e,function(h){i.push(h.renderHTML())});i.push("");i.push("
    ");return i.join("")},focus:function(){var e=this;d.get(e.id).focus()},postRender:function(){var f=this,e=[];c(f.controls,function(g){c(g.controls,function(h){if(h.id){e.push(h)}})});f.keyNav=new b.ui.KeyboardNavigation({root:f.id,items:e,onCancel:function(){if(b.isWebKit){d.get(f.editor.id+"_ifr").focus()}f.editor.focus()},excludeFromTabOrder:!f.settings.tab_focus_toolbar})},destroy:function(){var e=this;e.parent();e.keyNav.destroy();a.clear(e.id)}})})(tinymce);(function(a){var c=a.DOM,b=a.each;a.create("tinymce.ui.Toolbar:tinymce.ui.Container",{renderHTML:function(){var m=this,f="",j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e"))}if(d&&k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarEnd"},c.createHTML("span",null,""))}}if(c.stdMode){f+=''+k.renderHTML()+""}else{f+=""+k.renderHTML()+""}if(g&&k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarStart"},c.createHTML("span",null,""))}}}j="mceToolbarEnd";if(k.Button){j+=" mceToolbarEndButton"}else{if(k.SplitButton){j+=" mceToolbarEndSplitButton"}else{if(k.ListBox){j+=" mceToolbarEndListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,""));return c.createHTML("table",{id:m.id,"class":"mceToolbar"+(n["class"]?" "+n["class"]:""),cellpadding:"0",cellspacing:"0",align:m.settings.align||"",role:"presentation",tabindex:"-1"},""+f+"")}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&&d.language&&d.language_load!==false){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e==="object"){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+"/"+g)})},load:function(j,f,d,h){var g=this,e=f;function i(){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f==="object"){e=f.prefix+f.resource+f.suffix}if(e.indexOf("/")!=0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}g.urls[j]=e.substring(0,e.lastIndexOf("/"));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,"beforeunload",function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(q){var n=this,p,l=j.ScriptLoader,u,o=[],m;function r(x,y,t){var v=x[y];if(!v){return}if(j.is(v,"string")){t=v.replace(/\.\w+$/,"");t=t?j.resolve(t):0;v=j.resolve(v)}return v.apply(t||this,Array.prototype.slice.call(arguments,2))}q=d({theme:"simple",language:"en"},q);n.settings=q;i.add(document,"init",function(){var s,v;r(q,"onpageload");switch(q.mode){case"exact":s=q.elements||"";if(s.length>0){g(e(s),function(x){if(k.get(x)){m=new j.Editor(x,q);o.push(m);m.render(1)}else{g(document.forms,function(y){g(y.elements,function(z){if(z.name===x){x="mce_editor_"+c++;k.setAttrib(z,"id",x);m=new j.Editor(x,q);o.push(m);m.render(1)}})})}})}break;case"textareas":case"specific_textareas":function t(y,x){return x.constructor===RegExp?x.test(y.className):k.hasClass(y,x)}g(k.select("textarea"),function(x){if(q.editor_deselector&&t(x,q.editor_deselector)){return}if(!q.editor_selector||t(x,q.editor_selector)){u=k.get(x.name);if(!x.id&&!u){x.id=x.name}if(!x.id||n.get(x.id)){x.id=k.uniqueId()}m=new j.Editor(x.id,q);o.push(m);m.render(1)}});break}if(q.oninit){s=v=0;g(o,function(x){v++;if(!x.initialized){x.onInit.add(function(){s++;if(s==v){r(q,"oninit")}})}else{s++}if(s==v){r(q,"oninit")}})}})},get:function(l){if(l===a){return this.editors}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);if(j.adapter){j.adapter.patchEditor(m)}return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l':"",visual_table_class:"mceItemTable",visual:1,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%",apply_source_formatting:1,directionality:"ltr",forced_root_block:"p",hidden_input:1,padd_empty_editor:1,render_ui:1,init_theme:1,force_p_newlines:1,indentation:"30px",keep_styles:1,fix_table_elements:1,inline_styles:1,convert_fonts_to_spans:true,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr",validate:true,entity_encoding:"named",url_converter:p.convertURL,url_converter_scope:p,ie7_compat:true},q);p.documentBaseURI=new m.util.URI(q.document_base_url||m.documentBaseURL,{base_uri:tinyMCE.baseURI});p.baseURI=m.baseURI;p.contentCSS=[];p.execCallback("setup",p)},render:function(r){var u=this,v=u.settings,x=u.id,p=m.ScriptLoader;if(!j.domLoaded){j.add(document,"init",function(){u.render()});return}tinyMCE.settings=v;if(!u.getElement()){return}if(m.isIDevice&&!m.isIOS5){return}if(!/TEXTAREA|INPUT/i.test(u.getElement().nodeName)&&v.hidden_input&&n.getParent(x,"form")){n.insertAfter(n.create("input",{type:"hidden",name:x}),x)}if(m.WindowManager){u.windowManager=new m.WindowManager(u)}if(v.encoding=="xml"){u.onGetContent.add(function(s,t){if(t.save){t.content=n.encode(t.content)}})}if(v.add_form_submit_trigger){u.onSubmit.addToTop(function(){if(u.initialized){u.save();u.isNotDirty=1}})}if(v.add_unload_trigger){u._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(u.initialized&&!u.destroyed&&!u.isHidden()){u.save({format:"raw",no_events:true})}})}m.addUnload(u.destroy,u);if(v.submit_patch){u.onBeforeRenderUI.add(function(){var s=u.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.nodeType&&!s.submit.length){u.formElement=s;s._mceOldSubmit=s.submit;s.submit=function(){m.triggerSave();u.isNotDirty=1;return u.formElement._mceOldSubmit(u.formElement)}}s=null})}function q(){if(v.language&&v.language_load!==false){p.add(m.baseURL+"/langs/"+v.language+".js")}if(v.theme&&v.theme.charAt(0)!="-"&&!h.urls[v.theme]){h.load(v.theme,"themes/"+v.theme+"/editor_template"+m.suffix+".js")}i(g(v.plugins),function(t){if(t&&!c.urls[t]){if(t.charAt(0)=="-"){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(z){var y={prefix:"plugins/",resource:z,suffix:"/editor_plugin"+m.suffix+".js"};var z=c.createUrl(y,z);c.load(z.resource,z)})}else{if(t=="safari"){return}c.load(t,{prefix:"plugins/",resource:t,suffix:"/editor_plugin"+m.suffix+".js"})}}});p.loadQueue(function(){if(!u.removed){u.init()}})}q()},init:function(){var r,H=this,I=H.settings,E,A,D=H.getElement(),q,p,F,y,C,G,z,v=[];m.add(H);I.aria_label=I.aria_label||n.getAttrib(D,"aria-label",H.getLang("aria.rich_text_area"));if(I.theme){I.theme=I.theme.replace(/-/,"");q=h.get(I.theme);H.theme=new q();if(H.theme.init&&I.init_theme){H.theme.init(H,h.urls[I.theme]||m.documentBaseURL.replace(/\/$/,""))}}function B(J){var K=c.get(J),t=c.urls[J]||m.documentBaseURL.replace(/\/$/,""),s;if(K&&m.inArray(v,J)===-1){i(c.dependencies(J),function(u){B(u)});s=new K(H,t);H.plugins[J]=s;if(s.init){s.init(H,t);v.push(J)}}}i(g(I.plugins.replace(/\-/g,"")),B);if(I.popup_css!==false){if(I.popup_css){I.popup_css=H.documentBaseURI.toAbsolute(I.popup_css)}else{I.popup_css=H.baseURI.toAbsolute("themes/"+I.theme+"/skins/"+I.skin+"/dialog.css")}}if(I.popup_css_add){I.popup_css+=","+H.documentBaseURI.toAbsolute(I.popup_css_add)}H.controlManager=new m.ControlManager(H);if(I.custom_undo_redo){H.onBeforeExecCommand.add(function(t,J,u,K,s){if(J!="Undo"&&J!="Redo"&&J!="mceRepaint"&&(!s||!s.skip_undo)){H.undoManager.beforeChange()}});H.onExecCommand.add(function(t,J,u,K,s){if(J!="Undo"&&J!="Redo"&&J!="mceRepaint"&&(!s||!s.skip_undo)){H.undoManager.add()}})}H.onExecCommand.add(function(s,t){if(!/^(FontName|FontSize)$/.test(t)){H.nodeChanged()}});if(a){function x(s,t){if(!t||!t.initial){H.execCommand("mceRepaint")}}H.onUndo.add(x);H.onRedo.add(x);H.onSetContent.add(x)}H.onBeforeRenderUI.dispatch(H,H.controlManager);if(I.render_ui){E=I.width||D.style.width||D.offsetWidth;A=I.height||D.style.height||D.offsetHeight;H.orgDisplay=D.style.display;G=/^[0-9\.]+(|px)$/i;if(G.test(""+E)){E=Math.max(parseInt(E)+(q.deltaWidth||0),100)}if(G.test(""+A)){A=Math.max(parseInt(A)+(q.deltaHeight||0),100)}q=H.theme.renderUI({targetNode:D,width:E,height:A,deltaWidth:I.delta_width,deltaHeight:I.delta_height});H.editorContainer=q.editorContainer}if(document.domain&&location.hostname!=document.domain){m.relaxedDomain=document.domain}n.setStyles(q.sizeContainer||q.editorContainer,{width:E,height:A});if(I.content_css){m.each(g(I.content_css),function(s){H.contentCSS.push(H.documentBaseURI.toAbsolute(s))})}A=(q.iframeHeight||A)+(typeof(A)=="number"?(q.deltaHeight||0):"");if(A<100){A=100}H.iframeHTML=I.doctype+'';if(I.document_base_url!=m.documentBaseURL){H.iframeHTML+=''}if(I.ie7_compat){H.iframeHTML+=''}else{H.iframeHTML+=''}H.iframeHTML+='';for(z=0;z'}y=I.body_id||"tinymce";if(y.indexOf("=")!=-1){y=H.getParam("body_id","","hash");y=y[H.id]||y}C=I.body_class||"";if(C.indexOf("=")!=-1){C=H.getParam("body_class","","hash");C=C[H.id]||""}H.iframeHTML+='
    ';if(m.relaxedDomain&&(b||(m.isOpera&&parseFloat(opera.version())<11))){F='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinyMCE.get("'+H.id+'");document.write(ed.iframeHTML);document.close();ed.setupIframe();})()'}r=n.add(q.iframeContainer,"iframe",{id:H.id+"_ifr",src:F||'javascript:""',frameBorder:"0",allowTransparency:"true",title:I.aria_label,style:{width:"100%",height:A,display:"block"}});H.contentAreaContainer=q.iframeContainer;n.get(q.editorContainer).style.display=H.orgDisplay;n.get(H.id).style.display="none";n.setAttrib(H.id,"aria-hidden",true);if(!m.relaxedDomain||!F){H.setupIframe()}D=r=q=null},setupIframe:function(){var q=this,v=q.settings,x=n.get(q.id),y=q.getDoc(),u,p;if(!b||!m.relaxedDomain){y.open();y.write(q.iframeHTML);y.close();if(m.relaxedDomain){y.domain=m.relaxedDomain}}p=q.getBody();p.disabled=true;if(!v.readonly){p.contentEditable=true}p.disabled=false;q.schema=new m.html.Schema(v);q.dom=new m.dom.DOMUtils(q.getDoc(),{keep_values:true,url_converter:q.convertURL,url_converter_scope:q,hex_colors:v.force_hex_style_colors,class_filter:v.class_filter,update_styles:1,fix_ie_paragraphs:1,schema:q.schema});q.parser=new m.html.DomParser(v,q.schema);if(!q.settings.allow_html_in_named_anchor){q.parser.addAttributeFilter("name",function(s,t){var A=s.length,C,z,B,D;while(A--){D=s[A];if(D.name==="a"&&D.firstChild){B=D.parent;C=D.lastChild;do{z=C.prev;B.insert(C,D);C=z}while(C)}}})}q.parser.addAttributeFilter("src,href,style",function(s,t){var z=s.length,B,D=q.dom,C,A;while(z--){B=s[z];C=B.attr(t);A="data-mce-"+t;if(!B.attributes.map[A]){if(t==="style"){B.attr(A,D.serializeStyle(D.parseStyle(C),B.name))}else{B.attr(A,q.convertURL(C,t,B.name))}}}});q.parser.addNodeFilter("script",function(s,t){var z=s.length,A;while(z--){A=s[z];A.attr("type","mce-"+(A.attr("type")||"text/javascript"))}});q.parser.addNodeFilter("#cdata",function(s,t){var z=s.length,A;while(z--){A=s[z];A.type=8;A.name="#comment";A.value="[CDATA["+A.value+"]]"}});q.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(t,z){var A=t.length,B,s=q.schema.getNonEmptyElements();while(A--){B=t[A];if(B.isEmpty(s)){B.empty().append(new m.html.Node("br",1)).shortEnded=true}}});q.serializer=new m.dom.Serializer(v,q.dom,q.schema);q.selection=new m.dom.Selection(q.dom,q.getWin(),q.serializer);q.formatter=new m.Formatter(this);q.formatter.register({alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table",collapsed:false,styles:{"float":"left"}}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img",collapsed:false,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:false,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table",collapsed:false,styles:{"float":"right"}}],alignfull:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"justify"}}],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"},wrap_links:false},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},wrap_links:false},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"},link:{inline:"a",selector:"a",remove:"all",split:true,deep:true,onmatch:function(s){return true},onformat:function(z,s,t){i(t,function(B,A){q.dom.setAttrib(z,A,B)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike",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}]});i("p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp".split(/\s/),function(s){q.formatter.register(s,{block:s,remove:"all"})});q.formatter.register(q.settings.formats);q.undoManager=new m.UndoManager(q);q.undoManager.onAdd.add(function(t,s){if(t.hasUndo()){return q.onChange.dispatch(q,s,t)}});q.undoManager.onUndo.add(function(t,s){return q.onUndo.dispatch(q,s,t)});q.undoManager.onRedo.add(function(t,s){return q.onRedo.dispatch(q,s,t)});q.forceBlocks=new m.ForceBlocks(q,{forced_root_block:v.forced_root_block});q.editorCommands=new m.EditorCommands(q);q.serializer.onPreProcess.add(function(s,t){return q.onPreProcess.dispatch(q,t,s)});q.serializer.onPostProcess.add(function(s,t){return q.onPostProcess.dispatch(q,t,s)});q.onPreInit.dispatch(q);if(!v.gecko_spellcheck){q.getBody().spellcheck=0}if(!v.readonly){q._addEvents()}q.controlManager.onPostRender.dispatch(q,q.controlManager);q.onPostRender.dispatch(q);q.quirks=new m.util.Quirks(this);if(v.directionality){q.getBody().dir=v.directionality}if(v.nowrap){q.getBody().style.whiteSpace="nowrap"}if(v.handle_node_change_callback){q.onNodeChange.add(function(t,s,z){q.execCallback("handle_node_change_callback",q.id,z,-1,-1,true,q.selection.isCollapsed())})}if(v.save_callback){q.onSaveContent.add(function(s,z){var t=q.execCallback("save_callback",q.id,z.content,q.getBody());if(t){z.content=t}})}if(v.onchange_callback){q.onChange.add(function(t,s){q.execCallback("onchange_callback",q,s)})}if(v.protect){q.onBeforeSetContent.add(function(s,t){if(v.protect){i(v.protect,function(z){t.content=t.content.replace(z,function(A){return""})})}})}if(v.convert_newlines_to_brs){q.onBeforeSetContent.add(function(s,t){if(t.initial){t.content=t.content.replace(/\r?\n/g,"
    ")}})}if(v.preformatted){q.onPostProcess.add(function(s,t){t.content=t.content.replace(/^\s*/,"");t.content=t.content.replace(/<\/pre>\s*$/,"");if(t.set){t.content='
    '+t.content+"
    "}})}if(v.verify_css_classes){q.serializer.attribValueFilter=function(B,z){var A,t;if(B=="class"){if(!q.classesRE){t=q.dom.getClasses();if(t.length>0){A="";i(t,function(s){A+=(A?"|":"")+s["class"]});q.classesRE=new RegExp("("+A+")","gi")}}return !q.classesRE||/(\bmceItem\w+\b|\bmceTemp\w+\b)/g.test(z)||q.classesRE.test(z)?z:""}return z}}if(v.cleanup_callback){q.onBeforeSetContent.add(function(s,t){t.content=q.execCallback("cleanup_callback","insert_to_editor",t.content,t)});q.onPreProcess.add(function(s,t){if(t.set){q.execCallback("cleanup_callback","insert_to_editor_dom",t.node,t)}if(t.get){q.execCallback("cleanup_callback","get_from_editor_dom",t.node,t)}});q.onPostProcess.add(function(s,t){if(t.set){t.content=q.execCallback("cleanup_callback","insert_to_editor",t.content,t)}if(t.get){t.content=q.execCallback("cleanup_callback","get_from_editor",t.content,t)}})}if(v.save_callback){q.onGetContent.add(function(s,t){if(t.save){t.content=q.execCallback("save_callback",q.id,t.content,q.getBody())}})}if(v.handle_event_callback){q.onEvent.add(function(s,t,z){if(q.execCallback("handle_event_callback",t,s,z)===false){j.cancel(t)}})}q.onSetContent.add(function(){q.addVisual(q.getBody())});if(v.padd_empty_editor){q.onPostProcess.add(function(s,t){t.content=t.content.replace(/^(]*>( | |\s|\u00a0|)<\/p>[\r\n]*|
    [\r\n]*)$/,"")})}if(a){function r(s,t){i(s.dom.select("a"),function(A){var z=A.parentNode;if(s.dom.isBlock(z)&&z.lastChild===A){s.dom.add(z,"br",{"data-mce-bogus":1})}})}q.onExecCommand.add(function(s,t){if(t==="CreateLink"){r(s)}});q.onSetContent.add(q.selection.onSetContent.add(r))}q.load({initial:true,format:"html"});q.startContent=q.getContent({format:"raw"});q.undoManager.add();q.initialized=true;q.onInit.dispatch(q);q.execCallback("setupcontent_callback",q.id,q.getBody(),q.getDoc());q.execCallback("init_instance_callback",q);q.focus(true);q.nodeChanged({initial:1});i(q.contentCSS,function(s){q.dom.loadCSS(s)});if(v.auto_focus){setTimeout(function(){var s=m.get(v.auto_focus);s.selection.select(s.getBody(),1);s.selection.collapse(1);s.getBody().focus();s.getWin().focus()},100)}x=null},focus:function(u){var y,q=this,s=q.selection,x=q.settings.content_editable,r,p,v=q.getDoc();if(!u){r=s.getRng();if(r.item){p=r.item(0)}q._refreshContentEditable();s.normalize();if(!x){q.getWin().focus()}if(m.isGecko){q.getBody().focus()}if(p&&p.ownerDocument==v){r=v.body.createControlRange();r.addElement(p);r.select()}}if(m.activeEditor!=q){if((y=m.activeEditor)!=null){y.onDeactivate.dispatch(y,q)}q.onActivate.dispatch(q,y)}m._setActive(q)},execCallback:function(u){var p=this,r=p.settings[u],q;if(!r){return}if(p.callbackLookup&&(q=p.callbackLookup[u])){r=q.func;q=q.scope}if(d(r,"string")){q=r.replace(/\.\w+$/,"");q=q?m.resolve(q):0;r=m.resolve(r);p.callbackLookup=p.callbackLookup||{};p.callbackLookup[u]={func:r,scope:q}}return r.apply(q||p,Array.prototype.slice.call(arguments,1))},translate:function(p){var r=this.settings.language||"en",q=m.i18n;if(!p){return""}return q[r+"."+p]||p.replace(/{\#([^}]+)\}/g,function(t,s){return q[r+"."+s]||"{#"+s+"}"})},getLang:function(q,p){return m.i18n[(this.settings.language||"en")+"."+q]||(d(p)?p:"{#"+q+"}")},getParam:function(u,r,p){var s=m.trim,q=d(this.settings[u])?this.settings[u]:r,t;if(p==="hash"){t={};if(d(q,"string")){i(q.indexOf("=")>0?q.split(/[;,](?![^=;,]*(?:[;,]|$))/):q.split(","),function(x){x=x.split("=");if(x.length>1){t[s(x[0])]=s(x[1])}else{t[s(x[0])]=s(x)}})}else{t=q}return t}return q},nodeChanged:function(r){var p=this,q=p.selection,u=q.getStart()||p.getBody();if(p.initialized){r=r||{};u=b&&u.ownerDocument!=p.getDoc()?p.getBody():u;r.parents=[];p.dom.getParent(u,function(s){if(s.nodeName=="BODY"){return true}r.parents.push(s)});p.onNodeChange.dispatch(p,r?r.controlManager||p.controlManager:p.controlManager,u,q.isCollapsed(),r)}},addButton:function(r,q){var p=this;p.buttons=p.buttons||{};p.buttons[r]=q},addCommand:function(p,r,q){this.execCommands[p]={func:r,scope:q||this}},addQueryStateHandler:function(p,r,q){this.queryStateCommands[p]={func:r,scope:q||this}},addQueryValueHandler:function(p,r,q){this.queryValueCommands[p]={func:r,scope:q||this}},addShortcut:function(r,u,p,s){var q=this,v;if(!q.settings.custom_shortcuts){return false}q.shortcuts=q.shortcuts||{};if(d(p,"string")){v=p;p=function(){q.execCommand(v,false,null)}}if(d(p,"object")){v=p;p=function(){q.execCommand(v[0],v[1],v[2])}}i(g(r),function(t){var x={func:p,scope:s||this,desc:u,alt:false,ctrl:false,shift:false};i(g(t,"+"),function(y){switch(y){case"alt":case"ctrl":case"shift":x[y]=true;break;default:x.charCode=y.charCodeAt(0);x.keyCode=y.toUpperCase().charCodeAt(0)}});q.shortcuts[(x.ctrl?"ctrl":"")+","+(x.alt?"alt":"")+","+(x.shift?"shift":"")+","+x.keyCode]=x});return true},execCommand:function(x,v,z,p){var r=this,u=0,y,q;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(x)&&(!p||!p.skip_focus)){r.focus()}y={};r.onBeforeExecCommand.dispatch(r,x,v,z,y);if(y.terminate){return false}if(r.execCallback("execcommand_callback",r.id,r.selection.getNode(),x,v,z)){r.onExecCommand.dispatch(r,x,v,z,p);return true}if(y=r.execCommands[x]){q=y.func.call(y.scope,v,z);if(q!==true){r.onExecCommand.dispatch(r,x,v,z,p);return q}}i(r.plugins,function(s){if(s.execCommand&&s.execCommand(x,v,z)){r.onExecCommand.dispatch(r,x,v,z,p);u=1;return false}});if(u){return true}if(r.theme&&r.theme.execCommand&&r.theme.execCommand(x,v,z)){r.onExecCommand.dispatch(r,x,v,z,p);return true}if(r.editorCommands.execCommand(x,v,z)){r.onExecCommand.dispatch(r,x,v,z,p);return true}r.getDoc().execCommand(x,v,z);r.onExecCommand.dispatch(r,x,v,z,p)},queryCommandState:function(u){var q=this,v,r;if(q._isHidden()){return}if(v=q.queryStateCommands[u]){r=v.func.call(v.scope);if(r!==true){return r}}v=q.editorCommands.queryCommandState(u);if(v!==-1){return v}try{return this.getDoc().queryCommandState(u)}catch(p){}},queryCommandValue:function(v){var q=this,u,r;if(q._isHidden()){return}if(u=q.queryValueCommands[v]){r=u.func.call(u.scope);if(r!==true){return r}}u=q.editorCommands.queryCommandValue(v);if(d(u)){return u}try{return this.getDoc().queryCommandValue(v)}catch(p){}},show:function(){var p=this;n.show(p.getContainer());n.hide(p.id);p.load()},hide:function(){var p=this,q=p.getDoc();if(b&&q){q.execCommand("SelectAll")}p.save();n.hide(p.getContainer());n.setStyle(p.id,"display",p.orgDisplay)},isHidden:function(){return !n.isHidden(this.id)},setProgressState:function(p,q,r){this.onSetProgressState.dispatch(this,p,q,r);return p},load:function(s){var p=this,r=p.getElement(),q;if(r){s=s||{};s.load=true;q=p.setContent(d(r.value)?r.value:r.innerHTML,s);s.element=r;if(!s.no_events){p.onLoadContent.dispatch(p,s)}s.element=r=null;return q}},save:function(u){var p=this,s=p.getElement(),q,r;if(!s||!p.initialized){return}u=u||{};u.save=true;if(!u.no_events){p.undoManager.typing=false;p.undoManager.add()}u.element=s;q=u.content=p.getContent(u);if(!u.no_events){p.onSaveContent.dispatch(p,u)}q=u.content;if(!/TEXTAREA|INPUT/i.test(s.nodeName)){s.innerHTML=q;if(r=n.getParent(p.id,"form")){i(r.elements,function(t){if(t.name==p.id){t.value=q;return false}})}}else{s.value=q}u.element=s=null;return q},setContent:function(u,s){var r=this,q,p=r.getBody(),t;s=s||{};s.format=s.format||"html";s.set=true;s.content=u;if(!s.no_events){r.onBeforeSetContent.dispatch(r,s)}u=s.content;if(!m.isIE&&(u.length===0||/^\s+$/.test(u))){t=r.settings.forced_root_block;if(t){u="<"+t+'>
    "}else{u='
    '}p.innerHTML=u;r.selection.select(p,true);r.selection.collapse(true);return}if(s.format!=="raw"){u=new m.html.Serializer({},r.schema).serialize(r.parser.parse(u))}s.content=m.trim(u);r.dom.setHTML(p,s.content);if(!s.no_events){r.onSetContent.dispatch(r,s)}r.selection.normalize();return s.content},getContent:function(q){var p=this,r;q=q||{};q.format=q.format||"html";q.get=true;if(!q.no_events){p.onBeforeGetContent.dispatch(p,q)}if(q.format=="raw"){r=p.getBody().innerHTML}else{r=p.serializer.serialize(p.getBody(),q)}q.content=m.trim(r);if(!q.no_events){p.onGetContent.dispatch(p,q)}return q.content},isDirty:function(){var p=this;return m.trim(p.startContent)!=m.trim(p.getContent({format:"raw",no_events:1}))&&!p.isNotDirty},getContainer:function(){var p=this;if(!p.container){p.container=n.get(p.editorContainer||p.id+"_parent")}return p.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return n.get(this.settings.content_element||this.id)},getWin:function(){var p=this,q;if(!p.contentWindow){q=n.get(p.id+"_ifr");if(q){p.contentWindow=q.contentWindow}}return p.contentWindow},getDoc:function(){var q=this,p;if(!q.contentDocument){p=q.getWin();if(p){q.contentDocument=p.document}}return q.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(p,x,v){var q=this,r=q.settings;if(r.urlconverter_callback){return q.execCallback("urlconverter_callback",p,v,true,x)}if(!r.convert_urls||(v&&v.nodeName=="LINK")||p.indexOf("file:")===0){return p}if(r.relative_urls){return q.documentBaseURI.toRelative(p)}p=q.documentBaseURI.toAbsolute(p,r.remove_script_host);return p},addVisual:function(r){var p=this,q=p.settings;r=r||p.getBody();if(!d(p.hasVisual)){p.hasVisual=q.visual}i(p.dom.select("table,a",r),function(t){var s;switch(t.nodeName){case"TABLE":s=p.dom.getAttrib(t,"border");if(!s||s=="0"){if(p.hasVisual){p.dom.addClass(t,q.visual_table_class)}else{p.dom.removeClass(t,q.visual_table_class)}}return;case"A":s=p.dom.getAttrib(t,"name");if(s){if(p.hasVisual){p.dom.addClass(t,"mceItemAnchor")}else{p.dom.removeClass(t,"mceItemAnchor")}}return}});p.onVisualAid.dispatch(p,r,p.hasVisual)},remove:function(){var p=this,q=p.getContainer();p.removed=1;p.hide();p.execCallback("remove_instance_callback",p);p.onRemove.dispatch(p);p.onExecCommand.listeners=[];m.remove(p);n.remove(q)},destroy:function(q){var p=this;if(p.destroyed){return}if(!q){m.removeUnload(p.destroy);tinyMCE.onBeforeUnload.remove(p._beforeUnload);if(p.theme&&p.theme.destroy){p.theme.destroy()}p.controlManager.destroy();p.selection.destroy();p.dom.destroy();if(!p.settings.content_editable){j.clear(p.getWin());j.clear(p.getDoc())}j.clear(p.getBody());j.clear(p.formElement)}if(p.formElement){p.formElement.submit=p.formElement._mceOldSubmit;p.formElement._mceOldSubmit=null}p.contentAreaContainer=p.formElement=p.container=p.settings.content_element=p.bodyElement=p.contentDocument=p.contentWindow=null;if(p.selection){p.selection=p.selection.win=p.selection.dom=p.selection.dom.doc=null}p.destroyed=1},_addEvents:function(){var B=this,r,C=B.settings,q=B.dom,x={mouseup:"onMouseUp",mousedown:"onMouseDown",click:"onClick",keyup:"onKeyUp",keydown:"onKeyDown",keypress:"onKeyPress",submit:"onSubmit",reset:"onReset",contextmenu:"onContextMenu",dblclick:"onDblClick",paste:"onPaste"};function p(t,D){var s=t.type;if(B.removed){return}if(B.onEvent.dispatch(B,t,D)!==false){B[x[t.fakeType||t.type]].dispatch(B,t,D)}}i(x,function(t,s){switch(s){case"contextmenu":q.bind(B.getDoc(),s,p);break;case"paste":q.bind(B.getBody(),s,function(D){p(D)});break;case"submit":case"reset":q.bind(B.getElement().form||n.getParent(B.id,"form"),s,p);break;default:q.bind(C.content_editable?B.getBody():B.getDoc(),s,p)}});q.bind(C.content_editable?B.getBody():(a?B.getDoc():B.getWin()),"focus",function(s){B.focus(true)});if(m.isGecko){q.bind(B.getDoc(),"DOMNodeInserted",function(t){var s;t=t.target;if(t.nodeType===1&&t.nodeName==="IMG"&&(s=t.getAttribute("data-mce-src"))){t.src=B.documentBaseURI.toAbsolute(s)}})}if(a){function u(){var E=this,G=E.getDoc(),F=E.settings;if(a&&!F.readonly){E._refreshContentEditable();try{G.execCommand("styleWithCSS",0,false)}catch(D){if(!E._isHidden()){try{G.execCommand("useCSS",0,true)}catch(D){}}}if(!F.table_inline_editing){try{G.execCommand("enableInlineTableEditing",false,false)}catch(D){}}if(!F.object_resizing){try{G.execCommand("enableObjectResizing",false,false)}catch(D){}}}}B.onBeforeExecCommand.add(u);B.onMouseDown.add(u)}B.onMouseUp.add(B.nodeChanged);B.onKeyUp.add(function(s,t){var D=t.keyCode;if((D>=33&&D<=36)||(D>=37&&D<=40)||D==13||D==45||D==46||D==8||(m.isMac&&(D==91||D==93))||t.ctrlKey){B.nodeChanged()}});B.onKeyDown.add(function(t,D){if(D.keyCode!=8){return}var F=t.selection.getRng().startContainer;var E=t.selection.getRng().startOffset;while(F&&F.nodeType&&F.nodeType!=1&&F.parentNode){F=F.parentNode}if(F&&F.parentNode&&F.parentNode.tagName==="BLOCKQUOTE"&&F.parentNode.firstChild==F&&E==0){t.formatter.toggle("blockquote",null,F.parentNode);var s=t.selection.getRng();s.setStart(F,0);s.setEnd(F,0);t.selection.setRng(s);t.selection.collapse(false)}});B.onReset.add(function(){B.setContent(B.startContent,{format:"raw"})});if(C.custom_shortcuts){if(C.custom_undo_redo_keyboard_shortcuts){B.addShortcut("ctrl+z",B.getLang("undo_desc"),"Undo");B.addShortcut("ctrl+y",B.getLang("redo_desc"),"Redo")}B.addShortcut("ctrl+b",B.getLang("bold_desc"),"Bold");B.addShortcut("ctrl+i",B.getLang("italic_desc"),"Italic");B.addShortcut("ctrl+u",B.getLang("underline_desc"),"Underline");for(r=1;r<=6;r++){B.addShortcut("ctrl+"+r,"",["FormatBlock",false,"h"+r])}B.addShortcut("ctrl+7","",["FormatBlock",false,"p"]);B.addShortcut("ctrl+8","",["FormatBlock",false,"div"]);B.addShortcut("ctrl+9","",["FormatBlock",false,"address"]);function v(t){var s=null;if(!t.altKey&&!t.ctrlKey&&!t.metaKey){return s}i(B.shortcuts,function(D){if(m.isMac&&D.ctrl!=t.metaKey){return}else{if(!m.isMac&&D.ctrl!=t.ctrlKey){return}}if(D.alt!=t.altKey){return}if(D.shift!=t.shiftKey){return}if(t.keyCode==D.keyCode||(t.charCode&&t.charCode==D.charCode)){s=D;return false}});return s}B.onKeyUp.add(function(s,t){var D=v(t);if(D){return j.cancel(t)}});B.onKeyPress.add(function(s,t){var D=v(t);if(D){return j.cancel(t)}});B.onKeyDown.add(function(s,t){var D=v(t);if(D){D.func.call(D.scope);return j.cancel(t)}})}if(m.isIE){q.bind(B.getDoc(),"controlselect",function(D){var t=B.resizeInfo,s;D=D.target;if(D.nodeName!=="IMG"){return}if(t){q.unbind(t.node,t.ev,t.cb)}if(!q.hasClass(D,"mceItemNoResize")){ev="resizeend";s=q.bind(D,ev,function(F){var E;F=F.target;if(E=q.getStyle(F,"width")){q.setAttrib(F,"width",E.replace(/[^0-9%]+/g,""));q.setStyle(F,"width","")}if(E=q.getStyle(F,"height")){q.setAttrib(F,"height",E.replace(/[^0-9%]+/g,""));q.setStyle(F,"height","")}})}else{ev="resizestart";s=q.bind(D,"resizestart",j.cancel,j)}t=B.resizeInfo={node:D,ev:ev,cb:s}})}if(m.isOpera){B.onClick.add(function(s,t){j.prevent(t)})}if(C.custom_undo_redo){function y(){B.undoManager.typing=false;B.undoManager.add()}q.bind(B.getDoc(),"focusout",function(s){if(!B.removed&&B.undoManager.typing){y()}});B.dom.bind(B.dom.getRoot(),"dragend",function(s){y()});B.onKeyUp.add(function(s,D){var t=D.keyCode;if((t>=33&&t<=36)||(t>=37&&t<=40)||t==13||t==45||D.ctrlKey){y()}});B.onKeyDown.add(function(s,E){var D=E.keyCode,t;if(D==8){t=B.getDoc().selection;if(t&&t.createRange&&t.createRange().item){B.undoManager.beforeChange();s.dom.remove(t.createRange().item(0));y();return j.cancel(E)}}if((D>=33&&D<=36)||(D>=37&&D<=40)||D==13||D==45){if(m.isIE&&D==13){B.undoManager.beforeChange()}if(B.undoManager.typing){y()}return}if((D<16||D>20)&&D!=224&&D!=91&&!B.undoManager.typing){B.undoManager.beforeChange();B.undoManager.typing=true;B.undoManager.add()}});B.onMouseDown.add(function(){if(B.undoManager.typing){y()}})}if(m.isGecko){function A(){var s=B.dom.getAttribs(B.selection.getStart().cloneNode(false));return function(){var t=B.selection.getStart();if(t!==B.getBody()){B.dom.setAttrib(t,"style",null);i(s,function(D){t.setAttributeNode(D.cloneNode(true))})}}}function z(){var t=B.selection;return !t.isCollapsed()&&t.getStart()!=t.getEnd()}B.onKeyPress.add(function(s,D){var t;if((D.keyCode==8||D.keyCode==46)&&z()){t=A();B.getDoc().execCommand("delete",false,null);t();return j.cancel(D)}});B.dom.bind(B.getDoc(),"cut",function(t){var s;if(z()){s=A();B.onKeyUp.addToTop(j.cancel,j);setTimeout(function(){s();B.onKeyUp.remove(j.cancel,j)},0)}})}},_refreshContentEditable:function(){var q=this,p,r;if(q._isHidden()){p=q.getBody();r=p.parentNode;r.removeChild(p);r.appendChild(p);p.focus()}},_isHidden:function(){var p;if(!a){return 0}p=this.selection.getSel();return(!p||!p.rangeCount||p.rangeCount==0)}})})(tinymce);(function(c){var d=c.each,e,a=true,b=false;c.EditorCommands=function(n){var m=n.dom,p=n.selection,j={state:{},exec:{},value:{}},k=n.settings,q=n.formatter,o;function r(z,y,x){var v;z=z.toLowerCase();if(v=j.exec[z]){v(z,y,x);return a}return b}function l(x){var v;x=x.toLowerCase();if(v=j.state[x]){return v(x)}return -1}function h(x){var v;x=x.toLowerCase();if(v=j.value[x]){return v(x)}return b}function u(v,x){x=x||"exec";d(v,function(z,y){d(y.toLowerCase().split(","),function(A){j[x][A]=z})})}c.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===e){x=b}if(v===e){v=null}return n.getDoc().execCommand(y,x,v)}function t(v){return q.match(v)}function s(v,x){q.toggle(v,x?{value:x}:e)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){n.undoManager.add()},"Cut,Copy,Paste":function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(c.isGecko){n.windowManager.confirm(n.getLang("clipboard_msg"),function(A){if(A){open("http://www.mozilla.org/editor/midasdemo/securityprefs.html","_blank")}})}else{n.windowManager.alert(n.getLang("clipboard_no_support"))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(b)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(v){var x=v.substring(7);d("left,center,right,full".split(","),function(y){if(x!=y){q.remove("align"+y)}});s("align"+x);r("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(y){var v,x;f(y);v=m.getParent(p.getNode(),"ol,ul");if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.nodeName)){i();m.split(x,v);g()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){s(v)},"ForeColor,HiliteColor,FontName":function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x>=1&&x<=7){A=c.explode(k.font_size_style_values);v=c.explode(k.font_size_classes);if(v){x=v[x-1]||x}else{x=A[x-1]||x}}s(z,x)},RemoveFormat:function(v){q.remove(v)},mceBlockQuote:function(v){s("blockquote")},FormatBlock:function(y,x,v){return s(v||"p")},mceCleanup:function(){var v=p.getBookmark();n.setContent(n.getContent({cleanup:a}),{cleanup:a});p.moveToBookmark(v)},mceRemoveNode:function(z,y,x){var v=x||p.getNode();if(v!=n.getBody()){i();n.dom.remove(v,a);g()}},mceSelectNodeDepth:function(z,y,x){var v=0;m.getParent(p.getNode(),function(A){if(A.nodeType==1&&v++==x){p.select(A);return b}},n.getBody())},mceSelectNode:function(y,x,v){p.select(v)},mceInsertContent:function(B,I,K){var y,J,E,z,F,G,D,C,L,x,A,M,v,H;y=n.parser;J=new c.html.Serializer({},n.schema);v='\uFEFF';G={content:K,format:"html"};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf("{$caret}")==-1){K+="{$caret}"}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand("Delete",false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr("id")=="mce_marker"){D=A;for(A=A.prev;A;A=A.walk(true)){if(A.type==3||!m.isBlock(A.name)){A.parent.insert(D,A,A.name==="br");break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&&A.nodeName==="BR")){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=n.selection.getNode();z=n.getBody();if(E.nodeType==9){E=A=z}else{A=E}while(A!==z){E=A;A=A.parentNode}K=E==z?z.innerHTML:m.getOuterHTML(E);K=J.serialize(y.parse(K.replace(//i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get("mce_marker");C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h>L.y+L.h||C.yL.x+L.w||C.x")},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand("mceInsertContent",false,v.replace(/\{\$selection\}/g,p.getContent({format:"text"})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)=="string"){x={href:x}}v=m.getParent(p.getNode(),"a");x.href=x.href.replace(" ","%20");if(!v||!x.href){q.remove("link")}if(x.href){q.apply("link",x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();v.setStart(x,0);v.setEnd(x,x.childNodes.length);n.selection.setRng(v)}});u({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(v){return t("align"+v.substring(7))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){return t(v)},mceBlockQuote:function(){return t("blockquote")},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}}return l("InsertUnorderedList")||l("InsertOrderedList")||(!k.inline_styles&&!!m.getParent(p.getNode(),"BLOCKQUOTE"))},"InsertUnorderedList,InsertOrderedList":function(v){return m.getParent(p.getNode(),v=="insertunorderedlist"?"UL":"OL")}},"state");u({"FontSize,FontName":function(y){var x=0,v;if(v=m.getParent(p.getNode(),"span")){if(y=="fontsize"){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return x}},"value");if(k.custom_undo_redo){u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(f){var d,e=0,h=[],c;function g(){return b.trim(f.getContent({format:"raw",no_events:1}))}return d={typing:false,onAdd:new a(d),onUndo:new a(d),onRedo:new a(d),beforeChange:function(){c=f.selection.getBookmark(2,true)},add:function(m){var j,k=f.settings,l;m=m||{};m.content=g();l=h[e];if(l&&l.content==m.content){return null}if(h[e]){h[e].beforeBookmark=c}if(k.custom_undo_redo_levels){if(h.length>k.custom_undo_redo_levels){for(j=0;j0){k=h[--e];f.setContent(k.content,{format:"raw"});f.selection.moveToBookmark(k.beforeBookmark);d.onUndo.dispatch(d,k)}return k},redo:function(){var i;if(e0||this.typing},hasRedo:function(){return e');q.replace(p,m);o.select(p,1)}return g}return d}l.create("tinymce.ForceBlocks",{ForceBlocks:function(m){var n=this,o=m.settings,p;n.editor=m;n.dom=m.dom;p=(o.forced_root_block||"p").toLowerCase();o.element=p.toUpperCase();m.onPreInit.add(n.setup,n)},setup:function(){var n=this,m=n.editor,p=m.settings,u=m.dom,o=m.selection,q=m.schema.getBlockElements();if(p.forced_root_block){function v(){var y=o.getStart(),t=m.getBody(),s,z,D,F,E,x,A,B=-16777215;if(!y||y.nodeType!==1){return}while(y!=t){if(q[y.nodeName]){return}y=y.parentNode}s=o.getRng();if(s.setStart){z=s.startContainer;D=s.startOffset;F=s.endContainer;E=s.endOffset}else{if(s.item){s=m.getDoc().body.createTextRange();s.moveToElementText(s.item(0))}tmpRng=s.duplicate();tmpRng.collapse(true);D=tmpRng.move("character",B)*-1;if(!tmpRng.collapsed){tmpRng=s.duplicate();tmpRng.collapse(false);E=(tmpRng.move("character",B)*-1)-D}}for(y=t.firstChild;y;y){if(y.nodeType===3||(y.nodeType==1&&!q[y.nodeName])){if(!x){x=u.create(p.forced_root_block);y.parentNode.insertBefore(x,y)}A=y;y=y.nextSibling;x.appendChild(A)}else{x=null;y=y.nextSibling}}if(s.setStart){s.setStart(z,D);s.setEnd(F,E);o.setRng(s)}else{try{s=m.getDoc().body.createTextRange();s.moveToElementText(t);s.collapse(true);s.moveStart("character",D);if(E>0){s.moveEnd("character",E)}s.select()}catch(C){}}m.nodeChanged()}m.onKeyUp.add(v);m.onClick.add(v)}if(p.force_br_newlines){if(c){m.onKeyPress.add(function(s,t){var x;if(t.keyCode==13&&o.getNode().nodeName!="LI"){o.setContent('
    ',{format:"raw"});x=u.get("__");x.removeAttribute("id");o.select(x);o.collapse();return j.cancel(t)}})}}if(p.force_p_newlines){if(!c){m.onKeyPress.add(function(s,t){if(t.keyCode==13&&!t.shiftKey&&!n.insertPara(t)){j.cancel(t)}})}else{l.addUnload(function(){n._previousFormats=0});m.onKeyPress.add(function(s,t){n._previousFormats=0;if(t.keyCode==13&&!t.shiftKey&&s.selection.isCollapsed()&&p.keep_styles){n._previousFormats=k(s.selection.getStart())}});m.onKeyUp.add(function(t,y){if(y.keyCode==13&&!y.shiftKey){var x=t.selection.getStart(),s=n._previousFormats;if(!x.hasChildNodes()&&s){x=u.getParent(x,u.isBlock);if(x&&x.nodeName!="LI"){x.innerHTML="";if(n._previousFormats){x.appendChild(s.wrapper);s.inner.innerHTML="\uFEFF"}else{x.innerHTML="\uFEFF"}o.select(x,1);o.collapse(true);t.getDoc().execCommand("Delete",false,null);n._previousFormats=0}}}})}if(a){m.onKeyDown.add(function(s,t){if((t.keyCode==8||t.keyCode==46)&&!t.shiftKey){n.backspaceDelete(t,t.keyCode==8)}})}}if(l.isWebKit){function r(t){var s=o.getRng(),x,A=u.create("div",null," "),z,y=u.getViewPort(t.getWin()).h;s.insertNode(x=u.create("br"));s.setStartAfter(x);s.setEndAfter(x);o.setRng(s);if(o.getSel().focusNode==x.previousSibling){o.select(u.insertAfter(u.doc.createTextNode("\u00a0"),x));o.collapse(d)}u.insertAfter(A,x);z=u.getPos(A).y;u.remove(A);if(z>y){t.getWin().scrollTo(0,z)}}m.onKeyPress.add(function(s,t){if(t.keyCode==13&&(t.shiftKey||(p.force_br_newlines&&!u.getParent(o.getNode(),"h1,h2,h3,h4,h5,h6,ol,ul")))){r(s);j.cancel(t)}})}if(c){if(p.element!="P"){m.onKeyPress.add(function(s,t){n.lastElm=o.getNode().nodeName});m.onKeyUp.add(function(t,x){var z,y=o.getNode(),s=t.getBody();if(s.childNodes.length===1&&y.nodeName=="P"){y=u.rename(y,p.element);o.select(y);o.collapse();t.nodeChanged()}else{if(x.keyCode==13&&!x.shiftKey&&n.lastElm!="P"){z=u.getParent(y,"p");if(z){u.rename(z,p.element);t.nodeChanged()}}}})}}},getParentBlock:function(o){var m=this.dom;return m.getParent(o,m.isBlock)},insertPara:function(Q){var E=this,v=E.editor,M=v.dom,R=v.getDoc(),V=v.settings,F=v.selection.getSel(),G=F.getRangeAt(0),U=R.body;var J,K,H,O,N,q,o,u,z,m,C,T,p,x,I,L=M.getViewPort(v.getWin()),B,D,A;v.undoManager.beforeChange();J=R.createRange();J.setStart(F.anchorNode,F.anchorOffset);J.collapse(d);K=R.createRange();K.setStart(F.focusNode,F.focusOffset);K.collapse(d);H=J.compareBoundaryPoints(J.START_TO_END,K)<0;O=H?F.anchorNode:F.focusNode;N=H?F.anchorOffset:F.focusOffset;q=H?F.focusNode:F.anchorNode;o=H?F.focusOffset:F.anchorOffset;if(O===q&&/^(TD|TH)$/.test(O.nodeName)){if(O.firstChild.nodeName=="BR"){M.remove(O.firstChild)}if(O.childNodes.length==0){v.dom.add(O,V.element,null,"
    ");T=v.dom.add(O,V.element,null,"
    ")}else{I=O.innerHTML;O.innerHTML="";v.dom.add(O,V.element,null,I);T=v.dom.add(O,V.element,null,"
    ")}G=R.createRange();G.selectNodeContents(T);G.collapse(1);v.selection.setRng(G);return g}if(O==U&&q==U&&U.firstChild&&v.dom.isBlock(U.firstChild)){O=q=O.firstChild;N=o=0;J=R.createRange();J.setStart(O,0);K=R.createRange();K.setStart(q,0)}if(!R.body.hasChildNodes()){R.body.appendChild(M.create("br"))}O=O.nodeName=="HTML"?R.body:O;O=O.nodeName=="BODY"?O.firstChild:O;q=q.nodeName=="HTML"?R.body:q;q=q.nodeName=="BODY"?q.firstChild:q;u=E.getParentBlock(O);z=E.getParentBlock(q);m=u?u.nodeName:V.element;if(I=E.dom.getParent(u,"li,pre")){if(I.nodeName=="LI"){return e(v.selection,E.dom,I)}return d}if(u&&(u.nodeName=="CAPTION"||/absolute|relative|fixed/gi.test(M.getStyle(u,"position",1)))){m=V.element;u=null}if(z&&(z.nodeName=="CAPTION"||/absolute|relative|fixed/gi.test(M.getStyle(u,"position",1)))){m=V.element;z=null}if(/(TD|TABLE|TH|CAPTION)/.test(m)||(u&&m=="DIV"&&/left|right/gi.test(M.getStyle(u,"float",1)))){m=V.element;u=z=null}C=(u&&u.nodeName==m)?u.cloneNode(0):v.dom.create(m);T=(z&&z.nodeName==m)?z.cloneNode(0):v.dom.create(m);T.removeAttribute("id");if(/^(H[1-6])$/.test(m)&&f(G,u)){T=v.dom.create(V.element)}I=p=O;do{if(I==U||I.nodeType==9||E.dom.isBlock(I)||/(TD|TABLE|TH|CAPTION)/.test(I.nodeName)){break}p=I}while((I=I.previousSibling?I.previousSibling:I.parentNode));I=x=q;do{if(I==U||I.nodeType==9||E.dom.isBlock(I)||/(TD|TABLE|TH|CAPTION)/.test(I.nodeName)){break}x=I}while((I=I.nextSibling?I.nextSibling:I.parentNode));if(p.nodeName==m){J.setStart(p,0)}else{J.setStartBefore(p)}J.setEnd(O,N);C.appendChild(J.cloneContents()||R.createTextNode(""));try{K.setEndAfter(x)}catch(P){}K.setStart(q,o);T.appendChild(K.cloneContents()||R.createTextNode(""));G=R.createRange();if(!p.previousSibling&&p.parentNode.nodeName==m){G.setStartBefore(p.parentNode)}else{if(J.startContainer.nodeName==m&&J.startOffset==0){G.setStartBefore(J.startContainer)}else{G.setStart(J.startContainer,J.startOffset)}}if(!x.nextSibling&&x.parentNode.nodeName==m){G.setEndAfter(x.parentNode)}else{G.setEnd(K.endContainer,K.endOffset)}G.deleteContents();if(b){v.getWin().scrollTo(0,L.y)}if(C.firstChild&&C.firstChild.nodeName==m){C.innerHTML=C.firstChild.innerHTML}if(T.firstChild&&T.firstChild.nodeName==m){T.innerHTML=T.firstChild.innerHTML}function S(y,s){var r=[],X,W,t;y.innerHTML="";if(V.keep_styles){W=s;do{if(/^(SPAN|STRONG|B|EM|I|FONT|STRIKE|U)$/.test(W.nodeName)){X=W.cloneNode(g);M.setAttrib(X,"id","");r.push(X)}}while(W=W.parentNode)}if(r.length>0){for(t=r.length-1,X=y;t>=0;t--){X=X.appendChild(r[t])}r[0].innerHTML=b?"\u00a0":"
    ";return r[0]}else{y.innerHTML=b?"\u00a0":"
    "}}if(M.isEmpty(C)){S(C,O)}if(M.isEmpty(T)){A=S(T,q)}if(b&&parseFloat(opera.version())<9.5){G.insertNode(C);G.insertNode(T)}else{G.insertNode(T);G.insertNode(C)}T.normalize();C.normalize();v.selection.select(T,true);v.selection.collapse(true);B=v.dom.getPos(T).y;if(BL.y+L.h){v.getWin().scrollTo(0,B1||ab==at){return ab}}}var al=U.selection.getRng();var ap=al.startContainer;var ak=al.endContainer;if(ap!=ak&&al.endOffset==0){var ao=am(ap,ak);var an=ao.nodeType==3?ao.length:ao.childNodes.length;al.setEnd(ao,an)}return al}function X(an,at,aq,ap,al){var ak=[],am=-1,ar,av=-1,ao=-1,au;O(an.childNodes,function(ax,aw){if(ax.nodeName==="UL"||ax.nodeName==="OL"){am=aw;ar=ax;return false}});O(an.childNodes,function(ax,aw){if(ax.nodeName==="SPAN"&&c.getAttrib(ax,"data-mce-type")=="bookmark"){if(ax.id==at.id+"_start"){av=aw}else{if(ax.id==at.id+"_end"){ao=aw}}}});if(am<=0||(avam)){O(a.grep(an.childNodes),al);return 0}else{au=aq.cloneNode(R);O(a.grep(an.childNodes),function(ax,aw){if((avam&&aw>am)){ak.push(ax);ax.parentNode.removeChild(ax)}});if(avam){an.insertBefore(au,ar.nextSibling)}}ap.push(au);O(ak,function(aw){au.appendChild(aw)});return au}}function ai(al,an,ap){var ak=[],ao,am;ao=ah.inline||ah.block;am=c.create(ao);V(am);K.walk(al,function(aq){var ar;function at(au){var ax=au.nodeName.toLowerCase(),aw=au.parentNode.nodeName.toLowerCase(),av;if(g(ax,"br")){ar=0;if(ah.block){c.remove(au)}return}if(ah.wrapper&&x(au,Y,ag)){ar=0;return}if(ah.block&&!ah.wrapper&&G(ax)){au=c.rename(au,ao);V(au);ak.push(au);ar=0;return}if(ah.selector){O(ac,function(ay){if("collapsed" in ay&&ay.collapsed!==ad){return}if(c.is(au,ay.selector)&&!b(au)){V(au,ay);av=true}});if(!ah.inline||av){ar=0;return}}if(d(ao,ax)&&d(aw,ao)&&!(!ap&&au.nodeType===3&&au.nodeValue.length===1&&au.nodeValue.charCodeAt(0)===65279)&&au.id!=="_mce_caret"){if(!ar){ar=am.cloneNode(R);au.parentNode.insertBefore(ar,au);ak.push(ar)}ar.appendChild(au)}else{if(ax=="li"&&an){ar=X(au,an,am,ak,at)}else{ar=0;O(a.grep(au.childNodes),at);ar=0}}}O(aq,at)});if(ah.wrap_links===false){O(ak,function(aq){function ar(aw){var av,au,at;if(aw.nodeName==="A"){au=am.cloneNode(R);ak.push(au);at=a.grep(aw.childNodes);for(av=0;av1||!F(at))&&aq===0){c.remove(at,1);return}if(ah.inline||ah.wrapper){if(!ah.exact&&aq===1){at=ar(at)}O(ac,function(av){O(c.select(av.inline,at),function(ax){var aw;if(av.wrap_links===false){aw=ax.parentNode;do{if(aw.nodeName==="A"){return}}while(aw=aw.parentNode)}T(av,ag,ax,av.exact?ax:null)})});if(x(at.parentNode,Y,ag)){c.remove(at,1);at=0;return B}if(ah.merge_with_parents){c.getParent(at.parentNode,function(av){if(x(av,Y,ag)){c.remove(at,1);at=0;return B}})}if(at&&ah.merge_siblings!==false){at=u(C(at),at);at=u(at,C(at,B))}}})}if(ah){if(ab){if(ab.nodeType){W=c.createRng();W.setStartBefore(ab);W.setEndAfter(ab);ai(o(W,ac),null,true)}else{ai(ab,null,true)}}else{if(!ad||!ah.inline||c.select("td.mceSelected,th.mceSelected").length){var aj=U.selection.getNode();U.selection.setRng(aa());af=q.getBookmark();ai(o(q.getRng(B),ac),af);if(ah.styles&&(ah.styles.color||ah.styles.textDecoration)){a.walk(aj,I,"childNodes");I(aj)}q.moveToBookmark(af);q.setRng(Z(q.getRng(B)));U.nodeChanged()}else{P("apply",Y,ag)}}}}function A(X,ag,aa){var ab=Q(X),ai=ab[0],af,ae,W;function Z(al){var ak=al.startContainer,aq=al.startOffset,ap,ao,am,an;if(ak.nodeType==3&&aq>=ak.nodeValue.length-1){ak=ak.parentNode;aq=s(ak)+1}if(ak.nodeType==1){am=ak.childNodes;ak=am[Math.min(aq,am.length-1)];ap=new t(ak);if(aq>am.length-1){ap.next()}for(ao=ap.current();ao;ao=ap.next()){if(ao.nodeType==3&&!f(ao)){an=c.create("a",null,E);ao.parentNode.insertBefore(an,ao);al.setStart(ao,0);q.setRng(al);c.remove(an);return}}}}function Y(an){var am,al,ak;am=a.grep(an.childNodes);for(al=0,ak=ab.length;al=0;W--){V=ab[W].selector;if(!V){return B}for(aa=X.length-1;aa>=0;aa--){if(c.is(X[aa],V)){return B}}}}return R}a.extend(this,{get:Q,register:k,apply:S,remove:A,toggle:D,match:j,matchAll:v,matchNode:x,canApply:y});function h(V,W){if(g(V,W.inline)){return B}if(g(V,W.block)){return B}if(W.selector){return c.is(V,W.selector)}}function g(W,V){W=W||"";V=V||"";W=""+(W.nodeName||W);V=""+(V.nodeName||V);return W.toLowerCase()==V.toLowerCase()}function L(W,V){var X=c.getStyle(W,V);if(V=="color"||V=="backgroundColor"){X=c.toHex(X)}if(V=="fontWeight"&&X==700){X="bold"}return""+X}function r(V,W){if(typeof(V)!="string"){V=V(W)}else{if(W){V=V.replace(/%(\w+)/g,function(Y,X){return W[X]||Y})}}return V}function f(V){return V&&V.nodeType===3&&/^([\t \r\n]+|)$/.test(V.nodeValue)}function N(X,W,V){var Y=c.create(W,V);X.parentNode.insertBefore(Y,X);Y.appendChild(X);return Y}function o(V,ah,Y){var X=V.startContainer,ac=V.startOffset,ak=V.endContainer,ae=V.endOffset,aj,ag,ab,af;function ai(aq){var al,ao,ap,an,am;al=ao=aq?X:ak;am=aq?"previousSibling":"nextSibling";root=c.getRoot();if(al.nodeType==3&&!f(al)){if(aq?ac>0:aeag?ag:ac];if(X.nodeType==3){ac=0}}if(ak.nodeType==1&&ak.hasChildNodes()){ag=ak.childNodes.length-1;ak=ak.childNodes[ae>ag?ag:ae-1];if(ak.nodeType==3){ae=ak.nodeValue.length}}if(H(X.parentNode)||H(X)){X=H(X)?X:X.parentNode;X=X.nextSibling||X;if(X.nodeType==3){ac=0}}if(H(ak.parentNode)||H(ak)){ak=H(ak)?ak:ak.parentNode;ak=ak.previousSibling||ak;if(ak.nodeType==3){ae=ak.length}}if(ah[0].inline){if(V.collapsed){function ad(am,aq,at){var ap,an,ar,al;function ao(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&&!Y){ay++}}else{ay=aw.indexOf(" ",ax);au=aw.indexOf("\u00a0",ax);ay=ay!==-1&&(au===-1||ay0&&ab.node.nodeType===3&&ab.node.nodeValue.charAt(ab.offset-1)===" "){if(ab.offset>1){ak=ab.node;ak.splitText(ab.offset-1)}else{if(ab.node.previousSibling){}}}}}if(ah[0].inline||ah[0].block_expand){if(!ah[0].inline||(X.nodeType!=3||ac===0)){X=ai(true)}if(!ah[0].inline||(ak.nodeType!=3||ae===ak.nodeValue.length)){ak=ai()}}if(ah[0].selector&&ah[0].expand!==R&&!ah[0].inline){function Z(am,al){var an,ao,aq,ap;if(am.nodeType==3&&am.nodeValue.length==0&&am[al]){am=am[al]}an=m(am);for(ao=0;aoX?X:Z]}if(V.nodeType===3&&aa&&Z>=V.nodeValue.length){V=new t(V,U.getBody()).next()||V}if(V.nodeType===3&&!aa&&Z==0){V=new t(V,U.getBody()).prev()||V}return V}function P(ae,V,ac){var ah,af="_mce_caret",W=U.settings.caret_debug;ah=a.isGecko?"\u200B":E;function X(aj){var ai=c.create("span",{id:af,"data-mce-bogus":true,style:W?"color:red":""});if(aj){ai.appendChild(U.getDoc().createTextNode(ah))}return ai}function ad(aj,ai){while(aj){if((aj.nodeType===3&&aj.nodeValue!==ah)||aj.childNodes.length>1){return false}if(ai&&aj.nodeType===1){ai.push(aj)}aj=aj.firstChild}return true}function aa(ai){while(ai){if(ai.id===af){return ai}ai=ai.parentNode}}function Z(ai){var aj;if(ai){aj=new t(ai,ai);for(ai=aj.current();ai;ai=aj.next()){if(ai.nodeType===3){return ai}}}}function Y(ak,aj){var al,ai;if(!ak){ak=aa(q.getStart());if(!ak){while(ak=c.get(af)){Y(ak,false)}}}else{ai=q.getRng(true);if(ad(ak)){if(aj!==false){ai.setStartBefore(ak);ai.setEndBefore(ak)}c.remove(ak)}else{al=Z(ak);al=al.deleteData(0,1);c.remove(ak,1)}q.setRng(ai)}}function ab(){var ak,ai,ao,an,al,aj,am;ak=q.getRng(true);an=ak.startOffset;aj=ak.startContainer;am=aj.nodeValue;ai=aa(q.getStart());if(ai){ao=Z(ai)}if(am&&an>0&&an=0;am--){ak.appendChild(aq[am].cloneNode(false));ak=ak.firstChild}ak.appendChild(c.doc.createTextNode(ah));ak=ak.firstChild;c.insertAfter(ap,ar);q.setCursorLocation(ak,1)}}U.onBeforeGetContent.addToTop(function(){var ai=[],aj;if(ad(aa(q.getStart()),ai)){aj=ai.length;while(aj--){c.setAttrib(ai[aj],"data-mce-bogus","1")}}});a.each("onMouseUp onKeyUp".split(" "),function(ai){U[ai].addToTop(function(){Y()})});U.onKeyDown.addToTop(function(ai,ak){var aj=ak.keyCode;if(aj==8||aj==37||aj==39){Y(aa(q.getStart()))}});if(ae=="apply"){ab()}else{ag()}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;if(c.inline_styles){h=e.explode(c.font_size_legacy_values);function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,"span")}d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size)-1]})},u:function(j,i){b(i,{textDecoration:"underline"})},strike:function(j,i){b(i,{textDecoration:"line-through"})}};function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select("font,u,strike",j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}a.onPreProcess.add(f);a.onSetContent.add(f);a.onInit.add(function(){a.selection.onSetContent.add(f)})}}); \ No newline at end of file diff --git a/js/jquery/tiny_mce/tiny_mce_init.php b/js/jquery/tiny_mce/tiny_mce_init.php deleted file mode 100644 index d04920e1..00000000 --- a/js/jquery/tiny_mce/tiny_mce_init.php +++ /dev/null @@ -1,31 +0,0 @@ - -tinyMCE.init({ - // General options - mode : "textareas", - theme : "advanced", - editor_selector : "tinyMCE", - skin : "o2k7", - skin_variant : "silver", - dialog_type : "modal", - remove_script_host : false, - relative_urls : false, - plugins : "Archiv,inlinepopups,table,save,advhr,advimage,advlink,searchreplace,paste,directionality,media", - Archiv_settings_file : "/plugins/Archiv/config.php", - // Theme options - theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,tablecontrols,|,Archiv_images,Archiv_files", - theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword ,search,replace,|,bullist,numlist,outdent,indent,blockquote,|,link,unlink,anchor,image,media,cleanup", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_statusbar_location : "bottom", - theme_advanced_resizing : true, - theme_advanced_resize_horizontal : false, - width : "100%" -}); - -function toggleEditor(id) { - if (!tinyMCE.get(id)) - tinyMCE.execCommand('mceAddControl', false, id); - else - tinyMCE.execCommand('mceRemoveControl', false, id); -} \ No newline at end of file diff --git a/js/jquery/tiny_mce/tiny_mce_popup.js b/js/jquery/tiny_mce/tiny_mce_popup.js deleted file mode 100644 index f859d24e..00000000 --- a/js/jquery/tiny_mce/tiny_mce_popup.js +++ /dev/null @@ -1,5 +0,0 @@ - -// Uncomment and change this document.domain value if you are loading the script cross subdomains -// document.domain = 'moxiecode.com'; - -var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write('