Changeset 1233972
- Timestamp:
- 08/30/2015 06:37:43 AM (10 years ago)
- Location:
- svs-pricing-tables
- Files:
-
- 14 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
svs-pricing-tables/trunk/app/controller/svs_pt_controller_main.php
r1228028 r1233972 35 35 $_data['templates'] = $this->svs_pt_model_main->getTemplates(); 36 36 $_data['pricingTable'] = $this->svs_pt_model_main->getPricingTable(); 37 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0. 0', true);37 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0.1', true); 38 38 wp_localize_script('js_svs_admin', 'SVSPricingTables', array( 'plugin_url' => plugins_url('/', $svs_pt_root_dir) )); 39 39 $this->loadView('pt_edit', $_data); … … 47 47 $_data['templates'] = $this->svs_pt_model_main->getTemplates(); 48 48 $_data['pricingTable'] = $this->svs_pt_model_main->getPricingTable(@$_GET['ID']); 49 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0. 0', true);49 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0.1', true); 50 50 wp_localize_script('js_svs_admin', 'SVSPricingTables', array( 'plugin_url' => plugins_url('/', $svs_pt_root_dir), 'name' => @$_data['pricingTable']['name'], 'ID' => @$_data['pricingTable']['id'] )); 51 51 $this->loadView('pt_edit', $_data); … … 97 97 { 98 98 $svs_pt_root_dir = str_replace('controller','', __DIR__); 99 wp_enqueue_style('css_svs_admin_min', plugins_url('css/svs_pt_admin.min.css', $svs_pt_root_dir), false, '1.0. 0');100 wp_enqueue_style('css_svs_pt_general', plugins_url('css/svs_pt_general.css', $svs_pt_root_dir), false, '1.0. 0');99 wp_enqueue_style('css_svs_admin_min', plugins_url('css/svs_pt_admin.min.css', $svs_pt_root_dir), false, '1.0.1'); 100 wp_enqueue_style('css_svs_pt_general', plugins_url('css/svs_pt_general.css', $svs_pt_root_dir), false, '1.0.1'); 101 101 } 102 102 -
svs-pricing-tables/trunk/app/view/svs_pt_edit.php
r1228028 r1233972 24 24 </ol> 25 25 </div> 26 <div class="svs_pt_column_size"> 27 Column width: 28 <select> 29 <option value="default">Default</option> 30 <option value="200px">200px</option> 31 <option value="225px">225px</option> 32 <option value="250px">250px</option> 33 <option value="275px">275px</option> 34 <option value="300px">300px</option> 35 <option value="325px">325px</option> 36 <option value="350px">350px</option> 37 </select> 38 </div> 26 39 <div class="svs_pt_builder_workarea svs_pt_clearfix"> 27 40 <?php echo base64_decode($_data['pricingTable']['backend']);?> -
svs-pricing-tables/trunk/css/svs_pt_admin.min.css
r1228028 r1233972 1 ul.thumbnails.image_picker_selector{overflow:auto;list-style-image:none;list-style-position:outside;list-style-type:none;padding:0;margin:0}ul.thumbnails.image_picker_selector ul{overflow:auto;list-style-image:none;list-style-position:outside;list-style-type:none;padding:0;margin:0}ul.thumbnails.image_picker_selector li.group_title{float:none}ul.thumbnails.image_picker_selector li{margin:0 12px 12px 0;float:left}ul.thumbnails.image_picker_selector li .thumbnail{padding:6px;border:1px solid #ddd;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}ul.thumbnails.image_picker_selector li .thumbnail img{-webkit-user-drag:none}ul.thumbnails.image_picker_selector li .thumbnail.selected{background:#08c} .loadmask{z-index:100;position:absolute;top:0;left:0;-moz-opacity:.5;opacity:.50;filter:alpha(opacity=50);background-color:#CCC;width:100%;height:100%;zoom:1}.loadmask-msg{z-index:20001;position:absolute;top:0;left:0;border:1px solid #6593cf;background:#c3daf9;padding:2px}.loadmask-msg div{padding:5px 10px 5px 25px;background:#fbfbfb url('../images/loading.gif') no-repeat 5px 5px;line-height:16px;border:1px solid #a3bad9;color:#222;font:normal 11px tahoma,arial,helvetica,sans-serif;cursor:wait}.masked{overflow:hidden !important}.masked-relative{position:relative !important}.masked-hidden{visibility:hidden !important} @font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi[data-glyph].oi-text-replace{font-size:0;line-height:0}.oi[data-glyph].oi-text-replace:before{width:1em;text-align:center}.oi[data-glyph]:before{font-family:Icons;display:inline-block;speak:none;line-height:1;vertical-align:baseline;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi[data-glyph]:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi[data-glyph].oi-align-left:before{text-align:left}.oi[data-glyph].oi-align-right:before{text-align:right}.oi[data-glyph].oi-align-center:before{text-align:center}.oi[data-glyph].oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi[data-glyph].oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi[data-glyph].oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi[data-glyph=account-login]:before{content:'\e000'}.oi[data-glyph=account-logout]:before{content:'\e001'}.oi[data-glyph=action-redo]:before{content:'\e002'}.oi[data-glyph=action-undo]:before{content:'\e003'}.oi[data-glyph=align-center]:before{content:'\e004'}.oi[data-glyph=align-left]:before{content:'\e005'}.oi[data-glyph=align-right]:before{content:'\e006'}.oi[data-glyph=aperture]:before{content:'\e007'}.oi[data-glyph=arrow-bottom]:before{content:'\e008'}.oi[data-glyph=arrow-circle-bottom]:before{content:'\e009'}.oi[data-glyph=arrow-circle-left]:before{content:'\e00a'}.oi[data-glyph=arrow-circle-right]:before{content:'\e00b'}.oi[data-glyph=arrow-circle-top]:before{content:'\e00c'}.oi[data-glyph=arrow-left]:before{content:'\e00d'}.oi[data-glyph=arrow-right]:before{content:'\e00e'}.oi[data-glyph=arrow-thick-bottom]:before{content:'\e00f'}.oi[data-glyph=arrow-thick-left]:before{content:'\e010'}.oi[data-glyph=arrow-thick-right]:before{content:'\e011'}.oi[data-glyph=arrow-thick-top]:before{content:'\e012'}.oi[data-glyph=arrow-top]:before{content:'\e013'}.oi[data-glyph=audio-spectrum]:before{content:'\e014'}.oi[data-glyph=audio]:before{content:'\e015'}.oi[data-glyph=badge]:before{content:'\e016'}.oi[data-glyph=ban]:before{content:'\e017'}.oi[data-glyph=bar-chart]:before{content:'\e018'}.oi[data-glyph=basket]:before{content:'\e019'}.oi[data-glyph=battery-empty]:before{content:'\e01a'}.oi[data-glyph=battery-full]:before{content:'\e01b'}.oi[data-glyph=beaker]:before{content:'\e01c'}.oi[data-glyph=bell]:before{content:'\e01d'}.oi[data-glyph=bluetooth]:before{content:'\e01e'}.oi[data-glyph=bold]:before{content:'\e01f'}.oi[data-glyph=bolt]:before{content:'\e020'}.oi[data-glyph=book]:before{content:'\e021'}.oi[data-glyph=bookmark]:before{content:'\e022'}.oi[data-glyph=box]:before{content:'\e023'}.oi[data-glyph=briefcase]:before{content:'\e024'}.oi[data-glyph=british-pound]:before{content:'\e025'}.oi[data-glyph=browser]:before{content:'\e026'}.oi[data-glyph=brush]:before{content:'\e027'}.oi[data-glyph=bug]:before{content:'\e028'}.oi[data-glyph=bullhorn]:before{content:'\e029'}.oi[data-glyph=calculator]:before{content:'\e02a'}.oi[data-glyph=calendar]:before{content:'\e02b'}.oi[data-glyph=camera-slr]:before{content:'\e02c'}.oi[data-glyph=caret-bottom]:before{content:'\e02d'}.oi[data-glyph=caret-left]:before{content:'\e02e'}.oi[data-glyph=caret-right]:before{content:'\e02f'}.oi[data-glyph=caret-top]:before{content:'\e030'}.oi[data-glyph=cart]:before{content:'\e031'}.oi[data-glyph=chat]:before{content:'\e032'}.oi[data-glyph=check]:before{content:'\e033'}.oi[data-glyph=chevron-bottom]:before{content:'\e034'}.oi[data-glyph=chevron-left]:before{content:'\e035'}.oi[data-glyph=chevron-right]:before{content:'\e036'}.oi[data-glyph=chevron-top]:before{content:'\e037'}.oi[data-glyph=circle-check]:before{content:'\e038'}.oi[data-glyph=circle-x]:before{content:'\e039'}.oi[data-glyph=clipboard]:before{content:'\e03a'}.oi[data-glyph=clock]:before{content:'\e03b'}.oi[data-glyph=cloud-download]:before{content:'\e03c'}.oi[data-glyph=cloud-upload]:before{content:'\e03d'}.oi[data-glyph=cloud]:before{content:'\e03e'}.oi[data-glyph=cloudy]:before{content:'\e03f'}.oi[data-glyph=code]:before{content:'\e040'}.oi[data-glyph=cog]:before{content:'\e041'}.oi[data-glyph=collapse-down]:before{content:'\e042'}.oi[data-glyph=collapse-left]:before{content:'\e043'}.oi[data-glyph=collapse-right]:before{content:'\e044'}.oi[data-glyph=collapse-up]:before{content:'\e045'}.oi[data-glyph=command]:before{content:'\e046'}.oi[data-glyph=comment-square]:before{content:'\e047'}.oi[data-glyph=compass]:before{content:'\e048'}.oi[data-glyph=contrast]:before{content:'\e049'}.oi[data-glyph=copywriting]:before{content:'\e04a'}.oi[data-glyph=credit-card]:before{content:'\e04b'}.oi[data-glyph=crop]:before{content:'\e04c'}.oi[data-glyph=dashboard]:before{content:'\e04d'}.oi[data-glyph=data-transfer-download]:before{content:'\e04e'}.oi[data-glyph=data-transfer-upload]:before{content:'\e04f'}.oi[data-glyph=delete]:before{content:'\e050'}.oi[data-glyph=dial]:before{content:'\e051'}.oi[data-glyph=document]:before{content:'\e052'}.oi[data-glyph=dollar]:before{content:'\e053'}.oi[data-glyph=double-quote-sans-left]:before{content:'\e054'}.oi[data-glyph=double-quote-sans-right]:before{content:'\e055'}.oi[data-glyph=double-quote-serif-left]:before{content:'\e056'}.oi[data-glyph=double-quote-serif-right]:before{content:'\e057'}.oi[data-glyph=droplet]:before{content:'\e058'}.oi[data-glyph=eject]:before{content:'\e059'}.oi[data-glyph=elevator]:before{content:'\e05a'}.oi[data-glyph=ellipses]:before{content:'\e05b'}.oi[data-glyph=envelope-closed]:before{content:'\e05c'}.oi[data-glyph=envelope-open]:before{content:'\e05d'}.oi[data-glyph=euro]:before{content:'\e05e'}.oi[data-glyph=excerpt]:before{content:'\e05f'}.oi[data-glyph=expand-down]:before{content:'\e060'}.oi[data-glyph=expand-left]:before{content:'\e061'}.oi[data-glyph=expand-right]:before{content:'\e062'}.oi[data-glyph=expand-up]:before{content:'\e063'}.oi[data-glyph=external-link]:before{content:'\e064'}.oi[data-glyph=eye]:before{content:'\e065'}.oi[data-glyph=eyedropper]:before{content:'\e066'}.oi[data-glyph=file]:before{content:'\e067'}.oi[data-glyph=fire]:before{content:'\e068'}.oi[data-glyph=flag]:before{content:'\e069'}.oi[data-glyph=flash]:before{content:'\e06a'}.oi[data-glyph=folder]:before{content:'\e06b'}.oi[data-glyph=fork]:before{content:'\e06c'}.oi[data-glyph=fullscreen-enter]:before{content:'\e06d'}.oi[data-glyph=fullscreen-exit]:before{content:'\e06e'}.oi[data-glyph=globe]:before{content:'\e06f'}.oi[data-glyph=graph]:before{content:'\e070'}.oi[data-glyph=grid-four-up]:before{content:'\e071'}.oi[data-glyph=grid-three-up]:before{content:'\e072'}.oi[data-glyph=grid-two-up]:before{content:'\e073'}.oi[data-glyph=hard-drive]:before{content:'\e074'}.oi[data-glyph=header]:before{content:'\e075'}.oi[data-glyph=headphones]:before{content:'\e076'}.oi[data-glyph=heart]:before{content:'\e077'}.oi[data-glyph=home]:before{content:'\e078'}.oi[data-glyph=image]:before{content:'\e079'}.oi[data-glyph=inbox]:before{content:'\e07a'}.oi[data-glyph=infinity]:before{content:'\e07b'}.oi[data-glyph=info]:before{content:'\e07c'}.oi[data-glyph=italic]:before{content:'\e07d'}.oi[data-glyph=justify-center]:before{content:'\e07e'}.oi[data-glyph=justify-left]:before{content:'\e07f'}.oi[data-glyph=justify-right]:before{content:'\e080'}.oi[data-glyph=key]:before{content:'\e081'}.oi[data-glyph=laptop]:before{content:'\e082'}.oi[data-glyph=layers]:before{content:'\e083'}.oi[data-glyph=lightbulb]:before{content:'\e084'}.oi[data-glyph=link-broken]:before{content:'\e085'}.oi[data-glyph=link-intact]:before{content:'\e086'}.oi[data-glyph=list-rich]:before{content:'\e087'}.oi[data-glyph=list]:before{content:'\e088'}.oi[data-glyph=location]:before{content:'\e089'}.oi[data-glyph=lock-locked]:before{content:'\e08a'}.oi[data-glyph=lock-unlocked]:before{content:'\e08b'}.oi[data-glyph=loop-circular]:before{content:'\e08c'}.oi[data-glyph=loop-square]:before{content:'\e08d'}.oi[data-glyph=loop]:before{content:'\e08e'}.oi[data-glyph=magnifying-glass]:before{content:'\e08f'}.oi[data-glyph=map-marker]:before{content:'\e090'}.oi[data-glyph=map]:before{content:'\e091'}.oi[data-glyph=media-pause]:before{content:'\e092'}.oi[data-glyph=media-play]:before{content:'\e093'}.oi[data-glyph=media-record]:before{content:'\e094'}.oi[data-glyph=media-skip-backward]:before{content:'\e095'}.oi[data-glyph=media-skip-forward]:before{content:'\e096'}.oi[data-glyph=media-step-backward]:before{content:'\e097'}.oi[data-glyph=media-step-forward]:before{content:'\e098'}.oi[data-glyph=media-stop]:before{content:'\e099'}.oi[data-glyph=medical-cross]:before{content:'\e09a'}.oi[data-glyph=menu]:before{content:'\e09b'}.oi[data-glyph=microphone]:before{content:'\e09c'}.oi[data-glyph=minus]:before{content:'\e09d'}.oi[data-glyph=monitor]:before{content:'\e09e'}.oi[data-glyph=moon]:before{content:'\e09f'}.oi[data-glyph=move]:before{content:'\e0a0'}.oi[data-glyph=musical-note]:before{content:'\e0a1'}.oi[data-glyph=paperclip]:before{content:'\e0a2'}.oi[data-glyph=pencil]:before{content:'\e0a3'}.oi[data-glyph=people]:before{content:'\e0a4'}.oi[data-glyph=person]:before{content:'\e0a5'}.oi[data-glyph=phone]:before{content:'\e0a6'}.oi[data-glyph=pie-chart]:before{content:'\e0a7'}.oi[data-glyph=pin]:before{content:'\e0a8'}.oi[data-glyph=play-circle]:before{content:'\e0a9'}.oi[data-glyph=plus]:before{content:'\e0aa'}.oi[data-glyph=power-standby]:before{content:'\e0ab'}.oi[data-glyph=print]:before{content:'\e0ac'}.oi[data-glyph=project]:before{content:'\e0ad'}.oi[data-glyph=pulse]:before{content:'\e0ae'}.oi[data-glyph=puzzle-piece]:before{content:'\e0af'}.oi[data-glyph=question-mark]:before{content:'\e0b0'}.oi[data-glyph=rain]:before{content:'\e0b1'}.oi[data-glyph=random]:before{content:'\e0b2'}.oi[data-glyph=reload]:before{content:'\e0b3'}.oi[data-glyph=resize-both]:before{content:'\e0b4'}.oi[data-glyph=resize-height]:before{content:'\e0b5'}.oi[data-glyph=resize-width]:before{content:'\e0b6'}.oi[data-glyph=rss-alt]:before{content:'\e0b7'}.oi[data-glyph=rss]:before{content:'\e0b8'}.oi[data-glyph=script]:before{content:'\e0b9'}.oi[data-glyph=share-boxed]:before{content:'\e0ba'}.oi[data-glyph=share]:before{content:'\e0bb'}.oi[data-glyph=shield]:before{content:'\e0bc'}.oi[data-glyph=signal]:before{content:'\e0bd'}.oi[data-glyph=signpost]:before{content:'\e0be'}.oi[data-glyph=sort-ascending]:before{content:'\e0bf'}.oi[data-glyph=sort-descending]:before{content:'\e0c0'}.oi[data-glyph=spreadsheet]:before{content:'\e0c1'}.oi[data-glyph=star]:before{content:'\e0c2'}.oi[data-glyph=sun]:before{content:'\e0c3'}.oi[data-glyph=tablet]:before{content:'\e0c4'}.oi[data-glyph=tag]:before{content:'\e0c5'}.oi[data-glyph=tags]:before{content:'\e0c6'}.oi[data-glyph=target]:before{content:'\e0c7'}.oi[data-glyph=task]:before{content:'\e0c8'}.oi[data-glyph=terminal]:before{content:'\e0c9'}.oi[data-glyph=text]:before{content:'\e0ca'}.oi[data-glyph=thumb-down]:before{content:'\e0cb'}.oi[data-glyph=thumb-up]:before{content:'\e0cc'}.oi[data-glyph=timer]:before{content:'\e0cd'}.oi[data-glyph=transfer]:before{content:'\e0ce'}.oi[data-glyph=trash]:before{content:'\e0cf'}.oi[data-glyph=underline]:before{content:'\e0d0'}.oi[data-glyph=vertical-align-bottom]:before{content:'\e0d1'}.oi[data-glyph=vertical-align-center]:before{content:'\e0d2'}.oi[data-glyph=vertical-align-top]:before{content:'\e0d3'}.oi[data-glyph=video]:before{content:'\e0d4'}.oi[data-glyph=volume-high]:before{content:'\e0d5'}.oi[data-glyph=volume-low]:before{content:'\e0d6'}.oi[data-glyph=volume-off]:before{content:'\e0d7'}.oi[data-glyph=warning]:before{content:'\e0d8'}.oi[data-glyph=wifi]:before{content:'\e0d9'}.oi[data-glyph=wrench]:before{content:'\e0da'}.oi[data-glyph=x]:before{content:'\e0db'}.oi[data-glyph=yen]:before{content:'\e0dc'}.oi[data-glyph=zoom-in]:before{content:'\e0dd'}.oi[data-glyph=zoom-out]:before{content:'\e0de'} .sp-container{position:absolute;top:0;left:0;display:inline-block;*display:inline;*zoom:1;z-index:9999994;overflow:hidden}.sp-container.sp-flat{position:relative}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{position:relative;width:100%;display:inline-block}.sp-top-inner{position:absolute;top:0;left:0;bottom:0;right:0}.sp-color{position:absolute;top:0;left:0;bottom:0;right:20%}.sp-hue{position:absolute;top:0;right:0;bottom:0;left:84%;height:100%}.sp-clear-enabled .sp-hue{top:33px;height:77.5%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{position:absolute;top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha-handle{position:absolute;top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid black;background:white;opacity:.8}.sp-alpha{display:none;position:absolute;bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:solid 1px #333}.sp-clear{display:none}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:block;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-container,.sp-replacer,.sp-preview,.sp-dragger,.sp-slider,.sp-alpha,.sp-clear,.sp-alpha-handle,.sp-container.sp-dragging .sp-input,.sp-container button{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-container.sp-input-disabled .sp-input-container{display:none}.sp-container.sp-buttons-disabled .sp-button-container{display:none}.sp-container.sp-palette-buttons-disabled .sp-palette-button-container{display:none}.sp-palette-only .sp-picker-container{display:none}.sp-palette-disabled .sp-palette-container{display:none}.sp-initial-disabled .sp-initial{display:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType = 1,startColorstr='#FFFFFFFF',endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81',endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-ms-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-o-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-webkit-gradient(linear,left top,left bottom,from(#f00),color-stop(0.17,#ff0),color-stop(0.33,#0f0),color-stop(0.5,#0ff),color-stop(0.67,#00f),color-stop(0.83,#f0f),to(#f00));background:-webkit-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:linear-gradient(to bottom,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000',endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00',endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00',endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff',endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff',endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff',endColorstr='#ff0000')}.sp-hidden{display:none !important}.sp-cf:before,.sp-cf:after{content:"";display:table}.sp-cf:after{clear:both}.sp-cf{*zoom:1}@media(max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;position:absolute;top:0;left:0}.sp-slider{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:white;opacity:.8}.sp-container{border-radius:0;background-color:#ececec;border:solid 1px #f0c49b;padding:0}.sp-container,.sp-container button,.sp-container input,.sp-color,.sp-hue,.sp-clear{font:normal 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-color,.sp-hue,.sp-clear{border:solid 1px #666}.sp-input-container{float:right;width:100px;margin-bottom:4px}.sp-initial-disabled .sp-input-container{width:100%}.sp-input{font-size:12px !important;border:1px inset;padding:4px 5px;margin:0;width:100%;background:transparent;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-picker-container,.sp-palette-container{float:left;position:relative;padding:10px;padding-bottom:300px;margin-bottom:-290px}.sp-picker-container{width:172px;border-left:solid 1px #fff}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette-only .sp-palette-container{border:0}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;width:24px;height:15px;margin:3px;cursor:pointer;border:solid 2px transparent}.sp-palette .sp-thumb-el:hover,.sp-palette .sp-thumb-el.sp-thumb-active{border-color:orange}.sp-thumb-el{position:relative}.sp-initial{float:left;border:solid 1px #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-palette-button-container,.sp-button-container{float:right}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;*zoom:1;*display:inline;border:solid 1px #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer:hover,.sp-replacer.sp-active{border-color:#f0c49b;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{position:relative;width:25px;height:20px;border:solid 1px #222;margin-right:5px;float:left;z-index:0}.sp-palette{*width:220px;max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:solid 1px #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f !important;margin:0;padding:2px;margin-right:5px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f !important;text-decoration:underline}.sp-palette span:hover,.sp-palette span.sp-thumb-active{border-color:#000}.sp-preview,.sp-alpha,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-preview-inner,.sp-alpha-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)} .svs_pt_col1{float:left;width:9%}.svs_pt_col2{float:left;width:19%}.svs_pt_col3{float:left;width:29%}.svs_pt_col4{float:left;width:39%}.svs_pt_col5{float:left;width:49%}.svs_pt_col6{float:left;width:59%}.svs_pt_col7{float:left;width:69%}.svs_pt_col8{float:left;width:79%}.svs_pt_col9{float:left;width:89%}.svs_pt_float_left{float:left}.svs_pt_float_right{float:right}#simplemodal-container{width:auto}ul.thumbnails.image_picker_selector li .thumbnail img{width:400px;height:auto}.svs_pt_header{line-height:50px;margin-bottom:25px;padding:10px;vertical-align:middle;background-color:#fff}.svs_pt_header span{font-size:24px;margin:0 30px 0 30px}.svs_pt_header img{height:50px}.svs_pt_header .svs_pt_action_buttons,.svs_pt_header span,.svs_pt_header a,.svs_pt_header img{line-height:inherit;vertical-align:inherit}.svs_pt_button{font-size:14px;font-weight:400;text-decoration:none;line-height:1.5;color:#fff;padding:6px 12px;text-align:center;vertical-align:middle;white-space:nowrap;cursor:pointer;border-radius:4px}.svs_pt_button:hover,.svs_pt_button:active,.svs_pt_button:visited{color:#fff}a.svs_pt_button:hover,a.svs_pt_button:active,a.svs_pt_button:visited{border:0;box-shadow:none}.svs_pt_button_red{background-color:#d9534f;border-color:#d43f3a}.svs_pt_button_red:hover{background-color:#c9302c;border-color:#ac2925}.svs_pt_button_orange{background-color:#f0ad4e;border-color:#eea236}.svs_pt_button_orange:hover{background-color:#ec971f;border-color:#d58512}.svs_pt_button_green{background-color:#5cb85c;border-color:#4cae4c}.svs_pt_button_green:hover{background-color:#449d44;border-color:#398439}.svs_pt_button_blue{background-color:#337ab7;border-color:#2e6da4}.svs_pt_button_blue:hover{background-color:#286090;border-color:#204d74}.svs_pt_list{margin-top:10px;padding:5px;background-color:#fff;border:1px dotted #bbb}.svs_pt_list table{width:100%}.svs_pt_list thead td{font-weight:bold;text-align:center}.svs_pt_list table td{padding:5px;border:1px dotted #bbb;line-height:30px}.svs_pt_edit{height:calc(100vh - 200px);margin-top:10px;background-color:#fff;border:1px dotted #bbb;padding:5px}.svs_pt_edit,.tabcontrol{display:block;width:99.2%;overflow:hidden}.svs_pt_edit a,.tabcontrol a{outline:0}.svs_pt_edit ul,.tabcontrol ul{list-style:none !important;padding:0;margin:0}.svs_pt_edit ul>li,.tabcontrol ul>li{display:block;padding:0}.svs_pt_edit>.steps .current-info,.tabcontrol>.steps .current-info{position:absolute;left:-999em}.svs_pt_edit>.content>.title,.tabcontrol>.content>.title{position:absolute;left:-999em}.svs_pt_edit>.steps{position:relative;display:none;width:100%}.svs_pt_edit>.steps .number{font-size:1.429em}.svs_pt_edit>.steps>ul>li{width:25%}.svs_pt_edit>.steps>ul>li,.svs_pt_edit>.actions>ul>li{float:left}.svs_pt_edit>.steps a,.svs_pt_edit>.steps a:hover,.svs_pt_edit>.steps a:active{display:block;width:auto;margin:0 .5em .5em;padding:1em 1em;text-decoration:none;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.svs_pt_edit>.steps .disabled a,.svs_pt_edit>.steps .disabled a:hover,.svs_pt_edit>.steps .disabled a:active{background:#eee;color:#aaa;cursor:default}.svs_pt_edit>.steps .current a,.svs_pt_edit>.steps .current a:hover,.svs_pt_edit>.steps .current a:active{background:#2184be;color:#fff;cursor:default}.svs_pt_edit>.steps .done a,.svs_pt_edit>.steps .done a:hover,.svs_pt_edit>.steps .done a:active{background:#9dc8e2;color:#fff}.svs_pt_edit>.steps .error a,.svs_pt_edit>.steps .error a:hover,.svs_pt_edit>.steps .error a:active{background:#ff3111;color:#fff}.svs_pt_edit>.content{background:#fbfbfb;display:block;margin:.5em;height:calc(100vh - 260px);overflow-y:scroll;position:relative;width:auto;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.svs_pt_edit>.content>.body{float:left;position:absolute;width:99%;padding:5px}.svs_pt_edit>.content>.body ul{list-style:disc !important}.svs_pt_edit>.content>.body>iframe{border:0 none;width:100%;height:100%}.svs_pt_edit>.content>.body input{display:block;border:1px solid #ccc}.svs_pt_edit>.content>.body input[type="checkbox"]{display:inline-block}.svs_pt_edit>.content>.body input.error{background:#fbe3e4;border:1px solid #fbc2c4;color:#8a1f11}.svs_pt_edit>.content>.body label{display:inline-block;margin-bottom:.5em}.svs_pt_edit>.content>.body label.error{color:#8a1f11;display:inline-block;margin-left:1.5em}.svs_pt_edit>.actions{position:relative;display:block;text-align:right;width:100%}.svs_pt_edit>.actions>ul{display:inline-block;text-align:right}.svs_pt_edit>.actions>ul>li{margin:0 .5em}.svs_pt_edit>.actions a,.svs_pt_edit>.actions a:hover,.svs_pt_edit>.actions a:active{background:#2184be;color:#fff;display:block;padding:.5em 1em;text-decoration:none;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.svs_pt_edit>.actions .disabled a,.svs_pt_edit>.actions .disabled a:hover,.svs_pt_edit>.actions .disabled a:active{background:#eee;color:#aaa}.svs_pt_edit .clearfix{clear:both}body.dragging,body.dragging *{cursor:move !important}.dragged{position:absolute;opacity:.5;z-index:2000}.svs_pt_builder_options_available{margin-bottom:20px}.svs_pt_builder_options_available ol{list-style-type:none;margin:3px}.svs_pt_builder_options_available ol li{padding:5px;border:1px solid #ccc;color:#08c;background:#eee;width:120px;float:left;margin:0 6px}.svs_pt_builder_options_available h2,.svs_pt_builder_options_available p,.svs_pt_builder_options_available a,.svs_pt_builder_options_available i{font-size:13px;padding-left:5px;color:#08c;display:inline;text-decoration:none}.svs_pt_builder_options_available .svs_price span:nth-of-type(2),.svs_pt_builder_options_available .icon-trash-option,.svs_pt_builder_options_available .icon-link{display:none}.svs_pt_builder_workarea{border:1px dotted #bbb}.svs_pt_builder_workarea ol{list-style-type:none;margin:3px}.svs_pt_editable_text form input{min-height:35px;max-height:35px;font-size:13px;min-width:100px;max-width:150px}.svs_pt_editable_text form button{font-size:13px;margin:1px 2px 0 2px}.svs_price_plan{border:1px dashed #bbb}.svs_price_plan li:hover{border:2px solid #ff0}.svs_icon{display:none}.svs_price_plan li:hover .svs_icon,.svs_price_plan:hover .icon-featured,.svs_price_plan:hover .icon-settings,.svs_price_plan:hover .icon-trash-plan{top:5px;display:inline-block;position:absolute;font-size:14px;vertical-align:middle;z-index:5}.svs_price_plan li:hover .icon-move{left:5px;color:#08c}.svs_price_plan li:hover .icon-trash-option{left:20px;color:red}.svs_price_plan .icon-link{left:35px}.svs_price_plan:hover .icon-trash-plan{right:35px;color:red}.svs_price_plan:first-child .icon-trash-plan{display:none !important}.svs_price_plan:hover .icon-featured{right:20px;color:#fc0}.svs_price_plan:hover .icon-settings{right:5px;color:#449d44}.svs_new_plan{text-align:center;cursor:pointer;border:1px dashed #bbb;position:relative;min-height:100px;float:left;margin:5px;min-width:100px}.svs_new_plan:hover .icon-add{font-size:35px}.svs_new_plan .icon-add{font-size:30px;line-height:100px;vertical-align:middle;color:#ccc}1 ul.thumbnails.image_picker_selector{overflow:auto;list-style-image:none;list-style-position:outside;list-style-type:none;padding:0;margin:0}ul.thumbnails.image_picker_selector ul{overflow:auto;list-style-image:none;list-style-position:outside;list-style-type:none;padding:0;margin:0}ul.thumbnails.image_picker_selector li.group_title{float:none}ul.thumbnails.image_picker_selector li{margin:0 12px 12px 0;float:left}ul.thumbnails.image_picker_selector li .thumbnail{padding:6px;border:1px solid #ddd;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}ul.thumbnails.image_picker_selector li .thumbnail img{-webkit-user-drag:none}ul.thumbnails.image_picker_selector li .thumbnail.selected{background:#08c}.loadmask{z-index:100;position:absolute;top:0;left:0;-moz-opacity:.5;opacity:.50;filter:alpha(opacity=50);background-color:#CCC;width:100%;height:100%;zoom:1}.loadmask-msg{z-index:20001;position:absolute;top:0;left:0;border:1px solid #6593cf;background:#c3daf9;padding:2px}.loadmask-msg div{padding:5px 10px 5px 25px;background:#fbfbfb url('../images/loading.gif') no-repeat 5px 5px;line-height:16px;border:1px solid #a3bad9;color:#222;font:normal 11px tahoma,arial,helvetica,sans-serif;cursor:wait}.masked{overflow:hidden !important}.masked-relative{position:relative !important}.masked-hidden{visibility:hidden !important}@font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi[data-glyph].oi-text-replace{font-size:0;line-height:0}.oi[data-glyph].oi-text-replace:before{width:1em;text-align:center}.oi[data-glyph]:before{font-family:Icons;display:inline-block;speak:none;line-height:1;vertical-align:baseline;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi[data-glyph]:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi[data-glyph].oi-align-left:before{text-align:left}.oi[data-glyph].oi-align-right:before{text-align:right}.oi[data-glyph].oi-align-center:before{text-align:center}.oi[data-glyph].oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi[data-glyph].oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi[data-glyph].oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi[data-glyph=account-login]:before{content:'\e000'}.oi[data-glyph=account-logout]:before{content:'\e001'}.oi[data-glyph=action-redo]:before{content:'\e002'}.oi[data-glyph=action-undo]:before{content:'\e003'}.oi[data-glyph=align-center]:before{content:'\e004'}.oi[data-glyph=align-left]:before{content:'\e005'}.oi[data-glyph=align-right]:before{content:'\e006'}.oi[data-glyph=aperture]:before{content:'\e007'}.oi[data-glyph=arrow-bottom]:before{content:'\e008'}.oi[data-glyph=arrow-circle-bottom]:before{content:'\e009'}.oi[data-glyph=arrow-circle-left]:before{content:'\e00a'}.oi[data-glyph=arrow-circle-right]:before{content:'\e00b'}.oi[data-glyph=arrow-circle-top]:before{content:'\e00c'}.oi[data-glyph=arrow-left]:before{content:'\e00d'}.oi[data-glyph=arrow-right]:before{content:'\e00e'}.oi[data-glyph=arrow-thick-bottom]:before{content:'\e00f'}.oi[data-glyph=arrow-thick-left]:before{content:'\e010'}.oi[data-glyph=arrow-thick-right]:before{content:'\e011'}.oi[data-glyph=arrow-thick-top]:before{content:'\e012'}.oi[data-glyph=arrow-top]:before{content:'\e013'}.oi[data-glyph=audio-spectrum]:before{content:'\e014'}.oi[data-glyph=audio]:before{content:'\e015'}.oi[data-glyph=badge]:before{content:'\e016'}.oi[data-glyph=ban]:before{content:'\e017'}.oi[data-glyph=bar-chart]:before{content:'\e018'}.oi[data-glyph=basket]:before{content:'\e019'}.oi[data-glyph=battery-empty]:before{content:'\e01a'}.oi[data-glyph=battery-full]:before{content:'\e01b'}.oi[data-glyph=beaker]:before{content:'\e01c'}.oi[data-glyph=bell]:before{content:'\e01d'}.oi[data-glyph=bluetooth]:before{content:'\e01e'}.oi[data-glyph=bold]:before{content:'\e01f'}.oi[data-glyph=bolt]:before{content:'\e020'}.oi[data-glyph=book]:before{content:'\e021'}.oi[data-glyph=bookmark]:before{content:'\e022'}.oi[data-glyph=box]:before{content:'\e023'}.oi[data-glyph=briefcase]:before{content:'\e024'}.oi[data-glyph=british-pound]:before{content:'\e025'}.oi[data-glyph=browser]:before{content:'\e026'}.oi[data-glyph=brush]:before{content:'\e027'}.oi[data-glyph=bug]:before{content:'\e028'}.oi[data-glyph=bullhorn]:before{content:'\e029'}.oi[data-glyph=calculator]:before{content:'\e02a'}.oi[data-glyph=calendar]:before{content:'\e02b'}.oi[data-glyph=camera-slr]:before{content:'\e02c'}.oi[data-glyph=caret-bottom]:before{content:'\e02d'}.oi[data-glyph=caret-left]:before{content:'\e02e'}.oi[data-glyph=caret-right]:before{content:'\e02f'}.oi[data-glyph=caret-top]:before{content:'\e030'}.oi[data-glyph=cart]:before{content:'\e031'}.oi[data-glyph=chat]:before{content:'\e032'}.oi[data-glyph=check]:before{content:'\e033'}.oi[data-glyph=chevron-bottom]:before{content:'\e034'}.oi[data-glyph=chevron-left]:before{content:'\e035'}.oi[data-glyph=chevron-right]:before{content:'\e036'}.oi[data-glyph=chevron-top]:before{content:'\e037'}.oi[data-glyph=circle-check]:before{content:'\e038'}.oi[data-glyph=circle-x]:before{content:'\e039'}.oi[data-glyph=clipboard]:before{content:'\e03a'}.oi[data-glyph=clock]:before{content:'\e03b'}.oi[data-glyph=cloud-download]:before{content:'\e03c'}.oi[data-glyph=cloud-upload]:before{content:'\e03d'}.oi[data-glyph=cloud]:before{content:'\e03e'}.oi[data-glyph=cloudy]:before{content:'\e03f'}.oi[data-glyph=code]:before{content:'\e040'}.oi[data-glyph=cog]:before{content:'\e041'}.oi[data-glyph=collapse-down]:before{content:'\e042'}.oi[data-glyph=collapse-left]:before{content:'\e043'}.oi[data-glyph=collapse-right]:before{content:'\e044'}.oi[data-glyph=collapse-up]:before{content:'\e045'}.oi[data-glyph=command]:before{content:'\e046'}.oi[data-glyph=comment-square]:before{content:'\e047'}.oi[data-glyph=compass]:before{content:'\e048'}.oi[data-glyph=contrast]:before{content:'\e049'}.oi[data-glyph=copywriting]:before{content:'\e04a'}.oi[data-glyph=credit-card]:before{content:'\e04b'}.oi[data-glyph=crop]:before{content:'\e04c'}.oi[data-glyph=dashboard]:before{content:'\e04d'}.oi[data-glyph=data-transfer-download]:before{content:'\e04e'}.oi[data-glyph=data-transfer-upload]:before{content:'\e04f'}.oi[data-glyph=delete]:before{content:'\e050'}.oi[data-glyph=dial]:before{content:'\e051'}.oi[data-glyph=document]:before{content:'\e052'}.oi[data-glyph=dollar]:before{content:'\e053'}.oi[data-glyph=double-quote-sans-left]:before{content:'\e054'}.oi[data-glyph=double-quote-sans-right]:before{content:'\e055'}.oi[data-glyph=double-quote-serif-left]:before{content:'\e056'}.oi[data-glyph=double-quote-serif-right]:before{content:'\e057'}.oi[data-glyph=droplet]:before{content:'\e058'}.oi[data-glyph=eject]:before{content:'\e059'}.oi[data-glyph=elevator]:before{content:'\e05a'}.oi[data-glyph=ellipses]:before{content:'\e05b'}.oi[data-glyph=envelope-closed]:before{content:'\e05c'}.oi[data-glyph=envelope-open]:before{content:'\e05d'}.oi[data-glyph=euro]:before{content:'\e05e'}.oi[data-glyph=excerpt]:before{content:'\e05f'}.oi[data-glyph=expand-down]:before{content:'\e060'}.oi[data-glyph=expand-left]:before{content:'\e061'}.oi[data-glyph=expand-right]:before{content:'\e062'}.oi[data-glyph=expand-up]:before{content:'\e063'}.oi[data-glyph=external-link]:before{content:'\e064'}.oi[data-glyph=eye]:before{content:'\e065'}.oi[data-glyph=eyedropper]:before{content:'\e066'}.oi[data-glyph=file]:before{content:'\e067'}.oi[data-glyph=fire]:before{content:'\e068'}.oi[data-glyph=flag]:before{content:'\e069'}.oi[data-glyph=flash]:before{content:'\e06a'}.oi[data-glyph=folder]:before{content:'\e06b'}.oi[data-glyph=fork]:before{content:'\e06c'}.oi[data-glyph=fullscreen-enter]:before{content:'\e06d'}.oi[data-glyph=fullscreen-exit]:before{content:'\e06e'}.oi[data-glyph=globe]:before{content:'\e06f'}.oi[data-glyph=graph]:before{content:'\e070'}.oi[data-glyph=grid-four-up]:before{content:'\e071'}.oi[data-glyph=grid-three-up]:before{content:'\e072'}.oi[data-glyph=grid-two-up]:before{content:'\e073'}.oi[data-glyph=hard-drive]:before{content:'\e074'}.oi[data-glyph=header]:before{content:'\e075'}.oi[data-glyph=headphones]:before{content:'\e076'}.oi[data-glyph=heart]:before{content:'\e077'}.oi[data-glyph=home]:before{content:'\e078'}.oi[data-glyph=image]:before{content:'\e079'}.oi[data-glyph=inbox]:before{content:'\e07a'}.oi[data-glyph=infinity]:before{content:'\e07b'}.oi[data-glyph=info]:before{content:'\e07c'}.oi[data-glyph=italic]:before{content:'\e07d'}.oi[data-glyph=justify-center]:before{content:'\e07e'}.oi[data-glyph=justify-left]:before{content:'\e07f'}.oi[data-glyph=justify-right]:before{content:'\e080'}.oi[data-glyph=key]:before{content:'\e081'}.oi[data-glyph=laptop]:before{content:'\e082'}.oi[data-glyph=layers]:before{content:'\e083'}.oi[data-glyph=lightbulb]:before{content:'\e084'}.oi[data-glyph=link-broken]:before{content:'\e085'}.oi[data-glyph=link-intact]:before{content:'\e086'}.oi[data-glyph=list-rich]:before{content:'\e087'}.oi[data-glyph=list]:before{content:'\e088'}.oi[data-glyph=location]:before{content:'\e089'}.oi[data-glyph=lock-locked]:before{content:'\e08a'}.oi[data-glyph=lock-unlocked]:before{content:'\e08b'}.oi[data-glyph=loop-circular]:before{content:'\e08c'}.oi[data-glyph=loop-square]:before{content:'\e08d'}.oi[data-glyph=loop]:before{content:'\e08e'}.oi[data-glyph=magnifying-glass]:before{content:'\e08f'}.oi[data-glyph=map-marker]:before{content:'\e090'}.oi[data-glyph=map]:before{content:'\e091'}.oi[data-glyph=media-pause]:before{content:'\e092'}.oi[data-glyph=media-play]:before{content:'\e093'}.oi[data-glyph=media-record]:before{content:'\e094'}.oi[data-glyph=media-skip-backward]:before{content:'\e095'}.oi[data-glyph=media-skip-forward]:before{content:'\e096'}.oi[data-glyph=media-step-backward]:before{content:'\e097'}.oi[data-glyph=media-step-forward]:before{content:'\e098'}.oi[data-glyph=media-stop]:before{content:'\e099'}.oi[data-glyph=medical-cross]:before{content:'\e09a'}.oi[data-glyph=menu]:before{content:'\e09b'}.oi[data-glyph=microphone]:before{content:'\e09c'}.oi[data-glyph=minus]:before{content:'\e09d'}.oi[data-glyph=monitor]:before{content:'\e09e'}.oi[data-glyph=moon]:before{content:'\e09f'}.oi[data-glyph=move]:before{content:'\e0a0'}.oi[data-glyph=musical-note]:before{content:'\e0a1'}.oi[data-glyph=paperclip]:before{content:'\e0a2'}.oi[data-glyph=pencil]:before{content:'\e0a3'}.oi[data-glyph=people]:before{content:'\e0a4'}.oi[data-glyph=person]:before{content:'\e0a5'}.oi[data-glyph=phone]:before{content:'\e0a6'}.oi[data-glyph=pie-chart]:before{content:'\e0a7'}.oi[data-glyph=pin]:before{content:'\e0a8'}.oi[data-glyph=play-circle]:before{content:'\e0a9'}.oi[data-glyph=plus]:before{content:'\e0aa'}.oi[data-glyph=power-standby]:before{content:'\e0ab'}.oi[data-glyph=print]:before{content:'\e0ac'}.oi[data-glyph=project]:before{content:'\e0ad'}.oi[data-glyph=pulse]:before{content:'\e0ae'}.oi[data-glyph=puzzle-piece]:before{content:'\e0af'}.oi[data-glyph=question-mark]:before{content:'\e0b0'}.oi[data-glyph=rain]:before{content:'\e0b1'}.oi[data-glyph=random]:before{content:'\e0b2'}.oi[data-glyph=reload]:before{content:'\e0b3'}.oi[data-glyph=resize-both]:before{content:'\e0b4'}.oi[data-glyph=resize-height]:before{content:'\e0b5'}.oi[data-glyph=resize-width]:before{content:'\e0b6'}.oi[data-glyph=rss-alt]:before{content:'\e0b7'}.oi[data-glyph=rss]:before{content:'\e0b8'}.oi[data-glyph=script]:before{content:'\e0b9'}.oi[data-glyph=share-boxed]:before{content:'\e0ba'}.oi[data-glyph=share]:before{content:'\e0bb'}.oi[data-glyph=shield]:before{content:'\e0bc'}.oi[data-glyph=signal]:before{content:'\e0bd'}.oi[data-glyph=signpost]:before{content:'\e0be'}.oi[data-glyph=sort-ascending]:before{content:'\e0bf'}.oi[data-glyph=sort-descending]:before{content:'\e0c0'}.oi[data-glyph=spreadsheet]:before{content:'\e0c1'}.oi[data-glyph=star]:before{content:'\e0c2'}.oi[data-glyph=sun]:before{content:'\e0c3'}.oi[data-glyph=tablet]:before{content:'\e0c4'}.oi[data-glyph=tag]:before{content:'\e0c5'}.oi[data-glyph=tags]:before{content:'\e0c6'}.oi[data-glyph=target]:before{content:'\e0c7'}.oi[data-glyph=task]:before{content:'\e0c8'}.oi[data-glyph=terminal]:before{content:'\e0c9'}.oi[data-glyph=text]:before{content:'\e0ca'}.oi[data-glyph=thumb-down]:before{content:'\e0cb'}.oi[data-glyph=thumb-up]:before{content:'\e0cc'}.oi[data-glyph=timer]:before{content:'\e0cd'}.oi[data-glyph=transfer]:before{content:'\e0ce'}.oi[data-glyph=trash]:before{content:'\e0cf'}.oi[data-glyph=underline]:before{content:'\e0d0'}.oi[data-glyph=vertical-align-bottom]:before{content:'\e0d1'}.oi[data-glyph=vertical-align-center]:before{content:'\e0d2'}.oi[data-glyph=vertical-align-top]:before{content:'\e0d3'}.oi[data-glyph=video]:before{content:'\e0d4'}.oi[data-glyph=volume-high]:before{content:'\e0d5'}.oi[data-glyph=volume-low]:before{content:'\e0d6'}.oi[data-glyph=volume-off]:before{content:'\e0d7'}.oi[data-glyph=warning]:before{content:'\e0d8'}.oi[data-glyph=wifi]:before{content:'\e0d9'}.oi[data-glyph=wrench]:before{content:'\e0da'}.oi[data-glyph=x]:before{content:'\e0db'}.oi[data-glyph=yen]:before{content:'\e0dc'}.oi[data-glyph=zoom-in]:before{content:'\e0dd'}.oi[data-glyph=zoom-out]:before{content:'\e0de'}.sp-container{position:absolute;top:0;left:0;display:inline-block;*display:inline;*zoom:1;z-index:9999994;overflow:hidden}.sp-container.sp-flat{position:relative}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{position:relative;width:100%;display:inline-block}.sp-top-inner{position:absolute;top:0;left:0;bottom:0;right:0}.sp-color{position:absolute;top:0;left:0;bottom:0;right:20%}.sp-hue{position:absolute;top:0;right:0;bottom:0;left:84%;height:100%}.sp-clear-enabled .sp-hue{top:33px;height:77.5%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{position:absolute;top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha-handle{position:absolute;top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid black;background:white;opacity:.8}.sp-alpha{display:none;position:absolute;bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:solid 1px #333}.sp-clear{display:none}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:block;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-container,.sp-replacer,.sp-preview,.sp-dragger,.sp-slider,.sp-alpha,.sp-clear,.sp-alpha-handle,.sp-container.sp-dragging .sp-input,.sp-container button{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-container.sp-input-disabled .sp-input-container{display:none}.sp-container.sp-buttons-disabled .sp-button-container{display:none}.sp-container.sp-palette-buttons-disabled .sp-palette-button-container{display:none}.sp-palette-only .sp-picker-container{display:none}.sp-palette-disabled .sp-palette-container{display:none}.sp-initial-disabled .sp-initial{display:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType = 1,startColorstr='#FFFFFFFF',endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81',endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-ms-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-o-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:-webkit-gradient(linear,left top,left bottom,from(#f00),color-stop(0.17,#ff0),color-stop(0.33,#0f0),color-stop(0.5,#0ff),color-stop(0.67,#00f),color-stop(0.83,#f0f),to(#f00));background:-webkit-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:linear-gradient(to bottom,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000',endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00',endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00',endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff',endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff',endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff',endColorstr='#ff0000')}.sp-hidden{display:none !important}.sp-cf:before,.sp-cf:after{content:"";display:table}.sp-cf:after{clear:both}.sp-cf{*zoom:1}@media(max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;position:absolute;top:0;left:0}.sp-slider{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:white;opacity:.8}.sp-container{border-radius:0;background-color:#ececec;border:solid 1px #f0c49b;padding:0}.sp-container,.sp-container button,.sp-container input,.sp-color,.sp-hue,.sp-clear{font:normal 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-color,.sp-hue,.sp-clear{border:solid 1px #666}.sp-input-container{float:right;width:100px;margin-bottom:4px}.sp-initial-disabled .sp-input-container{width:100%}.sp-input{font-size:12px !important;border:1px inset;padding:4px 5px;margin:0;width:100%;background:transparent;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-picker-container,.sp-palette-container{float:left;position:relative;padding:10px;padding-bottom:300px;margin-bottom:-290px}.sp-picker-container{width:172px;border-left:solid 1px #fff}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette-only .sp-palette-container{border:0}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;width:24px;height:15px;margin:3px;cursor:pointer;border:solid 2px transparent}.sp-palette .sp-thumb-el:hover,.sp-palette .sp-thumb-el.sp-thumb-active{border-color:orange}.sp-thumb-el{position:relative}.sp-initial{float:left;border:solid 1px #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-palette-button-container,.sp-button-container{float:right}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;*zoom:1;*display:inline;border:solid 1px #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer:hover,.sp-replacer.sp-active{border-color:#f0c49b;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{position:relative;width:25px;height:20px;border:solid 1px #222;margin-right:5px;float:left;z-index:0}.sp-palette{*width:220px;max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:solid 1px #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f !important;margin:0;padding:2px;margin-right:5px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f !important;text-decoration:underline}.sp-palette span:hover,.sp-palette span.sp-thumb-active{border-color:#000}.sp-preview,.sp-alpha,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-preview-inner,.sp-alpha-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}.svs_pt_col1{float:left;width:9%}.svs_pt_col2{float:left;width:19%}.svs_pt_col3{float:left;width:29%}.svs_pt_col4{float:left;width:39%}.svs_pt_col5{float:left;width:49%}.svs_pt_col6{float:left;width:59%}.svs_pt_col7{float:left;width:69%}.svs_pt_col8{float:left;width:79%}.svs_pt_col9{float:left;width:89%}.svs_pt_float_left{float:left}.svs_pt_float_right{float:right}#simplemodal-container{width:auto}ul.thumbnails.image_picker_selector li .thumbnail img{width:400px;height:auto}.svs_pt_header{line-height:50px;margin-bottom:25px;padding:10px;vertical-align:middle;background-color:#fff}.svs_pt_header span{font-size:24px;margin:0 30px 0 30px}.svs_pt_header img{height:50px}.svs_pt_header .svs_pt_action_buttons,.svs_pt_header span,.svs_pt_header a,.svs_pt_header img{line-height:inherit;vertical-align:inherit}.svs_pt_button{font-size:14px;font-weight:400;text-decoration:none;line-height:1.5;color:#fff;padding:6px 12px;text-align:center;vertical-align:middle;white-space:nowrap;cursor:pointer;border-radius:4px}.svs_pt_button:hover,.svs_pt_button:active,.svs_pt_button:visited{color:#fff}a.svs_pt_button:hover,a.svs_pt_button:active,a.svs_pt_button:visited{border:0;box-shadow:none}.svs_pt_button_red{background-color:#d9534f;border-color:#d43f3a}.svs_pt_button_red:hover{background-color:#c9302c;border-color:#ac2925}.svs_pt_button_orange{background-color:#f0ad4e;border-color:#eea236}.svs_pt_button_orange:hover{background-color:#ec971f;border-color:#d58512}.svs_pt_button_green{background-color:#5cb85c;border-color:#4cae4c}.svs_pt_button_green:hover{background-color:#449d44;border-color:#398439}.svs_pt_button_blue{background-color:#337ab7;border-color:#2e6da4}.svs_pt_button_blue:hover{background-color:#286090;border-color:#204d74}.svs_pt_list{margin-top:10px;padding:5px;background-color:#fff;border:1px dotted #bbb}.svs_pt_list table{width:100%}.svs_pt_list thead td{font-weight:bold;text-align:center}.svs_pt_list table td{padding:5px;border:1px dotted #bbb;line-height:30px}.svs_pt_edit{height:calc(100vh - 200px);margin-top:10px;background-color:#fff;border:1px dotted #bbb;padding:5px}.svs_pt_edit,.tabcontrol{display:block;width:99.2%;overflow:hidden}.svs_pt_edit a,.tabcontrol a{outline:0}.svs_pt_edit ul,.tabcontrol ul{list-style:none !important;padding:0;margin:0}.svs_pt_edit ul>li,.tabcontrol ul>li{display:block;padding:0}.svs_pt_edit>.steps .current-info,.tabcontrol>.steps .current-info{position:absolute;left:-999em}.svs_pt_edit>.content>.title,.tabcontrol>.content>.title{position:absolute;left:-999em}.svs_pt_edit>.steps{position:relative;display:none;width:100%}.svs_pt_edit>.steps .number{font-size:1.429em}.svs_pt_edit>.steps>ul>li{width:25%}.svs_pt_edit>.steps>ul>li,.svs_pt_edit>.actions>ul>li{float:left}.svs_pt_edit>.steps a,.svs_pt_edit>.steps a:hover,.svs_pt_edit>.steps a:active{display:block;width:auto;margin:0 .5em .5em;padding:1em 1em;text-decoration:none;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.svs_pt_edit>.steps .disabled a,.svs_pt_edit>.steps .disabled a:hover,.svs_pt_edit>.steps .disabled a:active{background:#eee;color:#aaa;cursor:default}.svs_pt_edit>.steps .current a,.svs_pt_edit>.steps .current a:hover,.svs_pt_edit>.steps .current a:active{background:#2184be;color:#fff;cursor:default}.svs_pt_edit>.steps .done a,.svs_pt_edit>.steps .done a:hover,.svs_pt_edit>.steps .done a:active{background:#9dc8e2;color:#fff}.svs_pt_edit>.steps .error a,.svs_pt_edit>.steps .error a:hover,.svs_pt_edit>.steps .error a:active{background:#ff3111;color:#fff}.svs_pt_edit>.content{background:#fbfbfb;display:block;margin:.5em;height:calc(100vh - 260px);overflow-y:scroll;position:relative;width:auto;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.svs_pt_edit>.content>.body{float:left;position:absolute;width:99%;padding:5px}.svs_pt_edit>.content>.body ul{list-style:disc !important}.svs_pt_edit>.content>.body>iframe{border:0 none;width:100%;height:100%}.svs_pt_edit>.content>.body input{display:block;border:1px solid #ccc}.svs_pt_edit>.content>.body input[type="checkbox"]{display:inline-block}.svs_pt_edit>.content>.body input.error{background:#fbe3e4;border:1px solid #fbc2c4;color:#8a1f11}.svs_pt_edit>.content>.body label{display:inline-block;margin-bottom:.5em}.svs_pt_edit>.content>.body label.error{color:#8a1f11;display:inline-block;margin-left:1.5em}.svs_pt_edit>.actions{position:relative;display:block;text-align:right;width:100%}.svs_pt_edit>.actions>ul{display:inline-block;text-align:right}.svs_pt_edit>.actions>ul>li{margin:0 .5em}.svs_pt_edit>.actions a,.svs_pt_edit>.actions a:hover,.svs_pt_edit>.actions a:active{background:#2184be;color:#fff;display:block;padding:.5em 1em;text-decoration:none;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.svs_pt_edit>.actions .disabled a,.svs_pt_edit>.actions .disabled a:hover,.svs_pt_edit>.actions .disabled a:active{background:#eee;color:#aaa}.svs_pt_edit .clearfix{clear:both}body.dragging,body.dragging *{cursor:move !important}.dragged{position:absolute;opacity:.5;z-index:2000}.svs_pt_builder_options_available{margin-bottom:20px}.svs_pt_builder_options_available ol{list-style-type:none;margin:3px}.svs_pt_builder_options_available ol li{padding:5px;border:1px solid #ccc;color:#08c;background:#eee;width:120px;float:left;margin:0 6px}.svs_pt_builder_options_available h2,.svs_pt_builder_options_available p,.svs_pt_builder_options_available a,.svs_pt_builder_options_available i{font-size:13px;padding-left:5px;color:#08c;display:inline;text-decoration:none}.svs_pt_builder_options_available .svs_price span:nth-of-type(2),.svs_pt_builder_options_available .icon-trash-option,.svs_pt_builder_options_available .icon-link{display:none}.svs_pt_builder_workarea{border:1px dotted #bbb}.svs_pt_builder_workarea ol{list-style-type:none;margin:3px}.svs_pt_editable_text form input{min-height:35px;max-height:35px;font-size:13px;min-width:100px;max-width:150px}.svs_pt_editable_text form button{font-size:13px;margin:1px 2px 0 2px}.svs_price_plan{border:1px dashed #bbb}.svs_price_plan li:hover{border:2px solid #ff0}.svs_icon{display:none}.svs_price_plan li:hover .svs_icon,.svs_price_plan:hover .icon-featured,.svs_price_plan:hover .icon-settings,.svs_price_plan:hover .icon-trash-plan{top:5px;display:inline-block;position:absolute;font-size:14px;vertical-align:middle;z-index:5}.svs_price_plan li:hover .icon-move{left:5px;color:#08c}.svs_price_plan li:hover .icon-trash-option{left:20px;color:red}.svs_price_plan .icon-link{left:35px}.svs_price_plan:hover .icon-trash-plan{right:35px;color:red}.svs_price_plan:first-child .icon-trash-plan{display:none !important}.svs_price_plan:hover .icon-featured{right:20px;color:#fc0}.svs_price_plan:hover .icon-settings{right:5px;color:#449d44}.svs_new_plan{text-align:center;cursor:pointer;border:1px dashed #bbb;position:relative;min-height:100px;float:left;margin:5px;min-width:100px}.svs_new_plan:hover .icon-add{font-size:35px}.svs_new_plan .icon-add{font-size:30px;line-height:100px;vertical-align:middle;color:#ccc}.svs_pt_column_size{float:right;display:block} -
svs-pricing-tables/trunk/js/svs_pt_js_admin.min.js
r1228028 r1233972 1 function shadeColor(e,t){var n=parseInt(e.substring(1,3),16);var r=parseInt(e.substring(3,5),16);var i=parseInt(e.substring(5,7),16);n=parseInt(n*(100+t)/100);r=parseInt(r*(100+t)/100);i=parseInt(i*(100+t)/100);n=n<255?n:255;r=r<255?r:255;i=i<255?i:255;var s=n.toString(16).length==1?"0"+n.toString(16):n.toString(16);var o=r.toString(16).length==1?"0"+r.toString(16):r.toString(16);var u=i.toString(16).length==1?"0"+i.toString(16):i.toString(16);return"#"+s+o+u}(function(){var e,t,n,r,i=function(e,t){return function(){return e.apply(t,arguments)}},s=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};jQuery.fn.extend({imagepicker:function(t){return null==t&&(t={}),this.each(function(){var n;return n=jQuery(this),n.data("picker")&&n.data("picker").destroy(),n.data("picker",new e(this,r(t))),null!=t.initialized?t.initialized.call(n.data("picker")):void 0})}}),r=function(e){var t;return t={hide_select:!0,show_label:!1,initialized:void 0,changed:void 0,clicked:void 0,selected:void 0,limit:void 0,limit_reached:void 0},jQuery.extend(t,e)},n=function(e,t){return 0===jQuery(e).not(t).length&&0===jQuery(t).not(e).length},e=function(){function e(e,t){this.opts=null!=t?t:{},this.sync_picker_with_select=i(this.sync_picker_with_select,this),this.select=jQuery(e),this.multiple="multiple"===this.select.attr("multiple"),null!=this.select.data("limit")&&(this.opts.limit=parseInt(this.select.data("limit"))),this.build_and_append_picker()}return e.prototype.destroy=function(){var e,t,n,r;for(r=this.picker_options,t=0,n=r.length;n>t;t++)e=r[t],e.destroy();return this.picker.remove(),this.select.unbind("change"),this.select.removeData("picker"),this.select.show()},e.prototype.build_and_append_picker=function(){var e=this;return this.opts.hide_select&&this.select.hide(),this.select.change(function(){return e.sync_picker_with_select()}),null!=this.picker&&this.picker.remove(),this.create_picker(),this.select.after(this.picker),this.sync_picker_with_select()},e.prototype.sync_picker_with_select=function(){var e,t,n,r,i;for(r=this.picker_options,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.is_selected()?i.push(e.mark_as_selected()):i.push(e.unmark_as_selected());return i},e.prototype.create_picker=function(){return this.picker=jQuery("<ul class='thumbnails image_picker_selector'></ul>"),this.picker_options=[],this.recursively_parse_option_groups(this.select,this.picker),this.picker},e.prototype.recursively_parse_option_groups=function(e,n){var r,i,s,o,u,a,f,l,c,h;for(l=e.children("optgroup"),o=0,a=l.length;a>o;o++)s=l[o],s=jQuery(s),r=jQuery("<ul></ul>"),r.append(jQuery("<li class='group_title'>"+s.attr("label")+"</li>")),n.append(jQuery("<li>").append(r)),this.recursively_parse_option_groups(s,r);for(c=function(){var n,r,s,o;for(s=e.children("option"),o=[],n=0,r=s.length;r>n;n++)i=s[n],o.push(new t(i,this,this.opts));return o}.call(this),h=[],u=0,f=c.length;f>u;u++)i=c[u],this.picker_options.push(i),i.has_image()&&h.push(n.append(i.node));return h},e.prototype.has_implicit_blanks=function(){var e;return function(){var t,n,r,i;for(r=this.picker_options,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.is_blank()&&!e.has_image()&&i.push(e);return i}.call(this).length>0},e.prototype.selected_values=function(){return this.multiple?this.select.val()||[]:[this.select.val()]},e.prototype.toggle=function(e){var t,r,i;return r=this.selected_values(),i=""+e.value(),this.multiple?s.call(this.selected_values(),i)>=0?(t=this.selected_values(),t.splice(jQuery.inArray(i,r),1),this.select.val([]),this.select.val(t)):null!=this.opts.limit&&this.selected_values().length>=this.opts.limit?null!=this.opts.limit_reached&&this.opts.limit_reached.call(this.select):this.select.val(this.selected_values().concat(i)):this.has_implicit_blanks()&&e.is_selected()?this.select.val(""):this.select.val(i),n(r,this.selected_values())||(this.select.change(),null==this.opts.changed)?void 0:this.opts.changed.call(this.select,r,this.selected_values())},e}(),t=function(){function e(e,t,n){this.picker=t,this.opts=null!=n?n:{},this.clicked=i(this.clicked,this),this.option=jQuery(e),this.create_node()}return e.prototype.destroy=function(){return this.node.find(".thumbnail").unbind()},e.prototype.has_image=function(){return null!=this.option.data("img-src")},e.prototype.is_blank=function(){return!(null!=this.value()&&""!==this.value())},e.prototype.is_selected=function(){var e;return e=this.picker.select.val(),this.picker.multiple?jQuery.inArray(this.value(),e)>=0:this.value()===e},e.prototype.mark_as_selected=function(){return this.node.find(".thumbnail").addClass("selected")},e.prototype.unmark_as_selected=function(){return this.node.find(".thumbnail").removeClass("selected")},e.prototype.value=function(){return this.option.val()},e.prototype.label=function(){return this.option.data("img-label")?this.option.data("img-label"):this.option.text()},e.prototype.clicked=function(){return this.picker.toggle(this),null!=this.opts.clicked&&this.opts.clicked.call(this.picker.select,this),null!=this.opts.selected&&this.is_selected()?this.opts.selected.call(this.picker.select,this):void 0},e.prototype.create_node=function(){var e,t;return this.node=jQuery("<li/>"),e=jQuery("<img class='image_picker_image'/>"),e.attr("src",this.option.data("img-src")),t=jQuery("<div class='thumbnail'>"),t.click({option:this},function(e){return e.data.option.clicked()}),t.append(e),this.opts.show_label&&t.append(jQuery("<p/>").html(this.label())),this.node.append(t),this.node},e}()}).call(this);"use strict";jQuery.base64=function(e){function i(e,t){var r=n.indexOf(e.charAt(t));if(r===-1){throw"Cannot decode base64"}return r}function s(e){var n=0,r,s,o=e.length,u=[];e=String(e);if(o===0){return e}if(o%4!==0){throw"Cannot decode base64"}if(e.charAt(o-1)===t){n=1;if(e.charAt(o-2)===t){n=2}o-=4}for(r=0;r<o;r+=4){s=i(e,r)<<18|i(e,r+1)<<12|i(e,r+2)<<6|i(e,r+3);u.push(String.fromCharCode(s>>16,s>>8&255,s&255))}switch(n){case 1:s=i(e,r)<<18|i(e,r+1)<<12|i(e,r+2)<<6;u.push(String.fromCharCode(s>>16,s>>8&255));break;case 2:s=i(e,r)<<18|i(e,r+1)<<12;u.push(String.fromCharCode(s>>16));break}return u.join("")}function o(e,t){var n=e.charCodeAt(t);if(n>255){throw"INVALID_CHARACTER_ERR: DOM Exception 5"}return n}function u(e){if(arguments.length!==1){throw"SyntaxError: exactly one argument required"}e=String(e);var r,i,s=[],u=e.length-e.length%3;if(e.length===0){return e}for(r=0;r<u;r+=3){i=o(e,r)<<16|o(e,r+1)<<8|o(e,r+2);s.push(n.charAt(i>>18));s.push(n.charAt(i>>12&63));s.push(n.charAt(i>>6&63));s.push(n.charAt(i&63))}switch(e.length-u){case 1:i=o(e,r)<<16;s.push(n.charAt(i>>18)+n.charAt(i>>12&63)+t+t);break;case 2:i=o(e,r)<<16|o(e,r+1)<<8;s.push(n.charAt(i>>18)+n.charAt(i>>12&63)+n.charAt(i>>6&63)+t);break}return s.join("")}var t="=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="1.0";return{decode:s,encode:u,VERSION:r}}(jQuery);(function($){$.fn.editable=function(e,t){if("disable"==e){$(this).data("disabled.editable",true);return}if("enable"==e){$(this).data("disabled.editable",false);return}if("destroy"==e){$(this).unbind($(this).data("event.editable")).removeData("disabled.editable").removeData("event.editable");return}var n=$.extend({},$.fn.editable.defaults,{target:e},t);var r=$.editable.types[n.type].plugin||function(){};var i=$.editable.types[n.type].submit||function(){};var s=$.editable.types[n.type].buttons||$.editable.types["defaults"].buttons;var o=$.editable.types[n.type].content||$.editable.types["defaults"].content;var u=$.editable.types[n.type].element||$.editable.types["defaults"].element;var a=$.editable.types[n.type].reset||$.editable.types["defaults"].reset;var f=n.callback||function(){};var l=n.onedit||function(){};var c=n.onsubmit||function(){};var h=n.onreset||function(){};var p=n.onerror||a;if(n.tooltip){$(this).attr("title",n.tooltip)}n.autowidth="auto"==n.width;n.autoheight="auto"==n.height;return this.each(function(){var e=this;var t=$(e).width();var d=$(e).height();$(this).data("event.editable",n.event);if(!$.trim($(this).html())){$(this).html(n.placeholder)}$(this).bind(n.event,function(h){if(true===$(this).data("disabled.editable")){return}if(e.editing){return}if(false===l.apply(this,[n,e])){return}h.preventDefault();h.stopPropagation();if(n.tooltip){$(e).removeAttr("title")}if(0==$(e).width()){n.width=t;n.height=d}else{if(n.width!="none"){n.width=n.autowidth?$(e).width():n.width}if(n.height!="none"){n.height=n.autoheight?$(e).height():n.height}}if($(this).html().toLowerCase().replace(/(;|")/g,"")==n.placeholder.toLowerCase().replace(/(;|")/g,"")){$(this).html("")}e.editing=true;e.revert=$(e).html();$(e).html("");var v=$("<form />");if(n.cssclass){if("inherit"==n.cssclass){v.attr("class",$(e).attr("class"))}else{v.attr("class",n.cssclass)}}if(n.style){if("inherit"==n.style){v.attr("style",$(e).attr("style"));v.css("display",$(e).css("display"))}else{v.attr("style",n.style)}}var m=u.apply(v,[n,e]);var g;if(n.loadurl){var y=setTimeout(function(){m.disabled=true;o.apply(v,[n.loadtext,n,e])},100);var b={};b[n.id]=e.id;if($.isFunction(n.loaddata)){$.extend(b,n.loaddata.apply(e,[e.revert,n]))}else{$.extend(b,n.loaddata)}$.ajax({type:n.loadtype,url:n.loadurl,data:b,async:false,success:function(e){window.clearTimeout(y);g=e;m.disabled=false}})}else if(n.data){g=n.data;if($.isFunction(n.data)){g=n.data.apply(e,[e.revert,n])}}else{g=e.revert}o.apply(v,[g,n,e]);m.attr("name",n.name);s.apply(v,[n,e]);$(e).append(v);r.apply(v,[n,e]);$(":input:visible:enabled:first",v).focus();if(n.select){m.select()}m.keydown(function(t){if(t.keyCode==27){t.preventDefault();a.apply(v,[n,e])}});var y;if("cancel"==n.onblur){m.blur(function(t){y=setTimeout(function(){a.apply(v,[n,e])},500)})}else if("submit"==n.onblur){m.blur(function(e){y=setTimeout(function(){v.submit()},200)})}else if($.isFunction(n.onblur)){m.blur(function(t){n.onblur.apply(e,[m.val(),n])})}else{m.blur(function(e){})}v.submit(function(t){if(y){clearTimeout(y)}t.preventDefault();if(false!==c.apply(v,[n,e])){if(false!==i.apply(v,[n,e])){if($.isFunction(n.target)){var r=n.target.apply(e,[m.val(),n]);$(e).html(r);e.editing=false;f.apply(e,[e.innerHTML,n]);if(!$.trim($(e).html())){$(e).html(n.placeholder)}}else{var s={};s[n.name]=m.val();s[n.id]=e.id;if($.isFunction(n.submitdata)){$.extend(s,n.submitdata.apply(e,[e.revert,n]))}else{$.extend(s,n.submitdata)}if("PUT"==n.method){s["_method"]="put"}$(e).html(n.indicator);var o={type:"POST",data:s,dataType:"html",url:n.target,success:function(t,r){if(o.dataType=="html"){$(e).html(t)}e.editing=false;f.apply(e,[t,n]);if(!$.trim($(e).html())){$(e).html(n.placeholder)}},error:function(t,r,i){p.apply(v,[n,e,t])}};$.extend(o,n.ajaxoptions);$.ajax(o)}}}$(e).attr("title",n.tooltip);return false})});this.reset=function(t){if(this.editing){if(false!==h.apply(t,[n,e])){$(e).html(e.revert);e.editing=false;if(!$.trim($(e).html())){$(e).html(n.placeholder)}if(n.tooltip){$(e).attr("title",n.tooltip)}}}}})};$.editable={types:{defaults:{element:function(e,t){var n=$('<input type="hidden"></input>');$(this).append(n);return n},content:function(e,t,n){$(":input:first",this).val(e)},reset:function(e,t){t.reset(this)},buttons:function(e,t){var n=this;if(e.submit){if(e.submit.match(/>$/)){var r=$(e.submit).click(function(){if(r.attr("type")!="submit"){n.submit()}})}else{var r=$('<button type="submit" />');r.html(e.submit)}$(this).append(r)}if(e.cancel){if(e.cancel.match(/>$/)){var i=$(e.cancel)}else{var i=$('<button type="cancel" />');i.html(e.cancel)}$(this).append(i);$(i).click(function(r){if($.isFunction($.editable.types[e.type].reset)){var i=$.editable.types[e.type].reset}else{var i=$.editable.types["defaults"].reset}i.apply(n,[e,t]);return false})}}},text:{element:function(e,t){var n=$("<input />");if(e.width!="none"){n.width(e.width)}if(e.height!="none"){n.height(e.height)}n.attr("autocomplete","off");$(this).append(n);return n}},textarea:{element:function(e,t){var n=$("<textarea />");if(e.rows){n.attr("rows",e.rows)}else if(e.height!="none"){n.height(e.height)}if(e.cols){n.attr("cols",e.cols)}else if(e.width!="none"){n.width(e.width)}$(this).append(n);return n}},select:{element:function(e,t){var n=$("<select />");$(this).append(n);return n},content:function(data,settings,original){if(String==data.constructor){eval("var json = "+data)}else{var json=data}for(var key in json){if(!json.hasOwnProperty(key)){continue}if("selected"==key){continue}var option=$("<option />").val(key).append(json[key]);$("select",this).append(option)}$("select",this).children().each(function(){if($(this).val()==json["selected"]||$(this).text()==$.trim(original.revert)){$(this).attr("selected","selected")}})}}},addInputType:function(e,t){$.editable.types[e]=t}};$.fn.editable.defaults={name:"value",id:"id",type:"text",width:"auto",height:"auto",event:"click.editable",onblur:"cancel",loadtype:"GET",loadtext:"Loading...",placeholder:"Click to edit",loaddata:{},submitdata:{},ajaxoptions:{}}})(jQuery);(function(e){e.fn.mask=function(t,n){e(this).each(function(){if(n!==undefined&&n>0){var r=e(this);r.data("_mask_timeout",setTimeout(function(){e.maskElement(r,t)},n))}else{e.maskElement(e(this),t)}})};e.fn.unmask=function(){e(this).each(function(){e.unmaskElement(e(this))})};e.fn.isMasked=function(){return this.hasClass("masked")};e.maskElement=function(t,n){if(t.data("_mask_timeout")!==undefined){clearTimeout(t.data("_mask_timeout"));t.removeData("_mask_timeout")}if(t.isMasked()){e.unmaskElement(t)}if(t.css("position")=="static"){t.addClass("masked-relative")}t.addClass("masked");var r=e('<div class="loadmask"></div>');if(navigator.userAgent.toLowerCase().indexOf("msie")>-1){r.height(t.height()+parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom")));r.width(t.width()+parseInt(t.css("padding-left"))+parseInt(t.css("padding-right")))}if(navigator.userAgent.toLowerCase().indexOf("msie 6")>-1){t.find("select").addClass("masked-hidden")}t.append(r);if(n!==undefined){var i=e('<div class="loadmask-msg" style="display:none;"></div>');i.append("<div>"+n+"</div>");t.append(i);i.css("top",Math.round(t.height()/2-(i.height()-parseInt(i.css("padding-top"))-parseInt(i.css("padding-bottom")))/2)+"px");i.css("left",Math.round(t.width()/2-(i.width()-parseInt(i.css("padding-left"))-parseInt(i.css("padding-right")))/2)+"px");i.show()}};e.unmaskElement=function(e){if(e.data("_mask_timeout")!==undefined){clearTimeout(e.data("_mask_timeout"));e.removeData("_mask_timeout")}e.find(".loadmask-msg,.loadmask").remove();e.removeClass("masked");e.removeClass("masked-relative");e.find("select").removeClass("masked-hidden")}})(jQuery);(function(e){"function"===typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t=[],n=e(document),r=navigator.userAgent.toLowerCase(),i=e(window),s=[],o=null,u=/msie/.test(r)&&!/opera/.test(r),a=/opera/.test(r),f,l;f=u&&/msie 6./.test(r)&&"object"!==typeof window.XMLHttpRequest;l=u&&/msie 7.0/.test(r);e.modal=function(t,n){return e.modal.impl.init(t,n)};e.modal.close=function(){e.modal.impl.close()};e.modal.focus=function(t){e.modal.impl.focus(t)};e.modal.setContainerDimensions=function(){e.modal.impl.setContainerDimensions()};e.modal.setPosition=function(){e.modal.impl.setPosition()};e.modal.update=function(t,n){e.modal.impl.update(t,n)};e.fn.modal=function(t){return e.modal.impl.init(this,t)};e.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1e3,close:!0,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};e.modal.impl={d:{},init:function(t,n){if(this.d.data)return!1;o=u&&!e.support.boxModel;this.o=e.extend({},e.modal.defaults,n);this.zIndex=this.o.zIndex;this.occb=!1;if("object"===typeof t){if(t=t instanceof e?t:e(t),this.d.placeholder=!1,0<t.parent().parent().size()&&(t.before(e("<span></span>").attr("id","simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=t.css("display"),!this.o.persist))this.d.orig=t.clone(!0)}else if("string"===typeof t||"number"===typeof t)t=e("<div></div>").html(t);else return alert("SimpleModal Error: Unsupported data type: "+typeof t),this;this.create(t);this.open();e.isFunction(this.o.onShow)&&this.o.onShow.apply(this,[this.d]);return this},create:function(n){this.getDimensions();if(this.o.modal&&f)this.d.iframe=e('<iframe src="javascript:false;"></iframe>').css(e.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:s[0],width:s[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo);this.d.overlay=e("<div></div>").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(e.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo);this.d.container=e("<div></div>").attr("id",this.o.containerId).addClass("simplemodal-container").css(e.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?e(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo);this.d.wrap=e("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container);this.d.data=n.attr("id",n.attr("id")||this.o.dataId).addClass("simplemodal-data").css(e.extend(this.o.dataCss,{display:"none"})).appendTo("body");this.setContainerDimensions();this.d.data.appendTo(this.d.wrap);(f||o)&&this.fixIE()},bindEvents:function(){var r=this;e("."+r.o.closeClass).bind("click.simplemodal",function(e){e.preventDefault();r.close()});r.o.modal&&r.o.close&&r.o.overlayClose&&r.d.overlay.bind("click.simplemodal",function(e){e.preventDefault();r.close()});n.bind("keydown.simplemodal",function(e){r.o.modal&&9===e.keyCode?r.watchTab(e):r.o.close&&r.o.escClose&&27===e.keyCode&&(e.preventDefault(),r.close())});i.bind("resize.simplemodal orientationchange.simplemodal",function(){r.getDimensions();r.o.autoResize?r.setContainerDimensions():r.o.autoPosition&&r.setPosition();f||o?r.fixIE():r.o.modal&&(r.d.iframe&&r.d.iframe.css({height:s[0],width:s[1]}),r.d.overlay.css({height:t[0],width:t[1]}))})},unbindEvents:function(){e("."+this.o.closeClass).unbind("click.simplemodal");n.unbind("keydown.simplemodal");i.unbind(".simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var t=this.o.position;e.each([this.d.iframe||null,!this.o.modal?null:this.d.overlay,"fixed"===this.d.container.css("position")?this.d.container:null],function(e,n){if(n){var r=n[0].style;r.position="absolute";if(2>e)r.removeExpression("height"),r.removeExpression("width"),r.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),r.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var i,s;t&&t.constructor===Array?(i=t[0]?"number"===typeof t[0]?t[0].toString():t[0].replace(/px/,""):n.css("top").replace(/px/,""),i=-1===i.indexOf("%")?i+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(i.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',t[1]&&(s="number"===typeof t[1]?t[1].toString():t[1].replace(/px/,""),s=-1===s.indexOf("%")?s+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(s.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(i='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',s='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"');r.removeExpression("top");r.removeExpression("left");r.setExpression("top",i);r.setExpression("left",s)}}})},focus:function(t){var n=this,t=t&&-1!==e.inArray(t,["first","last"])?t:"first",r=e(":input:enabled:visible:"+t,n.d.wrap);setTimeout(function(){0<r.length?r.focus():n.d.wrap.focus()},10)},getDimensions:function(){var e="undefined"===typeof window.innerHeight?i.height():window.innerHeight;t=[n.height(),n.width()];s=[e,i.width()]},getVal:function(e,t){return e?"number"===typeof e?e:"auto"===e?0:0<e.indexOf("%")?parseInt(e.replace(/%/,""))/100*("h"===t?s[0]:s[1]):parseInt(e.replace(/px/,"")):null},update:function(e,t){if(!this.d.data)return!1;this.d.origHeight=this.getVal(e,"h");this.d.origWidth=this.getVal(t,"w");this.d.data.hide();e&&this.d.container.css("height",e);t&&this.d.container.css("width",t);this.setContainerDimensions();this.d.data.show();this.o.focus&&this.focus();this.unbindEvents();this.bindEvents()},setContainerDimensions:function(){var e=f||l,t=this.d.origHeight?this.d.origHeight:a?this.d.container.height():this.getVal(e?this.d.container[0].currentStyle.height:this.d.container.css("height"),"h"),e=this.d.origWidth?this.d.origWidth:a?this.d.container.width():this.getVal(e?this.d.container[0].currentStyle.width:this.d.container.css("width"),"w"),n=this.d.data.outerHeight(!0),r=this.d.data.outerWidth(!0);this.d.origHeight=this.d.origHeight||t;this.d.origWidth=this.d.origWidth||e;var i=this.o.maxHeight?this.getVal(this.o.maxHeight,"h"):null,o=this.o.maxWidth?this.getVal(this.o.maxWidth,"w"):null,i=i&&i<s[0]?i:s[0],o=o&&o<s[1]?o:s[1],u=this.o.minHeight?this.getVal(this.o.minHeight,"h"):"auto",t=t?this.o.autoResize&&t>i?i:t<u?u:t:n?n>i?i:this.o.minHeight&&"auto"!==u&&n<u?u:n:u,i=this.o.minWidth?this.getVal(this.o.minWidth,"w"):"auto",e=e?this.o.autoResize&&e>o?o:e<i?i:e:r?r>o?o:this.o.minWidth&&"auto"!==i&&r<i?i:r:i;this.d.container.css({height:t,width:e});this.d.wrap.css({overflow:n>t||r>e?"auto":"visible"});this.o.autoPosition&&this.setPosition()},setPosition:function(){var e,t;e=s[0]/2-this.d.container.outerHeight(!0)/2;t=s[1]/2-this.d.container.outerWidth(!0)/2;var n="fixed"!==this.d.container.css("position")?i.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(e=n+(this.o.position[0]||e),t=this.o.position[1]||t):e=n+e;this.d.container.css({left:t,top:e})},watchTab:function(t){if(0<e(t.target).parents(".simplemodal-container").length){if(this.inputs=e(":input:enabled:visible:first, :input:enabled:visible:last",this.d.data[0]),!t.shiftKey&&t.target===this.inputs[this.inputs.length-1]||t.shiftKey&&t.target===this.inputs[0]||0===this.inputs.length)t.preventDefault(),this.focus(t.shiftKey?"last":"first")}else t.preventDefault(),this.focus()},open:function(){this.d.iframe&&this.d.iframe.show();e.isFunction(this.o.onOpen)?this.o.onOpen.apply(this,[this.d]):(this.d.overlay.show(),this.d.container.show(),this.d.data.show());this.o.focus&&this.focus();this.bindEvents()},close:function(){if(!this.d.data)return!1;this.unbindEvents();if(e.isFunction(this.o.onClose)&&!this.occb)this.occb=!0,this.o.onClose.apply(this,[this.d]);else{if(this.d.placeholder){var t=e("#simplemodal-placeholder");this.o.persist?t.replaceWith(this.d.data.removeClass("simplemodal-data").css("display",this.display)):(this.d.data.hide().remove(),t.replaceWith(this.d.orig))}else this.d.data.hide().remove();this.d.container.hide().remove();this.d.overlay.hide();this.d.iframe&&this.d.iframe.hide().remove();this.d.overlay.remove();this.d={}}}}});!function(e,t){function n(e,t){d(e).push(t)}function r(r,i,s){var o=r.children(i.headerTag),u=r.children(i.bodyTag);o.length>u.length?z(G,"contents"):o.length<u.length&&z(G,"titles");var a=i.startIndex;if(s.stepCount=o.length,i.saveState&&e.cookie){var f=e.cookie(V+m(r)),l=parseInt(f,0);!isNaN(l)&&l<s.stepCount&&(a=l)}s.currentIndex=a,o.each(function(i){var s=e(this),o=u.eq(i),a=o.data("mode"),f=null==a?Y.html:g(Y,/^\s*$/.test(a)||isNaN(a)?a:parseInt(a,0)),l=f===Y.html||o.data("url")===t?"":o.data("url"),c=f!==Y.html&&"1"===o.data("loaded"),h=e.extend({},tt,{title:s.html(),content:f===Y.html?o.html():"",contentUrl:l,contentMode:f,contentLoaded:c});n(r,h)})}function i(e){e.triggerHandler("canceled")}function s(e,t){return e.currentIndex-t}function o(t,n){var r=a(t);t.unbind(r).removeData("uid").removeData("options").removeData("state").removeData("steps").removeData("eventNamespace").find(".actions a").unbind(r),t.removeClass(n.clearFixCssClass+" vertical");var i=t.find(".content > *");i.removeData("loaded").removeData("mode").removeData("url"),i.removeAttr("id").removeAttr("role").removeAttr("tabindex").removeAttr("class").removeAttr("style")._removeAria("labelledby")._removeAria("hidden"),t.find(".content > [data-mode='async'],.content > [data-mode='iframe']").empty();var s=e('<{0} class="{1}"></{0}>'.format(t.get(0).tagName,t.attr("class"))),o=t._id();return null!=o&&""!==o&&s._id(o),s.html(t.find(".content").html()),t.after(s),t.remove(),s}function u(e,t){var n=e.find(".steps li").eq(t.currentIndex);e.triggerHandler("finishing",[t.currentIndex])?(n.addClass("done").removeClass("error"),e.triggerHandler("finished",[t.currentIndex])):n.addClass("error")}function a(e){var t=e.data("eventNamespace");return null==t&&(t="."+m(e),e.data("eventNamespace",t)),t}function f(e,t){var n=m(e);return e.find("#"+n+$+t)}function l(e,t){var n=m(e);return e.find("#"+n+J+t)}function c(e,t){var n=m(e);return e.find("#"+n+K+t)}function h(e){return e.data("options")}function p(e){return e.data("state")}function d(e){return e.data("steps")}function v(e,t){var n=d(e);return(0>t||t>=n.length)&&z(Q),n[t]}function m(e){var t=e.data("uid");return null==t&&(t=e._id(),null==t&&(t="steps-uid-".concat(X),e._id(t)),X++,e.data("uid",t)),t}function g(e,n){if(W("enumType",e),W("keyOrValue",n),"string"==typeof n){var r=e[n];return r===t&&z("The enum key '{0}' does not exist.",n),r}if("number"==typeof n){for(var i in e)if(e[i]===n)return n;z("Invalid enum value '{0}'.",n)}else z("Invalid key or value type.")}function y(e,t,n){return k(e,t,n,E(n,1))}function b(e,t,n){return k(e,t,n,s(n,1))}function w(e,t,n,r){if((0>r||r>=n.stepCount)&&z(Q),!(t.forceMoveForward&&r<n.currentIndex)){var i=n.currentIndex;return e.triggerHandler("stepChanging",[n.currentIndex,r])?(n.currentIndex=r,q(e,t,n),O(e,t,n,i),A(e,t,n),C(e,t,n),R(e,t,n,r,i,function(){e.triggerHandler("stepChanged",[r,i])})):e.find(".steps li").eq(i).addClass("error"),!0}}function E(e,t){return e.currentIndex+t}function S(t){var n=e.extend(!0,{},nt,t);return this.each(function(){var t=e(this),i={currentIndex:n.startIndex,currentStep:null,stepCount:0,transitionElement:null};t.data("options",n),t.data("state",i),t.data("steps",[]),r(t,n,i),H(t,n,i),_(t,n),n.autoFocus&&0===X&&f(t,n.startIndex).focus(),t.triggerHandler("init",[n.startIndex])})}function x(t,n,r,i,s){(0>i||i>r.stepCount)&&z(Q),s=e.extend({},tt,s),T(t,i,s),r.currentIndex!==r.stepCount&&r.currentIndex>=i&&(r.currentIndex++,q(t,n,r)),r.stepCount++;var o=t.find(".content"),u=e("<{0}>{1}</{0}>".format(n.headerTag,s.title)),a=e("<{0}></{0}>".format(n.bodyTag));return(null==s.contentMode||s.contentMode===Y.html)&&a.html(s.content),0===i?o.prepend(a).prepend(u):l(t,i-1).after(a).after(u),B(t,r,a,i),I(t,n,r,u,i),M(t,n,r,i),i===r.currentIndex&&O(t,n,r),A(t,n,r),t}function T(e,t,n){d(e).splice(t,0,n)}function N(t){var n=e(this),r=h(n),i=p(n);if(r.suppressPaginationOnFocus&&n.find(":focus").is(":input"))return t.preventDefault(),!1;var s={left:37,right:39};t.keyCode===s.left?(t.preventDefault(),b(n,r,i)):t.keyCode===s.right&&(t.preventDefault(),y(n,r,i))}function C(t,n,r){if(r.stepCount>0){var i=r.currentIndex,s=v(t,i);if(!n.enableContentCache||!s.contentLoaded)switch(g(Y,s.contentMode)){case Y.iframe:t.find(".content > .body").eq(r.currentIndex).empty().html('<iframe src="'+s.contentUrl+'" frameborder="0" scrolling="no" />').data("loaded","1");break;case Y.async:var o=l(t,i)._aria("busy","true").empty().append(F(n.loadingTemplate,{text:n.labels.loading}));e.ajax({url:s.contentUrl,cache:!1}).done(function(e){o.empty().html(e)._aria("busy","false").data("loaded","1"),t.triggerHandler("contentLoaded",[i])})}}}function k(e,t,n,r){var i=n.currentIndex;if(r>=0&&r<n.stepCount&&!(t.forceMoveForward&&r<n.currentIndex)){var s=f(e,r),o=s.parent(),u=o.hasClass("disabled");return o._enableAria(),s.click(),i===n.currentIndex&&u?(o._enableAria(!1),!1):!0}return!1}function L(t){t.preventDefault();var n=e(this),r=n.parent().parent().parent().parent(),s=h(r),o=p(r),a=n.attr("href");switch(a.substring(a.lastIndexOf("#")+1)){case"cancel":i(r);break;case"finish":u(r,o);break;case"next":y(r,s,o);break;case"previous":b(r,s,o)}}function A(e,t,n){if(t.enablePagination){var r=e.find(".actions a[href$='#finish']").parent(),i=e.find(".actions a[href$='#next']").parent();if(!t.forceMoveForward){var s=e.find(".actions a[href$='#previous']").parent();s._enableAria(n.currentIndex>0)}t.enableFinishButton&&t.showFinishButtonAlways?(r._enableAria(n.stepCount>0),i._enableAria(n.stepCount>1&&n.stepCount>n.currentIndex+1)):(r._showAria(t.enableFinishButton&&n.stepCount===n.currentIndex+1),i._showAria(0===n.stepCount||n.stepCount>n.currentIndex+1)._enableAria(n.stepCount>n.currentIndex+1||!t.enableFinishButton))}}function O(t,n,r,i){var s=f(t,r.currentIndex),o=e('<span class="current-info audible">'+n.labels.current+" </span>"),u=t.find(".content > .title");if(null!=i){var a=f(t,i);a.parent().addClass("done").removeClass("error")._selectAria(!1),u.eq(i).removeClass("current").next(".body").removeClass("current"),o=a.find(".current-info"),s.focus()}s.prepend(o).parent()._selectAria().removeClass("done")._enableAria(),u.eq(r.currentIndex).addClass("current").next(".body").addClass("current")}function M(e,t,n,r){for(var i=m(e),s=r;s<n.stepCount;s++){var o=i+$+s,u=i+J+s,a=i+K+s,f=e.find(".title").eq(s)._id(a);e.find(".steps a").eq(s)._id(o)._aria("controls",u).attr("href","#"+a).html(F(t.titleTemplate,{index:s+1,title:f.html()})),e.find(".body").eq(s)._id(u)._aria("labelledby",a)}}function _(e,t){var n=a(e);e.bind("canceled"+n,t.onCanceled),e.bind("contentLoaded"+n,t.onContentLoaded),e.bind("finishing"+n,t.onFinishing),e.bind("finished"+n,t.onFinished),e.bind("init"+n,t.onInit),e.bind("stepChanging"+n,t.onStepChanging),e.bind("stepChanged"+n,t.onStepChanged),t.enableKeyNavigation&&e.bind("keyup"+n,N),e.find(".actions a").bind("click"+n,L)}function D(e,t,n,r){return 0>r||r>=n.stepCount||n.currentIndex===r?!1:(P(e,r),n.currentIndex>r&&(n.currentIndex--,q(e,t,n)),n.stepCount--,c(e,r).remove(),l(e,r).remove(),f(e,r).parent().remove(),0===r&&e.find(".steps li").first().addClass("first"),r===n.stepCount&&e.find(".steps li").eq(r).addClass("last"),M(e,t,n,r),A(e,t,n),!0)}function P(e,t){d(e).splice(t,1)}function H(t,n,r){var i='<{0} class="{1}">{2}</{0}>',s=g(Z,n.stepsOrientation),o=s===Z.vertical?" vertical":"",u=e(i.format(n.contentContainerTag,"content "+n.clearFixCssClass,t.html())),a=e(i.format(n.stepsContainerTag,"steps "+n.clearFixCssClass,'<ul role="tablist"></ul>')),f=u.children(n.headerTag),l=u.children(n.bodyTag);t.attr("role","application").empty().append(a).append(u).addClass(n.cssClass+" "+n.clearFixCssClass+o),l.each(function(n){B(t,r,e(this),n)}),f.each(function(i){I(t,n,r,e(this),i)}),O(t,n,r),j(t,n,r)}function B(e,t,n,r){var i=m(e),s=i+J+r,o=i+K+r;n._id(s).attr("role","tabpanel")._aria("labelledby",o).addClass("body")._showAria(t.currentIndex===r)}function j(e,t,n){if(t.enablePagination){var r='<{0} class="actions {1}"><ul role="menu" aria-label="{2}">{3}</ul></{0}>',i='<li><a href="#{0}" role="menuitem">{1}</a></li>',s="";t.forceMoveForward||(s+=i.format("previous",t.labels.previous)),s+=i.format("next",t.labels.next),t.enableFinishButton&&(s+=i.format("finish",t.labels.finish)),t.enableCancelButton&&(s+=i.format("cancel",t.labels.cancel)),e.append(r.format(t.actionContainerTag,t.clearFixCssClass,t.labels.pagination,s)),A(e,t,n),C(e,t,n)}}function F(e,n){for(var r=e.match(/#([a-z]*)#/gi),i=0;i<r.length;i++){var s=r[i],o=s.substring(1,s.length-1);n[o]===t&&z("The key '{0}' does not exist in the substitute collection!",o),e=e.replace(s,n[o])}return e}function I(t,n,r,i,s){var o=m(t),u=o+$+s,f=o+J+s,l=o+K+s,c=t.find(".steps > ul"),h=F(n.titleTemplate,{index:s+1,title:i.html()}),p=e('<li role="tab"><a id="'+u+'" href="#'+l+'" aria-controls="'+f+'">'+h+"</a></li>");p._enableAria(n.enableAllSteps||r.currentIndex>s),r.currentIndex>s&&p.addClass("done"),i._id(l).attr("tabindex","-1").addClass("title"),0===s?c.prepend(p):c.find("li").eq(s-1).after(p),0===s&&c.find("li").removeClass("first").eq(s).addClass("first"),s===r.stepCount-1&&c.find("li").removeClass("last").eq(s).addClass("last"),p.children("a").bind("click"+a(t),U)}function q(t,n,r){n.saveState&&e.cookie&&e.cookie(V+m(t),r.currentIndex)}function R(t,n,r,i,s,o){var u=t.find(".content > .body"),a=g(et,n.transitionEffect),f=n.transitionEffectSpeed,l=u.eq(i),c=u.eq(s);switch(a){case et.fade:case et.slide:var h=a===et.fade?"fadeOut":"slideUp",d=a===et.fade?"fadeIn":"slideDown";r.transitionElement=l,c[h](f,function(){var t=e(this)._showAria(!1).parent().parent(),n=p(t);n.transitionElement&&(n.transitionElement[d](f,function(){e(this)._showAria()}).promise().done(o),n.transitionElement=null)});break;case et.slideLeft:var v=c.outerWidth(!0),m=i>s?-v:v,y=i>s?v:-v;e.when(c.animate({left:m},f,function(){e(this)._showAria(!1)}),l.css("left",y+"px")._showAria().animate({left:0},f)).done(o);break;default:e.when(c._showAria(!1),l._showAria()).done(o)}}function U(t){t.preventDefault();var n=e(this),r=n.parent().parent().parent().parent(),i=h(r),s=p(r),o=s.currentIndex;if(n.parent().is(":not(.disabled):not(.current)")){var u=n.attr("href"),a=parseInt(u.substring(u.lastIndexOf("-")+1),0);w(r,i,s,a)}return o===s.currentIndex?(f(r,o).focus(),!1):void 0}function z(e){throw arguments.length>1&&(e=e.format(Array.prototype.slice.call(arguments,1))),new Error(e)}function W(e,t){null==t&&z("The argument '{0}' is null or undefined.",e)}e.fn.extend({_aria:function(e,t){return this.attr("aria-"+e,t)},_removeAria:function(e){return this.removeAttr("aria-"+e)},_enableAria:function(e){return null==e||e?this.removeClass("disabled")._aria("disabled","false"):this.addClass("disabled")._aria("disabled","true")},_showAria:function(e){return null==e||e?this.show()._aria("hidden","false"):this.hide()._aria("hidden","true")},_selectAria:function(e){return null==e||e?this.addClass("current")._aria("selected","true"):this.removeClass("current")._aria("selected","false")},_id:function(e){return e?this.attr("id",e):this.attr("id")}}),String.prototype.format||(String.prototype.format=function(){for(var t=1===arguments.length&&e.isArray(arguments[0])?arguments[0]:arguments,n=this,r=0;r<t.length;r++){var i=new RegExp("\\{"+r+"\\}","gm");n=n.replace(i,t[r])}return n});var X=0,V="jQu3ry_5teps_St@te_",$="-t-",J="-p-",K="-h-",Q="Index out of range.",G="One or more corresponding step {0} are missing.";e.fn.steps=function(t){return e.fn.steps[t]?e.fn.steps[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery.steps"):S.apply(this,arguments)},e.fn.steps.add=function(e){var t=p(this);return x(this,h(this),t,t.stepCount,e)},e.fn.steps.destroy=function(){return o(this,h(this))},e.fn.steps.finish=function(){u(this,p(this))},e.fn.steps.getCurrentIndex=function(){return p(this).currentIndex},e.fn.steps.getCurrentStep=function(){return v(this,p(this).currentIndex)},e.fn.steps.getStep=function(e){return v(this,e)},e.fn.steps.insert=function(e,t){return x(this,h(this),p(this),e,t)},e.fn.steps.next=function(){return y(this,h(this),p(this))},e.fn.steps.previous=function(){return b(this,h(this),p(this))},e.fn.steps.remove=function(e){return D(this,h(this),p(this),e)},e.fn.steps.setStep=function(){throw new Error("Not yet implemented!")},e.fn.steps.skip=function(){throw new Error("Not yet implemented!")};var Y=e.fn.steps.contentMode={html:0,iframe:1,async:2},Z=e.fn.steps.stepsOrientation={horizontal:0,vertical:1},et=e.fn.steps.transitionEffect={none:0,fade:1,slide:2,slideLeft:3},tt=e.fn.steps.stepModel={title:"",content:"",contentUrl:"",contentMode:Y.html,contentLoaded:!1},nt=e.fn.steps.defaults={headerTag:"h1",bodyTag:"div",contentContainerTag:"div",actionContainerTag:"div",stepsContainerTag:"div",cssClass:"wizard",clearFixCssClass:"clearfix",stepsOrientation:Z.horizontal,titleTemplate:'<span class="number">#index#.</span> #title#',loadingTemplate:'<span class="spinner"></span> #text#',autoFocus:!1,enableAllSteps:!1,enableKeyNavigation:!0,enablePagination:!0,suppressPaginationOnFocus:!0,enableContentCache:!0,enableCancelButton:!1,enableFinishButton:!0,preloadContent:!1,showFinishButtonAlways:!1,forceMoveForward:!1,saveState:!1,startIndex:0,transitionEffect:et.none,transitionEffectSpeed:200,onStepChanging:function(){return!0},onStepChanged:function(){},onCanceled:function(){},onFinishing:function(){return!0},onFinished:function(){},onContentLoaded:function(){},onInit:function(){},labels:{cancel:"Cancel",current:"current step:",pagination:"Pagination",finish:"Finish",next:"Next",previous:"Previous",loading:"Loading ..."}}}(jQuery);!function(e,t,n,r){function c(e,t){var n=Math.max(0,e[0]-t[0],t[0]-e[1]),r=Math.max(0,e[2]-t[1],t[1]-e[3]);return n+r}function h(t,n,r,i){var s=t.length,o=i?"offset":"position";r=r||0;while(s--){var u=t[s].el?t[s].el:e(t[s]),a=u[o]();a.left+=parseInt(u.css("margin-left"),10);a.top+=parseInt(u.css("margin-top"),10);n[s]=[a.left-r,a.left+u.outerWidth()+r,a.top-r,a.top+u.outerHeight()+r]}}function p(e,t){var n=t.offset();return{left:e.left-n.left,top:e.top-n.top}}function d(e,t,n){t=[t.left,t.top];n=n&&[n.left,n.top];var r,i=e.length,s=[];while(i--){r=e[i];s[i]=[i,c(r,t),n&&c(r,n)]}s=s.sort(function(e,t){return t[1]-e[1]||t[2]-e[2]||t[0]-e[0]});return s}function v(t){this.options=e.extend({},s,t);this.containers=[];if(!this.options.rootGroup){this.scrollProxy=e.proxy(this.scroll,this);this.dragProxy=e.proxy(this.drag,this);this.dropProxy=e.proxy(this.drop,this);this.placeholder=e(this.options.placeholder);if(!t.isValidTarget)this.options.isValidTarget=r}}function m(t,n){this.el=t;this.options=e.extend({},i,n);this.group=v.get(this.options);this.rootGroup=this.options.rootGroup||this.group;this.handle=this.rootGroup.options.handle||this.rootGroup.options.itemSelector;var r=this.rootGroup.options.itemPath;this.target=r?this.el.find(r):this.el;this.target.on(f.start,this.handle,e.proxy(this.dragInit,this));if(this.options.drop)this.group.containers.push(this)}var i={drag:true,drop:true,exclude:"",nested:true,vertical:true},s={afterMove:function(e,t,n){},containerPath:"",containerSelector:"ol, ul",distance:0,delay:0,handle:"",itemPath:"",itemSelector:"li",bodyClass:"dragging",draggedClass:"dragged",isValidTarget:function(e,t){return true},onCancel:function(e,t,n,r){},onDrag:function(e,t,n,r){e.css(t)},onDragStart:function(t,n,r,i){t.css({height:t.outerHeight(),width:t.outerWidth()});t.addClass(n.group.options.draggedClass);e("body").addClass(n.group.options.bodyClass)},onDrop:function(t,n,r,i){t.removeClass(n.group.options.draggedClass).removeAttr("style");e("body").removeClass(n.group.options.bodyClass)},onMousedown:function(e,t,n){if(!n.target.nodeName.match(/^(input|select|textarea)$/i)){n.preventDefault();return true}},placeholderClass:"placeholder",placeholder:'<li class="placeholder"></li>',pullPlaceholder:true,serialize:function(t,n,r){var i=e.extend({},t.data());if(r)return[n];else if(n[0]){i.children=n}delete i.subContainers;delete i.sortable;return i},tolerance:0},o={},u=0,a={left:0,top:0,bottom:0,right:0},f={start:"touchstart.sortable mousedown.sortable",drop:"touchend.sortable touchcancel.sortable mouseup.sortable",drag:"touchmove.sortable mousemove.sortable",scroll:"scroll.sortable"},l="subContainers";v.get=function(e){if(!o[e.group]){if(e.group===r)e.group=u++;o[e.group]=new v(e)}return o[e.group]};v.prototype={dragInit:function(t,n){this.$document=e(n.el[0].ownerDocument);var r=e(t.target).closest(this.options.itemSelector);if(r.length){this.item=r;this.itemContainer=n;if(this.item.is(this.options.exclude)||!this.options.onMousedown(this.item,s.onMousedown,t)){return}this.setPointer(t);this.toggleListeners("on");this.setupDelayTimer();this.dragInitDone=true}},drag:function(e){if(!this.dragging){if(!this.distanceMet(e)||!this.delayMet)return;this.options.onDragStart(this.item,this.itemContainer,s.onDragStart,e);this.item.before(this.placeholder);this.dragging=true}this.setPointer(e);this.options.onDrag(this.item,p(this.pointer,this.item.offsetParent()),s.onDrag,e);var t=this.getPointer(e),n=this.sameResultBox,i=this.options.tolerance;if(!n||n.top-i>t.top||n.bottom+i<t.top||n.left-i>t.left||n.right+i<t.left)if(!this.searchValidTarget()){this.placeholder.detach();this.lastAppendedItem=r}},drop:function(e){this.toggleListeners("off");this.dragInitDone=false;if(this.dragging){if(this.placeholder.closest("html")[0]){this.placeholder.before(this.item).detach()}else{this.options.onCancel(this.item,this.itemContainer,s.onCancel,e)}this.options.onDrop(this.item,this.getContainer(this.item),s.onDrop,e);this.clearDimensions();this.clearOffsetParent();this.lastAppendedItem=this.sameResultBox=r;this.dragging=false}},searchValidTarget:function(e,t){if(!e){e=this.relativePointer||this.pointer;t=this.lastRelativePointer||this.lastPointer}var n=d(this.getContainerDimensions(),e,t),i=n.length;while(i--){var s=n[i][0],o=n[i][1];if(!o||this.options.pullPlaceholder){var u=this.containers[s];if(!u.disabled){if(!this.$getOffsetParent()){var a=u.getItemOffsetParent();e=p(e,a);t=p(t,a)}if(u.searchValidTarget(e,t))return true}}}if(this.sameResultBox)this.sameResultBox=r},movePlaceholder:function(e,t,n,r){var i=this.lastAppendedItem;if(!r&&i&&i[0]===t[0])return;t[n](this.placeholder);this.lastAppendedItem=t;this.sameResultBox=r;this.options.afterMove(this.placeholder,e,t)},getContainerDimensions:function(){if(!this.containerDimensions)h(this.containers,this.containerDimensions=[],this.options.tolerance,!this.$getOffsetParent());return this.containerDimensions},getContainer:function(e){return e.closest(this.options.containerSelector).data(n)},$getOffsetParent:function(){if(this.offsetParent===r){var e=this.containers.length-1,t=this.containers[e].getItemOffsetParent();if(!this.options.rootGroup){while(e--){if(t[0]!=this.containers[e].getItemOffsetParent()[0]){t=false;break}}}this.offsetParent=t}return this.offsetParent},setPointer:function(e){var t=this.getPointer(e);if(this.$getOffsetParent()){var n=p(t,this.$getOffsetParent());this.lastRelativePointer=this.relativePointer;this.relativePointer=n}this.lastPointer=this.pointer;this.pointer=t},distanceMet:function(e){var t=this.getPointer(e);return Math.max(Math.abs(this.pointer.left-t.left),Math.abs(this.pointer.top-t.top))>=this.options.distance},getPointer:function(e){var t=e.originalEvent||e.originalEvent.touches&&e.originalEvent.touches[0];return{left:e.pageX||t.pageX,top:e.pageY||t.pageY}},setupDelayTimer:function(){var e=this;this.delayMet=!this.options.delay;if(!this.delayMet){clearTimeout(this._mouseDelayTimer);this._mouseDelayTimer=setTimeout(function(){e.delayMet=true},this.options.delay)}},scroll:function(e){this.clearDimensions();this.clearOffsetParent()},toggleListeners:function(t){var n=this,r=["drag","drop","scroll"];e.each(r,function(e,r){n.$document[t](f[r],n[r+"Proxy"])})},clearOffsetParent:function(){this.offsetParent=r},clearDimensions:function(){this.traverse(function(e){e._clearDimensions()})},traverse:function(e){e(this);var t=this.containers.length;while(t--){this.containers[t].traverse(e)}},_clearDimensions:function(){this.containerDimensions=r},_destroy:function(){o[this.options.group]=r}};m.prototype={dragInit:function(e){var t=this.rootGroup;if(!this.disabled&&!t.dragInitDone&&this.options.drag&&this.isValidDrag(e)){t.dragInit(e,this)}},isValidDrag:function(e){return e.which==1||e.type=="touchstart"&&e.originalEvent.touches.length==1},searchValidTarget:function(e,t){var n=d(this.getItemDimensions(),e,t),r=n.length,i=this.rootGroup,s=!i.options.isValidTarget||i.options.isValidTarget(i.item,this);if(!r&&s){i.movePlaceholder(this,this.target,"append");return true}else while(r--){var o=n[r][0],u=n[r][1];if(!u&&this.hasChildGroup(o)){var a=this.getContainerGroup(o).searchValidTarget(e,t);if(a)return true}else if(s){this.movePlaceholder(o,e);return true}}},movePlaceholder:function(t,n){var r=e(this.items[t]),i=this.itemDimensions[t],s="after",o=r.outerWidth(),u=r.outerHeight(),f=r.offset(),l={left:f.left,right:f.left+o,top:f.top,bottom:f.top+u};if(this.options.vertical){var c=(i[2]+i[3])/2,h=n.top<=c;if(h){s="before";l.bottom-=u/2}else l.top+=u/2}else{var p=(i[0]+i[1])/2,d=n.left<=p;if(d){s="before";l.right-=o/2}else l.left+=o/2}if(this.hasChildGroup(t))l=a;this.rootGroup.movePlaceholder(this,r,s,l)},getItemDimensions:function(){if(!this.itemDimensions){this.items=this.$getChildren(this.el,"item").filter(":not(."+this.group.options.placeholderClass+", ."+this.group.options.draggedClass+")").get();h(this.items,this.itemDimensions=[],this.options.tolerance)}return this.itemDimensions},getItemOffsetParent:function(){var e,t=this.el;if(t.css("position")==="relative"||t.css("position")==="absolute"||t.css("position")==="fixed")e=t;else e=t.offsetParent();return e},hasChildGroup:function(e){return this.options.nested&&this.getContainerGroup(e)},getContainerGroup:function(t){var i=e.data(this.items[t],l);if(i===r){var s=this.$getChildren(this.items[t],"container");i=false;if(s[0]){var o=e.extend({},this.options,{rootGroup:this.rootGroup,group:u++});i=s[n](o).data(n).group}e.data(this.items[t],l,i)}return i},$getChildren:function(t,n){var r=this.rootGroup.options,i=r[n+"Path"],s=r[n+"Selector"];t=e(t);if(i)t=t.find(i);return t.children(s)},_serialize:function(t,n){var r=this,i=n?"item":"container",s=this.$getChildren(t,i).not(this.options.exclude).map(function(){return r._serialize(e(this),!n)}).get();return this.rootGroup.options.serialize(t,s,n)},traverse:function(t){e.each(this.items||[],function(n){var r=e.data(this,l);if(r)r.traverse(t)});t(this)},_clearDimensions:function(){this.itemDimensions=r},_destroy:function(){var t=this;this.target.off(f.start,this.handle);this.el.removeData(n);if(this.options.drop)this.group.containers=e.grep(this.group.containers,function(e){return e!=t});e.each(this.items||[],function(){e.removeData(this,l)})}};var g={enable:function(){this.traverse(function(e){e.disabled=false})},disable:function(){this.traverse(function(e){e.disabled=true})},serialize:function(){return this._serialize(this.el,true)},refresh:function(){this.traverse(function(e){e._clearDimensions()})},destroy:function(){this.traverse(function(e){e._destroy()})}};e.extend(m.prototype,g);e.fn[n]=function(t){var i=Array.prototype.slice.call(arguments,1);return this.map(function(){var s=e(this),o=s.data(n);if(o&&g[t])return g[t].apply(o,i)||this;else if(!o&&(t===r||typeof t==="object"))s.data(n,new m(s,t));return this})}}(jQuery,window,"sortable");(function(e){"use strict";if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports=="object"&&typeof module=="object"){module.exports=e}else{e(jQuery)}})(function(e,t){"use strict";function a(t,n,r,i){var o=[];for(var u=0;u<t.length;u++){var a=t[u];if(a){var f=tinycolor(a);var l=f.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";l+=tinycolor.equals(n,a)?" sp-thumb-active":"";var c=f.toString(i.preferredFormat||"rgb");var h=s?"background-color:"+f.toRgbString():"filter:"+f.toFilter();o.push('<span title="'+c+'" data-color="'+f.toRgbString()+'" class="'+l+'"><span class="sp-thumb-inner" style="'+h+';" /></span>')}else{var p="sp-clear-display";o.push(e("<div />").append(e('<span data-color="" style="background-color:transparent;" class="'+p+'"></span>').attr("title",i.noColorSelectedText)).html())}}return"<div class='sp-cf "+r+"'>"+o.join("")+"</div>"}function f(){for(var e=0;e<r.length;e++){if(r[e]){r[e].hide()}}}function l(t,r){var i=e.extend({},n,t);i.callbacks={move:v(i.move,r),change:v(i.change,r),show:v(i.show,r),hide:v(i.hide,r),beforeShow:v(i.beforeShow,r)};return i}function c(n,c){function Nt(){if(p.showPaletteOnly){p.showPalette=true}ct.text(p.showPaletteOnly?p.togglePaletteMoreText:p.togglePaletteLessText);if(p.palette){F=p.palette.slice(0);I=e.isArray(F[0])?F:[F];q={};for(var t=0;t<I.length;t++){for(var n=0;n<I[t].length;n++){var r=tinycolor(I[t][n]).toRgbString();q[r]=true}}}Q.toggleClass("sp-flat",v);Q.toggleClass("sp-input-disabled",!p.showInput);Q.toggleClass("sp-alpha-enabled",p.showAlpha);Q.toggleClass("sp-clear-enabled",Tt);Q.toggleClass("sp-buttons-disabled",!p.showButtons);Q.toggleClass("sp-palette-buttons-disabled",!p.togglePaletteOnly);Q.toggleClass("sp-palette-disabled",!p.showPalette);Q.toggleClass("sp-palette-only",p.showPaletteOnly);Q.toggleClass("sp-initial-disabled",!p.showInitial);Q.addClass(p.className).addClass(p.containerClassName);Jt()}function Ct(){function n(t){if(t.data&&t.data.ignore){Rt(e(t.target).closest(".sp-thumb-el").data("color"));Wt()}else{Rt(e(t.target).closest(".sp-thumb-el").data("color"));Wt();$t(true);if(p.hideAfterPaletteSelect){It()}}return false}if(i){Q.find("*:not(input)").attr("unselectable","on")}Nt();if(dt){J.after(vt).hide()}if(!Tt){ft.hide()}if(v){J.after(Q).hide()}else{var t=p.appendTo==="parent"?J.parent():e(p.appendTo);if(t.length!==1){t=e("body")}t.append(Q)}kt();mt.bind("click.spectrum touchstart.spectrum",function(t){if(!K){Ht()}t.stopPropagation();if(!e(t.target).is("input")){t.preventDefault()}});if(J.is(":disabled")||p.disabled===true){Yt()}Q.click(d);st.change(Pt);st.bind("paste",function(){setTimeout(Pt,1)});st.keydown(function(e){if(e.keyCode==13){Pt()}});at.text(p.cancelText);at.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();qt();It()});ft.attr("title",p.clearText);ft.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();xt=true;Wt();if(v){$t(true)}});lt.text(p.chooseText);lt.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();if(i&&st.is(":focus")){st.trigger("change")}if(zt()){$t(true);It()}});ct.text(p.showPaletteOnly?p.togglePaletteMoreText:p.togglePaletteLessText);ct.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();p.showPaletteOnly=!p.showPaletteOnly;if(!p.showPaletteOnly&&!v){Q.css("left","-="+(G.outerWidth(true)+5))}Nt()});m(rt,function(e,t,n){j=e/M;xt=false;if(n.shiftKey){j=Math.round(j*10)/10}Wt()},_t,Dt);m(et,function(e,t){P=parseFloat(t/A);xt=false;if(!p.showAlpha){j=1}Wt()},_t,Dt);m(Y,function(e,t,n){if(!n.shiftKey){W=null}else if(!W){var r=H*C;var i=k-B*k;var s=Math.abs(e-r)>Math.abs(t-i);W=s?"x":"y"}var o=!W||W==="x";var u=!W||W==="y";if(o){H=parseFloat(e/C)}if(u){B=parseFloat((k-t)/k)}xt=false;if(!p.showAlpha){j=1}Wt()},_t,Dt);if(!!yt){Rt(yt);Xt();Et=wt||tinycolor(yt).format;Lt(yt)}else{Xt()}if(v){Bt()}var r=i?"mousedown.spectrum":"click.spectrum touchstart.spectrum";ot.delegate(".sp-thumb-el",r,n);ut.delegate(".sp-thumb-el:nth-child(1)",r,{ignore:true},n)}function kt(){if(w&&window.localStorage){try{var t=window.localStorage[w].split(",#");if(t.length>1){delete window.localStorage[w];e.each(t,function(e,t){Lt(t)})}}catch(n){}try{R=window.localStorage[w].split(";")}catch(n){}}}function Lt(t){if(b){var n=tinycolor(t).toRgbString();if(!q[n]&&e.inArray(n,R)===-1){R.push(n);while(R.length>U){R.shift()}}if(w&&window.localStorage){try{window.localStorage[w]=R.join(";")}catch(r){}}}}function At(){var e=[];if(p.showPalette){for(var t=0;t<R.length;t++){var n=tinycolor(R[t]).toRgbString();if(!q[n]){e.push(R[t])}}}return e.reverse().slice(0,p.maxSelectionSize)}function Ot(){var t=Ut();var n=e.map(I,function(e,n){return a(e,t,"sp-palette-row sp-palette-row-"+n,p)});kt();if(R){n.push(a(At(),t,"sp-palette-row sp-palette-row-selection",p))}ot.html(n.join(""))}function Mt(){if(p.showInitial){var e=bt;var t=Ut();ut.html(a([e,t],t,"sp-palette-row-initial",p))}}function _t(){if(k<=0||C<=0||A<=0){Jt()}N=true;Q.addClass(z);W=null;J.trigger("dragstart.spectrum",[Ut()])}function Dt(){N=false;Q.removeClass(z);J.trigger("dragstop.spectrum",[Ut()])}function Pt(){var e=st.val();if((e===null||e==="")&&Tt){Rt(null);$t(true)}else{var t=tinycolor(e);if(t.isValid()){Rt(t);$t(true)}else{st.addClass("sp-validation-error")}}}function Ht(){if(T){It()}else{Bt()}}function Bt(){var t=e.Event("beforeShow.spectrum");if(T){Jt();return}J.trigger(t,[Ut()]);if(S.beforeShow(Ut())===false||t.isDefaultPrevented()){return}f();T=true;e(X).bind("keydown.spectrum",jt);e(X).bind("click.spectrum",Ft);e(window).bind("resize.spectrum",x);vt.addClass("sp-active");Q.removeClass("sp-hidden");Jt();Xt();bt=Ut();Mt();S.show(bt);J.trigger("show.spectrum",[bt])}function jt(e){if(e.keyCode===27){It()}}function Ft(e){if(e.button==2){return}if(N){return}if(St){$t(true)}else{qt()}It()}function It(){if(!T||v){return}T=false;e(X).unbind("keydown.spectrum",jt);e(X).unbind("click.spectrum",Ft);e(window).unbind("resize.spectrum",x);vt.removeClass("sp-active");Q.addClass("sp-hidden");S.hide(Ut());J.trigger("hide.spectrum",[Ut()])}function qt(){Rt(bt,true)}function Rt(e,t){if(tinycolor.equals(e,Ut())){Xt();return}var n,r;if(!e&&Tt){xt=true}else{xt=false;n=tinycolor(e);r=n.toHsv();P=r.h%360/360;H=r.s;B=r.v;j=r.a}Xt();if(n&&n.isValid()&&!t){Et=wt||n.getFormat()}}function Ut(e){e=e||{};if(Tt&&xt){return null}return tinycolor.fromRatio({h:P,s:H,v:B,a:Math.round(j*100)/100},{format:e.format||Et})}function zt(){return!st.hasClass("sp-validation-error")}function Wt(){Xt();S.move(Ut());J.trigger("move.spectrum",[Ut()])}function Xt(){st.removeClass("sp-validation-error");Vt();var e=tinycolor.fromRatio({h:P,s:1,v:1});Y.css("background-color",e.toHexString());var t=Et;if(j<1&&!(j===0&&t==="name")){if(t==="hex"||t==="hex3"||t==="hex6"||t==="name"){t="rgb"}}var n=Ut({format:t}),r="";gt.removeClass("sp-clear-display");gt.css("background-color","transparent");if(!n&&Tt){gt.addClass("sp-clear-display")}else{var o=n.toHexString(),u=n.toRgbString();if(s||n.alpha===1){gt.css("background-color",u)}else{gt.css("background-color","transparent");gt.css("filter",n.toFilter())}if(p.showAlpha){var a=n.toRgb();a.a=0;var f=tinycolor(a).toRgbString();var l="linear-gradient(left, "+f+", "+o+")";if(i){nt.css("filter",tinycolor(f).toFilter({gradientType:1},o))}else{nt.css("background","-webkit-"+l);nt.css("background","-moz-"+l);nt.css("background","-ms-"+l);nt.css("background","linear-gradient(to right, "+f+", "+o+")")}}r=n.toString(t)}if(p.showInput){st.val(r)}if(p.showPalette){Ot()}Mt()}function Vt(){var e=H;var t=B;if(Tt&&xt){it.hide();tt.hide();Z.hide()}else{it.show();tt.show();Z.show();var n=e*C;var r=k-t*k;n=Math.max(-L,Math.min(C-L,n-L));r=Math.max(-L,Math.min(k-L,r-L));Z.css({top:r+"px",left:n+"px"});var i=j*M;it.css({left:i-_/2+"px"});var s=P*A;tt.css({top:s-D+"px"})}}function $t(e){var t=Ut(),n="",r=!tinycolor.equals(t,bt);if(t){n=t.toString(Et);Lt(t)}if(ht){J.val(n)}if(e&&r){S.change(t);J.trigger("change",[t])}}function Jt(){C=Y.width();k=Y.height();L=Z.height();O=et.width();A=et.height();D=tt.height();M=rt.width();_=it.width();if(!v){Q.css("position","absolute");if(p.offset){Q.offset(p.offset)}else{Q.offset(h(Q,mt))}}Vt();if(p.showPalette){Ot()}J.trigger("reflow.spectrum")}function Kt(){J.show();mt.unbind("click.spectrum touchstart.spectrum");Q.remove();vt.remove();r[en.id]=null}function Qt(n,r){if(n===t){return e.extend({},p)}if(r===t){return p[n]}p[n]=r;Nt()}function Gt(){K=false;J.attr("disabled",false);mt.removeClass("sp-disabled")}function Yt(){It();K=true;J.attr("disabled",true);mt.addClass("sp-disabled")}function Zt(e){p.offset=e;Jt()}var p=l(c,n),v=p.flat,b=p.showSelectionPalette,w=p.localStorageKey,E=p.theme,S=p.callbacks,x=g(Jt,10),T=false,N=false,C=0,k=0,L=0,A=0,O=0,M=0,_=0,D=0,P=0,H=0,B=0,j=1,F=[],I=[],q={},R=p.selectionPalette.slice(0),U=p.maxSelectionSize,z="sp-dragging",W=null;var X=n.ownerDocument,V=X.body,J=e(n),K=false,Q=e(u,X).addClass(E),G=Q.find(".sp-picker-container"),Y=Q.find(".sp-color"),Z=Q.find(".sp-dragger"),et=Q.find(".sp-hue"),tt=Q.find(".sp-slider"),nt=Q.find(".sp-alpha-inner"),rt=Q.find(".sp-alpha"),it=Q.find(".sp-alpha-handle"),st=Q.find(".sp-input"),ot=Q.find(".sp-palette"),ut=Q.find(".sp-initial"),at=Q.find(".sp-cancel"),ft=Q.find(".sp-clear"),lt=Q.find(".sp-choose"),ct=Q.find(".sp-palette-toggle"),ht=J.is("input"),pt=ht&&J.attr("type")==="color"&&y(),dt=ht&&!v,vt=dt?e(o).addClass(E).addClass(p.className).addClass(p.replacerClassName):e([]),mt=dt?vt:J,gt=vt.find(".sp-preview-inner"),yt=p.color||ht&&J.val(),bt=false,wt=p.preferredFormat,Et=wt,St=!p.showButtons||p.clickoutFiresChange,xt=!yt,Tt=p.allowEmpty&&!pt;Ct();var en={show:Bt,hide:It,toggle:Ht,reflow:Jt,option:Qt,enable:Gt,disable:Yt,offset:Zt,set:function(e){Rt(e);$t()},get:Ut,destroy:Kt,container:Q};en.id=r.push(en)-1;return en}function h(t,n){var r=0;var i=t.outerWidth();var s=t.outerHeight();var o=n.outerHeight();var u=t[0].ownerDocument;var a=u.documentElement;var f=a.clientWidth+e(u).scrollLeft();var l=a.clientHeight+e(u).scrollTop();var c=n.offset();c.top+=o;c.left-=Math.min(c.left,c.left+i>f&&f>i?Math.abs(c.left+i-f):0);c.top-=Math.min(c.top,c.top+s>l&&l>s?Math.abs(s+o-r):r);return c}function p(){}function d(e){e.stopPropagation()}function v(e,t){var n=Array.prototype.slice;var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}function m(t,n,r,s){function p(e){if(e.stopPropagation){e.stopPropagation()}if(e.preventDefault){e.preventDefault()}e.returnValue=false}function d(e){if(u){if(i&&o.documentMode<9&&!e.button){return m()}var r=e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches[0];var s=r&&r.pageX||e.pageX;var h=r&&r.pageY||e.pageY;var d=Math.max(0,Math.min(s-a.left,l));var v=Math.max(0,Math.min(h-a.top,f));if(c){p(e)}n.apply(t,[d,v,e])}}function v(n){var i=n.which?n.which==3:n.button==2;if(!i&&!u){if(r.apply(t,arguments)!==false){u=true;f=e(t).height();l=e(t).width();a=e(t).offset();e(o).bind(h);e(o.body).addClass("sp-dragging");d(n);p(n)}}}function m(){if(u){e(o).unbind(h);e(o.body).removeClass("sp-dragging");setTimeout(function(){s.apply(t,arguments)},0)}u=false}n=n||function(){};r=r||function(){};s=s||function(){};var o=document;var u=false;var a={};var f=0;var l=0;var c="ontouchstart"in window;var h={};h["selectstart"]=p;h["dragstart"]=p;h["touchmove mousemove"]=d;h["touchend mouseup"]=m;e(t).bind("touchstart mousedown",v)}function g(e,t,n){var r;return function(){var i=this,s=arguments;var o=function(){r=null;e.apply(i,s)};if(n)clearTimeout(r);if(n||!r)r=setTimeout(o,t)}}function y(){return e.fn.spectrum.inputTypeColorSupport()}var n={beforeShow:p,move:p,change:p,show:p,hide:p,color:false,flat:false,showInput:false,allowEmpty:false,showButtons:true,clickoutFiresChange:true,showInitial:false,showPalette:false,showPaletteOnly:false,hideAfterPaletteSelect:false,togglePaletteOnly:false,showSelectionPalette:true,localStorageKey:false,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:false,className:"",containerClassName:"",replacerClassName:"",showAlpha:false,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:false,offset:null},r=[],i=!!/msie/i.exec(window.navigator.userAgent),s=function(){function e(e,t){return!!~(""+e).indexOf(t)}var t=document.createElement("div");var n=t.style;n.cssText="background-color:rgba(0,0,0,.5)";return e(n.backgroundColor,"rgba")||e(n.backgroundColor,"hsla")}(),o=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>▼</div>","</div>"].join(""),u=function(){var e="";if(i){for(var t=1;t<=6;t++){e+="<div class='sp-"+t+"'></div>"}}return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","<div class='sp-palette-button-container sp-cf'>","<button type='button' class='sp-palette-toggle'></button>","</div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",e,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false' />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<a class='sp-cancel' href='#'></a>","<button type='button' class='sp-choose'></button>","</div>","</div>","</div>"].join("")}();var b="spectrum.id";e.fn.spectrum=function(t,n){if(typeof t=="string"){var i=this;var s=Array.prototype.slice.call(arguments,1);this.each(function(){var n=r[e(this).data(b)];if(n){var o=n[t];if(!o){throw new Error("Spectrum: no such method: '"+t+"'")}if(t=="get"){i=n.get()}else if(t=="container"){i=n.container}else if(t=="option"){i=n.option.apply(n,s)}else if(t=="destroy"){n.destroy();e(this).removeData(b)}else{o.apply(n,s)}}});return i}return this.spectrum("destroy").each(function(){var n=e.extend({},t,e(this).data());var r=c(this,n);e(this).data(b,r.id)})};e.fn.spectrum.load=true;e.fn.spectrum.loadOpts={};e.fn.spectrum.draggable=m;e.fn.spectrum.defaults=n;e.fn.spectrum.inputTypeColorSupport=function w(){if(typeof w._cachedResult==="undefined"){var t=e("<input type='color'/>")[0];w._cachedResult=t.type==="color"&&t.value!==""}return w._cachedResult};e.spectrum={};e.spectrum.localization={};e.spectrum.palettes={};e.fn.spectrum.processNativeColorInputs=function(){var t=e("input[type=color]");if(t.length&&!y()){t.spectrum({preferredFormat:"hex6"})}};(function(){function f(e){var t={r:0,g:0,b:0};var n=1;var r=false;var i=false;if(typeof e=="string"){e=W(e)}if(typeof e=="object"){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")){t=l(e.r,e.g,e.b);r=true;i=String(e.r).substr(-1)==="%"?"prgb":"rgb"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){e.s=q(e.s);e.v=q(e.v);t=d(e.h,e.s,e.v);r=true;i="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){e.s=q(e.s);e.l=q(e.l);t=h(e.h,e.s,e.l);r=true;i="hsl"}if(e.hasOwnProperty("a")){n=e.a}}n=D(n);return{ok:r,format:e.format||i,r:s(255,o(t.r,0)),g:s(255,o(t.g,0)),b:s(255,o(t.b,0)),a:n}}function l(e,t,n){return{r:P(e,255)*255,g:P(t,255)*255,b:P(n,255)*255}}function c(e,t,n){e=P(e,255);t=P(t,255);n=P(n,255);var r=o(e,t,n),i=s(e,t,n);var u,a,f=(r+i)/2;if(r==i){u=a=0}else{var l=r-i;a=f>.5?l/(2-r-i):l/(r+i);switch(r){case e:u=(t-n)/l+(t<n?6:0);break;case t:u=(n-e)/l+2;break;case n:u=(e-t)/l+4;break}u/=6}return{h:u,s:a,l:f}}function h(e,t,n){function o(e,t,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return e+(t-e)*6*n;if(n<1/2)return t;if(n<2/3)return e+(t-e)*(2/3-n)*6;return e}var r,i,s;e=P(e,360);t=P(t,100);n=P(n,100);if(t===0){r=i=s=n}else{var u=n<.5?n*(1+t):n+t-n*t;var a=2*n-u;r=o(a,u,e+1/3);i=o(a,u,e);s=o(a,u,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function p(e,t,n){e=P(e,255);t=P(t,255);n=P(n,255);var r=o(e,t,n),i=s(e,t,n);var u,a,f=r;var l=r-i;a=r===0?0:l/r;if(r==i){u=0}else{switch(r){case e:u=(t-n)/l+(t<n?6:0);break;case t:u=(n-e)/l+2;break;case n:u=(e-t)/l+4;break}u/=6}return{h:u,s:a,v:f}}function d(e,t,n){e=P(e,360)*6;t=P(t,100);n=P(n,100);var i=r.floor(e),s=e-i,o=n*(1-t),u=n*(1-s*t),a=n*(1-(1-s)*t),f=i%6,l=[n,u,o,o,a,n][f],c=[a,n,n,u,o,o][f],h=[o,o,a,n,n,u][f];return{r:l*255,g:c*255,b:h*255}}function v(e,t,n,r){var s=[I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16))];if(r&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)){return s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)}return s.join("")}function m(e,t,n,r){var s=[I(R(r)),I(i(e).toString(16)),I(i(t).toString(16)),I(i(n).toString(16))];return s.join("")}function g(e,t){t=t===0?0:t||10;var n=a(e).toHsl();n.s-=t/100;n.s=H(n.s);return a(n)}function y(e,t){t=t===0?0:t||10;var n=a(e).toHsl();n.s+=t/100;n.s=H(n.s);return a(n)}function b(e){return a(e).desaturate(100)}function w(e,t){t=t===0?0:t||10;var n=a(e).toHsl();n.l+=t/100;n.l=H(n.l);return a(n)}function E(e,t){t=t===0?0:t||10;var n=a(e).toRgb();n.r=o(0,s(255,n.r-i(255*-(t/100))));n.g=o(0,s(255,n.g-i(255*-(t/100))));n.b=o(0,s(255,n.b-i(255*-(t/100))));return a(n)}function S(e,t){t=t===0?0:t||10;var n=a(e).toHsl();n.l-=t/100;n.l=H(n.l);return a(n)}function x(e,t){var n=a(e).toHsl();var r=(i(n.h)+t)%360;n.h=r<0?360+r:r;return a(n)}function T(e){var t=a(e).toHsl();t.h=(t.h+180)%360;return a(t)}function N(e){var t=a(e).toHsl();var n=t.h;return[a(e),a({h:(n+120)%360,s:t.s,l:t.l}),a({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=a(e).toHsl();var n=t.h;return[a(e),a({h:(n+90)%360,s:t.s,l:t.l}),a({h:(n+180)%360,s:t.s,l:t.l}),a({h:(n+270)%360,s:t.s,l:t.l})]}function k(e){var t=a(e).toHsl();var n=t.h;return[a(e),a({h:(n+72)%360,s:t.s,l:t.l}),a({h:(n+216)%360,s:t.s,l:t.l})]}function L(e,t,n){t=t||6;n=n||30;var r=a(e).toHsl();var i=360/n;var s=[a(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;){r.h=(r.h+i)%360;s.push(a(r))}return s}function A(e,t){t=t||6;var n=a(e).toHsv();var r=n.h,i=n.s,s=n.v;var o=[];var u=1/t;while(t--){o.push(a({h:r,s:i,v:s}));s=(s+u)%1}return o}function _(e){var t={};for(var n in e){if(e.hasOwnProperty(n)){t[e[n]]=n}}return t}function D(e){e=parseFloat(e);if(isNaN(e)||e<0||e>1){e=1}return e}function P(e,t){if(j(e)){e="100%"}var n=F(e);e=s(t,o(0,parseFloat(e)));if(n){e=parseInt(e*t,10)/100}if(r.abs(e-t)<1e-6){return 1}return e%t/parseFloat(t)}function H(e){return s(1,o(0,e))}function B(e){return parseInt(e,16)}function j(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function F(e){return typeof e==="string"&&e.indexOf("%")!=-1}function I(e){return e.length==1?"0"+e:""+e}function q(e){if(e<=1){e=e*100+"%"}return e}function R(e){return Math.round(parseFloat(e)*255).toString(16)}function U(e){return B(e)/255}function W(n){n=n.replace(e,"").replace(t,"").toLowerCase();var r=false;if(O[n]){n=O[n];r=true}else if(n=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var i;if(i=z.rgb.exec(n)){return{r:i[1],g:i[2],b:i[3]}}if(i=z.rgba.exec(n)){return{r:i[1],g:i[2],b:i[3],a:i[4]}}if(i=z.hsl.exec(n)){return{h:i[1],s:i[2],l:i[3]}}if(i=z.hsla.exec(n)){return{h:i[1],s:i[2],l:i[3],a:i[4]}}if(i=z.hsv.exec(n)){return{h:i[1],s:i[2],v:i[3]}}if(i=z.hsva.exec(n)){return{h:i[1],s:i[2],v:i[3],a:i[4]}}if(i=z.hex8.exec(n)){return{a:U(i[1]),r:B(i[2]),g:B(i[3]),b:B(i[4]),format:r?"name":"hex8"}}if(i=z.hex6.exec(n)){return{r:B(i[1]),g:B(i[2]),b:B(i[3]),format:r?"name":"hex"}}if(i=z.hex3.exec(n)){return{r:B(i[1]+""+i[1]),g:B(i[2]+""+i[2]),b:B(i[3]+""+i[3]),format:r?"name":"hex"}}return false}var e=/^[\s,#]+/,t=/\s+$/,n=0,r=Math,i=r.round,s=r.min,o=r.max,u=r.random;var a=function(e,t){e=e?e:"";t=t||{};if(e instanceof a){return e}if(!(this instanceof a)){return new a(e,t)}var r=f(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=i(100*this._a)/100,this._format=t.format||r.format;this._gradientType=t.gradientType;if(this._r<1){this._r=i(this._r)}if(this._g<1){this._g=i(this._g)}if(this._b<1){this._b=i(this._b)}this._ok=r.ok;this._tc_id=n++};a.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},setAlpha:function(e){this._a=D(e);this._roundA=i(100*this._a)/100;return this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b);var t=i(e.h*360),n=i(e.s*100),r=i(e.v*100);return this._a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=c(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=c(this._r,this._g,this._b);var t=i(e.h*360),n=i(e.s*100),r=i(e.l*100);return this._a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return m(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(P(this._r,255)*100)+"%",g:i(P(this._g,255)*100)+"%",b:i(P(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+i(P(this._r,255)*100)+"%, "+i(P(this._g,255)*100)+"%, "+i(P(this._b,255)*100)+"%)":"rgba("+i(P(this._r,255)*100)+"%, "+i(P(this._g,255)*100)+"%, "+i(P(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){if(this._a===0){return"transparent"}if(this._a<1){return false}return M[v(this._r,this._g,this._b,true)]||false},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a);var n=t;var r=this._gradientType?"GradientType = 1, ":"";if(e){var i=a(e);n=i.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=false;var r=this._a<1&&this._a>=0;var i=!t&&r&&(e==="hex"||e==="hex6"||e==="hex3"||e==="name");if(i){if(e==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(e==="rgb"){n=this.toRgbString()}if(e==="prgb"){n=this.toPercentageRgbString()}if(e==="hex"||e==="hex6"){n=this.toHexString()}if(e==="hex3"){n=this.toHexString(true)}if(e==="hex8"){n=this.toHex8String()}if(e==="name"){n=this.toName()}if(e==="hsl"){n=this.toHslString()}if(e==="hsv"){n=this.toHsvString()}return n||this.toHexString()},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));this._r=n._r;this._g=n._g;this._b=n._b;this.setAlpha(n._a);return this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(S,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(N,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}};a.fromRatio=function(e,t){if(typeof e=="object"){var n={};for(var r in e){if(e.hasOwnProperty(r)){if(r==="a"){n[r]=e[r]}else{n[r]=q(e[r])}}}e=n}return a(e,t)};a.equals=function(e,t){if(!e||!t){return false}return a(e).toRgbString()==a(t).toRgbString()};a.random=function(){return a.fromRatio({r:u(),g:u(),b:u()})};a.mix=function(e,t,n){n=n===0?0:n||50;var r=a(e).toRgb();var i=a(t).toRgb();var s=n/100;var o=s*2-1;var u=i.a-r.a;var f;if(o*u==-1){f=o}else{f=(o+u)/(1+o*u)}f=(f+1)/2;var l=1-f;var c={r:i.r*f+r.r*l,g:i.g*f+r.g*l,b:i.b*f+r.b*l,a:i.a*s+r.a*(1-s)};return a(c)};a.readability=function(e,t){var n=a(e);var r=a(t);var i=n.toRgb();var s=r.toRgb();var o=n.getBrightness();var u=r.getBrightness();var f=Math.max(i.r,s.r)-Math.min(i.r,s.r)+Math.max(i.g,s.g)-Math.min(i.g,s.g)+Math.max(i.b,s.b)-Math.min(i.b,s.b);return{brightness:Math.abs(o-u),color:f}};a.isReadable=function(e,t){var n=a.readability(e,t);return n.brightness>125&&n.color>500};a.mostReadable=function(e,t){var n=null;var r=0;var i=false;for(var s=0;s<t.length;s++){var o=a.readability(e,t[s]);var u=o.brightness>125&&o.color>500;var f=3*(o.brightness/125)+o.color/500;if(u&&!i||u&&i&&f>r||!u&&!i&&f>r){i=u;r=f;n=a(t[s])}}return n};var O=a.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var M=a.hexNames=_(O);var z=function(){var e="[-\\+]?\\d+%?";var t="[-\\+]?\\d*\\.\\d+%?";var n="(?:"+t+")|(?:"+e+")";var r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";var i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();window.tinycolor=a})();e(function(){if(e.fn.spectrum.load){e.fn.spectrum.processNativeColorInputs()}})});jQuery(function(){var e=function(){jQuery(".svs_pt_edit").steps({headerTag:"h3",bodyTag:"section",transitionEffect:"slideLeft",autoFocus:true,onStepChanging:function(e,t,n){if(t===0){jQuery(".svs_price_plan .icon-settings").unbind("click");jQuery('link[rel=stylesheet][href^="'+SVSPricingTables.plugin_url+'templates/"]').remove();jQuery("<link>").appendTo("head").attr({type:"text/css",rel:"stylesheet"}).attr("href",SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+"/svs_"+jQuery(".svs_pt_edit_design_options").val()+".css");jQuery.getScript(SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+"/svs_"+jQuery(".svs_pt_edit_design_options").val()+".js")}return true},onFinishing:function(){var e=jQuery("#svs_price_plans")[0].outerHTML;var t=prompt("Pricing Table Name",SVSPricingTables.name||"New Pricing Table");if(t!=null){jQuery(".svs_new_plan").remove();jQuery(".svs_icon").remove();jQuery.ajax("admin.php?page=svs_pricing_tables&Action=pricingTableSave",{data:{name:t,template:jQuery(".svs_pt_edit_design_options").val(),htmlAdmin:jQuery.base64.encode(e),html:jQuery.base64.encode(jQuery("#svs_price_plans")[0].outerHTML),ID:SVSPricingTables.ID},method:"POST",complete:function(){jQuery(".svs_pt_wrapper").unmask();window.location.href="admin.php?page=svs_pricing_tables"}});jQuery(".svs_pt_wrapper").mask("Saving ...")}return true}})};var t=function(){jQuery(".svs_pt_edit_design_options").imagepicker()};var n=function(){jQuery(".svs_pt_builder_options_available ol").sortable({handle:"i.icon-move",group:"svs_builder",drop:false,onDragStart:function(e,t,n){if(!t.options.drop)e.clone().insertAfter(e);n(e,t)},onDrop:function(e,t,n,r){i();s();n(e,t)}})};var r=function(){jQuery(".svs_pt_builder_workarea ol").sortable({handle:"i.icon-move",group:"svs_builder"});jQuery("ol.svs_new_plan").sortable("disable");jQuery(".svs_price_plan .icon-featured").unbind("click").bind("click",function(){jQuery(this).parent().toggleClass("svs_price_plan_featured");jQuery(".svs_price_plan").not(jQuery(this).closest(".svs_price_plan")).removeClass("svs_price_plan_featured")});jQuery(".svs_button .icon-link").unbind("click").bind("click",function(){var e=prompt("Redirection link","http://");if(e!=null){jQuery(this).next().attr("href",e)}})};var i=function(){jQuery(".svs_pt_builder_workarea .svs_pt_editable_text").editable(function(e){return e},{cancel:"Cancel",submit:"OK",tooltip:"Click to edit..."});jQuery(".svs_pt_builder_workarea .svs_pt_editable_text").click(function(){jQuery(".svs_pt_builder_workarea .svs_pt_editable_text input").select()});jQuery(".svs_pt_builder_workarea .svs_pt_editable_yes_no").editable(function(e){return e},{cancel:"Cancel",submit:"OK",tooltip:"Click to edit...",type:"select",data:function(){var e={};e['<img src="'+SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+'/images/yes.png"/>']="Yes";e['<img src="'+SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+'/images/no.png"/>']="No";return e}});jQuery(".svs_pt_builder_workarea .svs_pt_editable_yes_no").html('<img src="'+SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+'/images/yes.png"/>')};var s=function(){jQuery(".svs_price_plan .icon-trash-option").unbind("click").bind("click",function(){jQuery(this).closest("li").remove()})};var o=function(){jQuery(".svs_new_plan").unbind("click").bind("click",function(){if(jQuery(".svs_price_plan").size()>2){alert("Free version limited to 3 columns!");return false}jQuery(".svs_price_plan").first().clone().insertBefore(jQuery(this));r();i();s();jQuery(".svs_price_plan .icon-trash-plan").unbind("click").bind("click",function(){if(confirm("Are you sure?")){jQuery(this).closest(".svs_price_plan").remove()}})})};e();t();n();r();i();o()}) 1 (function(){var c,f,b,d,a=function(h,i){return function(){return h.apply(i,arguments)}},g=[].indexOf||function(j){for(var k=0,h=this.length;h>k;k++){if(k in this&&this[k]===j){return k}}return -1};jQuery.fn.extend({imagepicker:function(h){return null==h&&(h={}),this.each(function(){var e;return e=jQuery(this),e.data("picker")&&e.data("picker").destroy(),e.data("picker",new c(this,d(h))),null!=h.initialized?h.initialized.call(e.data("picker")):void 0})}}),d=function(h){var i;return i={hide_select:!0,show_label:!1,initialized:void 0,changed:void 0,clicked:void 0,selected:void 0,limit:void 0,limit_reached:void 0},jQuery.extend(i,h)},b=function(h,i){return 0===jQuery(h).not(i).length&&0===jQuery(i).not(h).length},c=function(){function e(h,i){this.opts=null!=i?i:{},this.sync_picker_with_select=a(this.sync_picker_with_select,this),this.select=jQuery(h),this.multiple="multiple"===this.select.attr("multiple"),null!=this.select.data("limit")&&(this.opts.limit=parseInt(this.select.data("limit"))),this.build_and_append_picker()}return e.prototype.destroy=function(){var j,l,h,k;for(k=this.picker_options,l=0,h=k.length;h>l;l++){j=k[l],j.destroy()}return this.picker.remove(),this.select.unbind("change"),this.select.removeData("picker"),this.select.show()},e.prototype.build_and_append_picker=function(){var h=this;return this.opts.hide_select&&this.select.hide(),this.select.change(function(){return h.sync_picker_with_select()}),null!=this.picker&&this.picker.remove(),this.create_picker(),this.select.after(this.picker),this.sync_picker_with_select()},e.prototype.sync_picker_with_select=function(){var k,n,j,m,h;for(m=this.picker_options,h=[],n=0,j=m.length;j>n;n++){k=m[n],k.is_selected()?h.push(k.mark_as_selected()):h.push(k.unmark_as_selected())}return h},e.prototype.create_picker=function(){return this.picker=jQuery("<ul class='thumbnails image_picker_selector'></ul>"),this.picker_options=[],this.recursively_parse_option_groups(this.select,this.picker),this.picker},e.prototype.recursively_parse_option_groups=function(B,w){var C,v,q,j,y,m,x,z,k,A;for(z=B.children("optgroup"),j=0,m=z.length;m>j;j++){q=z[j],q=jQuery(q),C=jQuery("<ul></ul>"),C.append(jQuery("<li class='group_title'>"+q.attr("label")+"</li>")),w.append(jQuery("<li>").append(C)),this.recursively_parse_option_groups(q,C)}for(k=function(){var h,l,p,o;for(p=B.children("option"),o=[],h=0,l=p.length;l>h;h++){v=p[h],o.push(new f(v,this,this.opts))}return o}.call(this),A=[],y=0,x=k.length;x>y;y++){v=k[y],this.picker_options.push(v),v.has_image()&&A.push(w.append(v.node))}return A},e.prototype.has_implicit_blanks=function(){var h;return function(){var n,k,m,j;for(m=this.picker_options,j=[],n=0,k=m.length;k>n;n++){h=m[n],h.is_blank()&&!h.has_image()&&j.push(h)}return j}.call(this).length>0},e.prototype.selected_values=function(){return this.multiple?this.select.val()||[]:[this.select.val()]},e.prototype.toggle=function(i){var k,j,h;return j=this.selected_values(),h=""+i.value(),this.multiple?g.call(this.selected_values(),h)>=0?(k=this.selected_values(),k.splice(jQuery.inArray(h,j),1),this.select.val([]),this.select.val(k)):null!=this.opts.limit&&this.selected_values().length>=this.opts.limit?null!=this.opts.limit_reached&&this.opts.limit_reached.call(this.select):this.select.val(this.selected_values().concat(h)):this.has_implicit_blanks()&&i.is_selected()?this.select.val(""):this.select.val(h),b(j,this.selected_values())||(this.select.change(),null==this.opts.changed)?void 0:this.opts.changed.call(this.select,j,this.selected_values())},e}(),f=function(){function e(j,k,h){this.picker=k,this.opts=null!=h?h:{},this.clicked=a(this.clicked,this),this.option=jQuery(j),this.create_node()}return e.prototype.destroy=function(){return this.node.find(".thumbnail").unbind()},e.prototype.has_image=function(){return null!=this.option.data("img-src")},e.prototype.is_blank=function(){return !(null!=this.value()&&""!==this.value())},e.prototype.is_selected=function(){var h;return h=this.picker.select.val(),this.picker.multiple?jQuery.inArray(this.value(),h)>=0:this.value()===h},e.prototype.mark_as_selected=function(){return this.node.find(".thumbnail").addClass("selected")},e.prototype.unmark_as_selected=function(){return this.node.find(".thumbnail").removeClass("selected")},e.prototype.value=function(){return this.option.val()},e.prototype.label=function(){return this.option.data("img-label")?this.option.data("img-label"):this.option.text()},e.prototype.clicked=function(){return this.picker.toggle(this),null!=this.opts.clicked&&this.opts.clicked.call(this.picker.select,this),null!=this.opts.selected&&this.is_selected()?this.opts.selected.call(this.picker.select,this):void 0},e.prototype.create_node=function(){var h,i;return this.node=jQuery("<li/>"),h=jQuery("<img class='image_picker_image'/>"),h.attr("src",this.option.data("img-src")),i=jQuery("<div class='thumbnail'>"),i.click({option:this},function(j){return j.data.option.clicked()}),i.append(h),this.opts.show_label&&i.append(jQuery("<p/>").html(this.label())),this.node.append(i),this.node},e}()}).call(this);"use strict";jQuery.base64=(function(f){var d="=",b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="1.0";function g(l,k){var j=b.indexOf(l.charAt(k));if(j===-1){throw"Cannot decode base64"}return j}function a(m){var o=0,l,n,k=m.length,j=[];m=String(m);if(k===0){return m}if(k%4!==0){throw"Cannot decode base64"}if(m.charAt(k-1)===d){o=1;if(m.charAt(k-2)===d){o=2}k-=4}for(l=0;l<k;l+=4){n=(g(m,l)<<18)|(g(m,l+1)<<12)|(g(m,l+2)<<6)|g(m,l+3);j.push(String.fromCharCode(n>>16,(n>>8)&255,n&255))}switch(o){case 1:n=(g(m,l)<<18)|(g(m,l+1)<<12)|(g(m,l+2)<<6);j.push(String.fromCharCode(n>>16,(n>>8)&255));break;case 2:n=(g(m,l)<<18)|(g(m,l+1)<<12);j.push(String.fromCharCode(n>>16));break}return j.join("")}function e(l,k){var j=l.charCodeAt(k);if(j>255){throw"INVALID_CHARACTER_ERR: DOM Exception 5"}return j}function h(m){if(arguments.length!==1){throw"SyntaxError: exactly one argument required"}m=String(m);var l,n,j=[],k=m.length-m.length%3;if(m.length===0){return m}for(l=0;l<k;l+=3){n=(e(m,l)<<16)|(e(m,l+1)<<8)|e(m,l+2);j.push(b.charAt(n>>18));j.push(b.charAt((n>>12)&63));j.push(b.charAt((n>>6)&63));j.push(b.charAt(n&63))}switch(m.length-k){case 1:n=e(m,l)<<16;j.push(b.charAt(n>>18)+b.charAt((n>>12)&63)+d+d);break;case 2:n=(e(m,l)<<16)|(e(m,l+1)<<8);j.push(b.charAt(n>>18)+b.charAt((n>>12)&63)+b.charAt((n>>6)&63)+d);break}return j.join("")}return{decode:a,encode:h,VERSION:c}}(jQuery));(function($){$.fn.editable=function(target,options){if("disable"==target){$(this).data("disabled.editable",true);return}if("enable"==target){$(this).data("disabled.editable",false);return}if("destroy"==target){$(this).unbind($(this).data("event.editable")).removeData("disabled.editable").removeData("event.editable");return}var settings=$.extend({},$.fn.editable.defaults,{target:target},options);var plugin=$.editable.types[settings.type].plugin||function(){};var submit=$.editable.types[settings.type].submit||function(){};var buttons=$.editable.types[settings.type].buttons||$.editable.types.defaults.buttons;var content=$.editable.types[settings.type].content||$.editable.types.defaults.content;var element=$.editable.types[settings.type].element||$.editable.types.defaults.element;var reset=$.editable.types[settings.type].reset||$.editable.types.defaults.reset;var callback=settings.callback||function(){};var onedit=settings.onedit||function(){};var onsubmit=settings.onsubmit||function(){};var onreset=settings.onreset||function(){};var onerror=settings.onerror||reset;if(settings.tooltip){$(this).attr("title",settings.tooltip)}settings.autowidth="auto"==settings.width;settings.autoheight="auto"==settings.height;return this.each(function(){var self=this;var savedwidth=$(self).width();var savedheight=$(self).height();$(this).data("event.editable",settings.event);if(!$.trim($(this).html())){$(this).html(settings.placeholder)}$(this).bind(settings.event,function(e){if(true===$(this).data("disabled.editable")){return}if(self.editing){return}if(false===onedit.apply(this,[settings,self])){return}e.preventDefault();e.stopPropagation();if(settings.tooltip){$(self).removeAttr("title")}if(0==$(self).width()){settings.width=savedwidth;settings.height=savedheight}else{if(settings.width!="none"){settings.width=settings.autowidth?$(self).width():settings.width}if(settings.height!="none"){settings.height=settings.autoheight?$(self).height():settings.height}}if($(this).html().toLowerCase().replace(/(;|")/g,"")==settings.placeholder.toLowerCase().replace(/(;|")/g,"")){$(this).html("")}self.editing=true;self.revert=$(self).html();$(self).html("");var form=$("<form />");if(settings.cssclass){if("inherit"==settings.cssclass){form.attr("class",$(self).attr("class"))}else{form.attr("class",settings.cssclass)}}if(settings.style){if("inherit"==settings.style){form.attr("style",$(self).attr("style"));form.css("display",$(self).css("display"))}else{form.attr("style",settings.style)}}var input=element.apply(form,[settings,self]);var input_content;if(settings.loadurl){var t=setTimeout(function(){input.disabled=true;content.apply(form,[settings.loadtext,settings,self])},100);var loaddata={};loaddata[settings.id]=self.id;if($.isFunction(settings.loaddata)){$.extend(loaddata,settings.loaddata.apply(self,[self.revert,settings]))}else{$.extend(loaddata,settings.loaddata)}$.ajax({type:settings.loadtype,url:settings.loadurl,data:loaddata,async:false,success:function(result){window.clearTimeout(t);input_content=result;input.disabled=false}})}else{if(settings.data){input_content=settings.data;if($.isFunction(settings.data)){input_content=settings.data.apply(self,[self.revert,settings])}}else{input_content=self.revert}}content.apply(form,[input_content,settings,self]);input.attr("name",settings.name);buttons.apply(form,[settings,self]);$(self).append(form);plugin.apply(form,[settings,self]);$(":input:visible:enabled:first",form).focus();if(settings.select){input.select()}input.keydown(function(e){if(e.keyCode==27){e.preventDefault();reset.apply(form,[settings,self])}});var t;if("cancel"==settings.onblur){input.blur(function(e){t=setTimeout(function(){reset.apply(form,[settings,self])},500)})}else{if("submit"==settings.onblur){input.blur(function(e){t=setTimeout(function(){form.submit()},200)})}else{if($.isFunction(settings.onblur)){input.blur(function(e){settings.onblur.apply(self,[input.val(),settings])})}else{input.blur(function(e){})}}}form.submit(function(e){if(t){clearTimeout(t)}e.preventDefault();if(false!==onsubmit.apply(form,[settings,self])){if(false!==submit.apply(form,[settings,self])){if($.isFunction(settings.target)){var str=settings.target.apply(self,[input.val(),settings]);$(self).html(str);self.editing=false;callback.apply(self,[self.innerHTML,settings]);if(!$.trim($(self).html())){$(self).html(settings.placeholder)}}else{var submitdata={};submitdata[settings.name]=input.val();submitdata[settings.id]=self.id;if($.isFunction(settings.submitdata)){$.extend(submitdata,settings.submitdata.apply(self,[self.revert,settings]))}else{$.extend(submitdata,settings.submitdata)}if("PUT"==settings.method){submitdata._method="put"}$(self).html(settings.indicator);var ajaxoptions={type:"POST",data:submitdata,dataType:"html",url:settings.target,success:function(result,status){if(ajaxoptions.dataType=="html"){$(self).html(result)}self.editing=false;callback.apply(self,[result,settings]);if(!$.trim($(self).html())){$(self).html(settings.placeholder)}},error:function(xhr,status,error){onerror.apply(form,[settings,self,xhr])}};$.extend(ajaxoptions,settings.ajaxoptions);$.ajax(ajaxoptions)}}}$(self).attr("title",settings.tooltip);return false})});this.reset=function(form){if(this.editing){if(false!==onreset.apply(form,[settings,self])){$(self).html(self.revert);self.editing=false;if(!$.trim($(self).html())){$(self).html(settings.placeholder)}if(settings.tooltip){$(self).attr("title",settings.tooltip)}}}}})};$.editable={types:{defaults:{element:function(settings,original){var input=$('<input type="hidden"></input>');$(this).append(input);return(input)},content:function(string,settings,original){$(":input:first",this).val(string)},reset:function(settings,original){original.reset(this)},buttons:function(settings,original){var form=this;if(settings.submit){if(settings.submit.match(/>$/)){var submit=$(settings.submit).click(function(){if(submit.attr("type")!="submit"){form.submit()}})}else{var submit=$('<button type="submit" />');submit.html(settings.submit)}$(this).append(submit)}if(settings.cancel){if(settings.cancel.match(/>$/)){var cancel=$(settings.cancel)}else{var cancel=$('<button type="cancel" />');cancel.html(settings.cancel)}$(this).append(cancel);$(cancel).click(function(event){if($.isFunction($.editable.types[settings.type].reset)){var reset=$.editable.types[settings.type].reset}else{var reset=$.editable.types.defaults.reset}reset.apply(form,[settings,original]);return false})}}},text:{element:function(settings,original){var input=$("<input />");if(settings.width!="none"){input.width(settings.width)}if(settings.height!="none"){input.height(settings.height)}input.attr("autocomplete","off");$(this).append(input);return(input)}},textarea:{element:function(settings,original){var textarea=$("<textarea />");if(settings.rows){textarea.attr("rows",settings.rows)}else{if(settings.height!="none"){textarea.height(settings.height)}}if(settings.cols){textarea.attr("cols",settings.cols)}else{if(settings.width!="none"){textarea.width(settings.width)}}$(this).append(textarea);return(textarea)}},select:{element:function(settings,original){var select=$("<select />");$(this).append(select);return(select)},content:function(data,settings,original){if(String==data.constructor){eval("var json = "+data)}else{var json=data}for(var key in json){if(!json.hasOwnProperty(key)){continue}if("selected"==key){continue}var option=$("<option />").val(key).append(json[key]);$("select",this).append(option)}$("select",this).children().each(function(){if($(this).val()==json.selected||$(this).text()==$.trim(original.revert)){$(this).attr("selected","selected")}})}}},addInputType:function(name,input){$.editable.types[name]=input}};$.fn.editable.defaults={name:"value",id:"id",type:"text",width:"auto",height:"auto",event:"click.editable",onblur:"cancel",loadtype:"GET",loadtext:"Loading...",placeholder:"Click to edit",loaddata:{},submitdata:{},ajaxoptions:{}}})(jQuery);(function(b){b.fn.mask=function(d,a){b(this).each(function(){if(a!==undefined&&a>0){var c=b(this);c.data("_mask_timeout",setTimeout(function(){b.maskElement(c,d)},a))}else{b.maskElement(b(this),d)}})};b.fn.unmask=function(){b(this).each(function(){b.unmaskElement(b(this))})};b.fn.isMasked=function(){return this.hasClass("masked")};b.maskElement=function(g,h){if(g.data("_mask_timeout")!==undefined){clearTimeout(g.data("_mask_timeout"));g.removeData("_mask_timeout")}if(g.isMasked()){b.unmaskElement(g)}if(g.css("position")=="static"){g.addClass("masked-relative")}g.addClass("masked");var f=b('<div class="loadmask"></div>');if(navigator.userAgent.toLowerCase().indexOf("msie")>-1){f.height(g.height()+parseInt(g.css("padding-top"))+parseInt(g.css("padding-bottom")));f.width(g.width()+parseInt(g.css("padding-left"))+parseInt(g.css("padding-right")))}if(navigator.userAgent.toLowerCase().indexOf("msie 6")>-1){g.find("select").addClass("masked-hidden")}g.append(f);if(h!==undefined){var a=b('<div class="loadmask-msg" style="display:none;"></div>');a.append("<div>"+h+"</div>");g.append(a);a.css("top",Math.round(g.height()/2-(a.height()-parseInt(a.css("padding-top"))-parseInt(a.css("padding-bottom")))/2)+"px");a.css("left",Math.round(g.width()/2-(a.width()-parseInt(a.css("padding-left"))-parseInt(a.css("padding-right")))/2)+"px");a.show()}};b.unmaskElement=function(a){if(a.data("_mask_timeout")!==undefined){clearTimeout(a.data("_mask_timeout"));a.removeData("_mask_timeout")}a.find(".loadmask-msg,.loadmask").remove();a.removeClass("masked");a.removeClass("masked-relative");a.find("select").removeClass("masked-hidden")}})(jQuery);(function(a){"function"===typeof define&&define.amd?define(["jquery"],a):a(jQuery)})(function(v){var t=[],f=v(document),s=navigator.userAgent.toLowerCase(),i=v(window),u=[],e=null,d=/msie/.test(s)&&!/opera/.test(s),c=/opera/.test(s),h,a;h=d&&/msie 6./.test(s)&&"object"!==typeof window.XMLHttpRequest;a=d&&/msie 7.0/.test(s);v.modal=function(b,g){return v.modal.impl.init(b,g)};v.modal.close=function(){v.modal.impl.close()};v.modal.focus=function(b){v.modal.impl.focus(b)};v.modal.setContainerDimensions=function(){v.modal.impl.setContainerDimensions()};v.modal.setPosition=function(){v.modal.impl.setPosition()};v.modal.update=function(b,g){v.modal.impl.update(b,g)};v.fn.modal=function(b){return v.modal.impl.init(this,b)};v.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1000,close:!0,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};v.modal.impl={d:{},init:function(b,g){if(this.d.data){return !1}e=d&&!v.support.boxModel;this.o=v.extend({},v.modal.defaults,g);this.zIndex=this.o.zIndex;this.occb=!1;if("object"===typeof b){if(b=b instanceof v?b:v(b),this.d.placeholder=!1,0<b.parent().parent().size()&&(b.before(v("<span></span>").attr("id","simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=b.css("display"),!this.o.persist)){this.d.orig=b.clone(!0)}}else{if("string"===typeof b||"number"===typeof b){b=v("<div></div>").html(b)}else{return alert("SimpleModal Error: Unsupported data type: "+typeof b),this}}this.create(b);this.open();v.isFunction(this.o.onShow)&&this.o.onShow.apply(this,[this.d]);return this},create:function(b){this.getDimensions();if(this.o.modal&&h){this.d.iframe=v('<iframe src="javascript:false;"></iframe>').css(v.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:u[0],width:u[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo)}this.d.overlay=v("<div></div>").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(v.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo);this.d.container=v("<div></div>").attr("id",this.o.containerId).addClass("simplemodal-container").css(v.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?v(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo);this.d.wrap=v("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container);this.d.data=b.attr("id",b.attr("id")||this.o.dataId).addClass("simplemodal-data").css(v.extend(this.o.dataCss,{display:"none"})).appendTo("body");this.setContainerDimensions();this.d.data.appendTo(this.d.wrap);(h||e)&&this.fixIE()},bindEvents:function(){var b=this;v("."+b.o.closeClass).bind("click.simplemodal",function(g){g.preventDefault();b.close()});b.o.modal&&b.o.close&&b.o.overlayClose&&b.d.overlay.bind("click.simplemodal",function(g){g.preventDefault();b.close()});f.bind("keydown.simplemodal",function(g){b.o.modal&&9===g.keyCode?b.watchTab(g):b.o.close&&b.o.escClose&&27===g.keyCode&&(g.preventDefault(),b.close())});i.bind("resize.simplemodal orientationchange.simplemodal",function(){b.getDimensions();b.o.autoResize?b.setContainerDimensions():b.o.autoPosition&&b.setPosition();h||e?b.fixIE():b.o.modal&&(b.d.iframe&&b.d.iframe.css({height:u[0],width:u[1]}),b.d.overlay.css({height:t[0],width:t[1]}))})},unbindEvents:function(){v("."+this.o.closeClass).unbind("click.simplemodal");f.unbind("keydown.simplemodal");i.unbind(".simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var b=this.o.position;v.each([this.d.iframe||null,!this.o.modal?null:this.d.overlay,"fixed"===this.d.container.css("position")?this.d.container:null],function(g,k){if(k){var j=k[0].style;j.position="absolute";if(2>g){j.removeExpression("height"),j.removeExpression("width"),j.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),j.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"')}else{var m,l;b&&b.constructor===Array?(m=b[0]?"number"===typeof b[0]?b[0].toString():b[0].replace(/px/,""):k.css("top").replace(/px/,""),m=-1===m.indexOf("%")?m+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(m.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',b[1]&&(l="number"===typeof b[1]?b[1].toString():b[1].replace(/px/,""),l=-1===l.indexOf("%")?l+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(l.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(m='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',l='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"');j.removeExpression("top");j.removeExpression("left");j.setExpression("top",m);j.setExpression("left",l)}}})},focus:function(b){var g=this,b=b&&-1!==v.inArray(b,["first","last"])?b:"first",j=v(":input:enabled:visible:"+b,g.d.wrap);setTimeout(function(){0<j.length?j.focus():g.d.wrap.focus()},10)},getDimensions:function(){var b="undefined"===typeof window.innerHeight?i.height():window.innerHeight;t=[f.height(),f.width()];u=[b,i.width()]},getVal:function(j,g){return j?"number"===typeof j?j:"auto"===j?0:0<j.indexOf("%")?parseInt(j.replace(/%/,""))/100*("h"===g?u[0]:u[1]):parseInt(j.replace(/px/,"")):null},update:function(j,g){if(!this.d.data){return !1}this.d.origHeight=this.getVal(j,"h");this.d.origWidth=this.getVal(g,"w");this.d.data.hide();j&&this.d.container.css("height",j);g&&this.d.container.css("width",g);this.setContainerDimensions();this.d.data.show();this.o.focus&&this.focus();this.unbindEvents();this.bindEvents()},setContainerDimensions:function(){var j=h||a,g=this.d.origHeight?this.d.origHeight:c?this.d.container.height():this.getVal(j?this.d.container[0].currentStyle.height:this.d.container.css("height"),"h"),j=this.d.origWidth?this.d.origWidth:c?this.d.container.width():this.getVal(j?this.d.container[0].currentStyle.width:this.d.container.css("width"),"w"),m=this.d.data.outerHeight(!0),l=this.d.data.outerWidth(!0);this.d.origHeight=this.d.origHeight||g;this.d.origWidth=this.d.origWidth||j;var o=this.o.maxHeight?this.getVal(this.o.maxHeight,"h"):null,n=this.o.maxWidth?this.getVal(this.o.maxWidth,"w"):null,o=o&&o<u[0]?o:u[0],n=n&&n<u[1]?n:u[1],k=this.o.minHeight?this.getVal(this.o.minHeight,"h"):"auto",g=g?this.o.autoResize&&g>o?o:g<k?k:g:m?m>o?o:this.o.minHeight&&"auto"!==k&&m<k?k:m:k,o=this.o.minWidth?this.getVal(this.o.minWidth,"w"):"auto",j=j?this.o.autoResize&&j>n?n:j<o?o:j:l?l>n?n:this.o.minWidth&&"auto"!==o&&l<o?o:l:o;this.d.container.css({height:g,width:j});this.d.wrap.css({overflow:m>g||l>j?"auto":"visible"});this.o.autoPosition&&this.setPosition()},setPosition:function(){var j,g;j=u[0]/2-this.d.container.outerHeight(!0)/2;g=u[1]/2-this.d.container.outerWidth(!0)/2;var k="fixed"!==this.d.container.css("position")?i.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(j=k+(this.o.position[0]||j),g=this.o.position[1]||g):j=k+j;this.d.container.css({left:g,top:j})},watchTab:function(b){if(0<v(b.target).parents(".simplemodal-container").length){if(this.inputs=v(":input:enabled:visible:first, :input:enabled:visible:last",this.d.data[0]),!b.shiftKey&&b.target===this.inputs[this.inputs.length-1]||b.shiftKey&&b.target===this.inputs[0]||0===this.inputs.length){b.preventDefault(),this.focus(b.shiftKey?"last":"first")}}else{b.preventDefault(),this.focus()}},open:function(){this.d.iframe&&this.d.iframe.show();v.isFunction(this.o.onOpen)?this.o.onOpen.apply(this,[this.d]):(this.d.overlay.show(),this.d.container.show(),this.d.data.show());this.o.focus&&this.focus();this.bindEvents()},close:function(){if(!this.d.data){return !1}this.unbindEvents();if(v.isFunction(this.o.onClose)&&!this.occb){this.occb=!0,this.o.onClose.apply(this,[this.d])}else{if(this.d.placeholder){var b=v("#simplemodal-placeholder");this.o.persist?b.replaceWith(this.d.data.removeClass("simplemodal-data").css("display",this.display)):(this.d.data.hide().remove(),b.replaceWith(this.d.orig))}else{this.d.data.hide().remove()}this.d.container.hide().remove();this.d.overlay.hide();this.d.iframe&&this.d.iframe.hide().remove();this.d.overlay.remove();this.d={}}}}});!function(a4,a3){function a2(d,c){aQ(d).push(c)}function a1(p,o,n){var m=p.children(o.headerTag),l=p.children(o.bodyTag);m.length>l.length?aj(aa,"contents"):m.length<l.length&&aj(aa,"titles");var c=o.startIndex;if(n.stepCount=m.length,o.saveState&&a4.cookie){var b=a4.cookie(ag+aO(p)),a=parseInt(b,0);!isNaN(a)&&a<n.stepCount&&(c=a)}n.currentIndex=c,m.each(function(v){var u=a4(this),t=l.eq(v),s=t.data("mode"),r=null==s?aD.html:aN(aD,/^\s*$/.test(s)||isNaN(s)?s:parseInt(s,0)),q=r===aD.html||t.data("url")===a3?"":t.data("url"),h=r!==aD.html&&"1"===t.data("loaded"),d=a4.extend({},a5,{title:u.html(),content:r===aD.html?t.html():"",contentUrl:q,contentMode:r,contentLoaded:h});a2(p,d)})}function a0(b){b.triggerHandler("canceled")}function aZ(d,c){return d.currentIndex-c}function aY(a,l){var k=aW(a);a.unbind(k).removeData("uid").removeData("options").removeData("state").removeData("steps").removeData("eventNamespace").find(".actions a").unbind(k),a.removeClass(l.clearFixCssClass+" vertical");var j=a.find(".content > *");j.removeData("loaded").removeData("mode").removeData("url"),j.removeAttr("id").removeAttr("role").removeAttr("tabindex").removeAttr("class").removeAttr("style")._removeAria("labelledby")._removeAria("hidden"),a.find(".content > [data-mode='async'],.content > [data-mode='iframe']").empty();var i=a4('<{0} class="{1}"></{0}>'.format(a.get(0).tagName,a.attr("class"))),h=a._id();return null!=h&&""!==h&&i._id(h),i.html(a.find(".content").html()),a.after(i),a.remove(),i}function aX(e,d){var f=e.find(".steps li").eq(d.currentIndex);e.triggerHandler("finishing",[d.currentIndex])?(f.addClass("done").removeClass("error"),e.triggerHandler("finished",[d.currentIndex])):f.addClass("error")}function aW(d){var c=d.data("eventNamespace");return null==c&&(c="."+aO(d),d.data("eventNamespace",c)),c}function aV(e,d){var f=aO(e);return e.find("#"+f+af+d)}function aU(e,d){var f=aO(e);return e.find("#"+f+ae+d)}function aT(e,d){var f=aO(e);return e.find("#"+f+ad+d)}function aS(b){return b.data("options")}function aR(b){return b.data("state")}function aQ(b){return b.data("steps")}function aP(e,d){var f=aQ(e);return(0>d||d>=f.length)&&aj(ac),f[d]}function aO(d){var c=d.data("uid");return null==c&&(c=d._id(),null==c&&(c="steps-uid-".concat(ah),d._id(c)),ah++,d.data("uid",c)),c}function aN(b,h){if(ai("enumType",b),ai("keyOrValue",h),"string"==typeof h){var g=b[h];return g===a3&&aj("The enum key '{0}' does not exist.",h),g}if("number"==typeof h){for(var f in b){if(b[f]===h){return h}}aj("Invalid enum value '{0}'.",h)}else{aj("Invalid key or value type.")}}function aM(e,d,f){return aA(e,d,f,aJ(f,1))}function aL(e,d,f){return aA(e,d,f,aZ(f,1))}function aK(g,f,j,i){if((0>i||i>=j.stepCount)&&aj(ac),!(f.forceMoveForward&&i<j.currentIndex)){var h=j.currentIndex;return g.triggerHandler("stepChanging",[j.currentIndex,i])?(j.currentIndex=i,am(g,f,j),ax(g,f,j,h),ay(g,f,j),aC(g,f,j),al(g,f,j,i,h,function(){g.triggerHandler("stepChanged",[i,h])})):g.find(".steps li").eq(h).addClass("error"),!0}}function aJ(d,c){return d.currentIndex+c}function aI(a){var d=a4.extend(!0,{},aE,a);return this.each(function(){var c=a4(this),f={currentIndex:d.startIndex,currentStep:null,stepCount:0,transitionElement:null};c.data("options",d),c.data("state",f),c.data("steps",[]),a1(c,d,f),ar(c,d,f),av(c,d),d.autoFocus&&0===ah&&aV(c,d.startIndex).focus(),c.triggerHandler("init",[d.startIndex])})}function aH(a,p,o,n,m){(0>n||n>o.stepCount)&&aj(ac),m=a4.extend({},a5,m),aG(a,n,m),o.currentIndex!==o.stepCount&&o.currentIndex>=n&&(o.currentIndex++,am(a,p,o)),o.stepCount++;var l=a.find(".content"),k=a4("<{0}>{1}</{0}>".format(p.headerTag,m.title)),j=a4("<{0}></{0}>".format(p.bodyTag));return(null==m.contentMode||m.contentMode===aD.html)&&j.html(m.content),0===n?l.prepend(j).prepend(k):aU(a,n-1).after(j).after(k),aq(a,o,j,n),an(a,p,o,k,n),aw(a,p,o,n),n===o.currentIndex&&ax(a,p,o),ay(a,p,o),a}function aG(e,d,f){aQ(e).splice(d,0,f)}function aF(a){var j=a4(this),i=aS(j),h=aR(j);if(i.suppressPaginationOnFocus&&j.find(":focus").is(":input")){return a.preventDefault(),!1}var g={left:37,right:39};a.keyCode===g.left?(a.preventDefault(),aL(j,i,h)):a.keyCode===g.right&&(a.preventDefault(),aM(j,i,h))}function aC(a,l,k){if(k.stepCount>0){var j=k.currentIndex,i=aP(a,j);if(!l.enableContentCache||!i.contentLoaded){switch(aN(aD,i.contentMode)){case aD.iframe:a.find(".content > .body").eq(k.currentIndex).empty().html('<iframe src="'+i.contentUrl+'" frameborder="0" scrolling="no" />').data("loaded","1");break;case aD.async:var h=aU(a,j)._aria("busy","true").empty().append(ao(l.loadingTemplate,{text:l.labels.loading}));a4.ajax({url:i.contentUrl,cache:!1}).done(function(b){h.empty().html(b)._aria("busy","false").data("loaded","1"),a.triggerHandler("contentLoaded",[j])})}}}}function aA(j,i,p,o){var n=p.currentIndex;if(o>=0&&o<p.stepCount&&!(i.forceMoveForward&&o<p.currentIndex)){var m=aV(j,o),l=m.parent(),k=l.hasClass("disabled");return l._enableAria(),m.click(),n===p.currentIndex&&k?(l._enableAria(!1),!1):!0}return !1}function az(a){a.preventDefault();var l=a4(this),k=l.parent().parent().parent().parent(),j=aS(k),h=aR(k),e=l.attr("href");switch(e.substring(e.lastIndexOf("#")+1)){case"cancel":a0(k);break;case"finish":aX(k,h);break;case"next":aM(k,j,h);break;case"previous":aL(k,j,h)}}function ay(h,g,l){if(g.enablePagination){var k=h.find(".actions a[href$='#finish']").parent(),j=h.find(".actions a[href$='#next']").parent();if(!g.forceMoveForward){var i=h.find(".actions a[href$='#previous']").parent();i._enableAria(l.currentIndex>0)}g.enableFinishButton&&g.showFinishButtonAlways?(k._enableAria(l.stepCount>0),j._enableAria(l.stepCount>1&&l.stepCount>l.currentIndex+1)):(k._showAria(g.enableFinishButton&&l.stepCount===l.currentIndex+1),j._showAria(0===l.stepCount||l.stepCount>l.currentIndex+1)._enableAria(l.stepCount>l.currentIndex+1||!g.enableFinishButton))}}function ax(a,p,o,n){var m=aV(a,o.currentIndex),l=a4('<span class="current-info audible">'+p.labels.current+" </span>"),k=a.find(".content > .title");if(null!=n){var j=aV(a,n);j.parent().addClass("done").removeClass("error")._selectAria(!1),k.eq(n).removeClass("current").next(".body").removeClass("current"),l=j.find(".current-info"),m.focus()}m.prepend(l).parent()._selectAria().removeClass("done")._enableAria(),k.eq(o.currentIndex).addClass("current").next(".body").addClass("current")}function aw(t,s,r,q){for(var p=aO(t),o=q;o<r.stepCount;o++){var n=p+af+o,m=p+ae+o,l=p+ad+o,k=t.find(".title").eq(o)._id(l);t.find(".steps a").eq(o)._id(n)._aria("controls",m).attr("href","#"+l).html(ao(s.titleTemplate,{index:o+1,title:k.html()})),t.find(".body").eq(o)._id(m)._aria("labelledby",l)}}function av(e,d){var f=aW(e);e.bind("canceled"+f,d.onCanceled),e.bind("contentLoaded"+f,d.onContentLoaded),e.bind("finishing"+f,d.onFinishing),e.bind("finished"+f,d.onFinished),e.bind("init"+f,d.onInit),e.bind("stepChanging"+f,d.onStepChanging),e.bind("stepChanged"+f,d.onStepChanged),d.enableKeyNavigation&&e.bind("keyup"+f,aF),e.find(".actions a").bind("click"+f,az)}function au(f,e,h,g){return 0>g||g>=h.stepCount||h.currentIndex===g?!1:(at(f,g),h.currentIndex>g&&(h.currentIndex--,am(f,e,h)),h.stepCount--,aT(f,g).remove(),aU(f,g).remove(),aV(f,g).parent().remove(),0===g&&f.find(".steps li").first().addClass("first"),g===h.stepCount&&f.find(".steps li").eq(g).addClass("last"),aw(f,e,h,g),ay(f,e,h),!0)}function at(d,c){aQ(d).splice(c,1)}function ar(t,s,r){var q='<{0} class="{1}">{2}</{0}>',p=aN(a6,s.stepsOrientation),o=p===a6.vertical?" vertical":"",n=a4(q.format(s.contentContainerTag,"content "+s.clearFixCssClass,t.html())),m=a4(q.format(s.stepsContainerTag,"steps "+s.clearFixCssClass,'<ul role="tablist"></ul>')),l=n.children(s.headerTag),a=n.children(s.bodyTag);t.attr("role","application").empty().append(m).append(n).addClass(s.cssClass+" "+s.clearFixCssClass+o),a.each(function(b){aq(t,r,a4(this),b)}),l.each(function(b){an(t,s,r,a4(this),b)}),ax(t,s,r),ap(t,s,r)}function aq(i,h,n,m){var l=aO(i),k=l+ae+m,j=l+ad+m;n._id(k).attr("role","tabpanel")._aria("labelledby",j).addClass("body")._showAria(h.currentIndex===m)}function ap(h,g,l){if(g.enablePagination){var k='<{0} class="actions {1}"><ul role="menu" aria-label="{2}">{3}</ul></{0}>',j='<li><a href="#{0}" role="menuitem">{1}</a></li>',i="";g.forceMoveForward||(i+=j.format("previous",g.labels.previous)),i+=j.format("next",g.labels.next),g.enableFinishButton&&(i+=j.format("finish",g.labels.finish)),g.enableCancelButton&&(i+=j.format("cancel",g.labels.cancel)),h.append(k.format(g.actionContainerTag,g.clearFixCssClass,g.labels.pagination,i)),ay(h,g,l),aC(h,g,l)}}function ao(b,l){for(var k=b.match(/#([a-z]*)#/gi),j=0;j<k.length;j++){var i=k[j],h=i.substring(1,i.length-1);l[h]===a3&&aj("The key '{0}' does not exist in the substitute collection!",h),b=b.replace(i,l[h])}return b}function an(x,w,v,u,t){var s=aO(x),r=s+af+t,q=s+ae+t,p=s+ad+t,o=x.find(".steps > ul"),i=ao(w.titleTemplate,{index:t+1,title:u.html()}),a=a4('<li role="tab"><a id="'+r+'" href="#'+p+'" aria-controls="'+q+'">'+i+"</a></li>");a._enableAria(w.enableAllSteps||v.currentIndex>t),v.currentIndex>t&&a.addClass("done"),u._id(p).attr("tabindex","-1").addClass("title"),0===t?o.prepend(a):o.find("li").eq(t-1).after(a),0===t&&o.find("li").removeClass("first").eq(t).addClass("first"),t===v.stepCount-1&&o.find("li").removeClass("last").eq(t).addClass("last"),a.children("a").bind("click"+aW(x),ak)}function am(a,f,e){f.saveState&&a4.cookie&&a4.cookie(ag+aO(a),e.currentIndex)}function al(E,D,C,B,A,z){var y=E.find(".content > .body"),x=aN(aB,D.transitionEffect),w=D.transitionEffectSpeed,v=y.eq(B),u=y.eq(A);switch(x){case aB.fade:case aB.slide:var t=x===aB.fade?"fadeOut":"slideUp",r=x===aB.fade?"fadeIn":"slideDown";C.transitionElement=v,u[t](w,function(){var d=a4(this)._showAria(!1).parent().parent(),e=aR(d);e.transitionElement&&(e.transitionElement[r](w,function(){a4(this)._showAria()}).promise().done(z),e.transitionElement=null)});break;case aB.slideLeft:var n=u.outerWidth(!0),a=B>A?-n:n,F=B>A?n:-n;a4.when(u.animate({left:a},w,function(){a4(this)._showAria(!1)}),v.css("left",F+"px")._showAria().animate({left:0},w)).done(z);break;default:a4.when(u._showAria(!1),v._showAria()).done(z)}}function ak(a){a.preventDefault();var p=a4(this),o=p.parent().parent().parent().parent(),n=aS(o),m=aR(o),l=m.currentIndex;if(p.parent().is(":not(.disabled):not(.current)")){var k=p.attr("href"),j=parseInt(k.substring(k.lastIndexOf("-")+1),0);aK(o,n,m,j)}return l===m.currentIndex?(aV(o,l).focus(),!1):void 0}function aj(b){throw arguments.length>1&&(b=b.format(Array.prototype.slice.call(arguments,1))),new Error(b)}function ai(d,c){null==c&&aj("The argument '{0}' is null or undefined.",d)}a4.fn.extend({_aria:function(d,c){return this.attr("aria-"+d,c)},_removeAria:function(b){return this.removeAttr("aria-"+b)},_enableAria:function(b){return null==b||b?this.removeClass("disabled")._aria("disabled","false"):this.addClass("disabled")._aria("disabled","true")},_showAria:function(b){return null==b||b?this.show()._aria("hidden","false"):this.hide()._aria("hidden","true")},_selectAria:function(b){return null==b||b?this.addClass("current")._aria("selected","true"):this.removeClass("current")._aria("selected","false")},_id:function(b){return b?this.attr("id",b):this.attr("id")}}),String.prototype.format||(String.prototype.format=function(){for(var a=1===arguments.length&&a4.isArray(arguments[0])?arguments[0]:arguments,h=this,g=0;g<a.length;g++){var f=new RegExp("\\{"+g+"\\}","gm");h=h.replace(f,a[g])}return h});var ah=0,ag="jQu3ry_5teps_St@te_",af="-t-",ae="-p-",ad="-h-",ac="Index out of range.",aa="One or more corresponding step {0} are missing.";a4.fn.steps=function(a){return a4.fn.steps[a]?a4.fn.steps[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?void a4.error("Method "+a+" does not exist on jQuery.steps"):aI.apply(this,arguments)},a4.fn.steps.add=function(d){var c=aR(this);return aH(this,aS(this),c,c.stepCount,d)},a4.fn.steps.destroy=function(){return aY(this,aS(this))},a4.fn.steps.finish=function(){aX(this,aR(this))},a4.fn.steps.getCurrentIndex=function(){return aR(this).currentIndex},a4.fn.steps.getCurrentStep=function(){return aP(this,aR(this).currentIndex)},a4.fn.steps.getStep=function(b){return aP(this,b)},a4.fn.steps.insert=function(d,c){return aH(this,aS(this),aR(this),d,c)},a4.fn.steps.next=function(){return aM(this,aS(this),aR(this))},a4.fn.steps.previous=function(){return aL(this,aS(this),aR(this))},a4.fn.steps.remove=function(b){return au(this,aS(this),aR(this),b)},a4.fn.steps.setStep=function(){throw new Error("Not yet implemented!")},a4.fn.steps.skip=function(){throw new Error("Not yet implemented!")};var aD=a4.fn.steps.contentMode={html:0,iframe:1,async:2},a6=a4.fn.steps.stepsOrientation={horizontal:0,vertical:1},aB=a4.fn.steps.transitionEffect={none:0,fade:1,slide:2,slideLeft:3},a5=a4.fn.steps.stepModel={title:"",content:"",contentUrl:"",contentMode:aD.html,contentLoaded:!1},aE=a4.fn.steps.defaults={headerTag:"h1",bodyTag:"div",contentContainerTag:"div",actionContainerTag:"div",stepsContainerTag:"div",cssClass:"wizard",clearFixCssClass:"clearfix",stepsOrientation:a6.horizontal,titleTemplate:'<span class="number">#index#.</span> #title#',loadingTemplate:'<span class="spinner"></span> #text#',autoFocus:!1,enableAllSteps:!1,enableKeyNavigation:!0,enablePagination:!0,suppressPaginationOnFocus:!0,enableContentCache:!0,enableCancelButton:!1,enableFinishButton:!0,preloadContent:!1,showFinishButtonAlways:!1,forceMoveForward:!1,saveState:!1,startIndex:0,transitionEffect:aB.none,transitionEffectSpeed:200,onStepChanging:function(){return !0},onStepChanged:function(){},onCanceled:function(){},onFinishing:function(){return !0},onFinished:function(){},onContentLoaded:function(){},onInit:function(){},labels:{cancel:"Cancel",current:"current step:",pagination:"Pagination",finish:"Finish",next:"Next",previous:"Previous",loading:"Loading ..."}}}(jQuery);!function(c,f,a,e){var i={drag:true,drop:true,exclude:"",nested:true,vertical:true},o={afterMove:function(t,d,u){},containerPath:"",containerSelector:"ol, ul",distance:0,delay:0,handle:"",itemPath:"",itemSelector:"li",bodyClass:"dragging",draggedClass:"dragged",isValidTarget:function(t,d){return true},onCancel:function(t,d,v,u){},onDrag:function(t,d,v,u){t.css(d)},onDragStart:function(t,d,v,u){t.css({height:t.outerHeight(),width:t.outerWidth()});t.addClass(d.group.options.draggedClass);c("body").addClass(d.group.options.bodyClass)},onDrop:function(t,d,v,u){t.removeClass(d.group.options.draggedClass).removeAttr("style");c("body").removeClass(d.group.options.bodyClass)},onMousedown:function(d,u,t){if(!t.target.nodeName.match(/^(input|select|textarea)$/i)){t.preventDefault();return true}},placeholderClass:"placeholder",placeholder:'<li class="placeholder"></li>',pullPlaceholder:true,serialize:function(v,u,t){var d=c.extend({},v.data());if(t){return[u]}else{if(u[0]){d.children=u}}delete d.subContainers;delete d.sortable;return d},tolerance:0},q={},l=0,h={left:0,top:0,bottom:0,right:0},g={start:"touchstart.sortable mousedown.sortable",drop:"touchend.sortable touchcancel.sortable mouseup.sortable",drag:"touchmove.sortable mousemove.sortable",scroll:"scroll.sortable"},s="subContainers";function r(u,t){var d=Math.max(0,u[0]-t[0],t[0]-u[1]),v=Math.max(0,u[2]-t[1],t[1]-u[3]);return d+v}function n(z,x,t,v){var u=z.length,d=v?"offset":"position";t=t||0;while(u--){var w=z[u].el?z[u].el:c(z[u]),y=w[d]();y.left+=parseInt(w.css("margin-left"),10);y.top+=parseInt(w.css("margin-top"),10);x[u]=[y.left-t,y.left+w.outerWidth()+t,y.top-t,y.top+w.outerHeight()+t]}}function b(u,d){var t=d.offset();return{left:u.left-t.left,top:u.top-t.top}}function p(v,x,u){x=[x.left,x.top];u=u&&[u.left,u.top];var w,t=v.length,d=[];while(t--){w=v[t];d[t]=[t,r(w,x),u&&r(w,u)]}d=d.sort(function(z,y){return y[1]-z[1]||y[2]-z[2]||y[0]-z[0]});return d}function m(d){this.options=c.extend({},o,d);this.containers=[];if(!this.options.rootGroup){this.scrollProxy=c.proxy(this.scroll,this);this.dragProxy=c.proxy(this.drag,this);this.dropProxy=c.proxy(this.drop,this);this.placeholder=c(this.options.placeholder);if(!d.isValidTarget){this.options.isValidTarget=e}}}m.get=function(d){if(!q[d.group]){if(d.group===e){d.group=l++}q[d.group]=new m(d)}return q[d.group]};m.prototype={dragInit:function(u,t){this.$document=c(t.el[0].ownerDocument);var d=c(u.target).closest(this.options.itemSelector);if(d.length){this.item=d;this.itemContainer=t;if(this.item.is(this.options.exclude)||!this.options.onMousedown(this.item,o.onMousedown,u)){return}this.setPointer(u);this.toggleListeners("on");this.setupDelayTimer();this.dragInitDone=true}},drag:function(w){if(!this.dragging){if(!this.distanceMet(w)||!this.delayMet){return}this.options.onDragStart(this.item,this.itemContainer,o.onDragStart,w);this.item.before(this.placeholder);this.dragging=true}this.setPointer(w);this.options.onDrag(this.item,b(this.pointer,this.item.offsetParent()),o.onDrag,w);var v=this.getPointer(w),u=this.sameResultBox,d=this.options.tolerance;if(!u||u.top-d>v.top||u.bottom+d<v.top||u.left-d>v.left||u.right+d<v.left){if(!this.searchValidTarget()){this.placeholder.detach();this.lastAppendedItem=e}}},drop:function(d){this.toggleListeners("off");this.dragInitDone=false;if(this.dragging){if(this.placeholder.closest("html")[0]){this.placeholder.before(this.item).detach()}else{this.options.onCancel(this.item,this.itemContainer,o.onCancel,d)}this.options.onDrop(this.item,this.getContainer(this.item),o.onDrop,d);this.clearDimensions();this.clearOffsetParent();this.lastAppendedItem=this.sameResultBox=e;this.dragging=false}},searchValidTarget:function(y,w){if(!y){y=this.relativePointer||this.pointer;w=this.lastRelativePointer||this.lastPointer}var t=p(this.getContainerDimensions(),y,w),v=t.length;while(v--){var u=t[v][0],z=t[v][1];if(!z||this.options.pullPlaceholder){var d=this.containers[u];if(!d.disabled){if(!this.$getOffsetParent()){var x=d.getItemOffsetParent();y=b(y,x);w=b(w,x)}if(d.searchValidTarget(y,w)){return true}}}}if(this.sameResultBox){this.sameResultBox=e}},movePlaceholder:function(t,u,w,d){var v=this.lastAppendedItem;if(!d&&v&&v[0]===u[0]){return}u[w](this.placeholder);this.lastAppendedItem=u;this.sameResultBox=d;this.options.afterMove(this.placeholder,t,u)},getContainerDimensions:function(){if(!this.containerDimensions){n(this.containers,this.containerDimensions=[],this.options.tolerance,!this.$getOffsetParent())}return this.containerDimensions},getContainer:function(d){return d.closest(this.options.containerSelector).data(a)},$getOffsetParent:function(){if(this.offsetParent===e){var d=this.containers.length-1,t=this.containers[d].getItemOffsetParent();if(!this.options.rootGroup){while(d--){if(t[0]!=this.containers[d].getItemOffsetParent()[0]){t=false;break}}}this.offsetParent=t}return this.offsetParent},setPointer:function(t){var u=this.getPointer(t);if(this.$getOffsetParent()){var d=b(u,this.$getOffsetParent());this.lastRelativePointer=this.relativePointer;this.relativePointer=d}this.lastPointer=this.pointer;this.pointer=u},distanceMet:function(d){var t=this.getPointer(d);return(Math.max(Math.abs(this.pointer.left-t.left),Math.abs(this.pointer.top-t.top))>=this.options.distance)},getPointer:function(d){var t=d.originalEvent||d.originalEvent.touches&&d.originalEvent.touches[0];return{left:d.pageX||t.pageX,top:d.pageY||t.pageY}},setupDelayTimer:function(){var d=this;this.delayMet=!this.options.delay;if(!this.delayMet){clearTimeout(this._mouseDelayTimer);this._mouseDelayTimer=setTimeout(function(){d.delayMet=true},this.options.delay)}},scroll:function(d){this.clearDimensions();this.clearOffsetParent()},toggleListeners:function(u){var t=this,d=["drag","drop","scroll"];c.each(d,function(v,w){t.$document[u](g[w],t[w+"Proxy"])})},clearOffsetParent:function(){this.offsetParent=e},clearDimensions:function(){this.traverse(function(d){d._clearDimensions()})},traverse:function(t){t(this);var d=this.containers.length;while(d--){this.containers[d].traverse(t)}},_clearDimensions:function(){this.containerDimensions=e},_destroy:function(){q[this.options.group]=e}};function j(u,t){this.el=u;this.options=c.extend({},i,t);this.group=m.get(this.options);this.rootGroup=this.options.rootGroup||this.group;this.handle=this.rootGroup.options.handle||this.rootGroup.options.itemSelector;var d=this.rootGroup.options.itemPath;this.target=d?this.el.find(d):this.el;this.target.on(g.start,this.handle,c.proxy(this.dragInit,this));if(this.options.drop){this.group.containers.push(this)}}j.prototype={dragInit:function(t){var d=this.rootGroup;if(!this.disabled&&!d.dragInitDone&&this.options.drag&&this.isValidDrag(t)){d.dragInit(t,this)}},isValidDrag:function(d){return d.which==1||d.type=="touchstart"&&d.originalEvent.touches.length==1},searchValidTarget:function(d,u){var x=p(this.getItemDimensions(),d,u),v=x.length,y=this.rootGroup,z=!y.options.isValidTarget||y.options.isValidTarget(y.item,this);if(!v&&z){y.movePlaceholder(this,this.target,"append");return true}else{while(v--){var w=x[v][0],t=x[v][1];if(!t&&this.hasChildGroup(w)){var A=this.getContainerGroup(w).searchValidTarget(d,u);if(A){return true}}else{if(z){this.movePlaceholder(w,d);return true}}}}},movePlaceholder:function(A,t){var E=c(this.items[A]),z=this.itemDimensions[A],d="after",u=E.outerWidth(),D=E.outerHeight(),y=E.offset(),v={left:y.left,right:y.left+u,top:y.top,bottom:y.top+D};if(this.options.vertical){var C=(z[2]+z[3])/2,B=t.top<=C;if(B){d="before";v.bottom-=D/2}else{v.top+=D/2}}else{var w=(z[0]+z[1])/2,x=t.left<=w;if(x){d="before";v.right-=u/2}else{v.left+=u/2}}if(this.hasChildGroup(A)){v=h}this.rootGroup.movePlaceholder(this,E,d,v)},getItemDimensions:function(){if(!this.itemDimensions){this.items=this.$getChildren(this.el,"item").filter(":not(."+this.group.options.placeholderClass+", ."+this.group.options.draggedClass+")").get();n(this.items,this.itemDimensions=[],this.options.tolerance)}return this.itemDimensions},getItemOffsetParent:function(){var t,d=this.el;if(d.css("position")==="relative"||d.css("position")==="absolute"||d.css("position")==="fixed"){t=d}else{t=d.offsetParent()}return t},hasChildGroup:function(d){return this.options.nested&&this.getContainerGroup(d)},getContainerGroup:function(u){var v=c.data(this.items[u],s);if(v===e){var t=this.$getChildren(this.items[u],"container");v=false;if(t[0]){var d=c.extend({},this.options,{rootGroup:this.rootGroup,group:l++});v=t[a](d).data(a).group}c.data(this.items[u],s,v)}return v},$getChildren:function(v,u){var t=this.rootGroup.options,w=t[u+"Path"],d=t[u+"Selector"];v=c(v);if(w){v=v.find(w)}return v.children(d)},_serialize:function(v,u){var w=this,d=u?"item":"container",t=this.$getChildren(v,d).not(this.options.exclude).map(function(){return w._serialize(c(this),!u)}).get();return this.rootGroup.options.serialize(v,t,u)},traverse:function(d){c.each(this.items||[],function(t){var u=c.data(this,s);if(u){u.traverse(d)}});d(this)},_clearDimensions:function(){this.itemDimensions=e},_destroy:function(){var d=this;this.target.off(g.start,this.handle);this.el.removeData(a);if(this.options.drop){this.group.containers=c.grep(this.group.containers,function(t){return t!=d})}c.each(this.items||[],function(){c.removeData(this,s)})}};var k={enable:function(){this.traverse(function(d){d.disabled=false})},disable:function(){this.traverse(function(d){d.disabled=true})},serialize:function(){return this._serialize(this.el,true)},refresh:function(){this.traverse(function(d){d._clearDimensions()})},destroy:function(){this.traverse(function(d){d._destroy()})}};c.extend(j.prototype,k);c.fn[a]=function(d){var t=Array.prototype.slice.call(arguments,1);return this.map(function(){var v=c(this),u=v.data(a);if(u&&k[d]){return k[d].apply(u,t)||this}else{if(!u&&(d===e||typeof d==="object")){v.data(a,new j(v,d))}}return this})}}(jQuery,window,"sortable");(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports=="object"&&typeof module=="object"){module.exports=a}else{a(jQuery)}}})(function(e,g){var m={beforeShow:b,move:b,change:b,show:b,hide:b,color:false,flat:false,showInput:false,allowEmpty:false,showButtons:true,clickoutFiresChange:true,showInitial:false,showPalette:false,showPaletteOnly:false,hideAfterPaletteSelect:false,togglePaletteOnly:false,showSelectionPalette:true,localStorageKey:false,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:false,className:"",containerClassName:"",replacerClassName:"",showAlpha:false,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:false,offset:null},d=[],h=!!/msie/i.exec(window.navigator.userAgent),l=(function(){function u(y,x){return !!~(""+y).indexOf(x)}var w=document.createElement("div");var v=w.style;v.cssText="background-color:rgba(0,0,0,.5)";return u(v.backgroundColor,"rgba")||u(v.backgroundColor,"hsla")})(),q=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>▼</div>","</div>"].join(""),p=(function(){var u="";if(h){for(var v=1;v<=6;v++){u+="<div class='sp-"+v+"'></div>"}}return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","<div class='sp-palette-button-container sp-cf'>","<button type='button' class='sp-palette-toggle'></button>","</div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",u,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false' />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<a class='sp-cancel' href='#'></a>","<button type='button' class='sp-choose'></button>","</div>","</div>","</div>"].join("")})();function s(w,y,C,u){var A=[];for(var z=0;z<w.length;z++){var B=w[z];if(B){var v=tinycolor(B);var E=v.toHsl().l<0.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";E+=(tinycolor.equals(y,B))?" sp-thumb-active":"";var D=v.toString(u.preferredFormat||"rgb");var x=l?("background-color:"+v.toRgbString()):"filter:"+v.toFilter();A.push('<span title="'+D+'" data-color="'+v.toRgbString()+'" class="'+E+'"><span class="sp-thumb-inner" style="'+x+';" /></span>')}else{var F="sp-clear-display";A.push(e("<div />").append(e('<span data-color="" style="background-color:transparent;" class="'+F+'"></span>').attr("title",u.noColorSelectedText)).html())}}return"<div class='sp-cf "+C+"'>"+A.join("")+"</div>"}function o(){for(var u=0;u<d.length;u++){if(d[u]){d[u].hide()}}}function n(w,u){var v=e.extend({},m,w);v.callbacks={move:t(v.move,u),change:t(v.change,u),show:t(v.show,u),hide:t(v.hide,u),beforeShow:t(v.beforeShow,u)};return v}function r(a8,ah){var a7=n(ah,a8),a3=a7.flat,W=a7.showSelectionPalette,w=a7.localStorageKey,ak=a7.theme,R=a7.callbacks,E=f(ad,10),O=false,ap=false,aM=0,af=0,aN=0,az=0,L=0,ay=0,aY=0,ar=0,Y=0,P=0,aC=0,aZ=1,ai=[],al=[],a5={},aI=a7.selectionPalette.slice(0),aH=a7.maxSelectionSize,x="sp-dragging",G=null;var X=a8.ownerDocument,N=X.body,D=e(a8),aW=false,aO=e(p,X).addClass(ak),u=aO.find(".sp-picker-container"),I=aO.find(".sp-color"),aL=aO.find(".sp-dragger"),M=aO.find(".sp-hue"),a2=aO.find(".sp-slider"),aE=aO.find(".sp-alpha-inner"),Z=aO.find(".sp-alpha"),aF=aO.find(".sp-alpha-handle"),K=aO.find(".sp-input"),Q=aO.find(".sp-palette"),a6=aO.find(".sp-initial"),aq=aO.find(".sp-cancel"),an=aO.find(".sp-clear"),H=aO.find(".sp-choose"),aQ=aO.find(".sp-palette-toggle"),S=D.is("input"),B=S&&D.attr("type")==="color"&&k(),aB=S&&!a3,aU=(aB)?e(q).addClass(ak).addClass(a7.className).addClass(a7.replacerClassName):e([]),aw=(aB)?aU:D,J=aU.find(".sp-preview-inner"),T=a7.color||(S&&D.val()),aP=false,V=a7.preferredFormat,au=V,F=!a7.showButtons||a7.clickoutFiresChange,C=!T,a4=a7.allowEmpty&&!B;function v(){if(a7.showPaletteOnly){a7.showPalette=true}aQ.text(a7.showPaletteOnly?a7.togglePaletteMoreText:a7.togglePaletteLessText);if(a7.palette){ai=a7.palette.slice(0);al=e.isArray(ai[0])?ai:[ai];a5={};for(var bc=0;bc<al.length;bc++){for(var bb=0;bb<al[bc].length;bb++){var ba=tinycolor(al[bc][bb]).toRgbString();a5[ba]=true}}}aO.toggleClass("sp-flat",a3);aO.toggleClass("sp-input-disabled",!a7.showInput);aO.toggleClass("sp-alpha-enabled",a7.showAlpha);aO.toggleClass("sp-clear-enabled",a4);aO.toggleClass("sp-buttons-disabled",!a7.showButtons);aO.toggleClass("sp-palette-buttons-disabled",!a7.togglePaletteOnly);aO.toggleClass("sp-palette-disabled",!a7.showPalette);aO.toggleClass("sp-palette-only",a7.showPaletteOnly);aO.toggleClass("sp-initial-disabled",!a7.showInitial);aO.addClass(a7.className).addClass(a7.containerClassName);ad()}function aJ(){if(h){aO.find("*:not(input)").attr("unselectable","on")}v();if(aB){D.after(aU).hide()}if(!a4){an.hide()}if(a3){D.after(aO).hide()}else{var bb=a7.appendTo==="parent"?D.parent():e(a7.appendTo);if(bb.length!==1){bb=e("body")}bb.append(aO)}aR();aw.bind("click.spectrum touchstart.spectrum",function(bd){if(!aW){ax()}bd.stopPropagation();if(!e(bd.target).is("input")){bd.preventDefault()}});if(D.is(":disabled")||(a7.disabled===true)){U()}aO.click(j);K.change(aS);K.bind("paste",function(){setTimeout(aS,1)});K.keydown(function(bd){if(bd.keyCode==13){aS()}});aq.text(a7.cancelText);aq.bind("click.spectrum",function(bd){bd.stopPropagation();bd.preventDefault();av();aG()});an.attr("title",a7.clearText);an.bind("click.spectrum",function(bd){bd.stopPropagation();bd.preventDefault();C=true;aK();if(a3){ao(true)}});H.text(a7.chooseText);H.bind("click.spectrum",function(bd){bd.stopPropagation();bd.preventDefault();if(h&&K.is(":focus")){K.trigger("change")}if(aA()){ao(true);aG()}});aQ.text(a7.showPaletteOnly?a7.togglePaletteMoreText:a7.togglePaletteLessText);aQ.bind("click.spectrum",function(bd){bd.stopPropagation();bd.preventDefault();a7.showPaletteOnly=!a7.showPaletteOnly;if(!a7.showPaletteOnly&&!a3){aO.css("left","-="+(u.outerWidth(true)+5))}v()});c(Z,function(bf,be,bd){aZ=(bf/ay);C=false;if(bd.shiftKey){aZ=Math.round(aZ*10)/10}aK()},A,a9);c(M,function(be,bd){Y=parseFloat(bd/az);C=false;if(!a7.showAlpha){aZ=1}aK()},A,a9);c(I,function(bk,bi,bh){if(!bh.shiftKey){G=null}else{if(!G){var bf=P*aM;var bd=af-(aC*af);var be=Math.abs(bk-bf)>Math.abs(bi-bd);G=be?"x":"y"}}var bg=!G||G==="x";var bj=!G||G==="y";if(bg){P=parseFloat(bk/aM)}if(bj){aC=parseFloat((af-bi)/af)}C=false;if(!a7.showAlpha){aZ=1}aK()},A,a9);if(!!T){ac(T);aD();au=V||tinycolor(T).format;aV(T)}else{aD()}if(a3){z()}function bc(bd){if(bd.data&&bd.data.ignore){ac(e(bd.target).closest(".sp-thumb-el").data("color"));aK()}else{ac(e(bd.target).closest(".sp-thumb-el").data("color"));aK();ao(true);if(a7.hideAfterPaletteSelect){aG()}}return false}var ba=h?"mousedown.spectrum":"click.spectrum touchstart.spectrum";Q.delegate(".sp-thumb-el",ba,bc);a6.delegate(".sp-thumb-el:nth-child(1)",ba,{ignore:true},bc)}function aR(){if(w&&window.localStorage){try{var ba=window.localStorage[w].split(",#");if(ba.length>1){delete window.localStorage[w];e.each(ba,function(bc,bd){aV(bd)})}}catch(bb){}try{aI=window.localStorage[w].split(";")}catch(bb){}}}function aV(ba){if(W){var bb=tinycolor(ba).toRgbString();if(!a5[bb]&&e.inArray(bb,aI)===-1){aI.push(bb);while(aI.length>aH){aI.shift()}}if(w&&window.localStorage){try{window.localStorage[w]=aI.join(";")}catch(bc){}}}}function aX(){var bc=[];if(a7.showPalette){for(var bb=0;bb<aI.length;bb++){var ba=tinycolor(aI[bb]).toRgbString();if(!a5[ba]){bc.push(aI[bb])}}}return bc.reverse().slice(0,a7.maxSelectionSize)}function a0(){var ba=aT();var bb=e.map(al,function(bc,bd){return s(bc,ba,"sp-palette-row sp-palette-row-"+bd,a7)});aR();if(aI){bb.push(s(aX(),ba,"sp-palette-row sp-palette-row-selection",a7))}Q.html(bb.join(""))}function at(){if(a7.showInitial){var ba=aP;var bb=aT();a6.html(s([ba,bb],bb,"sp-palette-row-initial",a7))}}function A(){if(af<=0||aM<=0||az<=0){ad()}ap=true;aO.addClass(x);G=null;D.trigger("dragstart.spectrum",[aT()])}function a9(){ap=false;aO.removeClass(x);D.trigger("dragstop.spectrum",[aT()])}function aS(){var bb=K.val();if((bb===null||bb==="")&&a4){ac(null);ao(true)}else{var ba=tinycolor(bb);if(ba.isValid()){ac(ba);ao(true)}else{K.addClass("sp-validation-error")}}}function ax(){if(O){aG()}else{z()}}function z(){var ba=e.Event("beforeShow.spectrum");if(O){ad();return}D.trigger(ba,[aT()]);if(R.beforeShow(aT())===false||ba.isDefaultPrevented()){return}o();O=true;e(X).bind("keydown.spectrum",aj);e(X).bind("click.spectrum",ab);e(window).bind("resize.spectrum",E);aU.addClass("sp-active");aO.removeClass("sp-hidden");ad();aD();aP=aT();at();R.show(aP);D.trigger("show.spectrum",[aP])}function aj(ba){if(ba.keyCode===27){aG()}}function ab(ba){if(ba.button==2){return}if(ap){return}if(F){ao(true)}else{av()}aG()}function aG(){if(!O||a3){return}O=false;e(X).unbind("keydown.spectrum",aj);e(X).unbind("click.spectrum",ab);e(window).unbind("resize.spectrum",E);aU.removeClass("sp-active");aO.addClass("sp-hidden");R.hide(aT());D.trigger("hide.spectrum",[aT()])}function av(){ac(aP,true)}function ac(ba,bc){if(tinycolor.equals(ba,aT())){aD();return}var bb,bd;if(!ba&&a4){C=true}else{C=false;bb=tinycolor(ba);bd=bb.toHsv();Y=(bd.h%360)/360;P=bd.s;aC=bd.v;aZ=bd.a}aD();if(bb&&bb.isValid()&&!bc){au=V||bb.getFormat()}}function aT(ba){ba=ba||{};if(a4&&C){return null}return tinycolor.fromRatio({h:Y,s:P,v:aC,a:Math.round(aZ*100)/100},{format:ba.format||au})}function aA(){return !K.hasClass("sp-validation-error")}function aK(){aD();R.move(aT());D.trigger("move.spectrum",[aT()])}function aD(){K.removeClass("sp-validation-error");a1();var bc=tinycolor.fromRatio({h:Y,s:1,v:1});I.css("background-color",bc.toHexString());var bh=au;if(aZ<1&&!(aZ===0&&bh==="name")){if(bh==="hex"||bh==="hex3"||bh==="hex6"||bh==="name"){bh="rgb"}}var ba=aT({format:bh}),bd="";J.removeClass("sp-clear-display");J.css("background-color","transparent");if(!ba&&a4){J.addClass("sp-clear-display")}else{var be=ba.toHexString(),bi=ba.toRgbString();if(l||ba.alpha===1){J.css("background-color",bi)}else{J.css("background-color","transparent");J.css("filter",ba.toFilter())}if(a7.showAlpha){var bf=ba.toRgb();bf.a=0;var bb=tinycolor(bf).toRgbString();var bg="linear-gradient(left, "+bb+", "+be+")";if(h){aE.css("filter",tinycolor(bb).toFilter({gradientType:1},be))}else{aE.css("background","-webkit-"+bg);aE.css("background","-moz-"+bg);aE.css("background","-ms-"+bg);aE.css("background","linear-gradient(to right, "+bb+", "+be+")")}}bd=ba.toString(bh)}if(a7.showInput){K.val(bd)}if(a7.showPalette){a0()}at()}function a1(){var bc=P;var ba=aC;if(a4&&C){aF.hide();a2.hide();aL.hide()}else{aF.show();a2.show();aL.show();var bf=bc*aM;var bd=af-(ba*af);bf=Math.max(-aN,Math.min(aM-aN,bf-aN));bd=Math.max(-aN,Math.min(af-aN,bd-aN));aL.css({top:bd+"px",left:bf+"px"});var bb=aZ*ay;aF.css({left:(bb-(aY/2))+"px"});var be=(Y)*az;a2.css({top:(be-ar)+"px"})}}function ao(bb){var ba=aT(),bd="",bc=!tinycolor.equals(ba,aP);if(ba){bd=ba.toString(au);aV(ba)}if(S){D.val(bd)}if(bb&&bc){R.change(ba);D.trigger("change",[ba])}}function ad(){aM=I.width();af=I.height();aN=aL.height();L=M.width();az=M.height();ar=a2.height();ay=Z.width();aY=aF.width();if(!a3){aO.css("position","absolute");if(a7.offset){aO.offset(a7.offset)}else{aO.offset(a(aO,aw))}}a1();if(a7.showPalette){a0()}D.trigger("reflow.spectrum")}function y(){D.show();aw.unbind("click.spectrum touchstart.spectrum");aO.remove();aU.remove();d[ae.id]=null}function aa(ba,bb){if(ba===g){return e.extend({},a7)}if(bb===g){return a7[ba]}a7[ba]=bb;v()}function ag(){aW=false;D.attr("disabled",false);aw.removeClass("sp-disabled")}function U(){aG();aW=true;D.attr("disabled",true);aw.addClass("sp-disabled")}function am(ba){a7.offset=ba;ad()}aJ();var ae={show:z,hide:aG,toggle:ax,reflow:ad,option:aa,enable:ag,disable:U,offset:am,set:function(ba){ac(ba);ao()},get:aT,destroy:y,container:aO};ae.id=d.push(ae)-1;return ae}function a(B,C){var A=0;var y=B.outerWidth();var E=B.outerHeight();var u=C.outerHeight();var D=B[0].ownerDocument;var v=D.documentElement;var z=v.clientWidth+e(D).scrollLeft();var w=v.clientHeight+e(D).scrollTop();var x=C.offset();x.top+=u;x.left-=Math.min(x.left,(x.left+y>z&&z>y)?Math.abs(x.left+y-z):0);x.top-=Math.min(x.top,((x.top+E>w&&w>E)?Math.abs(E+u-A):A));return x}function b(){}function j(u){u.stopPropagation()}function t(v,w){var x=Array.prototype.slice;var u=x.call(arguments,2);return function(){return v.apply(w,u.concat(x.call(arguments)))}}function c(z,E,v,w){E=E||function(){};v=v||function(){};w=w||function(){};var F=document;var H=false;var y={};var I=0;var G=0;var B=("ontouchstart" in window);var A={};A.selectstart=D;A.dragstart=D;A["touchmove mousemove"]=x;A["touchend mouseup"]=C;function D(J){if(J.stopPropagation){J.stopPropagation()}if(J.preventDefault){J.preventDefault()}J.returnValue=false}function x(N){if(H){if(h&&F.documentMode<9&&!N.button){return C()}var L=N.originalEvent&&N.originalEvent.touches&&N.originalEvent.touches[0];var K=L&&L.pageX||N.pageX;var J=L&&L.pageY||N.pageY;var O=Math.max(0,Math.min(K-y.left,G));var M=Math.max(0,Math.min(J-y.top,I));if(B){D(N)}E.apply(z,[O,M,N])}}function u(K){var J=(K.which)?(K.which==3):(K.button==2);if(!J&&!H){if(v.apply(z,arguments)!==false){H=true;I=e(z).height();G=e(z).width();y=e(z).offset();e(F).bind(A);e(F.body).addClass("sp-dragging");x(K);D(K)}}}function C(){if(H){e(F).unbind(A);e(F.body).removeClass("sp-dragging");setTimeout(function(){w.apply(z,arguments)},0)}H=false}e(z).bind("touchstart mousedown",u)}function f(v,x,u){var w;return function(){var z=this,y=arguments;var A=function(){w=null;v.apply(z,y)};if(u){clearTimeout(w)}if(u||!w){w=setTimeout(A,x)}}}function k(){return e.fn.spectrum.inputTypeColorSupport()}var i="spectrum.id";e.fn.spectrum=function(x,u){if(typeof x=="string"){var w=this;var v=Array.prototype.slice.call(arguments,1);this.each(function(){var y=d[e(this).data(i)];if(y){var z=y[x];if(!z){throw new Error("Spectrum: no such method: '"+x+"'")}if(x=="get"){w=y.get()}else{if(x=="container"){w=y.container}else{if(x=="option"){w=y.option.apply(y,v)}else{if(x=="destroy"){y.destroy();e(this).removeData(i)}else{z.apply(y,v)}}}}}});return w}return this.spectrum("destroy").each(function(){var y=e.extend({},x,e(this).data());var z=r(this,y);e(this).data(i,z.id)})};e.fn.spectrum.load=true;e.fn.spectrum.loadOpts={};e.fn.spectrum.draggable=c;e.fn.spectrum.defaults=m;e.fn.spectrum.inputTypeColorSupport=function k(){if(typeof k._cachedResult==="undefined"){var u=e("<input type='color'/>")[0];k._cachedResult=u.type==="color"&&u.value!==""}return k._cachedResult};e.spectrum={};e.spectrum.localization={};e.spectrum.palettes={};e.fn.spectrum.processNativeColorInputs=function(){var u=e("input[type=color]");if(u.length&&!k()){u.spectrum({preferredFormat:"hex6"})}};(function(){var Y=/^[\s,#]+/,K=/\s+$/,ad=0,P=Math,T=P.round,ak=P.min,M=P.max,D=P.random;var af=function(an,ap){an=(an)?an:"";ap=ap||{};if(an instanceof af){return an}if(!(this instanceof af)){return new af(an,ap)}var ao=ac(an);this._originalInput=an,this._r=ao.r,this._g=ao.g,this._b=ao.b,this._a=ao.a,this._roundA=T(100*this._a)/100,this._format=ap.format||ao.format;this._gradientType=ap.gradientType;if(this._r<1){this._r=T(this._r)}if(this._g<1){this._g=T(this._g)}if(this._b<1){this._b=T(this._b)}this._ok=ao.ok;this._tc_id=ad++};af.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return !this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var an=this.toRgb();return(an.r*299+an.g*587+an.b*114)/1000},setAlpha:function(an){this._a=E(an);this._roundA=T(100*this._a)/100;return this},toHsv:function(){var an=B(this._r,this._g,this._b);return{h:an.h*360,s:an.s,v:an.v,a:this._a}},toHsvString:function(){var ao=B(this._r,this._g,this._b);var aq=T(ao.h*360),ap=T(ao.s*100),an=T(ao.v*100);return(this._a==1)?"hsv("+aq+", "+ap+"%, "+an+"%)":"hsva("+aq+", "+ap+"%, "+an+"%, "+this._roundA+")"},toHsl:function(){var an=G(this._r,this._g,this._b);return{h:an.h*360,s:an.s,l:an.l,a:this._a}},toHslString:function(){var ao=G(this._r,this._g,this._b);var aq=T(ao.h*360),ap=T(ao.s*100),an=T(ao.l*100);return(this._a==1)?"hsl("+aq+", "+ap+"%, "+an+"%)":"hsla("+aq+", "+ap+"%, "+an+"%, "+this._roundA+")"},toHex:function(an){return ab(this._r,this._g,this._b,an)},toHexString:function(an){return"#"+this.toHex(an)},toHex8:function(){return al(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:T(this._r),g:T(this._g),b:T(this._b),a:this._a}},toRgbString:function(){return(this._a==1)?"rgb("+T(this._r)+", "+T(this._g)+", "+T(this._b)+")":"rgba("+T(this._r)+", "+T(this._g)+", "+T(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:T(ag(this._r,255)*100)+"%",g:T(ag(this._g,255)*100)+"%",b:T(ag(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return(this._a==1)?"rgb("+T(ag(this._r,255)*100)+"%, "+T(ag(this._g,255)*100)+"%, "+T(ag(this._b,255)*100)+"%)":"rgba("+T(ag(this._r,255)*100)+"%, "+T(ag(this._g,255)*100)+"%, "+T(ag(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){if(this._a===0){return"transparent"}if(this._a<1){return false}return am[ab(this._r,this._g,this._b,true)]||false},toFilter:function(aq){var ar="#"+al(this._r,this._g,this._b,this._a);var ao=ar;var an=this._gradientType?"GradientType = 1, ":"";if(aq){var ap=af(aq);ao=ap.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+an+"startColorstr="+ar+",endColorstr="+ao+")"},toString:function(aq){var an=!!aq;aq=aq||this._format;var ap=false;var ao=this._a<1&&this._a>=0;var ar=!an&&ao&&(aq==="hex"||aq==="hex6"||aq==="hex3"||aq==="name");if(ar){if(aq==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(aq==="rgb"){ap=this.toRgbString()}if(aq==="prgb"){ap=this.toPercentageRgbString()}if(aq==="hex"||aq==="hex6"){ap=this.toHexString()}if(aq==="hex3"){ap=this.toHexString(true)}if(aq==="hex8"){ap=this.toHex8String()}if(aq==="name"){ap=this.toName()}if(aq==="hsl"){ap=this.toHslString()}if(aq==="hsv"){ap=this.toHsvString()}return ap||this.toHexString()},_applyModification:function(ap,ao){var an=ap.apply(null,[this].concat([].slice.call(ao)));this._r=an._r;this._g=an._g;this._b=an._b;this.setAlpha(an._a);return this},lighten:function(){return this._applyModification(J,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(I,arguments)},desaturate:function(){return this._applyModification(O,arguments)},saturate:function(){return this._applyModification(Z,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(ae,arguments)},_applyCombination:function(ao,an){return ao.apply(null,[this].concat([].slice.call(an)))},analogous:function(){return this._applyCombination(R,arguments)},complement:function(){return this._applyCombination(W,arguments)},monochromatic:function(){return this._applyCombination(L,arguments)},splitcomplement:function(){return this._applyCombination(U,arguments)},triad:function(){return this._applyCombination(z,arguments)},tetrad:function(){return this._applyCombination(aj,arguments)}};af.fromRatio=function(an,aq){if(typeof an=="object"){var ao={};for(var ap in an){if(an.hasOwnProperty(ap)){if(ap==="a"){ao[ap]=an[ap]}else{ao[ap]=H(an[ap])}}}an=ao}return af(an,aq)};function ac(ao){var ap={r:0,g:0,b:0};var an=1;var aq=false;var ar=false;if(typeof ao=="string"){ao=N(ao)}if(typeof ao=="object"){if(ao.hasOwnProperty("r")&&ao.hasOwnProperty("g")&&ao.hasOwnProperty("b")){ap=A(ao.r,ao.g,ao.b);aq=true;ar=String(ao.r).substr(-1)==="%"?"prgb":"rgb"}else{if(ao.hasOwnProperty("h")&&ao.hasOwnProperty("s")&&ao.hasOwnProperty("v")){ao.s=H(ao.s);ao.v=H(ao.v);ap=aa(ao.h,ao.s,ao.v);aq=true;ar="hsv"}else{if(ao.hasOwnProperty("h")&&ao.hasOwnProperty("s")&&ao.hasOwnProperty("l")){ao.s=H(ao.s);ao.l=H(ao.l);ap=S(ao.h,ao.s,ao.l);aq=true;ar="hsl"}}}if(ao.hasOwnProperty("a")){an=ao.a}}an=E(an);return{ok:aq,format:ao.format||ar,r:ak(255,M(ap.r,0)),g:ak(255,M(ap.g,0)),b:ak(255,M(ap.b,0)),a:an}}function A(ap,ao,an){return{r:ag(ap,255)*255,g:ag(ao,255)*255,b:ag(an,255)*255}}function G(an,ar,au){an=ag(an,255);ar=ag(ar,255);au=ag(au,255);var av=M(an,ar,au),ap=ak(an,ar,au);var aq,aw,ao=(av+ap)/2;if(av==ap){aq=aw=0}else{var at=av-ap;aw=ao>0.5?at/(2-av-ap):at/(av+ap);switch(av){case an:aq=(ar-au)/at+(ar<au?6:0);break;case ar:aq=(au-an)/at+2;break;case au:aq=(an-ar)/at+4;break}aq/=6}return{h:aq,s:aw,l:ao}}function S(at,aw,ar){var an,au,av;at=ag(at,360);aw=ag(aw,100);ar=ag(ar,100);function aq(az,ay,ax){if(ax<0){ax+=1}if(ax>1){ax-=1}if(ax<1/6){return az+(ay-az)*6*ax}if(ax<1/2){return ay}if(ax<2/3){return az+(ay-az)*(2/3-ax)*6}return az}if(aw===0){an=au=av=ar}else{var ao=ar<0.5?ar*(1+aw):ar+aw-ar*aw;var ap=2*ar-ao;an=aq(ap,ao,at+1/3);au=aq(ap,ao,at);av=aq(ap,ao,at-1/3)}return{r:an*255,g:au*255,b:av*255}}function B(an,aq,at){an=ag(an,255);aq=ag(aq,255);at=ag(at,255);var au=M(an,aq,at),ao=ak(an,aq,at);var ap,aw,av=au;var ar=au-ao;aw=au===0?0:ar/au;if(au==ao){ap=0}else{switch(au){case an:ap=(aq-at)/ar+(aq<at?6:0);break;case aq:ap=(at-an)/ar+2;break;case at:ap=(an-aq)/ar+4;break}ap/=6}return{h:ap,s:aw,v:av}}function aa(ar,az,ax){ar=ag(ar,360)*6;az=ag(az,100);ax=ag(ax,100);var aq=P.floor(ar),au=ar-aq,ap=ax*(1-az),ao=ax*(1-au*az),ay=ax*(1-(1-au)*az),aw=aq%6,an=[ax,ao,ap,ap,ay,ax][aw],at=[ay,ax,ax,ao,ap,ap][aw],av=[ap,ap,ay,ax,ax,ao][aw];return{r:an*255,g:at*255,b:av*255}}function ab(aq,ap,an,ar){var ao=[Q(T(aq).toString(16)),Q(T(ap).toString(16)),Q(T(an).toString(16))];if(ar&&ao[0].charAt(0)==ao[0].charAt(1)&&ao[1].charAt(0)==ao[1].charAt(1)&&ao[2].charAt(0)==ao[2].charAt(1)){return ao[0].charAt(0)+ao[1].charAt(0)+ao[2].charAt(0)}return ao.join("")}function al(ar,aq,an,ao){var ap=[Q(V(ao)),Q(T(ar).toString(16)),Q(T(aq).toString(16)),Q(T(an).toString(16))];return ap.join("")}af.equals=function(ao,an){if(!ao||!an){return false}return af(ao).toRgbString()==af(an).toRgbString()};af.random=function(){return af.fromRatio({r:D(),g:D(),b:D()})};function O(ao,ap){ap=(ap===0)?0:(ap||10);var an=af(ao).toHsl();an.s-=ap/100;an.s=u(an.s);return af(an)}function Z(ao,ap){ap=(ap===0)?0:(ap||10);var an=af(ao).toHsl();an.s+=ap/100;an.s=u(an.s);return af(an)}function y(an){return af(an).desaturate(100)}function J(ao,ap){ap=(ap===0)?0:(ap||10);var an=af(ao).toHsl();an.l+=ap/100;an.l=u(an.l);return af(an)}function v(an,ap){ap=(ap===0)?0:(ap||10);var ao=af(an).toRgb();ao.r=M(0,ak(255,ao.r-T(255*-(ap/100))));ao.g=M(0,ak(255,ao.g-T(255*-(ap/100))));ao.b=M(0,ak(255,ao.b-T(255*-(ap/100))));return af(ao)}function I(ao,ap){ap=(ap===0)?0:(ap||10);var an=af(ao).toHsl();an.l-=ap/100;an.l=u(an.l);return af(an)}function ae(ap,aq){var ao=af(ap).toHsl();var an=(T(ao.h)+aq)%360;ao.h=an<0?360+an:an;return af(ao)}function W(ao){var an=af(ao).toHsl();an.h=(an.h+180)%360;return af(an)}function z(ao){var an=af(ao).toHsl();var ap=an.h;return[af(ao),af({h:(ap+120)%360,s:an.s,l:an.l}),af({h:(ap+240)%360,s:an.s,l:an.l})]}function aj(ao){var an=af(ao).toHsl();var ap=an.h;return[af(ao),af({h:(ap+90)%360,s:an.s,l:an.l}),af({h:(ap+180)%360,s:an.s,l:an.l}),af({h:(ap+270)%360,s:an.s,l:an.l})]}function U(ao){var an=af(ao).toHsl();var ap=an.h;return[af(ao),af({h:(ap+72)%360,s:an.s,l:an.l}),af({h:(ap+216)%360,s:an.s,l:an.l})]}function R(ao,ar,at){ar=ar||6;at=at||30;var an=af(ao).toHsl();var aq=360/at;var ap=[af(ao)];for(an.h=((an.h-(aq*ar>>1))+720)%360;--ar;){an.h=(an.h+aq)%360;ap.push(af(an))}return ap}function L(ap,at){at=at||6;var ar=af(ap).toHsv();var av=ar.h,au=ar.s,ao=ar.v;var aq=[];var an=1/at;while(at--){aq.push(af({h:av,s:au,v:ao}));ao=(ao+an)%1}return aq}af.mix=function(ay,ax,au){au=(au===0)?0:(au||50);var ar=af(ay).toRgb();var ap=af(ax).toRgb();var an=au/100;var aw=an*2-1;var av=ap.a-ar.a;var at;if(aw*av==-1){at=aw}else{at=(aw+av)/(1+aw*av)}at=(at+1)/2;var aq=1-at;var ao={r:ap.r*at+ar.r*aq,g:ap.g*at+ar.g*aq,b:ap.b*at+ar.b*aq,a:ap.a*an+ar.a*(1-an)};return af(ao)};af.readability=function(aw,av){var ar=af(aw);var ap=af(av);var aq=ar.toRgb();var ao=ap.toRgb();var at=ar.getBrightness();var an=ap.getBrightness();var au=(Math.max(aq.r,ao.r)-Math.min(aq.r,ao.r)+Math.max(aq.g,ao.g)-Math.min(aq.g,ao.g)+Math.max(aq.b,ao.b)-Math.min(aq.b,ao.b));return{brightness:Math.abs(at-an),color:au}};af.isReadable=function(ao,an){var ap=af.readability(ao,an);return ap.brightness>125&&ap.color>500};af.mostReadable=function(av,au){var aq=null;var ao=0;var aw=false;for(var at=0;at<au.length;at++){var ap=af.readability(av,au[at]);var ar=ap.brightness>125&&ap.color>500;var an=3*(ap.brightness/125)+(ap.color/500);if((ar&&!aw)||(ar&&aw&&an>ao)||((!ar)&&(!aw)&&an>ao)){aw=ar;ao=an;aq=af(au[at])}}return aq};var ah=af.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var am=af.hexNames=ai(ah);function ai(ap){var ao={};for(var an in ap){if(ap.hasOwnProperty(an)){ao[ap[an]]=an}}return ao}function E(an){an=parseFloat(an);if(isNaN(an)||an<0||an>1){an=1}return an}function ag(ap,an){if(X(ap)){ap="100%"}var ao=F(ap);ap=ak(an,M(0,parseFloat(ap)));if(ao){ap=parseInt(ap*an,10)/100}if((P.abs(ap-an)<0.000001)){return 1}return(ap%an)/parseFloat(an)}function u(an){return ak(1,M(0,an))}function w(an){return parseInt(an,16)}function X(an){return typeof an=="string"&&an.indexOf(".")!=-1&&parseFloat(an)===1}function F(an){return typeof an==="string"&&an.indexOf("%")!=-1}function Q(an){return an.length==1?"0"+an:""+an}function H(an){if(an<=1){an=(an*100)+"%"}return an}function V(an){return Math.round(parseFloat(an)*255).toString(16)}function C(an){return(w(an)/255)}var x=(function(){var ar="[-\\+]?\\d+%?";var aq="[-\\+]?\\d*\\.\\d+%?";var an="(?:"+aq+")|(?:"+ar+")";var ap="[\\s|\\(]+("+an+")[,|\\s]+("+an+")[,|\\s]+("+an+")\\s*\\)?";var ao="[\\s|\\(]+("+an+")[,|\\s]+("+an+")[,|\\s]+("+an+")[,|\\s]+("+an+")\\s*\\)?";return{rgb:new RegExp("rgb"+ap),rgba:new RegExp("rgba"+ao),hsl:new RegExp("hsl"+ap),hsla:new RegExp("hsla"+ao),hsv:new RegExp("hsv"+ap),hsva:new RegExp("hsva"+ao),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function N(ao){ao=ao.replace(Y,"").replace(K,"").toLowerCase();var an=false;if(ah[ao]){ao=ah[ao];an=true}else{if(ao=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}}var ap;if((ap=x.rgb.exec(ao))){return{r:ap[1],g:ap[2],b:ap[3]}}if((ap=x.rgba.exec(ao))){return{r:ap[1],g:ap[2],b:ap[3],a:ap[4]}}if((ap=x.hsl.exec(ao))){return{h:ap[1],s:ap[2],l:ap[3]}}if((ap=x.hsla.exec(ao))){return{h:ap[1],s:ap[2],l:ap[3],a:ap[4]}}if((ap=x.hsv.exec(ao))){return{h:ap[1],s:ap[2],v:ap[3]}}if((ap=x.hsva.exec(ao))){return{h:ap[1],s:ap[2],v:ap[3],a:ap[4]}}if((ap=x.hex8.exec(ao))){return{a:C(ap[1]),r:w(ap[2]),g:w(ap[3]),b:w(ap[4]),format:an?"name":"hex8"}}if((ap=x.hex6.exec(ao))){return{r:w(ap[1]),g:w(ap[2]),b:w(ap[3]),format:an?"name":"hex"}}if((ap=x.hex3.exec(ao))){return{r:w(ap[1]+""+ap[1]),g:w(ap[2]+""+ap[2]),b:w(ap[3]+""+ap[3]),format:an?"name":"hex"}}return false}window.tinycolor=af})();e(function(){if(e.fn.spectrum.load){e.fn.spectrum.processNativeColorInputs()}})});function shadeColor(a,f){var e=parseInt(a.substring(1,3),16);var d=parseInt(a.substring(3,5),16);var h=parseInt(a.substring(5,7),16);e=parseInt(e*(100+f)/100);d=parseInt(d*(100+f)/100);h=parseInt(h*(100+f)/100);e=(e<255)?e:255;d=(d<255)?d:255;h=(h<255)?h:255;var c=((e.toString(16).length==1)?"0"+e.toString(16):e.toString(16));var b=((d.toString(16).length==1)?"0"+d.toString(16):d.toString(16));var g=((h.toString(16).length==1)?"0"+h.toString(16):h.toString(16));return"#"+c+b+g}jQuery(function(){var h=function(){jQuery(".svs_pt_edit").steps({headerTag:"h3",bodyTag:"section",transitionEffect:"slideLeft",autoFocus:true,onStepChanging:function(k,i,j){if(i===0){jQuery(".svs_price_plan .icon-settings").unbind("click");jQuery('link[rel=stylesheet][href^="'+SVSPricingTables.plugin_url+'templates/"]').remove();jQuery("<link>").appendTo("head").attr({type:"text/css",rel:"stylesheet"}).attr("href",SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+"/svs_"+jQuery(".svs_pt_edit_design_options").val()+".css");jQuery.getScript(SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+"/svs_"+jQuery(".svs_pt_edit_design_options").val()+".js",function(){jQuery(".svs_pt_column_size select").val(jQuery(".svs_price_plan").css("width"))});try{jQuery(".svs_price_plan img").attr("src",jQuery(".svs_price_plan img").attr("src").replace(/t[0-9]{2}/,jQuery(".svs_pt_edit_design_options").val()))}catch(l){}}return true},onFinishing:function(){var j=jQuery("#svs_price_plans")[0].outerHTML;var i=prompt("Pricing Table Name",SVSPricingTables.name||"New Pricing Table");if(i!=null){jQuery(".svs_new_plan").remove();jQuery(".svs_icon").remove();jQuery(".svs_pt_editable_text").removeAttr("title");jQuery.ajax("admin.php?page=svs_pricing_tables&Action=pricingTableSave",{data:{name:i,template:jQuery(".svs_pt_edit_design_options").val(),htmlAdmin:jQuery.base64.encode(j),html:jQuery.base64.encode(jQuery("#svs_price_plans")[0].outerHTML),ID:SVSPricingTables.ID},method:"POST",complete:function(){jQuery(".svs_pt_wrapper").unmask();window.location.href="admin.php?page=svs_pricing_tables"}});jQuery(".svs_pt_wrapper").mask("Saving ...")}return true}})};var c=function(){jQuery(".svs_pt_edit_design_options").imagepicker()};var a=function(){jQuery(".svs_pt_builder_options_available ol").sortable({handle:"i.icon-move",group:"svs_builder",drop:false,onDragStart:function(j,i,k){if(!i.options.drop){j.clone().insertAfter(j)}k(j,i)},onDrop:function(j,i,l,k){d();f();l(j,i)}})};var g=function(){jQuery(".svs_pt_builder_workarea ol").sortable({handle:"i.icon-move",group:"svs_builder"});jQuery("ol.svs_new_plan").sortable("disable");jQuery(".svs_price_plan .icon-featured").unbind("click").bind("click",function(){jQuery(this).parent().toggleClass("svs_price_plan_featured");jQuery(".svs_price_plan").not(jQuery(this).closest(".svs_price_plan")).removeClass("svs_price_plan_featured")});jQuery(".svs_button .icon-link").unbind("click").bind("click",function(){var i=prompt("Redirection link","http://");if(i!=null){jQuery(this).next().attr("href",i)}});jQuery(".svs_pt_column_size select").change(function(){jQuery(".svs_price_plan").css("width",jQuery(".svs_pt_column_size select").val())});f();e()};var d=function(){jQuery(".svs_pt_builder_workarea .svs_pt_editable_text").editable(function(i){return i},{cancel:"Cancel",submit:"OK",tooltip:"Click to edit..."});jQuery(".svs_pt_builder_workarea .svs_pt_editable_text").click(function(){jQuery(".svs_pt_builder_workarea .svs_pt_editable_text input").select()});jQuery(".svs_pt_builder_workarea .svs_pt_editable_yes_no").editable(function(i){return i},{cancel:"Cancel",submit:"OK",tooltip:"Click to edit...",type:"select",data:function(){var i={};i['<img src="'+SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+'/images/yes.png"/>']="Yes";i['<img src="'+SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+'/images/no.png"/>']="No";return i}});jQuery(".svs_pt_builder_workarea .svs_pt_editable_yes_no").html('<img src="'+SVSPricingTables.plugin_url+"templates/"+jQuery(".svs_pt_edit_design_options").val()+'/images/yes.png"/>')};var f=function(){jQuery(".svs_price_plan .icon-trash-option").unbind("click").bind("click",function(){jQuery(this).closest("li").remove()})};var e=function(){jQuery(".svs_price_plan .icon-trash-plan").unbind("click").bind("click",function(){if(confirm("Are you sure?")){jQuery(this).closest(".svs_price_plan").remove()}})};var b=function(){jQuery(".svs_new_plan").unbind("click").bind("click",function(){if(jQuery(".svs_price_plan").size()>2){alert("Free version limited to 3 columns!");return false}jQuery(".svs_price_plan").first().clone().insertBefore(jQuery(this));g();d();f();e()})};h();c();a();g();d();b()}); -
svs-pricing-tables/trunk/readme.txt
r1228028 r1233972 115 115 116 116 == Changelog == 117 = 1.0 = 117 = 1.0.1 = 118 * Added 2 more designs 119 * Bug fixing on pricing table edit 120 121 = 1.0.0 = 118 122 * Initial Release. -
svs-pricing-tables/trunk/svs-pricing-tables-main.php
r1228028 r1233972 5 5 Description: Pricing tables made easy. 6 6 Author: SVS WebSoft 7 Version: 1.0. 07 Version: 1.0.1 8 8 Author URI: http://svs-websoft.com 9 9 */ -
svs-pricing-tables/trunk/templates/t01/svs_t01.css
r1228028 r1233972 1 .svs_price_plan{width:300px;border-radius:7px;float:left;padding:0;background-color:#fff;overflow:hidden}.svs_price_plan:hover .svs_price .icon-move{color:#fff}.svs_price_plan:hover .icon-settings{display:none}.svs_price_plan:hover .icon-featured{right:5px}.svs_price_plan:hover .icon-trash-plan{right:20px}.svs_price_plan .svs_title{text-align:center;margin:0; height:90px;background-color:#fff}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;font-family:'Open Sans',sans-serif;font-size:2.125em;line-height:50px}.svs_price_plan:hover .svs_title h2{display:inline-block;font-family:'Open Sans',sans-serif;font-size:2.2em;text-align:center}.svs_price_plan .svs_price{background-clip:border-box;background-color:rgba(0,0,0,0);background-image:-webkit-linear-gradient(top,#475975,#364761);background:-moz-linear-gradient(center top,#475975,#364761) repeat scroll 0 0 rgba(0,0,0,0);text-align:center}.svs_price_plan .svs_price p{font-family:'Open Sans',sans-serif;font-size:1.2em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#fff}.svs_price_plan .svs_price span:nth-of-type(2){color:#8394ae}.svs_price_plan:hover .svs_price p{display:inline-block}.svs_price_plan .svs_option_value{background-color:#fff;text-align:center}.svs_price_plan .svs_option_value p{font-family:'Open Sans',sans-serif;font-size:1em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#364762}.svs_price_plan .svs_option_value span:nth-of-type(2){color:#979797}.svs_price_plan:hover .svs_option_value p{display:inline-block}.svs_price_plan .svs_option_yes_no{background-color:#fff;text-align:center}.svs_price_plan .svs_option_yes_no p{font-family:'Open Sans',sans-serif;font-size:1em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#364762}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#979797}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{background-color:#fff;text-align:center;padding:0}.svs_price_plan .svs_button a{text-transform:uppercase;text-decoration:none;color:#3e4f6a;font-weight:700;letter-spacing:3px;line-height:2.8em;border:2px solid #3e4f6a;display:inline-block;width:80%;height:2.8em;border-radius:4px;margin:1.5em 0 1.8em}.svs_price_plan .svs_button a:hover{color:#fff;background-color:#3e4f6a}.svs_price_plan_featured .svs_title{text-align:center;margin:0;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:-webkit-linear-gradient(top,#475975,#364761);background:-moz-linear-gradient(center top,#475975,#364761) repeat scroll 0 0 rgba(0,0,0,0);height:90px}.svs_price_plan_featured .svs_title h2{display:inline-block;text-align:center;font-family:'Open Sans',sans-serif;font-size:2.125em;background:0;color:#fff;line-height:50px}.svs_price_plan_featured:hover .svs_title h2{display:inline-block;font-family:'Open Sans',sans-serif;font-size:2.2em;text-align:center}.svs_price_plan_featured .svs_price{background:#f7814d;text-align:center}.svs_price_plan_featured .svs_price p{font-family:'Open Sans',sans-serif;font-size:1.2em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#fff}.svs_price_plan_featured .svs_price span:nth-of-type(2){color:#fff}.svs_price_plan_featured:hover .svs_price p{display:inline-block}.svs_price_plan_featured .svs_button{background:0;text-align:center;padding:0}.svs_price_plan_featured .svs_button a{text-transform:uppercase;text-decoration:none;font-weight:700;letter-spacing:3px;line-height:2.8em;color:#fff;background:#f7814d;border:2px solid #f7814d;display:inline-block;width:80%;height:2.8em;border-radius:4px;margin:1.5em 0 1.8em}.svs_price_plan_featured .svs_button a:hover{color:#fff;background-color:#3e4f6a}1 .svs_price_plan{width:300px;border-radius:7px;float:left;padding:0;background-color:#fff;overflow:hidden}.svs_price_plan:hover .svs_price .icon-move{color:#fff}.svs_price_plan:hover .icon-settings{display:none}.svs_price_plan:hover .icon-featured{right:5px}.svs_price_plan:hover .icon-trash-plan{right:20px}.svs_price_plan .svs_title{text-align:center;margin:0;padding:0;height:90px;background-color:#fff}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;font-family:'Open Sans',sans-serif;font-size:2.125em;line-height:90px;margin:0}.svs_price_plan:hover .svs_title h2{display:inline-block;font-family:'Open Sans',sans-serif;font-size:2.2em;text-align:center}.svs_price_plan .svs_price{background-clip:border-box;background-color:rgba(0,0,0,0);background-image:-webkit-linear-gradient(top,#475975,#364761);background:-moz-linear-gradient(center top,#475975,#364761) repeat scroll 0 0 rgba(0,0,0,0);text-align:center}.svs_price_plan .svs_price p{font-family:'Open Sans',sans-serif;font-size:1.2em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#fff}.svs_price_plan .svs_price span:nth-of-type(2){color:#8394ae}.svs_price_plan:hover .svs_price p{display:inline-block}.svs_price_plan .svs_option_value{background-color:#fff;text-align:center}.svs_price_plan .svs_option_value p{font-family:'Open Sans',sans-serif;font-size:1em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#364762}.svs_price_plan .svs_option_value span:nth-of-type(2){color:#979797}.svs_price_plan:hover .svs_option_value p{display:inline-block}.svs_price_plan .svs_option_yes_no{background-color:#fff;text-align:center}.svs_price_plan .svs_option_yes_no p{font-family:'Open Sans',sans-serif;font-size:1em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#364762}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#979797}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_pt_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{background-color:#fff;text-align:center;padding:0}.svs_price_plan .svs_button a{text-transform:uppercase;text-decoration:none;color:#3e4f6a;font-weight:700;letter-spacing:3px;line-height:2.8em;border:2px solid #3e4f6a;display:inline-block;width:80%;height:2.8em;border-radius:4px;margin:1.5em 0 1.8em}.svs_price_plan .svs_button a:hover{color:#fff;background-color:#3e4f6a}.svs_price_plan_featured .svs_title{text-align:center;margin:0;padding:0;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:-webkit-linear-gradient(top,#475975,#364761);background:-moz-linear-gradient(center top,#475975,#364761) repeat scroll 0 0 rgba(0,0,0,0);height:90px}.svs_price_plan_featured .svs_title h2{display:inline-block;text-align:center;font-family:'Open Sans',sans-serif;font-size:2.125em;background:0;color:#fff;line-height:90px;margin:0}.svs_price_plan_featured:hover .svs_title h2{display:inline-block;font-family:'Open Sans',sans-serif;font-size:2.2em;text-align:center}.svs_price_plan_featured .svs_price{background:#f7814d;text-align:center}.svs_price_plan_featured .svs_price p{font-family:'Open Sans',sans-serif;font-size:1.2em;font-weight:bold;text-align:center;line-height:30px;height:30px;text-shadow:rgba(0,0,0,0.00392157) 1px 1px 1px;display:inline-block;color:#fff}.svs_price_plan_featured .svs_price span:nth-of-type(2){color:#fff}.svs_price_plan_featured:hover .svs_price p{display:inline-block}.svs_price_plan_featured .svs_button{background:0;text-align:center;padding:0}.svs_price_plan_featured .svs_button a{text-transform:uppercase;text-decoration:none;font-weight:700;letter-spacing:3px;line-height:2.8em;color:#fff;background:#f7814d;border:2px solid #f7814d;display:inline-block;width:80%;height:2.8em;border-radius:4px;margin:1.5em 0 1.8em}.svs_price_plan_featured .svs_button a:hover{color:#fff;background-color:#3e4f6a} -
svs-pricing-tables/trunk/templates/t02/svs_t02.css
r1228028 r1233972 1 .svs_price_plan{width:300px;min-height:200px;background-color:#fff;padding:0;font-family:arial,sans-serif}.svs_price_plan .svs_title{text-align:center;margin:0; height:90px;background-color:#bd7;position:absolute;top:0;left:0;height:100%;width:35px;overflow:hidden}.svs_price_plan .svs_title .icon-trash-option{top:0;left:30px}.svs_price_plan:hover .svs_title{overflow:visible}.svs_price_plan .svs_title h2{display:inline-block;font-family:monospace;text-align:center;font-size:30px;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:bold;line-height:34px;color:#fff;word-wrap:break-word;width:35px;padding:0 4px 0 4px;letter-spacing:10px}.svs_price_plan:hover .svs_title h2{font-size:31px}.svs_price_plan .svs_price{text-align:center;margin-left:30px}.svs_price_plan .svs_price p{display:inline-block;font-size:32px;font-weight:bold;line-height:50px;color:#525252}.svs_price_plan .svs_price span:nth-of-type(2){display:none !important}.svs_price_plan:hover .svs_price p{display:inline-block}.svs_option_value,.svs_option_value i,.svs_option_value p{pointer-events:none;color:grey !important}.svs_price_plan .svs_option_value{display:none}.svs_price_plan .svs_option_yes_no{text-align:left;margin-bottom:0;margin-left:30px}.svs_price_plan li.svs_option_yes_no:nth-of-type(odd){background-color:#fff}.svs_price_plan li.svs_option_yes_no:nth-of-type(even){background-color:#eee}.svs_price_plan .svs_option_yes_no p{font-size:1em;font-size:15px;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;height:25px;line-height:22px;display:inline-block;color:#525252;margin-top:0}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#525252}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{text-align:center;padding:0;cursor:pointer;margin-left:30px}.svs_price_plan .svs_button a{text-decoration:none;background-clip:border-box;background-color:#bd7;background-image:none;background-origin:padding-box;background-size:auto;color:#fff;font-weight:700;letter-spacing:3px;line-height:2.8em;display:inline-block;width:80%;height:2.8em;border-radius:4px;margin:1.5em 0 1.8em}.svs_price_plan .svs_button a:hover{color:#fff;opacity:.9}.svs_price_plan_featured{box-shadow:#000 0 0 32px 0}1 .svs_price_plan{width:300px;min-height:200px;background-color:#fff;padding:0;font-family:arial,sans-serif}.svs_price_plan .svs_title{text-align:center;margin:0;background-color:#bd7;position:absolute;top:0;left:0;height:100%;width:35px;overflow:hidden;padding:0}.svs_price_plan .svs_title .icon-trash-option{top:0;left:30px}.svs_price_plan:hover .svs_title{overflow:visible}.svs_price_plan .svs_title h2{display:inline-block;font-family:monospace;text-align:center;font-size:30px;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:bold;line-height:34px;color:#fff;word-wrap:break-word;width:35px;padding:0 4px 0 4px;letter-spacing:10px}.svs_price_plan:hover .svs_title h2{font-size:31px}.svs_price_plan .svs_price{text-align:center;margin-left:30px;padding-bottom:0;margin-bottom:0}.svs_price_plan .svs_price p{display:inline-block;font-size:32px;font-weight:bold;height:60px;line-height:60px;color:#525252;margin:0}.svs_price_plan .svs_price span:nth-of-type(2){display:none !important}.svs_price_plan:hover .svs_price p{display:inline-block}.svs_option_value,.svs_option_value i,.svs_option_value p{pointer-events:none;color:grey !important}.svs_price_plan .svs_option_value{display:none}.svs_price_plan .svs_option_yes_no{text-align:left;margin-bottom:0;margin-left:30px}.svs_price_plan li.svs_option_yes_no:nth-of-type(odd){background-color:#fff}.svs_price_plan li.svs_option_yes_no:nth-of-type(even){background-color:#eee}.svs_price_plan .svs_option_yes_no p{font-size:1em;font-size:15px;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;height:25px;line-height:22px;display:inline-block;color:#525252;margin-top:0}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#525252}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{text-align:center;padding:0;cursor:pointer;margin-left:30px}.svs_price_plan .svs_button a{text-decoration:none;background-clip:border-box;background-color:#bd7;background-image:none;background-origin:padding-box;background-size:auto;color:#fff;font-weight:700;letter-spacing:3px;line-height:2.8em;display:inline-block;width:80%;height:2.8em;border-radius:4px;margin:1.5em 0 1.8em}.svs_price_plan .svs_button a:hover{color:#fff;opacity:.9}.svs_price_plan_featured{box-shadow:#000 0 0 32px 0} -
svs-pricing-tables/trunk/templates/t02/svs_t02.js
r1228028 r1233972 1 jQuery("body").on("click", ".svs_price_plan .icon-settings", function () { 2 jQuery.modal("<input class='spectrum'>"); 3 jQuery('#simplemodal-container').css('width', 'auto'); 4 jQuery('#simplemodal-container').css('top',jQuery(this).offset().top); 5 jQuery('#simplemodal-container').css('left',jQuery(this).offset().left); 6 jQuery('#simplemodal-overlay').unbind('click').bind('click', function(){ 7 jQuery.modal.close() 8 }) 9 var selectedPlan = jQuery(this).parent(); 10 jQuery('.spectrum').spectrum({ 11 color: jQuery(selectedPlan).find(".svs_title").css('background-color'), 12 change: function(color) { 13 jQuery.modal.close() 14 jQuery(selectedPlan).find(".svs_title").css('background-color', color.toHexString()); 15 jQuery(selectedPlan).find(".svs_button a").css('background-color', color.toHexString()); 16 } 17 }); 18 }); 1 jQuery("body").on("click",".svs_price_plan .icon-settings",function(){jQuery.modal("<input class='spectrum'>");jQuery("#simplemodal-container").css("width","auto");jQuery("#simplemodal-container").css("top",jQuery(this).offset().top);jQuery("#simplemodal-container").css("left",jQuery(this).offset().left);jQuery("#simplemodal-overlay").unbind("click").bind("click",function(){jQuery.modal.close()});var a=jQuery(this).parent();jQuery(".spectrum").spectrum({color:jQuery(a).find(".svs_title").css("background-color"),change:function(b){jQuery.modal.close();jQuery(a).find(".svs_title").css("background-color",b.toHexString());jQuery(a).find(".svs_button a").css("background-color",b.toHexString())}})});jQuery("body").on("click","a[href='#previous']",function(){jQuery(".svs_title").removeAttr("style");jQuery(".svs_button a").removeAttr("style");jQuery("body").off("click","a[href='#previous']")}); -
svs-pricing-tables/trunk/templates/t03/svs_t03.css
r1228028 r1233972 1 .svs_price_plan{width:300px;float:left;padding:0;background-color:#2b2937;overflow:hidden}.svs_price_plan .svs_title{text-align:center;margin:0;border-radius:5px 5px 0 0;background-color:#eac80d;height:62px;border-bottom:3px solid #bfa30c}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;font-family:'Open Sans';font-weight:800;font-size:29px;text-transform:uppercase;color:white; text-align:center}.svs_price_plan .svs_price{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:center;border-bottom-color:#494a5a;border-bottom-style:solid;border-bottom-width:1px}.svs_price_plan .svs_price span:nth-of-type(1){font-family:'Open Sans',sans-serif;font-size:80px;font-weight:bold;text-align:center;display:inline-block;color:#fff}.svs_price_plan .svs_price span:nth-of-type(2){color:#8394ae;display:block;margin-top:-20px}.svs_price_plan:hover .svs_price p{display:inline-block}.svs_price_plan .svs_option_value{text-align:center;border-bottom-color:#494a5a;border-bottom-style:solid;border-bottom-width:1px}.svs_price_plan .svs_option_value p{font-family:'Open Sans';font-size:15px;text-align:center;line-height:25px;height:30px;display:inline-block;color:#9095aa}.svs_price_plan .svs_option_value span:nth-of-type(2){display:none}.svs_price_plan:hover .svs_option_value p{display:inline-block}.svs_price_plan .svs_option_yes_no{text-align:center;border-bottom-color:#494a5a;border-bottom-style:solid;border-bottom-width:1px}.svs_price_plan .svs_option_yes_no p{font-family:'Open Sans';font-size:15px;text-align:center;line-height:25px;height:30px;display:inline-block;color:#9095aa}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#979797}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{text-align:center;padding:0 0 10px 0}.svs_price_plan .svs_button a{text-decoration:none;color:#fff;font-size:18px;letter-spacing:3px;line-height:2.8em;display:inline-block;width:100%;height:2.8em;border-radius:4px;padding:10px 0 10px 0}.svs_price_plan .svs_button a:hover{color:#fff}.svs_price_plan:hover .svs_button .icon-link{color:#fff}.svs_price_plan:hover .icon-featured{display:none}.svs_price_plan:hover .icon-trash-plan{right:20px}1 .svs_price_plan{width:300px;float:left;padding:0;background-color:#2b2937;overflow:hidden}.svs_price_plan .svs_title{text-align:center;margin:0;border-radius:5px 5px 0 0;background-color:#eac80d;height:62px;border-bottom:3px solid #bfa30c}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;font-family:'Open Sans';font-weight:800;font-size:29px;text-transform:uppercase;color:white;height:75px;line-height:70px;margin:0 auto}.svs_price_plan .svs_price{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:center;border-bottom-color:#494a5a;border-bottom-style:solid;border-bottom-width:1px;height:100px}.svs_price_plan .svs_price span:nth-of-type(1){font-family:'Open Sans',sans-serif;font-size:80px;font-weight:bold;text-align:center;display:inline-block;color:#fff;line-height:80px}.svs_price_plan .svs_price span:nth-of-type(2){color:#8394ae;display:block}.svs_price_plan:hover .svs_price p{display:inline-block}.svs_price_plan .svs_option_value{text-align:center;border-bottom-color:#494a5a;border-bottom-style:solid;border-bottom-width:1px}.svs_price_plan .svs_option_value p{font-family:'Open Sans';font-size:15px;text-align:center;line-height:25px;height:30px;display:inline-block;color:#9095aa}.svs_price_plan .svs_option_value span:nth-of-type(2){display:none}.svs_price_plan:hover .svs_option_value p{display:inline-block}.svs_price_plan .svs_option_yes_no{text-align:center;border-bottom-color:#494a5a;border-bottom-style:solid;border-bottom-width:1px;margin:0}.svs_price_plan .svs_option_yes_no p{font-family:'Open Sans';font-size:15px;text-align:center;line-height:25px;display:inline-block;color:#9095aa}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#979797}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{text-align:center;padding:0 0 10px 0}.svs_price_plan .svs_button a{text-decoration:none;color:#fff;font-size:18px;letter-spacing:3px;line-height:2.8em;display:inline-block;width:100%;height:2.8em;border-radius:4px;padding:10px 0 10px 0}.svs_price_plan .svs_button a:hover{color:#fff}.svs_price_plan:hover .svs_button .icon-link{color:#fff}.svs_price_plan:hover .icon-featured{display:none}.svs_price_plan:hover .icon-trash-plan{right:20px} -
svs-pricing-tables/trunk/templates/t03/svs_t03.js
r1228028 r1233972 1 jQuery("body").on("click", ".svs_price_plan .icon-settings", function () { 2 jQuery.modal("<input class='spectrum'>"); 3 jQuery('#simplemodal-container').css('width', 'auto'); 4 jQuery('#simplemodal-container').css('top',jQuery(this).offset().top); 5 jQuery('#simplemodal-container').css('left',jQuery(this).offset().left); 6 jQuery('#simplemodal-overlay').unbind('click').bind('click', function(){ 7 jQuery.modal.close() 8 }) 9 var selectedPlan = jQuery(this).parent(); 10 jQuery('.spectrum').spectrum({ 11 color: jQuery(selectedPlan).find(".svs_title").css('background-color'), 12 change: function(color) { 13 jQuery.modal.close() 14 jQuery(selectedPlan).find(".svs_title").css('background-color', color.toHexString()); 15 jQuery(selectedPlan).find(".svs_title").css('border-bottom', '3px solid ' + shadeColor(color.toHexString(), -40)); 16 } 17 }); 18 }); 1 jQuery("body").on("click",".svs_price_plan .icon-settings",function(){jQuery.modal("<input class='spectrum'>");jQuery("#simplemodal-container").css("width","auto");jQuery("#simplemodal-container").css("top",jQuery(this).offset().top);jQuery("#simplemodal-container").css("left",jQuery(this).offset().left);jQuery("#simplemodal-overlay").unbind("click").bind("click",function(){jQuery.modal.close()});var a=jQuery(this).parent();jQuery(".spectrum").spectrum({color:jQuery(a).find(".svs_title").css("background-color"),change:function(b){jQuery.modal.close();jQuery(a).find(".svs_title").css("background-color",b.toHexString());jQuery(a).find(".svs_title").css("border-bottom","3px solid "+shadeColor(b.toHexString(),-40))}})});jQuery("body").on("click","a[href='#previous']",function(){jQuery(".svs_title").removeAttr("style");jQuery("body").off("click","a[href='#previous']")}); -
svs-pricing-tables/trunk/templates/t04/svs_t04.css
r1228028 r1233972 1 .svs_price_plan{width:250px;float:left;padding:0;background-color:#fff;overflow:hidden;box-shadow:0 0 3px #26292e;margin: 0;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.svs_price_plan .svs_title{text-align:center;margin:0;background-color:#586272;background:#65707f;background:-moz-linear-gradient(top,#65707f 0,#4a5564 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#65707f),color-stop(100%,#4a5564));background:-webkit-linear-gradient(top,#65707f 0,#4a5564 100%);background:-o-linear-gradient(top,#65707f 0,#4a5564 100%);background:-ms-linear-gradient(top,#65707f 0,#4a5564 100%);background:linear-gradient(to bottom,#65707f 0,#4a5564 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#65707f',endColorstr='#4a5564',GradientType=0);border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;font-family:Arial,Helvetica,sans-serif;font-weight:bold;font-size:14px;text-transform:uppercase;color:white;text-align:center}.svs_price_plan .svs_price{background-clip:border-box;background-color:#f5f7f8;text-align:center;color:#5f6062;margin:0}.svs_price_plan .svs_price span:nth-of-type(1){font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:bold;text-align:center;display:inline-block;color:#5f6062;font-size:24px}.svs_price_plan .svs_price span:nth-of-type(2){color:#5f6062;text-transform:uppercase;display:block}.svs_price_plan:hover .svs_price p,.svs_price_plan .svs_price p{display:inline-block}.svs_price_plan .svs_option_value{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:left;padding-left:56px;height:49px;line-height:49px;margin:0;border-bottom-color:#efeff0;border-bottom-style:solid;border-bottom-width:1px;color:#5f6062}.svs_price_plan .svs_option_value p{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:bold;display:inline-block;color:#5f6062;margin:0}.svs_price_plan .svs_option_value span:nth-of-type(2){font-weight:normal}.svs_price_plan:hover .svs_option_value p{display:inline-block}.svs_price_plan .svs_option_yes_no{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:left;padding-left:56px;height:49px;margin:0;line-height:49px;border-bottom-color:#efeff0;border-bottom-style:solid;border-bottom-width:1px;color:#5f6062}.svs_price_plan .svs_option_yes_no p{font-family:Arial,Helvetica,sans-serif;font-size:15px;margin:0;display:inline-block;color:#5f6062}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#5f6062}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{text-align:center;padding:0 0 10px 0;background-color:#f5f7f8;margin:0}.svs_price_plan .svs_button a{font-family:Arial,Helvetica,sans-serif;text-decoration:none;background:#50b7e4;background:-moz-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#50b7e4),color-stop(100%,#3098c4));background:-webkit-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:-o-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:-ms-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:linear-gradient(to bottom,#50b7e4 0,#3098c4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#50b7e4',endColorstr='#3098c4',GradientType=0);background-color:#3ea6d2;border:1px solid #1481b0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;font-size:16px;line-height:16px;color:#fff;letter-spacing:3px;display:inline-block;width:60%;padding:10px 0 10px 0;margin:10px 0 0 0}.svs_price_plan .svs_button a:hover{color:#fff}.svs_price_plan:hover .svs_button .icon-link{color:#fff}.svs_price_plan_featured{-webkit-transform:scale(1.1,1.1);-moz-transform:scale(1.1,1.1);-ms-transform:scale(1.1,1.1);-o-transform:scale(1.1,1.1);transform:scale(1.1,1.1);margin:5px 20px !important}1 .svs_price_plan{width:250px;float:left;padding:0;background-color:#fff;overflow:hidden;box-shadow:0 0 3px #26292e;margin:14px;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.svs_price_plan:hover .svs_price .icon-move{color:#fff}.svs_price_plan:hover .icon-settings{display:none}.svs_price_plan:hover .icon-featured{right:5px}.svs_price_plan:hover .icon-trash-plan{right:20px}.svs_price_plan .svs_title{text-align:center;margin:0;background-color:#586272;background:#65707f;background:-moz-linear-gradient(top,#65707f 0,#4a5564 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#65707f),color-stop(100%,#4a5564));background:-webkit-linear-gradient(top,#65707f 0,#4a5564 100%);background:-o-linear-gradient(top,#65707f 0,#4a5564 100%);background:-ms-linear-gradient(top,#65707f 0,#4a5564 100%);background:linear-gradient(to bottom,#65707f 0,#4a5564 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#65707f',endColorstr='#4a5564',GradientType=0);border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;height:40px}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;font-family:Arial,Helvetica,sans-serif;font-weight:bold;font-size:14px;text-transform:uppercase;color:white;text-align:center;margin:0;line-height:40px}.svs_price_plan .svs_price{background-clip:border-box;background-color:#f5f7f8;text-align:center;color:#5f6062;margin:0;padding-top:5px}.svs_price_plan .svs_price span:nth-of-type(1){font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:bold;text-align:center;display:inline-block;color:#5f6062;font-size:24px}.svs_price_plan .svs_price span:nth-of-type(2){color:#5f6062;text-transform:uppercase;display:block}.svs_price_plan:hover .svs_price p,.svs_price_plan .svs_price p{display:inline-block}.svs_price_plan .svs_option_value{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:left;padding-left:56px;height:49px;line-height:49px;margin:0;border-bottom-color:#efeff0;border-bottom-style:solid;border-bottom-width:1px;color:#5f6062}.svs_price_plan .svs_option_value p{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:bold;display:inline-block;color:#5f6062;margin:0}.svs_price_plan .svs_option_value span:nth-of-type(2){font-weight:normal}.svs_price_plan:hover .svs_option_value p{display:inline-block}.svs_price_plan .svs_option_yes_no{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:left;padding-left:56px;height:49px;margin:0;line-height:49px;border-bottom-color:#efeff0;border-bottom-style:solid;border-bottom-width:1px;color:#5f6062}.svs_price_plan .svs_option_yes_no p{font-family:Arial,Helvetica,sans-serif;font-size:15px;margin:0;display:inline-block;color:#5f6062}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:#5f6062}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_pt_editable_yes_no img{vertical-align:middle}.svs_price_plan .svs_button{text-align:center;padding:0 0 10px 0;background-color:#f5f7f8;margin:0}.svs_price_plan .svs_button a{font-family:Arial,Helvetica,sans-serif;text-decoration:none;background:#50b7e4;background:-moz-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#50b7e4),color-stop(100%,#3098c4));background:-webkit-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:-o-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:-ms-linear-gradient(top,#50b7e4 0,#3098c4 100%);background:linear-gradient(to bottom,#50b7e4 0,#3098c4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#50b7e4',endColorstr='#3098c4',GradientType=0);background-color:#3ea6d2;border:1px solid #1481b0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;font-size:16px;line-height:16px;color:#fff;letter-spacing:3px;display:inline-block;width:60%;padding:10px 0 10px 0;margin:10px 0 0 0}.svs_price_plan .svs_button a:hover{color:#fff}.svs_price_plan:hover .svs_button .icon-link{color:#fff}.svs_price_plan_featured{-webkit-transform:scale(1.1,1.1);-moz-transform:scale(1.1,1.1);-ms-transform:scale(1.1,1.1);-o-transform:scale(1.1,1.1);transform:scale(1.1,1.1);z-index:999} -
svs-pricing-tables/trunk/templates/t05/svs_t05.css
r1228028 r1233972 1 .svs_price_plan{width:250px;float:left;padding:0;background-color:#fff;overflow:hidden;box-shadow:0 0 3px #26292e;margin: 0;font-family:Tahoma,Geneva,sans-serif}.svs_price_plan .svs_title{text-align:center;margin:0;background-color:#fff;border-bottom-color:#9ed929;border-bottom-style:solid;border-bottom-width:3px;height:68px;line-height:48px}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;color:#000;text-align:center;font-size:18px}.svs_price_plan .svs_price{background-clip:border-box;background-color:#fff;text-align:center;color:#5f6062;margin:0}.svs_price_plan .svs_price span:nth-of-type(1){font-family:Tahoma,Geneva,sans-serif;font-weight:bold;text-align:center;display:inline-block;font-size:22px;color:#000}.svs_price_plan .svs_price span:nth-of-type(2){color:#000;font-size:22px;font-weight:bold}.svs_price_plan:hover .svs_price p,.svs_price_plan .svs_price p{display:inline-block;margin:0;line-height:40px}.svs_option_value,.svs_option_value i,.svs_option_value p{pointer-events:none;color:grey !important}.svs_price_plan .svs_option_value{display:none}.svs_price_plan .svs_option_yes_no{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:left;padding-left:14px;height:49px;margin:0;line-height:49px;border-bottom-color:#efeff0;border-bottom-style:solid;border-bottom-width:1px}.svs_price_plan .svs_option_yes_no p{font-family:Tahoma,Geneva,sans-serif;font-size:15px;margin:0;display:inline-block;color:gray;font-weight:600}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:gray}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_editable_yes_no img{vertical-align:middle}.svs_price_plan li.svs_option_yes_no:nth-of-type(even){background-color:#fff}.svs_price_plan li.svs_option_yes_no:nth-of-type(odd){background-color:#f9f9f9}.svs_price_plan .svs_button{text-align:center;padding:0 0 10px 0;margin:0}.svs_price_plan .svs_button a{text-decoration:none;font-family:Tahoma,Geneva,sans-serif;border:1px solid #ccc;text-align:center;padding:0 0 20px 0;box-shadow:0 2px 10px -4px rgba(0,0,0,0.5);-moz-box-shadow:0 2px 10px -4px rgba(0,0,0,0.5);background:#fff;font-size:16px;line-height:16px;color:#3f4950;display:inline-block;width:60%;padding:10px 0 10px 0;margin:10px 0 0 0;font-weight:bold;border-radius:3px}.svs_price_plan .svs_button a:hover{background:#9ed72f}.svs_price_plan_featured{-webkit-transform:scale(1.1,1.1);-moz-transform:scale(1.1,1.1);-ms-transform:scale(1.1,1.1);-o-transform:scale(1.1,1.1);transform:scale(1.1,1.1);margin:5px 20px !important;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.svs_price_plan_featured .svs_title{height:85px;text-shadow:1px 1px 1px #568f23;border:1px solid #93ce37;border-bottom:3px solid #9ed929;background-color:#9dd929;background:-webkit-gradient(linear,left bottom,left top,color-stop(0.02,#7bc043),color-stop(0.51,#8bc642),color-stop(0.87,#9ed929));background:-moz-linear-gradient(center bottom,#7bc043 2%,#8bc642 51%,#9ed929 87%);-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius:5px 5px 0 0;border-top-left-radius:5px;border-top-right-radius:5px}.svs_price_plan_featured .svs_title h2{color:#fff !important;font-size:24px !important}.svs_price_plan_featured .svs_button a{background:-webkit-gradient(linear,left bottom,left top,color-stop(0.02,#7bc043),color-stop(0.51,#8bc642),color-stop(0.87,#9ed929));background:-moz-linear-gradient(center bottom,#7bc043 2%,#8bc642 51%,#9ed929 87%);-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius:5px 5px 0 0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}1 .svs_price_plan{width:250px;float:left;padding:0;background-color:#fff;overflow:hidden;box-shadow:0 0 3px #26292e;margin:14px;font-family:Tahoma,Geneva,sans-serif}.svs_price_plan:hover .svs_price .icon-move{color:#fff}.svs_price_plan:hover .icon-settings{display:none}.svs_price_plan:hover .icon-featured{right:5px}.svs_price_plan:hover .icon-trash-plan{right:20px}.svs_price_plan .svs_title{text-align:center;margin:0;background-color:#fff;border-bottom-color:#9ed929;border-bottom-style:solid;border-bottom-width:3px;height:68px;margin:0;padding:0}.svs_price_plan .svs_title h2{display:inline-block;text-align:center;color:#000;text-align:center;font-size:18px;line-height:68px;margin:0}.svs_price_plan .svs_price{background-clip:border-box;background-color:#fff;text-align:center;color:#5f6062;margin:0}.svs_price_plan .svs_price span:nth-of-type(1){font-family:Tahoma,Geneva,sans-serif;font-weight:bold;text-align:center;display:inline-block;font-size:22px;color:#000}.svs_price_plan .svs_price span:nth-of-type(2){color:#000;font-size:22px;font-weight:bold}.svs_price_plan:hover .svs_price p,.svs_price_plan .svs_price p{display:inline-block;margin:0;line-height:40px}.svs_option_value,.svs_option_value i,.svs_option_value p{pointer-events:none;color:grey !important}.svs_price_plan .svs_option_value{display:none}.svs_price_plan .svs_option_yes_no{background-clip:border-box;background-color:rgba(0,0,0,0);text-align:left;padding-left:14px;height:49px;margin:0;line-height:49px;border-bottom-color:#efeff0;border-bottom-style:solid;border-bottom-width:1px}.svs_price_plan .svs_option_yes_no p{font-family:Tahoma,Geneva,sans-serif;font-size:15px;margin:0;display:inline-block;color:gray;font-weight:600}.svs_price_plan .svs_option_yes_no span:nth-of-type(2){color:gray}.svs_price_plan:hover .svs_option_yes_no p{display:inline-block}.svs_pt_editable_yes_no img{vertical-align:middle}.svs_price_plan li.svs_option_yes_no:nth-of-type(even){background-color:#fff}.svs_price_plan li.svs_option_yes_no:nth-of-type(odd){background-color:#f9f9f9}.svs_price_plan .svs_button{text-align:center;padding:0 0 10px 0;margin:0}.svs_price_plan .svs_button a{text-decoration:none;font-family:Tahoma,Geneva,sans-serif;border:1px solid #ccc;text-align:center;padding:0 0 20px 0;box-shadow:0 2px 10px -4px rgba(0,0,0,0.5);-moz-box-shadow:0 2px 10px -4px rgba(0,0,0,0.5);background:#fff;font-size:16px;line-height:16px;color:#3f4950;display:inline-block;width:60%;padding:10px 0 10px 0;margin:10px 0 0 0;font-weight:bold;border-radius:3px}.svs_price_plan .svs_button a:hover{background:#9ed72f}.svs_price_plan_featured{-webkit-transform:scale(1.1,1.1);-moz-transform:scale(1.1,1.1);-ms-transform:scale(1.1,1.1);-o-transform:scale(1.1,1.1);transform:scale(1.1,1.1);border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;z-index:999}.svs_price_plan_featured .svs_title{height:85px;text-shadow:1px 1px 1px #568f23;border:1px solid #93ce37;border-bottom:3px solid #9ed929;background-color:#9dd929;background:-webkit-gradient(linear,left bottom,left top,color-stop(0.02,#7bc043),color-stop(0.51,#8bc642),color-stop(0.87,#9ed929));background:-moz-linear-gradient(center bottom,#7bc043 2%,#8bc642 51%,#9ed929 87%);-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius:5px 5px 0 0;border-top-left-radius:5px;border-top-right-radius:5px}.svs_price_plan_featured .svs_title h2{color:#fff !important;font-size:24px !important;line-height:70px}.svs_price_plan_featured .svs_button a{background:-webkit-gradient(linear,left bottom,left top,color-stop(0.02,#7bc043),color-stop(0.51,#8bc642),color-stop(0.87,#9ed929));background:-moz-linear-gradient(center bottom,#7bc043 2%,#8bc642 51%,#9ed929 87%);-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius:5px 5px 0 0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}
Note: See TracChangeset
for help on using the changeset viewer.