text: /**
   * Admui-iframe v2.0.0 (http://www.admui.com/)
   * Copyright 2015-2018 Admui Team
   * Licensed under the Admui License 1.1 (http://www.admui.com/about/license)
   */
  !function(e,t,i){i(function(){var e,o=i("#drpConfigText");i("#exampleTimeButton").on("click",function(){i("#inputTextCurrent").timepicker("setTime",new Date)}),i("#inlineDatepicker").datepicker(i.concatCpt("datepicker",{language:"zh-CN"})).on("changeDate",function(){i("#inputHiddenInline").val(i("#inlineDatepicker").datepicker("getFormattedDate"))}),e=function(){var e={},t=i("#timePickerIncrement").val(),a=i("#cancelClass").val(),n=i("#opens").val(),s=i("#drops").val(),r=i("#buttonClasses").val(),c=i("#applyClass").val();i("#singleDatePicker").is(":checked")&&(e.singleDatePicker=!0),i("#showDropdowns").is(":checked")&&(e.showDropdowns=!0),i("#showWeekNumbers").is(":checked")&&(e.showWeekNumbers=!0),i("#showISOWeekNumbers").is(":checked")&&(e.showISOWeekNumbers=!0),i("#timePicker").is(":checked")&&(e.timePicker=!0),i("#timePicker24Hour").is(":checked")&&(e.timePicker24Hour=!0),t.length&&1!==t&&(e.timePickerIncrement=parseInt(t,10)),i("#timePickerSeconds").is(":checked")&&(e.timePickerSeconds=!0),i("#autoApply").is(":checked")&&(e.autoApply=!0),i("#dateLimit").is(":checked")&&(e.dateLimit={days:7}),i("#ranges").is(":checked")&&(e.ranges={Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]}),i("#locale").is(":checked")&&(e.locale={format:"MM/DD/YYYY",separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",fromLabel:"From",toLabel:"To",customRangeLabel:"Custom",weekLabel:"W",daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],firstDay:1}),i("#linkedCalendars").is(":checked")||(e.linkedCalendars=!1),i("#autoUpdateInput").is(":checked")||(e.autoUpdateInput=!1),i("#showCustomRangeLabel").is(":checked")||(e.showCustomRangeLabel=!1),i("#alwaysShowCalendars").is(":checked")&&(e.alwaysShowCalendars=!0),i("#parentEl").val().length&&(e.parentEl=i("#parentEl").val()),i("#startDate").val().length&&(e.startDate=i("#startDate").val()),i("#endDate").val().length&&(e.endDate=i("#endDate").val()),i("#minDate").val().length&&(e.minDate=i("#minDate").val()),i("#maxDate").val().length&&(e.maxDate=i("#maxDate").val()),n.length&&"right"!==n&&(e.opens=n),s.length&&"down"!==s&&(e.drops=s),r.length&&"btn btn-sm"!==r&&(e.buttonClasses=r),c.length&&"btn-success"!==c&&(e.applyClass=c),a.length&&"btn-default"!==a&&(e.cancelClass=a),o.val("$('#demo').daterangepicker("+JSON.stringify(e,null,"    ")+", function(start, end, label) {\n  console.log(\"New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')\");\n});"),i("#drpConfigDemo").daterangepicker(i.concatCpt("daterangepicker",e),function(e,t){toastr.info("新的日期选择范围: "+e.format("YYYY-MM-DD")+" to "+t.format("YYYY-MM-DD")+")")})},i("#rangePickerConfig").find('input:not("#drpConfigDemo, #drpConfigText"), select').change(function(){e()}),i("#startDate").daterangepicker(i.concatCpt("daterangepicker",{singleDatePicker:!0,startDate:moment().subtract(6,"days")})),i("#endDate").daterangepicker(i.concatCpt("daterangepicker",{singleDatePicker:!0,startDate:moment()})),e()})}(document,window,jQuery);