From 6d81a0f7969a2ac187577427cec37cd5da0f7004 Mon Sep 17 00:00:00 2001 From: Fredrik Forsmo Date: Mon, 15 Feb 2016 10:33:47 +0100 Subject: [PATCH] Bump version --- dist/css/style.min.css | 2 +- dist/js/main.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/css/style.min.css b/dist/css/style.min.css index 8d0aedf02..f8e0b4c51 100644 --- a/dist/css/style.min.css +++ b/dist/css/style.min.css @@ -3,7 +3,7 @@ * WordPress Page Type API with custom fields * http://github.com/ * @author Fredrik Forsmo - * @version 3.0.0 + * @version 3.0.1 * Copyright 2016. MIT licensed. */ @charset "UTF-8";.papi-clear,.pika-single:after,.pika-time-container{clear:both}#papi-hidden-editor,#wp-papiHiddenEditor-wrap,.compat-field-papi_meta_nonce,label[for=papi-hidden-editor-hide]{display:none!important}.papi-media-title{margin-bottom:5px}.papi-search{font-size:16px;font-weight:300;left:20px;line-height:1.5;position:relative;top:-2px;width:280px}@media only screen and (max-width:650px){.papi-search{clear:both;float:none;left:0;margin:10px 0;right:0;top:0;width:100%}}.papi-fullwidth,.papi-table{width:100%}.papi-halfwidth{width:50%}.papi-panel{background:#fff;border:1px solid #eaeaea;margin:10px 0 -5px -2px;padding:10px}.papi-panel p{margin:0}.papi-box-list{clear:both;margin-top:20px}@media only screen and (max-width:480px){.papi-box-list{margin-left:0}}.papi-box-list .papi-box-item{background:#fff;border:1px solid #dedede;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-sizing:border-box;cursor:pointer;display:block;float:left;margin:0 2.3% 3% 0;position:relative;width:22.7%;text-decoration:none}@media only screen and (max-width:1120px){.papi-box-list .papi-box-item{margin-right:2%;width:48%}}@media only screen and (max-width:480px){.papi-box-list .papi-box-item{margin-right:0;width:100%}}.papi-box-list .papi-box-item .papi-post-type-screenshot{background-size:100%;display:inline-block;height:200px;width:100%}.papi-box-list .papi-box-item img{border-bottom:1px solid #dedede;height:auto;left:0;top:0;-webkit-transform:translateZ(0);transition:opacity .2s ease-in-out;width:100%}.papi-box-list .papi-box-item .papi-post-type-info{margin-top:-4px;max-width:240px;padding:15px;position:relative;word-break:break-word}.papi-box-list .papi-box-item .papi-post-type-info h3{border:0;color:#23282d;font-weight:400;margin:0 0 5px}.papi-box-list .papi-box-item .papi-post-type-info p{border:0;color:#777;margin:0}.papi-box-list .papi-box-item .papi-post-type-actions{background-color:#fafafa;border-top:1px solid #dedede;height:38px;padding:9px 10px 0}.papi-box h3{font-size:14px;line-height:1.4;margin:0;padding:8px 12px}#poststuff .papi-box .inside{border-top:1px transparent solid;margin-right:-13px!important;margin-top:5px;padding-right:0}#poststuff .papi-box .inside>.papi-table{margin:-7px -12px -12px}#side-sortables .papi-box>.papi-table tr td{float:left;padding:10px 0;width:99.5%}#side-sortables .papi-box>.papi-table tr td>label{padding-left:12px}#side-sortables .papi-box>.papi-table tr td select,#side-sortables .papi-box>.papi-table tr td textarea,#side-sortables .papi-box>.papi-table tr td>input{margin-left:12px;width:90.5%}.papi-management-box .inside{margin-bottom:0;margin-right:-25px;padding-bottom:0}.papi-management-box .inside .papi-table{margin-left:-13px;margin-top:-11px}.papi-management-box .inside .papi-table thead{background:#f9f9f9}.papi-management-box .inside .papi-table thead tr th{border:1px solid #eaeaea;border-right:0;border-top:0;padding:10px 10px 10px 15px;text-align:left}.papi-management-box .inside .papi-table tbody tr td{background:#fff;border:1px solid #eaeaea;border-right:0;border-top:0}.papi-management-box .inside .papi-table tbody tr td .papi-table{padding:20px 10px 10px}.papi-management-box .inside .papi-table tbody tr td .papi-table tr th{border:1px solid #eaeaea;border-right:0}.papi-management-box .inside .papi-table tbody tr td .papi-table tr th:first-child{border-left:1px #eaeaea solid}.papi-management-box .inside .papi-table tbody tr td .papi-table td{border-left:0;border-right:1px solid #eaeaea}.papi-management-box .inside .papi-table tbody tr td .papi-table td:first-child{border-left:1px solid #eaeaea}.papi-options-logo{background:url(../images/logotype.png) no-repeat;background-size:cover;border-radius:5px;float:left;height:50px;margin:0 10px 10px 0;width:50px}.papi-options-table tr:nth-child(2n){background:#fcfcfc}.papi-options-description{margin-top:-12px}.papi-options-postbox-outer{float:left;margin-right:10px;position:static;width:250px}.papi-options-postbox{width:250px}.papi-options-postbox label{display:block;font-size:1em;font-weight:600;margin:1.33em 0}.papi-table{border-spacing:0;cursor:default!important}.papi-table *{word-wrap:break-word}.papi-table tr{box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0}.papi-table tr td{border-bottom:0;border-top:1px solid #eaeaea;padding:10px 16px 10px 15px;vertical-align:top}.papi-table tr td:first-child{background:#f9f9f9;border-right:1px solid #eaeaea;border-top:1px solid #eaeaea;width:15%}.papi-table tr td:first-child label{color:#333;display:block;font-size:13px;font-weight:700;line-height:1.4em;margin:0 0 3px;padding:0}.papi-table tr td:first-child>p{color:#899194;font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin:3px 0 0!important;padding:0!important}.papi-table tr td[colspan="2"]{background:#fff}.papi-table tr td label{font-size:13px;font-weight:600;line-height:1.5;padding-top:4px;word-break:break-word}.papi-table tr td label.light{font-weight:400;padding:0}.papi-table tr td input,.papi-table tr td select,.papi-table tr td textarea{width:99.5%}.papi-table tr td input[type=radio]{margin-top:0}.papi-table tr td input[type=radio],.papi-table tr td input[type=checkbox]{width:auto}.papi-table .wp-editor-wrap input{width:auto!important}.papi-tabs-wrapper{float:left;width:100%}.papi-tabs-wrapper .papi-tabs-back{background:#f4f2f2;border-right:1px solid #dfdfdf;bottom:0;left:0;position:absolute;top:0;width:139px}.papi-tabs-wrapper .papi-tabs{background:#f4f2f2;border-right:1px solid #dedede;border-top:1px solid #eaeaea;float:left;line-height:22px;margin:-7px 0 -12px -10px;padding:0 0 10px;position:relative;width:137px}.papi-tabs-wrapper .papi-tabs li{display:block;margin:0;padding:0}.papi-tabs-wrapper .papi-tabs li a{background:#f4f2f2;border-bottom:1px solid #eaeaea;border-top:1px solid transparent;color:#899194;display:block;font-weight:700;line-height:18px;margin:0 0 0 -1px;padding:10px;text-decoration:none}.papi-tabs-wrapper .papi-tabs li a img{float:left;height:13px;margin-top:2px;padding:0 5px;width:13px}.papi-tabs-wrapper .papi-tabs li.active a{background-color:#f9f9f9;border-color:#dedede;border-top:1px solid transparent;border-right:1px #eaeaea solid;color:#333;margin:0 -1px;position:relative}.papi-tabs-wrapper .papi-tabs li:first-child.active a{border-top:1px solid transparent}.papi-tabs-wrapper .papi-tabs-table-back{background:#f9f9f9;border-right:1px solid #eaeaea;bottom:0;left:0;position:absolute;top:0;width:246px}.papi-tabs-wrapper .papi-tabs-content{margin-left:131px;padding-left:10px;position:relative}.papi-tabs-wrapper .papi-tabs-content>div{display:none}.papi-tabs-wrapper .papi-tabs-content>div.active{display:block}.papi-tabs-wrapper .papi-tabs-content>div .papi-table{margin:-7px 0 -12px -13px;min-height:100%}.papi-tabs-wrapper .papi-tabs-content>div .papi-table tr td:first-child{width:75px}.papi-tabs-wrapper .papi-tabs-content>div .papi-table tr td:first-child label{padding-left:2px}.papi-pull-left{float:left}.papi-pull-right{float:right}.papi-hide{display:none!important}.papi-visually-hidden{clip:rect(0 0 0 0);clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.papi-property-color-picker .wp-picker-input-wrap{margin-top:-1px}.papi-property-color-picker .wp-picker-input-wrap .button{width:auto!important}.papi-property-divider h3{border-bottom:none;font-size:13px!important;padding-top:0!important;padding-bottom:2px!important;width:100%}.papi-property-divider h3 span{margin-left:-12px}.papi-property-divider p{color:#899194;font-size:12px;font-style:normal;line-height:16px;margin:2px 0 0}.attachment-compat .papi-component-select2{width:99.2%}.papi-table tr td .select2-hidden-accessible{width:1px}.papi-property-file .attachment{cursor:move;margin:0 5px 0 -8px;max-height:150px;max-width:150px}.papi-property-file .attachment.ui-sortable-placeholder{background:#f9f9f9;border:1px solid #dfdfdf;margin:8px 13px 0 0;max-height:134px;max-width:134px;visibility:visible!important}.papi-property-file .attachment .check{background:#a00;color:#fff;font-size:14px;height:21px;padding-top:3px;text-decoration:none;text-transform:uppercase}.papi-property-file .attachment .thumbnail{cursor:move}.papi-property-file .attachment .thumbnail :after{box-shadow:none}.papi-property-repeater .papi-property-file .attachment{width:150px}.papi-property-flexible .papi-table .flexible-column{padding:0}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row{border-top:0}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row .papi-table{border-bottom:0;margin:0;table-layout:fixed}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row .papi-table tr td{border-right:0;max-width:100%;padding:20px 15px 20px 18px}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row .papi-table tr td:first-child{border-right:1px solid #eaeaea;padding:10px 16px 10px 15px;width:15%}.papi-property-flexible .papi-table .flexible-column .flexible-table{border-spacing:0;margin:-1px 0;table-layout:fixed;width:100%}.papi-property-flexible .papi-table .flexible-column .flexible-table .wp-editor-tools{margin-bottom:-4px!important}.papi-property-flexible .papi-table .flexible-column .flexible-table thead th{background:#f9f9f9;border:1px solid #eaeaea;border-left:0;color:#444;padding:5px 15px}.papi-property-flexible .papi-table .flexible-column .flexible-table thead th:first-child{border-left:0;width:auto}.papi-property-flexible .papi-table .flexible-column .flexible-table thead th:last-child{border-right:0}.papi-property-flexible .papi-table .flexible-column .flexible-table tbody td{border-right:1px solid #eaeaea;border-top:0;padding:20px 15px 20px 18px}.papi-property-flexible .papi-table .flexible-column .flexible-table tbody td:first-child{background:0 0;border-left:0;font-weight:400;width:auto}.papi-property-flexible .papi-table .flexible-column .flexible-table tbody td:last-child{border-right:0}.papi-property-flexible .bottom{text-align:right}.papi-property-flexible .flexible-layouts-btn-wrap{display:inline-block;position:relative}.papi-property-flexible .flexible-layouts{background:#23282d;border-radius:4px;bottom:140%;color:#fff;float:right;left:50%;min-width:150px;opacity:1;position:absolute;text-align:left;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:100%}.papi-property-flexible .flexible-layouts:after{border:solid transparent;border-color:rgba(213,0,0,0);border-top-color:#23282d;border-width:5px;content:' ';height:0;left:50%;margin-left:-5px;pointer-events:none;position:absolute;top:100%;width:0}.papi-property-link .link-table,.papi-property-link .link-table tr{border-bottom:1px #eaeaea solid!important}.papi-property-flexible .flexible-layouts ul{color:#fff;padding:0 8px;text-decoration:none}.papi-property-flexible .flexible-layouts ul li{border-top:1px #32373c solid;padding:5px 8px 0}.papi-property-flexible .flexible-layouts ul li:first-child{border-top:0;margin-top:-5px}.papi-property-flexible .flexible-layouts ul li a{color:#fff;display:block;float:none;text-decoration:none}.papi-property-flexible .flexible-layouts ul li a:hover{color:#00b9eb}.papi-property-group{margin-right:-31px}.papi-property-group>table{margin:-11px 0 -10px -15px}.papi-property-link .link-table td{border-left:1px #eaeaea solid!important}.papi-property-link .link-table td:first-child{font-weight:700;border-left:1px #eaeaea solid!important;border-right:0!important}.papi-property-link .link-table td:last-child{border-right:1px #eaeaea solid!important}.papi-property-repeater .link-table{margin:0!important}.papi-property-repeater .link-table td:first-child{padding:10px 16px 10px 15px!important;width:15%!important}.papi-property-post.advanced{margin-right:-30px}.papi-property-post>table{margin:-11px 0 -10px -15px}.papi-property-post>table td{background:#fff}.papi-property-post>table td:first-child{background:#f9f9f9!important}.papi-property-repeater .papi-property-post.advanced{margin-right:-33px!important}.papi-property-repeater .papi-property-post .papi-table{margin:-21px 0 -20px -18px!important}.papi-property-repeater .papi-property-post .papi-table td:first-child{width:auto}.papi-property-flexible .flexible-layout-row .papi-property-post>.papi-table td:first-child,.papi-property-repeater .repeater-layout-row .papi-property-post>.papi-table td:first-child{width:15%!important}.papi-property-flexible .papi-property-post.advanced{margin-right:-33px!important}.papi-property-flexible .papi-property-post .papi-table{margin:-20px 0 -19px -18px!important}.papi-property-flexible .papi-property-post .papi-table tr td{border-top:1px solid #eaeaea!important}.papi-property-flexible .papi-property-post .papi-table tr td:first-child{width:auto}.papi-property-reference .page-types ul,.papi-property-reference li{width:100%;float:left}.papi-property-flexible .papi-property-post .papi-table tr:first-child td{border-top:0!important}.papi-property-reference li .handlediv,.papi-property-reference li:first-child{margin-top:-10px}.papi-property-reference li.closed .handlediv:before{content:'\f140'!important}.papi-property-reference li h3{background:#f9f9f9;border:1px solid #eaeaea;margin-top:5px!important}.papi-property-reference li h3+.handlediv{margin-top:-38px}.papi-property-reference li h4{float:left;margin:0 10px 0 0}.papi-property-reference .page-types{border:1px solid #eaeaea;border-top:0;margin-top:-6px;padding:20px 15px 10px}.papi-property-reference .page-types .heading-border{border-bottom:1px #eaeaea solid;padding-bottom:5px}.papi-property-reference .box{margin:0 0 15px -5px}.papi-property-reference .box a{background:#f8f8f8;border:1px solid #eaeaea;float:left;margin:5px;padding:5px 10px;text-decoration:none;width:auto}.papi-property-reference .box a:hover{background:#2ea2cc;border:1px solid #fff;color:#fff;text-decoration:none}.papi-property-relationship{background:#fafafa;border:1px solid #eaeaea}.papi-property-relationship .relationship-inner{padding:5px}.papi-property-relationship .relationship-inner .relationship-top-left{float:left;max-width:49%;padding:10px 0;width:49%}.papi-property-relationship .relationship-inner .relationship-top-left input[type=search]{margin-top:5px;padding:5px;width:100%}.papi-property-relationship .relationship-inner .relationship-top-right{float:right;max-width:49%;padding:10px 0;width:49%}.papi-property-relationship .relationship-inner .relationship-top-right select{margin-top:5px}.papi-property-relationship .relationship-inner .relationship-left{background:#fff;border:1px solid #eaeaea;float:left;height:250px;max-height:250px;max-width:49%;min-height:250px;overflow:scroll;overflow-x:hidden;width:49%}.papi-property-relationship .relationship-inner .relationship-right{background:#fff;border:1px solid #eaeaea;float:right;height:250px;max-height:250px;max-width:49%;min-height:250px;overflow:scroll;overflow-x:hidden;width:49%}.papi-property-relationship .relationship-inner ul{margin:0;padding:5px 0}.papi-property-relationship .relationship-inner ul .ui-state-highlight{border-bottom:1px #eaeaea solid}.papi-property-relationship .relationship-inner ul li{background:#fff;border-bottom:1px #eaeaea solid;cursor:pointer;padding:5px 10px 10px 5px}.papi-property-relationship .relationship-inner ul li span.icon{background:url(../images/plus-minus.png) no-repeat;cursor:pointer;float:right;height:16px;width:16px;margin:0 3px 0 0}.papi-property-relationship .relationship-inner ul li span.icon.minus{background-position:-16px 0;margin:0}.papi-property-relationship .relationship-inner ul li a{text-decoration:none}.papi-property-relationship .relationship-inner ul li.sortable{border:1px solid #eaeaea}.papi-property-relationship .relationship-inner ul li.sortable span.icon{margin-top:2px}.papi-property-flexible,.papi-property-repeater{margin-right:-31px}.papi-property-flexible>.papi-table,.papi-property-repeater>.papi-table{border-bottom:1px solid #eaeaea;margin:-11px 0 -13px -15px;table-layout:fixed}.papi-property-flexible>.papi-table>tbody>tr,.papi-property-flexible>.papi-table>thead>tr,.papi-property-repeater>.papi-table>tbody>tr,.papi-property-repeater>.papi-table>thead>tr{background:#fff}.papi-property-flexible>.papi-table>tbody>tr.closed .handle .count,.papi-property-flexible>.papi-table>thead>tr.closed .handle .count,.papi-property-repeater>.papi-table>tbody>tr.closed .handle .count,.papi-property-repeater>.papi-table>thead>tr.closed .handle .count{top:68%}.papi-property-flexible>.papi-table>tbody>tr.closed .handle .toggle,.papi-property-flexible>.papi-table>thead>tr.closed .handle .toggle,.papi-property-repeater>.papi-table>tbody>tr.closed .handle .toggle,.papi-property-repeater>.papi-table>thead>tr.closed .handle .toggle{margin-top:0;padding:0}.papi-property-flexible>.papi-table>tbody>tr.closed .handle .toggle:before,.papi-property-flexible>.papi-table>thead>tr.closed .handle .toggle:before,.papi-property-repeater>.papi-table>tbody>tr.closed .handle .toggle:before,.papi-property-repeater>.papi-table>thead>tr.closed .handle .toggle:before{content:'\f140'}.papi-property-flexible>.papi-table>tbody>tr.closed .repeater-column,.papi-property-flexible>.papi-table>thead>tr.closed .repeater-column,.papi-property-repeater>.papi-table>tbody>tr.closed .repeater-column,.papi-property-repeater>.papi-table>thead>tr.closed .repeater-column{background:#f9f9f9;border-bottom:0;border-top:1px solid #eaeaea;text-align:center}.papi-property-flexible>.papi-table>tbody>tr.closed .repeater-content-open,.papi-property-flexible>.papi-table>thead>tr.closed .repeater-content-open,.papi-property-repeater>.papi-table>tbody>tr.closed .repeater-content-open,.papi-property-repeater>.papi-table>thead>tr.closed .repeater-content-open{display:none}.papi-property-flexible>.papi-table>tbody>tr.closed .repeater-content-closed,.papi-property-flexible>.papi-table>thead>tr.closed .repeater-content-closed,.papi-property-repeater>.papi-table>tbody>tr.closed .repeater-content-closed,.papi-property-repeater>.papi-table>thead>tr.closed .repeater-content-closed{color:#afafaf;display:block;font-size:12px;font-weight:700;line-height:1.4em;padding-top:12px;text-align:center;width:100%}.papi-property-flexible>.papi-table>tbody>tr.closed .repeater-layout-row,.papi-property-flexible>.papi-table>thead>tr.closed .repeater-layout-row,.papi-property-repeater>.papi-table>tbody>tr.closed .repeater-layout-row,.papi-property-repeater>.papi-table>thead>tr.closed .repeater-layout-row{background:#f9f9f9;border-bottom:0;border-top:1px solid #eaeaea;padding:0;text-align:center}.papi-property-flexible>.papi-table>tbody>tr th,.papi-property-flexible>.papi-table>thead>tr th,.papi-property-repeater>.papi-table>tbody>tr th,.papi-property-repeater>.papi-table>thead>tr th{background:#f9f9f9;border:1px solid #eaeaea;border-bottom:0;border-left:0;font-size:12px;padding:10px 15px}.papi-property-flexible>.papi-table>tbody>tr th.last,.papi-property-flexible>.papi-table>tbody>tr th:first-child,.papi-property-flexible>.papi-table>thead>tr th.last,.papi-property-flexible>.papi-table>thead>tr th:first-child,.papi-property-repeater>.papi-table>tbody>tr th.last,.papi-property-repeater>.papi-table>tbody>tr th:first-child,.papi-property-repeater>.papi-table>thead>tr th.last,.papi-property-repeater>.papi-table>thead>tr th:first-child{background:#fff;border-left:0;color:#afafaf;font-weight:700;padding-left:0;padding-right:0;position:relative;width:5%}.papi-property-flexible>.papi-table>tbody>tr th.last>span,.papi-property-flexible>.papi-table>tbody>tr th:first-child>span,.papi-property-flexible>.papi-table>thead>tr th.last>span,.papi-property-flexible>.papi-table>thead>tr th:first-child>span,.papi-property-repeater>.papi-table>tbody>tr th.last>span,.papi-property-repeater>.papi-table>tbody>tr th:first-child>span,.papi-property-repeater>.papi-table>thead>tr th.last>span,.papi-property-repeater>.papi-table>thead>tr th:first-child>span{overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;top:50%;white-space:nowrap;width:100%}.papi-property-flexible>.papi-table>tbody>tr th.last,.papi-property-flexible>.papi-table>thead>tr th.last,.papi-property-repeater>.papi-table>tbody>tr th.last,.papi-property-repeater>.papi-table>thead>tr th.last{border-right:1px solid #eaeaea}.papi-property-flexible>.papi-table>tbody>tr>td,.papi-property-flexible>.papi-table>thead>tr>td,.papi-property-repeater>.papi-table>tbody>tr>td,.papi-property-repeater>.papi-table>thead>tr>td{border-right:1px solid #eaeaea;padding:20px 15px 20px 18px}.papi-property-flexible>.papi-table>tbody>tr>td.handle,.papi-property-flexible>.papi-table>thead>tr>td.handle,.papi-property-repeater>.papi-table>tbody>tr>td.handle,.papi-property-repeater>.papi-table>thead>tr>td.handle{cursor:move}.papi-property-flexible>.papi-table>tbody>tr>td.handle .toggle,.papi-property-flexible>.papi-table>thead>tr>td.handle .toggle,.papi-property-repeater>.papi-table>tbody>tr>td.handle .toggle,.papi-property-repeater>.papi-table>thead>tr>td.handle .toggle{cursor:pointer;border-bottom:1px #f9f9f9 solid;font:400 20px/1 dashicons;margin-top:2px;padding-bottom:4px;top:0}.papi-property-flexible>.papi-table>tbody>tr>td.handle .toggle:before,.papi-property-flexible>.papi-table>thead>tr>td.handle .toggle:before,.papi-property-repeater>.papi-table>tbody>tr>td.handle .toggle:before,.papi-property-repeater>.papi-table>thead>tr>td.handle .toggle:before{content:'\f142';margin-left:-2px}.papi-property-flexible>.papi-table>tbody>tr>td.last,.papi-property-flexible>.papi-table>tbody>tr>td:first-child,.papi-property-flexible>.papi-table>thead>tr>td.last,.papi-property-flexible>.papi-table>thead>tr>td:first-child,.papi-property-repeater>.papi-table>tbody>tr>td.last,.papi-property-repeater>.papi-table>tbody>tr>td:first-child,.papi-property-repeater>.papi-table>thead>tr>td.last,.papi-property-repeater>.papi-table>thead>tr>td:first-child{background:#f9f9f9;border-left:0;font-weight:700;padding-left:0;padding-right:0;position:relative;width:5%}.papi-property-flexible>.papi-table>tbody>tr>td.last>span,.papi-property-flexible>.papi-table>tbody>tr>td:first-child>span,.papi-property-flexible>.papi-table>thead>tr>td.last>span,.papi-property-flexible>.papi-table>thead>tr>td:first-child>span,.papi-property-repeater>.papi-table>tbody>tr>td.last>span,.papi-property-repeater>.papi-table>tbody>tr>td:first-child>span,.papi-property-repeater>.papi-table>thead>tr>td.last>span,.papi-property-repeater>.papi-table>thead>tr>td:first-child>span{color:#afafaf;margin-top:-10px;overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;top:50%;white-space:nowrap;width:100%}.papi-property-flexible>.papi-table>tbody>tr>td .repeater-content-closed,.papi-property-flexible>.papi-table>thead>tr>td .repeater-content-closed,.papi-property-repeater>.papi-table>tbody>tr>td .repeater-content-closed,.papi-property-repeater>.papi-table>thead>tr>td .repeater-content-closed{display:none}.papi-property-flexible>.papi-table>tbody>tr>td .repeater-remove-item,.papi-property-flexible>.papi-table>thead>tr>td .repeater-remove-item,.papi-property-repeater>.papi-table>tbody>tr>td .repeater-remove-item,.papi-property-repeater>.papi-table>thead>tr>td .repeater-remove-item{color:#afafaf;text-decoration:none}.papi-property-flexible>.papi-table>tbody>tr>td.repeater-layout-row,.papi-property-flexible>.papi-table>thead>tr>td.repeater-layout-row,.papi-property-repeater>.papi-table>tbody>tr>td.repeater-layout-row,.papi-property-repeater>.papi-table>thead>tr>td.repeater-layout-row{padding:0 0 11px}.papi-property-flexible>.papi-table>tbody>tr>td.repeater-layout-row .papi-table,.papi-property-flexible>.papi-table>thead>tr>td.repeater-layout-row .papi-table,.papi-property-repeater>.papi-table>tbody>tr>td.repeater-layout-row .papi-table,.papi-property-repeater>.papi-table>thead>tr>td.repeater-layout-row .papi-table{margin:-1px 0 -11px;table-layout:fixed}.papi-property-flexible>.papi-table>tbody>tr>td.repeater-layout-row .papi-table tr td,.papi-property-flexible>.papi-table>thead>tr>td.repeater-layout-row .papi-table tr td,.papi-property-repeater>.papi-table>tbody>tr>td.repeater-layout-row .papi-table tr td,.papi-property-repeater>.papi-table>thead>tr>td.repeater-layout-row .papi-table tr td{border-right:0;max-width:100%;padding:20px 15px 20px 18px}.papi-property-flexible>.papi-table>tbody>tr>td.repeater-layout-row .papi-table tr td:first-child,.papi-property-flexible>.papi-table>thead>tr>td.repeater-layout-row .papi-table tr td:first-child,.papi-property-repeater>.papi-table>tbody>tr>td.repeater-layout-row .papi-table tr td:first-child,.papi-property-repeater>.papi-table>thead>tr>td.repeater-layout-row .papi-table tr td:first-child{border-right:1px solid #eaeaea;padding:10px 16px 10px 15px;width:15%}.papi-property-flexible .bottom,.papi-property-repeater .bottom{margin-top:25px;width:95%}.papi-property-flexible .bottom button,.papi-property-repeater .bottom button{float:right}.papi-table td[colspan="2"] .papi-property-repeater-top .repeater-tbody>tr>td.last{border-right:0}.papi-rq{color:red}.metabox-prefs .papi-rq{display:none!important}.papi-box .hndle .papi-rq{color:#000!important}.papi-property-term.advanced{margin-right:-30px}.papi-property-term>table{margin:-11px 0 -10px -15px}.papi-property-term>table td{background:#fff}.papi-property-term>table td:first-child{background:#f9f9f9!important}.papi-property-repeater .papi-property-term.advanced{margin-right:-33px!important}.papi-property-repeater .papi-property-term .papi-table{margin:-21px 0 -20px -18px!important}.papi-property-repeater .papi-property-term .papi-table td:first-child{width:auto}.papi-property-flexible .flexible-layout-row .papi-property-term>.papi-table td:first-child,.papi-property-repeater .repeater-layout-row .papi-property-term>.papi-table td:first-child{width:15%!important}.papi-property-flexible .papi-property-term.advanced{margin-right:-33px!important}.papi-property-flexible .papi-property-term .papi-table{margin:-20px 0 -19px -18px!important}.papi-property-flexible .papi-property-term .papi-table tr td{border-top:1px solid #eaeaea!important}.papi-property-flexible .papi-property-term .papi-table tr td:first-child{width:auto}.papi-property-flexible .papi-property-term .papi-table tr:first-child td{border-top:0!important}.papi-property-text{height:250px;width:100%}.papi-url-media-input{width:82.5%!important}.papi-url-media-button{float:right;margin-top:-1px;max-width:15%!important}/*! diff --git a/dist/js/main.min.js b/dist/js/main.min.js index 0c7059758..62c99f37e 100644 --- a/dist/js/main.min.js +++ b/dist/js/main.min.js @@ -3,7 +3,7 @@ * WordPress Page Type API with custom fields * http://github.com/ * @author Fredrik Forsmo - * @version 3.0.0 + * @version 3.0.1 * Copyright 2016. MIT licensed. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Rn.apply(null,arguments)}function t(e){Rn=e}function n(e){return"[object Array]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){var n,i=[];for(n=0;n0)for(n in zn)i=zn[n],r=t[i],h(r)||(e[i]=r);return e}function f(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),Gn===!1&&(Gn=!0,e.updateOffset(this),Gn=!1)}function m(e){return e instanceof f||null!=e&&null!=e._isAMomentObject}function g(e){return 0>e?Math.ceil(e):Math.floor(e)}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=g(t)),n}function y(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;r>i;i++)(n&&e[i]!==t[i]||!n&&v(e[i])!==v(t[i]))&&o++;return o+a}function _(){}function w(e){return e?e.toLowerCase().replace("_","-"):e}function b(e){for(var t,n,i,r,a=0;a0;){if(i=k(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&y(r,n,!0)>=t-1)break;t--}a++}return null}function k(e){var t=null;if(!Vn[e]&&!h(module)&&module&&module.exports)try{t=Fn._abbr,require("./locale/"+e),D(t)}catch(n){}return Vn[e]}function D(e,t){var n;return e&&(n=h(t)?x(e):M(e,t),n&&(Fn=n)),Fn._abbr}function M(e,t){return null!==t?(t.abbr=e,Vn[e]=Vn[e]||new _,Vn[e].set(t),D(e),Vn[e]):(delete Vn[e],null)}function x(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Fn;if(!n(e)){if(t=k(e))return t;e=[e]}return b(e)}function S(e,t){var n=e.toLowerCase();Bn[n]=Bn[n+"s"]=Bn[t]=e}function T(e){return"string"==typeof e?Bn[e]||Bn[e.toLowerCase()]:void 0}function C(e){var t,n,i={};for(n in e)a(e,n)&&(t=T(n),t&&(i[t]=e[n]));return i}function $(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(t,n){return function(i){return null!=i?(A(this,t,i),e.updateOffset(this,n),this):Y(this,t)}}function Y(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function A(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function E(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=T(e),$(this[e]))return this[e](t);return this}function P(e,t,n){var i=""+Math.abs(e),r=t-i.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function j(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Kn[e]=r),t&&(Kn[t[0]]=function(){return P(r.apply(this,arguments),t[1],t[2])}),n&&(Kn[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function I(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function L(e){var t,n,i=e.match(Zn);for(t=0,n=i.length;n>t;t++)Kn[i[t]]?i[t]=Kn[i[t]]:i[t]=I(i[t]);return function(r){var a="";for(t=0;n>t;t++)a+=i[t]instanceof Function?i[t].call(r,e):i[t];return a}}function H(e,t){return e.isValid()?(t=U(t,e.localeData()),Qn[t]=Qn[t]||L(t),Qn[t](e)):e.localeData().invalidDate()}function U(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(Jn.lastIndex=0;i>=0&&Jn.test(e);)e=e.replace(Jn,n),Jn.lastIndex=0,i-=1;return e}function q(e,t,n){gi[e]=$(t)?t:function(e){return e&&n?n:t}}function N(e,t){return a(gi,e)?gi[e](t._strict,t._locale):new RegExp(W(e))}function W(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(i=function(e,n){n[t]=v(e)}),n=0;ni;i++){if(r=s([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function J(e,t){var n;return e.isValid()?"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),G(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e):e}function Q(t){return null!=t?(J(this,t),e.updateOffset(this,!0),this):Y(this,"Month")}function K(){return G(this.year(),this.month())}function X(e){var t,n=e._a;return n&&-2===u(e).overflow&&(t=n[_i]<0||n[_i]>11?_i:n[wi]<1||n[wi]>G(n[yi],n[_i])?wi:n[bi]<0||n[bi]>24||24===n[bi]&&(0!==n[ki]||0!==n[Di]||0!==n[Mi])?bi:n[ki]<0||n[ki]>59?ki:n[Di]<0||n[Di]>59?Di:n[Mi]<0||n[Mi]>999?Mi:-1,u(e)._overflowDayOfYear&&(yi>t||t>wi)&&(t=wi),u(e)._overflowWeeks&&-1===t&&(t=xi),u(e)._overflowWeekday&&-1===t&&(t=Si),u(e).overflow=t),e}function ee(t){e.suppressDeprecationWarnings===!1&&!h(console)&&console.warn&&console.warn("Deprecation warning: "+t)}function te(e,t){var n=!0;return o(function(){return n&&(ee(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),n=!1),t.apply(this,arguments)},t)}function ne(e,t){Oi[e]||(ee(t),Oi[e]=!0)}function ie(e){var t,n,i,r,a,o,s=e._i,l=Yi.exec(s)||Ai.exec(s);if(l){for(u(e).iso=!0,t=0,n=Pi.length;n>t;t++)if(Pi[t][1].exec(l[1])){r=Pi[t][0],i=Pi[t][2]!==!1;break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=ji.length;n>t;t++)if(ji[t][1].exec(l[3])){a=(l[2]||" ")+ji[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ei.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),ye(e)}else e._isValid=!1}function re(t){var n=Ii.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(ie(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function ae(e,t,n,i,r,a,o){var s=new Date(e,t,n,i,r,a,o);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function oe(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function se(e){return le(e)?366:365}function le(e){return e%4===0&&e%100!==0||e%400===0}function ue(){return le(this.year())}function de(e,t,n){var i=7+t-n,r=(7+oe(e,0,i).getUTCDay()-t)%7;return-r+i-1}function ce(e,t,n,i,r){var a,o,s=(7+n-i)%7,l=de(e,i,r),u=1+7*(t-1)+s+l;return 0>=u?(a=e-1,o=se(a)+u):u>se(e)?(a=e+1,o=u-se(e)):(a=e,o=u),{year:a,dayOfYear:o}}function he(e,t,n){var i,r,a=de(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return 1>o?(r=e.year()-1,i=o+pe(r,t,n)):o>pe(e.year(),t,n)?(i=o-pe(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function pe(e,t,n){var i=de(e,t,n),r=de(e+1,t,n);return(se(e)-i+r)/7}function fe(e,t,n){return null!=e?e:null!=t?t:n}function me(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ge(e){var t,n,i,r,a=[];if(!e._d){for(i=me(e),e._w&&null==e._a[wi]&&null==e._a[_i]&&ve(e),e._dayOfYear&&(r=fe(e._a[yi],i[yi]),e._dayOfYear>se(r)&&(u(e)._overflowDayOfYear=!0),n=oe(r,0,e._dayOfYear),e._a[_i]=n.getUTCMonth(),e._a[wi]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;7>t;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[bi]&&0===e._a[ki]&&0===e._a[Di]&&0===e._a[Mi]&&(e._nextDay=!0,e._a[bi]=0),e._d=(e._useUTC?oe:ae).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[bi]=24)}}function ve(e){var t,n,i,r,a,o,s,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,n=fe(t.GG,e._a[yi],he(Se(),1,4).year),i=fe(t.W,1),r=fe(t.E,1),(1>r||r>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,n=fe(t.gg,e._a[yi],he(Se(),a,o).year),i=fe(t.w,1),null!=t.d?(r=t.d,(0>r||r>6)&&(l=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),1>i||i>pe(n,a,o)?u(e)._overflowWeeks=!0:null!=l?u(e)._overflowWeekday=!0:(s=ce(n,i,r,a,o),e._a[yi]=s.year,e._dayOfYear=s.dayOfYear)}function ye(t){if(t._f===e.ISO_8601)return void ie(t);t._a=[],u(t).empty=!0;var n,i,r,a,o,s=""+t._i,l=s.length,d=0;for(r=U(t._f,t._locale).match(Zn)||[],n=0;n0&&u(t).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),d+=i.length),Kn[a]?(i?u(t).empty=!1:u(t).unusedTokens.push(a),z(a,i,t)):t._strict&&!i&&u(t).unusedTokens.push(a);u(t).charsLeftOver=l-d,s.length>0&&u(t).unusedInput.push(s),u(t).bigHour===!0&&t._a[bi]<=12&&t._a[bi]>0&&(u(t).bigHour=void 0),t._a[bi]=_e(t._locale,t._a[bi],t._meridiem),ge(t),X(t)}function _e(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&12>t&&(t+=12),i||12!==t||(t=0),t):t}function we(e){var t,n,i,r,a;if(0===e._f.length)return u(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;ra)&&(i=a,n=t));o(e,n||t)}function be(e){if(!e._d){var t=C(e._i);e._a=r([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ge(e)}}function ke(e){var t=new f(X(De(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function De(e){var t=e._i,r=e._f;return e._locale=e._locale||x(e._l),null===t||void 0===r&&""===t?c({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),m(t)?new f(X(t)):(n(r)?we(e):r?ye(e):i(t)?e._d=t:Me(e),d(e)||(e._d=null),e))}function Me(t){var a=t._i;void 0===a?t._d=new Date(e.now()):i(a)?t._d=new Date(+a):"string"==typeof a?re(t):n(a)?(t._a=r(a.slice(0),function(e){return parseInt(e,10)}),ge(t)):"object"==typeof a?be(t):"number"==typeof a?t._d=new Date(a):e.createFromInputFallback(t)}function xe(e,t,n,i,r){var a={};return"boolean"==typeof n&&(i=n,n=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,ke(a)}function Se(e,t,n,i){return xe(e,t,n,i,!1)}function Te(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Se();for(i=t[0],r=1;re&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)})}function Ee(e,t){var n=(t||"").match(e)||[],i=n[n.length-1]||[],r=(i+"").match(Ni)||["-",0,0],a=+(60*r[1])+v(r[2]);return"+"===r[0]?a:-a}function Pe(t,n){var r,a;return n._isUTC?(r=n.clone(),a=(m(t)||i(t)?+t:+Se(t))-+r,r._d.setTime(+r._d+a),e.updateOffset(r,!1),r):Se(t).local()}function je(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ie(t,n){var i,r=this._offset||0;return this.isValid()?null!=t?("string"==typeof t?t=Ee(pi,t):Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(i=je(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?Ke(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:je(this):null!=t?this:NaN}function Le(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function He(e){return this.utcOffset(0,e)}function Ue(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(je(this),"m")),this}function qe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ee(hi,this._i)),this}function Ne(e){return this.isValid()?(e=e?Se(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function We(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Re(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(p(e,this),e=De(e),e._a){var t=e._isUTC?s(e._a):Se(e._a);this._isDSTShifted=this.isValid()&&y(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Fe(){return this.isValid()?!this._isUTC:!1}function ze(){return this.isValid()?this._isUTC:!1}function Ge(){return this.isValid()?this._isUTC&&0===this._offset:!1}function Ve(e,t){var n,i,r,o=e,s=null;return Ye(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(s=Wi.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:v(s[wi])*n,h:v(s[bi])*n,m:v(s[ki])*n,s:v(s[Di])*n,ms:v(s[Mi])*n}):(s=Ri.exec(e))?(n="-"===s[1]?-1:1,o={y:Be(s[2],n),M:Be(s[3],n),d:Be(s[4],n),h:Be(s[5],n),m:Be(s[6],n),s:Be(s[7],n),w:Be(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Je(Se(o.from),Se(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Oe(o),Ye(e)&&a(e,"_locale")&&(i._locale=e._locale),i}function Be(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ze(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Je(e,t){var n;return e.isValid()&&t.isValid()?(t=Pe(t,e),e.isBefore(t)?n=Ze(e,t):(n=Ze(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Qe(e,t){return function(n,i){var r,a;return null===i||isNaN(+i)||(ne(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),a=n,n=i,i=a),n="string"==typeof n?+n:n,r=Ve(n,i),Ke(this,r,e),this}}function Ke(t,n,i,r){var a=n._milliseconds,o=n._days,s=n._months;t.isValid()&&(r=null==r?!0:r,a&&t._d.setTime(+t._d+a*i),o&&A(t,"Date",Y(t,"Date")+o*i),s&&J(t,Y(t,"Month")+s*i),r&&e.updateOffset(t,o||s))}function Xe(e,t){var n=e||Se(),i=Pe(n,this).startOf("day"),r=this.diff(i,"days",!0),a=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse",o=t&&($(t[a])?t[a]():t[a]);return this.format(o||this.localeData().calendar(a,this,Se(n)))}function et(){return new f(this)}function tt(e,t){var n=m(e)?e:Se(e);return this.isValid()&&n.isValid()?(t=T(h(t)?"millisecond":t),"millisecond"===t?+this>+n:+n<+this.clone().startOf(t)):!1}function nt(e,t){var n=m(e)?e:Se(e);return this.isValid()&&n.isValid()?(t=T(h(t)?"millisecond":t),"millisecond"===t?+n>+this:+this.clone().endOf(t)<+n):!1}function it(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)}function rt(e,t){var n,i=m(e)?e:Se(e);return this.isValid()&&i.isValid()?(t=T(t||"millisecond"),"millisecond"===t?+this===+i:(n=+i,+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))):!1}function at(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ot(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function st(e,t,n){var i,r,a,o;return this.isValid()?(i=Pe(e,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),t=T(t),"year"===t||"month"===t||"quarter"===t?(o=lt(this,i),"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-i,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-r)/864e5:"week"===t?(a-r)/6048e5:a),n?o:g(o)):NaN):NaN}function lt(e,t){var n,i,r=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(r,"months");return 0>t-a?(n=e.clone().add(r-1,"months"),i=(t-a)/(a-n)):(n=e.clone().add(r+1,"months"),i=(t-a)/(n-a)),-(r+i)}function ut(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dt(){var e=this.clone().utc();return 0a&&(t=a),It.call(this,e,t,n,i,r))}function It(e,t,n,i,r){var a=ce(e,t,n,i,r),o=oe(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Lt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Ht(e){return he(e,this._week.dow,this._week.doy).week}function Ut(){return this._week.dow}function qt(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Wt(e){var t=he(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Rt(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ft(e,t){return n(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function zt(e){return this._weekdaysShort[e.day()]}function Gt(e){return this._weekdaysMin[e.day()]}function Vt(e,t,n){var i,r,a;for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;7>i;i++){if(r=Se([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Rt(e,this.localeData()),this.add(e-t,"d")):t}function Zt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Jt(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function Qt(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Kt(){return this.hours()%12||12}function Xt(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}function nn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function rn(e,t){t[Mi]=v(1e3*("0."+e))}function an(){return this._isUTC?"UTC":""}function on(){return this._isUTC?"Coordinated Universal Time":""}function sn(e){return Se(1e3*e)}function ln(){return Se.apply(null,arguments).parseZone()}function un(e,t,n){var i=this._calendar[e];return $(i)?i.call(t,n):i}function dn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function cn(){return this._invalidDate}function hn(e){return this._ordinal.replace("%d",e)}function pn(e){return e}function fn(e,t,n,i){var r=this._relativeTime[n];return $(r)?r(e,t,n,i):r.replace(/%d/i,e)}function mn(e,t){var n=this._relativeTime[e>0?"future":"past"];return $(n)?n(t):n.replace(/%s/i,t)}function gn(e){var t,n;for(n in e)t=e[n],$(t)?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function vn(e,t,n,i){var r=x(),a=s().set(i,t);return r[n](a,e)}function yn(e,t,n,i,r){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return vn(e,t,n,r);var a,o=[];for(a=0;i>a;a++)o[a]=vn(e,a,n,r);return o}function _n(e,t){return yn(e,t,"months",12,"month")}function wn(e,t){return yn(e,t,"monthsShort",12,"month")}function bn(e,t){return yn(e,t,"weekdays",7,"day")}function kn(e,t){return yn(e,t,"weekdaysShort",7,"day")}function Dn(e,t){return yn(e,t,"weekdaysMin",7,"day")}function Mn(){var e=this._data;return this._milliseconds=pr(this._milliseconds),this._days=pr(this._days),this._months=pr(this._months),e.milliseconds=pr(e.milliseconds),e.seconds=pr(e.seconds),e.minutes=pr(e.minutes),e.hours=pr(e.hours),e.months=pr(e.months),e.years=pr(e.years),this}function xn(e,t,n,i){var r=Ve(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Sn(e,t){return xn(this,e,t,1)}function Tn(e,t){return xn(this,e,t,-1)}function Cn(e){return 0>e?Math.floor(e):Math.ceil(e)}function $n(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||0>=a&&0>=o&&0>=s||(a+=864e5*Cn(Yn(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=g(a/1e3),l.seconds=e%60,t=g(e/60),l.minutes=t%60,n=g(t/60),l.hours=n%24,o+=g(n/24),r=g(On(o)),s+=r,o-=Cn(Yn(r)),i=g(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function On(e){return 4800*e/146097}function Yn(e){return 146097*e/4800}function An(e){var t,n,i=this._milliseconds;if(e=T(e),"month"===e||"year"===e)return t=this._days+i/864e5,n=this._months+On(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Yn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function En(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Pn(e){return function(){return this.as(e)}}function jn(e){return e=T(e),this[e+"s"]()}function In(e){return function(){return this._data[e]}}function Ln(){return g(this.days()/7)}function Hn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Un(e,t,n){var i=Ve(e).abs(),r=$r(i.as("s")),a=$r(i.as("m")),o=$r(i.as("h")),s=$r(i.as("d")),l=$r(i.as("M")),u=$r(i.as("y")),d=r=a&&["m"]||a=o&&["h"]||o=s&&["d"]||s=l&&["M"]||l=u&&["y"]||["yy",u];return d[2]=t,d[3]=+e>0,d[4]=n,Hn.apply(null,d)}function qn(e,t){return void 0===Or[e]?!1:void 0===t?Or[e]:(Or[e]=t,!0)}function Nn(e){var t=this.localeData(),n=Un(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Wn(){var e,t,n,i=Yr(this._milliseconds)/1e3,r=Yr(this._days),a=Yr(this._months);e=g(i/60),t=g(e/60),i%=60,e%=60,n=g(a/12),a%=12;var o=n,s=a,l=r,u=t,d=e,c=i,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}var Rn,Fn,zn=e.momentProperties=[],Gn=!1,Vn={},Bn={},Zn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Jn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Qn={},Kn={},Xn=/\d/,ei=/\d\d/,ti=/\d{3}/,ni=/\d{4}/,ii=/[+-]?\d{6}/,ri=/\d\d?/,ai=/\d\d\d\d?/,oi=/\d\d\d\d\d\d?/,si=/\d{1,3}/,li=/\d{1,4}/,ui=/[+-]?\d{1,6}/,di=/\d+/,ci=/[+-]?\d+/,hi=/Z|[+-]\d\d:?\d\d/gi,pi=/Z|[+-]\d\d(?::?\d\d)?/gi,fi=/[+-]?\d+(\.\d{1,3})?/,mi=/[0-9]*(a[mn]\s?)?['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\-]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,gi={},vi={},yi=0,_i=1,wi=2,bi=3,ki=4,Di=5,Mi=6,xi=7,Si=8;j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),j("MMMM",0,0,function(e){return this.localeData().months(this,e)}),S("month","M"),q("M",ri),q("MM",ri,ei),q("MMM",mi),q("MMMM",mi),R(["M","MM"],function(e,t){t[_i]=v(e)-1}),R(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[_i]=r:u(n).invalidMonth=e});var Ti=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Ci="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$i="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sept_Oct_Nov_Dec".split("_"),Oi={};e.suppressDeprecationWarnings=!1;var Yi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Ai=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Ei=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ji=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ii=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=te("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),S("year","y"),q("Y",ci),q("YY",ri,ei),q("YYYY",li,ni),q("YYYYY",ui,ii),q("YYYYYY",ui,ii),R(["YYYYY","YYYYYY"],yi),R("YYYY",function(t,n){n[yi]=2===t.length?e.parseTwoDigitYear(t):v(t)}),R("YY",function(t,n){n[yi]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var Li=O("FullYear",!1);e.ISO_8601=function(){};var Hi=te("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Se.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:c()}),Ui=te("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Se.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:c()}),qi=Date.now||function(){return+new Date};Ae("Z",":"),Ae("ZZ",""),q("Z",pi),q("ZZ",pi),R(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ee(pi,e)});var Ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Wi=/(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ri=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ve.fn=Oe.prototype;var Fi=Qe(1,"add"),zi=Qe(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Gi=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ot("gggg","weekYear"),Ot("ggggg","weekYear"),Ot("GGGG","isoWeekYear"),Ot("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),q("G",ci),q("g",ci),q("GG",ri,ei),q("gg",ri,ei),q("GGGG",li,ni),q("gggg",li,ni),q("GGGGG",ui,ii),q("ggggg",ui,ii),F(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=v(e)}),F(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),j("Q",0,"Qo","quarter"),S("quarter","Q"),q("Q",Xn),R("Q",function(e,t){t[_i]=3*(v(e)-1)}),j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),q("w",ri),q("ww",ri,ei),q("W",ri),q("WW",ri,ei),F(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=v(e)});var Vi={dow:0,doy:6};j("D",["DD",2],"Do","date"),S("date","D"),q("D",ri),q("DD",ri,ei),q("Do",function(e,t){