text: Ext.onReady(function(){var a=Ext.ClassManager,a=Ext.Function.bind(a.get,a);Ext.Updater&&(Ext.Updater.defaults.indicatorText='<div class="loading-indicator">\ub85c\ub529\uc911...</div>');Ext.define("Ext.locale.ko.view.View",{override:"Ext.view.View",emptyText:""});Ext.define("Ext.locale.ko.grid.Panel",{override:"Ext.grid.Panel",ddText:"{0} \uac1c\uac00 \uc120\ud0dd\ub418\uc5c8\uc2b5\ub2c8\ub2e4."});Ext.define("Ext.locale.ko.TabPanelItem",{override:"Ext.TabPanelItem",closeText:"\ub2eb\uae30"});Ext.define("Ext.locale.ko.form.field.Base",{override:"Ext.form.field.Base",invalidText:"\uc62c\ubc14\ub978 \uac12\uc774 \uc544\ub2d9\ub2c8\ub2e4."});Ext.define("Ext.locale.ko.view.AbstractView",{override:"Ext.view.AbstractView",msg:"\ub85c\ub529\uc911..."});Ext.Date&&(Ext.Date.monthNames="1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "),Ext.Date.dayNames="\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0".split(""));Ext.MessageBox&&(Ext.MessageBox.buttonText={ok:"\ud655\uc778",cancel:"\ucde8\uc18c",yes:"\uc608",no:"\uc544\ub2c8\uc624"});a("Ext.util.Format")&&Ext.apply(Ext.util.Format,{thousandSeparator:",",decimalSeparator:".",currencySign:"\u20a9",dateFormat:"m/d/Y"});Ext.define("Ext.locale.ko.picker.Date",{override:"Ext.picker.Date",todayText:"\uc624\ub298",minText:"\ucd5c\uc18c \ub0a0\uc9dc\ubc94\uc704\ub97c \ub118\uc5c8\uc2b5\ub2c8\ub2e4.",maxText:"\ucd5c\ub300 \ub0a0\uc9dc\ubc94\uc704\ub97c \ub118\uc5c8\uc2b5\ub2c8\ub2e4.",disabledDaysText:"",disabledDatesText:"",monthNames:Ext.Date.monthNames,dayNames:Ext.Date.dayNames,nextText:"\ub2e4\uc74c\ub2ec(\ucee8\ud2b8\ub864\ud0a4+\uc624\ub978\ucabd \ud654\uc0b4\ud45c)",prevText:"\uc774\uc804\ub2ec (\ucee8\ud2b8\ub864\ud0a4+\uc67c\uc871 \ud654\uc0b4\ud45c)",monthYearText:"\uc6d4\uc744 \uc120\ud0dd\ud574\uc8fc\uc138\uc694. (\ucee8\ud2b8\ub864\ud0a4+\uc704/\uc544\ub798 \ud654\uc0b4\ud45c)",todayTip:"{0} (\uc2a4\ud398\uc774\uc2a4\ubc14)",format:"m/d/y",startDay:0});Ext.define("Ext.locale.ko.picker.Month",{override:"Ext.picker.Month",okText:"\ud655\uc778",cancelText:"\ucde8\uc18c"});Ext.define("Ext.locale.ko.toolbar.Paging",{override:"Ext.PagingToolbar",beforePageText:"\ud398\uc774\uc9c0",afterPageText:"/ {0}",firstText:"\uccab \ud398\uc774\uc9c0",prevText:"\uc774\uc804 \ud398\uc774\uc9c0",nextText:"\ub2e4\uc74c \ud398\uc774\uc9c0",lastText:"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0",refreshText:"\uc0c8\ub85c\uace0\uce68",displayMsg:"\uc804\uccb4 {2}\uac1c \uc911 {0} - {1}\uac1c",emptyMsg:"\ud45c\uc2dc\ud560 \ub370\uc774\ud130\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."});Ext.define("Ext.locale.ko.form.field.Text",{override:"Ext.form.field.Text",minLengthText:"\ucd5c\uc18c\uae38\uc774\ub294 {0}\uc785\ub2c8\ub2e4.",maxLengthText:"\ucd5c\ub300\uae38\uc774\ub294 {0}\uc785\ub2c8\ub2e4.",blankText:"\uac12\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694.",regexText:"",emptyText:null});Ext.define("Ext.locale.ko.form.field.Number",{override:"Ext.form.field.Number",minText:"\ucd5c\uc18c\uac12\uc740 {0}\uc785\ub2c8\ub2e4.",maxText:"\ucd5c\ub300\uac12\uc740 {0}\uc785\ub2c8\ub2e4.",nanText:"{0}\ub294 \uc62c\ubc14\ub978 \uc22b\uc790\uac00 \uc544\ub2d9\ub2c8\ub2e4."});Ext.define("Ext.locale.ko.form.field.Date",{override:"Ext.form.field.Date",disabledDaysText:"\ube44\ud65c\uc131",disabledDatesText:"\ube44\ud65c\uc131",minText:"{0}\uc77c \uc774\ud6c4\uc5ec\uc57c \ud569\ub2c8\ub2e4.",maxText:"{0}\uc77c \uc774\uc804\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.",invalidText:"{0}\ub294 \uc62c\ubc14\ub978 \ub0a0\uc9dc\ud615\uc2dd\uc774 \uc544\ub2d9\ub2c8\ub2e4. - \ub2e4\uc74c\uacfc \uac19\uc740 \ud615\uc2dd\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4. {1}",format:"m/d/y"});Ext.define("Ext.locale.ko.form.field.ComboBox",{override:"Ext.form.field.ComboBox",valueNotFoundText:void 0},function(){Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig,{loadingText:"\ub85c\ub529\uc911..."})});a("Ext.form.field.VTypes")&&Ext.apply(Ext.form.field.VTypes,{emailText:'\uc774\uba54\uc77c \uc8fc\uc18c \ud615\uc2dd\uc5d0 \ub9de\uac8c \uc785\ub825\ud574\uc57c\ud569\ub2c8\ub2e4. (\uc608: "user@example.com")',urlText:'URL \ud615\uc2dd\uc5d0 \ub9de\uac8c \uc785\ub825\ud574\uc57c\ud569\ub2c8\ub2e4. (\uc608: "http://www.example.com")',alphaText:"\uc601\ubb38, \ubc11\uc904(_)\ub9cc \uc785\ub825\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.",alphanumText:"\uc601\ubb38, \uc22b\uc790, \ubc11\uc904(_)\ub9cc \uc785\ub825\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."});Ext.define("Ext.locale.ko.form.field.HtmlEditor",{override:"Ext.form.field.HtmlEditor",createLinkText:"URL\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694:"},function(){Ext.apply(Ext.form.field.HtmlEditor.prototype,{buttonTips:{bold:{title:"\uad75\uac8c (Ctrl+B)",text:"\uc120\ud0dd\ud55c \ud14d\uc2a4\ud2b8\ub97c \uad75\uac8c \ud45c\uc2dc\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},italic:{title:"\uae30\uc6b8\uc784\uaf34 (Ctrl+I)",text:"\uc120\ud0dd\ud55c \ud14d\uc2a4\ud2b8\ub97c \uae30\uc6b8\uc784\uaf34\ub85c \ud45c\uc2dc\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},underline:{title:"\ubc11\uc904 (Ctrl+U)",text:"\uc120\ud0dd\ud55c \ud14d\uc2a4\ud2b8\uc5d0 \ubc11\uc904\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},increasefontsize:{title:"\uae00\uaf34\ud06c\uae30 \ub298\ub9bc",text:"\uae00\uaf34 \ud06c\uae30\ub97c \ud06c\uac8c \ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},decreasefontsize:{title:"\uae00\uaf34\ud06c\uae30 \uc904\uc784",text:"\uae00\uaf34 \ud06c\uae30\ub97c \uc791\uac8c \ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},backcolor:{title:"\ud14d\uc2a4\ud2b8 \uac15\uc870 \uc0c9",text:"\uc120\ud0dd\ud55c \ud14d\uc2a4\ud2b8\uc758 \ubc30\uacbd\uc0c9\uc744 \ubcc0\uacbd\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},forecolor:{title:"\uae00\uaf34\uc0c9",text:"\uc120\ud0dd\ud55c \ud14d\uc2a4\ud2b8\uc758 \uc0c9\uc744 \ubcc0\uacbd\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifyleft:{title:"\ud14d\uc2a4\ud2b8 \uc67c\ucabd \ub9de\ucda4",text:"\uc67c\ucabd\uc5d0 \ud14d\uc2a4\ud2b8\ub97c \ub9de\ucda5\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifycenter:{title:"\uac00\uc6b4\ub370 \ub9de\ucda4",text:"\uac00\uc6b4\ub370\uc5d0 \ud14d\uc2a4\ud2b8\ub97c \ub9de\ucda5\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifyright:{title:"\ud14d\uc2a4\ud2b8 \uc624\ub978\ucabd \ub9de\ucda4",text:"\uc624\ub978\ucabd\uc5d0 \ud14d\uc2a4\ud2b8\ub97c \ub9de\ucda5\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},insertunorderedlist:{title:"\uae00\uba38\ub9ac \uae30\ud638",text:"\uae00\uba38\ub9ac \uae30\ud638 \ubaa9\ub85d\uc744 \uc2dc\uc791\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},insertorderedlist:{title:"\ubc88\ud638 \ub9e4\uae30\uae30",text:"\ubc88\ud638 \ub9e4\uae30\uae30 \ubaa9\ub85d\uc744 \uc2dc\uc791\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},createlink:{title:"\ud558\uc774\ud37c\ub9c1\ud06c",text:"\uc120\ud0dd\ud55c \ud14d\uc2a4\ud2b8\uc5d0 \ud558\uc774\ud37c\ub9c1\ud06c\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"},sourceedit:{title:"\uc18c\uc2a4\ud3b8\uc9d1",text:"\uc18c\uc2a4\ud3b8\uc9d1 \ubaa8\ub4dc\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4.",cls:Ext.baseCSSPrefix+"html-editor-tip"}}})});Ext.define("Ext.locale.ko.grid.header.Container",{override:"Ext.grid.header.Container",sortAscText:"\uc624\ub984\ucc28\uc21c \uc815\ub82c",sortDescText:"\ub0b4\ub9bc\ucc28\uc21c \uc815\ub82c",lockText:"\uce7c\ub7fc \uc7a0\uae08",unlockText:"\uce7c\ub7fc \uc7a0\uae08\ud574\uc81c",columnsText:"\uce7c\ub7fc \ubaa9\ub85d"});Ext.define("Ext.locale.ko.grid.GroupingFeature",{override:"Ext.grid.GroupingFeature",emptyGroupText:"(None)",groupByText:"\ud604\uc7ac \ud544\ub4dc\ub85c \uadf8\ub8f9\ud551\ud569\ub2c8\ub2e4.",showGroupsText:"\uadf8\ub8f9\uc73c\ub85c \ubcf4\uc5ec\uc8fc\uae30"});Ext.define("Ext.locale.ko.grid.PropertyColumnModel",{override:"Ext.grid.PropertyColumnModel",nameText:"\ud56d\ubaa9",valueText:"\uac12",dateFormat:"m/j/Y"})});
  Ext.define("Ext.ux.selection.CheckboxModel",{extend:"Ext.selection.Model",requires:["Ext.util.KeyNav"],isCellModel:!0,enableKeyNav:!0,preventWrap:!1,noSelection:{row:-1,column:-1},mousedownAction:!1,rowSelectMode:!1,mode:"MULTI",injectCheckbox:0,showHeaderCheckbox:void 0,checkSelector:"."+Ext.baseCSSPrefix+"grid-row-checker",checkerOnCls:Ext.baseCSSPrefix+"grid-hd-checker-on",headerWidth:24,ignoreRightMouseSelection:!1,hasLockedHeader:function(){var a=this.views,b=a.length,c;for(c=0;c<b;c++)if(a[c].headerCt.lockedCt)return!0;return!1},addCheckbox:function(a,b){var c=this.injectCheckbox,d=a.headerCt;!1!==c&&("first"==c?this.injectCheckbox=c=0:"last"==c&&(this.injectCheckbox=c=d.getColumnCount()),Ext.suspendLayouts(),a.getStore().buffered&&(this.showHeaderCheckbox=!1),d.add(c,this.getHeaderConfig()),Ext.resumeLayouts());!0!==b&&a.refresh()},getHeaderConfig:function(){var a=!1!==this.showHeaderCheckbox;return{isCheckerHd:a,text:"&#160;",width:this.headerWidth,sortable:!1,draggable:!1,resizable:!1,hideable:!1,menuDisabled:!0,dataIndex:"",cls:a?Ext.baseCSSPrefix+"column-header-checkbox ":"",renderer:Ext.Function.bind(this.renderer,this),editRenderer:this.editRenderer||this.renderEmpty,locked:this.hasLockedHeader()}},getSelection:function(){return 1!=this.rowSelectMode?[]:this.selected.getRange()},renderEmpty:function(){return"&#160;"},renderer:function(a,b){var c=Ext.baseCSSPrefix;b.tdCls=c+"grid-cell-special "+c+"grid-cell-row-checker";return'<div class="'+c+'grid-row-checker">&#160;</div>'},beforeViewRender:function(a){var b=this.views;this.callParent(arguments);-1===Ext.Array.indexOf(b,a)&&b.push(a);if(!this.hasLockedHeader()||a.headerCt.lockedCt){if(!1!==this.showHeaderCheckbox)a.headerCt.on("headerclick",this.onHeaderClick,this);this.addCheckbox(a,!0);b=a.ownerCt;a.headerCt.lockedCt&&(b=b.ownerCt);this.mon(b,"reconfigure",this.onReconfigure,this)}},onHeaderClick:function(a,b,c){b.isCheckerHd&&(!1==this.rowSelectMode&&(this.view.onCellDeselect(this.getCurrentPosition()),this.clearSelections()),c.stopEvent(),a=b.el.hasCls(Ext.baseCSSPrefix+"grid-hd-checker-on"),this.rowSelectMode=this.preventFocus=!0,a?this.deselectAll():this.selectAll(),delete this.preventFocus)},toggleUiHeader:function(a){var b=this.views[0].headerCt.child("gridcolumn[isCheckerHd]"),c=this.checkerOnCls;b&&(a?b.addCls(c):b.removeCls(c))},updateHeaderState:function(){
  var a=this.store,b=a.getCount(),c=this.views,d=!1,e=0,f;if(!a.buffered&&0<b){a=this.selected;f=0;for(d=a.getCount();f<d&&this.storeHasSelected(a.getAt(f));++f)++e;d=b===e}c&&c.length&&this.toggleUiHeader(d&&(b!=1||this.rowSelectMode==1))},constructor:function(){this.addEvents("deselect","select");this.views=[];this.callParent(arguments)},bindComponent:function(a){var b=a.ownerCt;this.primaryView=a;this.views=this.views||[];this.views.push(a);this.bindStore(a.getStore(),!0);a.on({cellmousedown:this.onMouseDown,refresh:this.onViewRefresh,scope:this});if(!1!==b.optimizedColumnMove)b.on("columnmove",this.onColumnMove,this);this.enableKeyNav&&this.initKeyNav(a);this.sortable=!1},initKeyNav:function(a){if(a.rendered)a.el.set({tabIndex:-1}),this.keyNav=new Ext.util.KeyNav({target:a.el,ignoreInputFields:!0,up:this.onKeyUp,down:this.onKeyDown,right:this.onKeyRight,left:this.onKeyLeft,tab:this.onKeyTab,scope:this});else a.on("render",Ext.Function.bind(this.initKeyNav,this,[a],0),this,{single:!0})},getHeaderCt:function(){var a=this.getCurrentPosition();return(a?a.view:this.primaryView).headerCt},onKeyUp:function(a){this.doMove("up",a)},onKeyDown:function(a){this.doMove("down",a)},onKeyLeft:function(a){this.doMove("left",a)},onKeyRight:function(a){this.doMove("right",a)},doMove:function(a,b){this.keyNavigation=!0;this.move(a,b);this.keyNavigation=!1},move:function(a,b){var c=this.getCurrentPosition(),d;return c&&(d=c.view.walkCells(c,a,b,this.preventWrap))?(d.view=c.view,this.setCurrentPosition(d)):null},getCurrentPosition:function(){return this.selecting?this.nextSelection:this.selection},setCurrentPosition:function(a){var b=this.selection;if(this.lastSelection=b)if(a&&a.row===b.row&&a.column===b.column&&a.view===b.view)a=null;else this.onCellDeselect(this.selection);return a?(this.nextSelection=new this.Selection(this),this.nextSelection.setPosition(a),this.selecting=!0,this.onCellSelect(this.nextSelection),this.selecting=!1,this.selection=this.nextSelection):null},isCellSelected:function(a,b,c){var d,e=this.getCurrentPosition();if(e&&e.view===a)return!0==this.rowSelectMode?!1:(d=new this.Selection(this),d.setPosition({view:a,row:b,column:c}),d.record===e.record&&d.columnHeader===e.columnHeader)},onStoreRemove:function(a,b,c){var d=this.getCurrentPosition(),e,f=b.length,g,h=0;this.callParent(arguments);if(d&&!(c[0]>d.row)){for(e=0;e<f;e++)if(g=c[e],g<d.row)h++;else break;h&&d.setRow(d.row-h)}this.callParent(arguments);this.updateHeaderState()},onMouseDown:function(a,b,c,d,e,f,g){g.getTarget(this.checkSelector);c==this.injectCheckbox?(!1==this.rowSelectMode&&this.setCurrentPosition({view:a,row:e,column:c}),this.rowSelectMode=!0,a=this.getSelectionMode(),"SINGLE"!==a&&(g.shiftKey?this.setSelectionMode("MULTI"):this.setSelectionMode("SIMPLE")),this.selectWithEvent(d,g),this.setSelectionMode("SIMPLE")):-1!==f?(!0==this.rowSelectMode&&this.deselectAll(),this.rowSelectMode=!1,this.setCurrentPosition({view:a,row:e,column:c})):(this.rowSelectMode=!1,this.selectWithEvent(d,g))},onCellSelect:function(a,b){a&&void 0!==a.row&&-1<a.row&&this.injectCheckbox!=a.column&&this.doSelect(a.record,!1,b)},onCellDeselect:function(a,b){a&&void 0!==a.row&&this.injectCheckbox!=a.column&&!1==this.rowSelectMode&&this.doDeselect(a.record,b)},onStoreLoad:function(){this.callParent(arguments);this.updateHeaderState()},onStoreAdd:function(){this.callParent(arguments);this.updateHeaderState()},onStoreRefresh:function(){this.callParent(arguments);this.updateHeaderState()},onSelectChange:function(a,b,c,d){var e=this;e.getCurrentPosition();if(!0==e.rowSelectMode){var e=this,f=e.views,g=f.length,h=f[0].indexOf(a),j=b?"select":"deselect",k=0;if(!1!==(c||e.fireEvent("before"+j,e,a,h))&&!1!==d()){for(;k<g;k++)if(b)f[k].onRowSelect(h,c);else f[k].onRowDeselect(h,c);c||e.fireEvent(j,e,a,h)}}else if(e=this,b?(f=e.nextSelection,j="select"):(f=e.lastSelection||e.noSelection,j="deselect"),g=f.view||e.primaryView,!1!==(c||e.fireEvent("before"+j,e,a,f.row,f.column))&&!1!==d())b?(g.onCellSelect(f),g.onCellFocus(f)):(g.onCellDeselect(f),delete e.selection),c||e.fireEvent(j,e,a,f.row,f.column);this.updateHeaderState()},onKeyTab:function(a){var b=this.getCurrentPosition();if(b)if((b=b.view.editingPlugin)&&this.wasEditing)this.onEditorTab(b,a);else this.move(a.shiftKey?"left":"right",a)},onEditorTab:function(a,b){var c=this.move(b.shiftKey?"left":"right",b);if(c)if(a.startEdit(c.row,c.column))this.wasEditing=!1;else if(this.wasEditing=!0,!c.columnHeader.dataIndex)this.onEditorTab(a,b)},refresh:function(){var a=this.getCurrentPosition(),b;if(a&&-1!==(b=this.store.indexOf(this.selected.last())))a.row=b;this.updateHeaderState()},select:function(a,b,c){!1==this.rowSelectMode&&(this.view.onCellDeselect(this.getCurrentPosition()),this.clearSelections());this.rowSelectMode=!0;Ext.isDefined(a)&&this.doSelect(a,b,c)},selectAll:function(a){this.view.onCellDeselect(this.getCurrentPosition());this.clearSelections();this.rowSelectMode=!0;var b=this.store.getRange(),c=0,d=b.length,e=this.getSelection().length;for(this.bulkChange=!0;c<d;c++)this.doSelect(b[c],!0,a);delete this.bulkChange;this.maybeFireSelectionChange(this.getSelection().length!==e)},deselectAll:function(d){this.view.onCellDeselect(this.getCurrentPosition());var c=this.getSelection(),b=0,e=c.length,f=this.getSelection().length;for(this.bulkChange=!0;b<e;b++)this.doDeselect(c[b],d);delete this.bulkChange;this.maybeFireSelectionChange(this.getSelection().length!==f)},onColumnMove:function(a){if(a=a.up("tablepanel"))this.onViewRefresh(a.view)},onUpdate:function(a){this.isSelected(a)&&(a=this.selecting?this.nextSelection:this.selection,this.view.onCellSelect(a))},onViewRefresh:function(a){var b=this.getCurrentPosition(),c=a.headerCt,d;b&&b.view===a&&(d=b.record,b=b.columnHeader,b.isDescendantOf(c)||(b=c.queryById(b.id)||c.down('[text="'+b.text+'"]')||c.down('[dataIndex="'+b.dataIndex+'"]')),b&&-1!==a.store.indexOfId(d.getId())&&this.setCurrentPosition({row:d,column:b,view:a}))},selectByPosition:function(a){this.setCurrentPosition(a)}},function(){var a=this.prototype.Selection=function(a){this.model=a;this.view=a.primaryView};a.prototype.setPosition=function(a,c){1===arguments.length&&(a.view&&(this.view=a.view),c=a.column,a=a.row);this.setRow(a);this.setColumn(c);return this};a.prototype.setRow=function(a){void 0!==a&&("number"===typeof a?(this.row=Math.max(Math.min(a,this.view.store.getCount()-1),0),this.record=this.view.store.getAt(a)):a.isModel?(this.record=a,this.row=this.view.indexOf(a)):a.tagName&&(this.record=this.view.getRecord(a),this.row=this.view.indexOf(this.record)))};a.prototype.setColumn=function(a){void 0!==a&&("number"===typeof a?(this.column=a,this.columnHeader=this.view.getHeaderAtIndex(a)):a.isHeader&&(this.columnHeader=a,this.column=a.getIndex()))}});
  function GetNumberFormat(a){if(!a)return"0";var b=a.toString(),b=b.replace(/[^0-9\-\.]+/gi,"");0==b.length&&(b="0");a=b.split(".");var b=a[0],c=!1;"-"==b.substr(0,1)&&(b=b.replace("-",""),c=!0);var b=parseInt(b.replace(/[^\d]+/g,"")),b=b.toString(),d=0,e="";for(i=b.length;0<i;i--)e+=b.substr(i-1,1),d++,0==d%3&&1!=i&&(e+=",");b="";d=e.length-1;for(i=0;i<e.length;i++)b+=e.substr(d,1),d--;!0==c&&(b="-"+b);2==a.length&&(b+="."+a[1]);return b}function GridNumberFormat(a){try{if(void 0===a&&(a=0),0!=a.length)return 0<=a.toString().indexOf(".")?'<div style="text-align:right;font-family:tahoma;">'+Ext.util.Format.number(a,"0,0.00")+"</div>":'<div style="text-align:right;font-family:tahoma;">'+Ext.util.Format.number(a,"0,0")+"</div>"}catch(b){return a}}function GetFileSize(a){a=parseInt(a);return 1024>a?a+"B":1048576>a?(a/1024).toFixed(2)+"KiB":1073741824>a?(a/1048576).toFixed(2)+"MiB":(a/1073741824).toFixed(2)+"GiB"}function GetFileIcon(a){a=a.split(".");a=a[a.length-1].toLowerCase();var b=[];b.gif="../images/common/fileicon/img.png";b.ai="../images/common/fileicon/img.png";b.jpg="../images/common/fileicon/img.png";b.jpeg="../images/common/fileicon/img.png";b.bmp="../images/common/fileicon/img.png";b.psd="../images/common/fileicon/img.png";b.png="../images/common/fileicon/img.png";b.xls="../images/common/fileicon/excel.png";b.xlsx="../images/common/fileicon/excel.png";b.txt="../images/common/fileicon/txt.png";b.csv="../images/common/fileicon/excel.png";b.doc="../images/common/fileicon/word.png";b.docx="../images/common/fileicon/word.png";b.ppt="../images/common/fileicon/ppt.png";b.pptx="../images/common/fileicon/ppt.png";b.hwp="../images/common/fileicon/hwp.png";b.zip="../images/common/fileicon/zip.png";b.rar="../images/common/fileicon/zip.png";b.alz="../images/common/fileicon/zip.png";b.avi="../images/common/fileicon/mov.png";b.mpg="../images/common/fileicon/mov.png";b.mpeg="../images/common/fileicon/mov.png";b.wmv="../images/common/fileicon/mov.png";b.php="../images/common/fileicon/php.png";b.phps="../images/common/fileicon/php.png";b.php3="../images/common/fileicon/php.png";b.php4="../images/common/fileicon/php.png";b.as="../images/common/fileicon/as.png";b.swf="../images/common/fileicon/swf.png";b.fla="../images/common/fileicon/as.png";b.unknown="../images/common/fileicon/unknown.png";return b[a]?b[a]:b.unknown}function GetGridData(a){for(var b=[],c=0,d=a.getStore().getCount();c<d;c++){for(var e=[],f=0,g=a.getView().getGridColumns().length;f<g;f++)if(a.getView().getGridColumns()[f].dataIndex){var h=a.getView().getGridColumns()[f].dataIndex,j=void 0!==a.getStore().getAt(c).get(h)?a.getStore().getAt(c).get(h).toString():"";e.push('"'+h+'":"'+j.replace(/\"/g,"&quot;")+'"')}b[c]="{"+e.join(",")+"}"}a=b.join(",");a=a.replace(RegExp("\\+","gi"),"#*plus*#");return encodeURIComponent(a)}new Ext.Window({id:"AzUploadProgress",title:"\ucca8\ubd80\ud30c\uc77c\ub4f1\ub85d",modal:!0,width:600,resizable:!1,closable:!1,layout:"fit",items:[new Ext.Panel({border:!1,items:[new Ext.ProgressBar({style:{margin:"5px"},text:"\uc5c5\ub85c\ub4dc \ub300\uae30\uc911",id:"AzFileProgressBar"}),new Ext.ProgressBar({style:{margin:"5px"},text:"\uc5c5\ub85c\ub4dc \ub300\uae30\uc911",id:"AzTotalProgressBar"})]})],bbar:["->",new Ext.Toolbar.TextItem({id:"AzUploaderSpeed",cls:"x-status-text-panel",style:{marginRight:"0px"},text:"\uc5c5\ub85c\ub4dc\uc18d\ub3c4 : 0.00KiB"}),new Ext.Toolbar.TextItem({id:"AzUploaderTime",cls:"x-status-text-panel",text:"\uacbd\uacfc\uc2dc\uac04 : 00:00 / \uc608\uc0c1\ub0a8\uc740\uc2dc\uac04: 00:00"})]});function AzUploaderOnSelect(a,b){if(0<b.length)a.errorFiles=[],Ext.getCmp("AzUploadProgress").show(),a.upload();else a.onComplete()}function AzUploaderOnProgress(a,b,c,d,e,f){try{Ext.getCmp("AzFileProgressBar").updateProgress(c.upload/c.total,b.name+" \uc5c5\ub85c\ub4dc \uc911... ("+(100*c.upload/c.total).toFixed(2)+"%)");Ext.getCmp("AzTotalProgressBar").updateProgress(d.upload/d.total,"\uc804\uccb4 "+d.count+"\uac1c\uc758 \ud30c\uc77c\uc911 "+c.count+"\ubc88\uc9f8 \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc911... ("+(100*d.upload/d.total).toFixed(2)+"%)");Ext.getCmp("AzUploaderSpeed").setText("\uc5c5\ub85c\ub4dc\uc18d\ub3c4: "+GetFileSize(1024*f.total));a="\uacbd\uacfc\uc2dc\uac04 : ";var g=10>e.total%60?"0"+Math.floor(e.total%60):Math.floor(e.total%60),h=Math.floor(e.total/60);if(60<h){var j=Math.floor(h/60),h=10>h%60?"0"+Math.floor(h%60):Math.floor(h%60);a+=j+":"}a+=h+":"+g;b="\uc608\uc0c1\ub0a8\uc740\uc2dc\uac04 : ";g=10>e.remain%60?"0"+Math.floor(e.remain%60):Math.floor(e.remain%60);h=Math.floor(e.remain/60);60<h&&(j=Math.floor(h/60),h=10>h%60?"0"+Math.floor(h%60):Math.floor(h%60),b+=j+":");b+=h+":"+g;Ext.getCmp("AzUploaderTime").setText(a+" / "+b)}catch(k){alert(k)}}function AzUploaderOnComplete(a){if(0<a.errorFiles.length){for(var b="\uc544\ub798\uc758 \ud30c\uc77c\uc774 \uc6a9\ub7c9\ucd08\uacfc\ub85c \uc5c5\ub85c\ub4dc \ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.",c=0,d=a.errorFiles.length;c<d;c++)b+="<br />"+a.errorFiles[c];Ext.Msg.show({title:"\uc5d0\ub7ec",msg:b,buttons:Ext.Msg.OK,icon:Ext.Msg.ERROR})}Ext.getCmp("AzUploadProgress").hide()}function AzUploaderBeforeLoad(a){if(!a.loadURL)return!1;document.getElementById(a.id+"-image").innerHTML="";document.getElementById(a.id+"-file").innerHTML=""}function AzUploaderOnLoad(a,b){var s=Ext.getCmp(a.formElement).body.dom.scrollTop;if("FALSE"==b.server)a.errorFiles.push(b.name);else{var c=b.server.split("|");a.formElement&&Ext.getCmp(a.formElement).add(new Ext.form.Hidden({name:a.id+"-files[]",value:b.server}));var d="";if("IMG"==c[1])var e=document.getElementById(a.id+"-image"),d=d+('<div id="AzUploadedFile-'+a.id+"-"+c[0]+'" class="AzUploaderPreviewImage">'),d=a.wysiwygElement?d+('<div class="image"><img src="'+c[4]+'" alt="'+c[2]+'" style="width:71px;" title="\ud074\ub9ad\ud558\uc2dc\uba74, \ubcf8\ubb38\uc5d0 \uc0bd\uc785\ub429\ub2c8\ub2e4." onclick="AzUploaderInsertWysiwyg(\''+a.id+"','"+b.server+"');\" /></div>"):d+('<div class="image"><img src="'+c[4]+'" alt="'+c[2]+'" style="width:71px;" /></div>'),d=d+'<div class="text">'+("<div>"+GetFileSize(c[3])+"</div>"),d=d+('<img src="'+ENV.dir+'/images/common/btn_file_delete.gif" alt="\uc0ad\uc81c" onclick="AzUploaderDeleteFile(\''+a.id+"','"+b.server+'\');" class="pointer" />'),d=d+"</div>",d=d+"</div>";else e=document.getElementById(a.id+"-file"),d+='<div id="AzUploadedFile-'+c[0]+'" class="AzUploaderPreviewFile">',d=a.wysiwygElement?d+('<span class="text" title="\ud074\ub9ad\ud558\uc2dc\uba74, \ubcf8\ubb38\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4." onclick="AzUploaderInsertWysiwyg(\''+a.id+"','"+b.server+"');\">"+c[2]+"</span>"):d+('<span class="text">'+c[2]+"</span>"),d+='<span class="size">('+GetFileSize(c[3])+')</span> <span class="button"><img src="'+ENV.dir+'/images/common/btn_file_delete.gif" alt="\uc0ad\uc81c" onclick="AzUploaderDeleteFile(\''+a.id+"','"+b.server+'\');" class="pointer" /></span></div>';e.innerHTML+=d;a.panelElement&&Ext.getCmp(a.panelElement).doLayout();Ext.getCmp(a.formElement).body.dom.scrollTop=s;}}function AzUploaderOnUpload(a,b){AzUploaderOnLoad(a,b)}function AzUploaderOnError(a,b,c){a.errorFiles.push(c.name)}function AzUploaderInsertWysiwyg(a,b){var c=AzUploaderComponent.get(a),d=b.split("|"),e="",e="IMG"==d[1]?e+('<img name="InsertFile" file="'+d[0]+'" src="'+c.moduleDir+"/exec/ShowImage.do.php?idx="+d[0]+'" />'):e+('<a name="InsertFile" file="'+d[0]+'" href="'+c.moduleDir+"/exec/FileDownload.do.php?idx="+d[0]+'" />'+d[2]+" ("+GetFileSize(d[3])+")</a>");try{oEditors.getById[c.wysiwygElement].exec("PASTE_HTML",[e])}catch(f){Ext.Msg.show({title:"\uc548\ub0b4",msg:"\uc5d0\ub514\ud130\uc5d0 \ucee4\uc11c\ub97c \uc785\ub825\ud55c \ub4a4\uc5d0 \uc0bd\uc785\ud558\uc5ec \uc8fc\uc2ed\uc2dc\uc624.",buttons:Ext.Msg.OK,icon:Ext.Msg.INFO})}}function AzUploaderDeleteFile(a,b){var c=AzUploaderComponent.get(a);var s=Ext.getCmp(c.formElement).body.dom.scrollTop;Ext.Msg.show({title:"\uc548\ub0b4",msg:"\ud574\ub2f9 \ud30c\uc77c\uc744 \uc815\ub9d0 \uc0ad\uc81c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?<br />\ubcf8\ubb38\uc5d0 \uc0bd\uc785\ub418\uc5b4\uc788\ub294 \ud30c\uc77c\uc744 \uc0ad\uc81c\ud560 \uacbd\uc6b0, \ubcf8\ubb38\uc5d0\uc11c\ub3c4 \uc0ad\uc81c\ub429\ub2c8\ub2e4.",buttons:Ext.Msg.YESNO,icon:Ext.Msg.QUESTION,fn:function(a){if("yes"==a){a=b.split("|");if(c.formElement)for(var e=Ext.getCmp(c.formElement).getForm().getFields().items,f=0,g=e.length;f<g;f++)if(e[f].getName()==c.id+"-file[]"&&e[f].getValue()==b){e[f].setValue(a[0]);break}if(c.wysiwygElement){e=oEditors.getById[c.wysiwygElement].getWYSIWYGDocument().body;g="IMG"==a[1]?e.getElementsByTagName("img"):e.getElementsByTagName("a");for(f=g.length-1;0<=f;f--)"InsertFile"==g[f].getAttribute("name")&&g[f].getAttribute("file")==a[0]&&(e.appendChild(g[f]),e.removeChild(g[f]))}document.getElementById("AzUploadedFile-"+c.id+"-"+a[0]).style.display="none";c.panelElement&&Ext.getCmp(c.panelElement).doLayout();Ext.getCmp(c.formElement).body.dom.scrollTop=s;}}})}function FormAddressFieldSet(a,b,c,d,e,f){b||(b="\uc8fc\uc18c");d||(d="zipcode");e||(e="address1");f||(f="address2");var g=new Ext.data.JsonStore({proxy:{type:"ajax",simpleSortMode:!0,url:ENV.dir+"/exec/Extjs.get.php",reader:{type:"json",root:"lists",totalProperty:"totalCount"},extraParams:{action:"address"}},remoteSort:!1,sorters:[{property:"address",direction:"ASC"}],autoLoad:!1,fields:["zipcode","address","value"],listeners:{load:{fn:function(b){0==b.getCount()?Ext.Msg.show({title:"\uc5d0\ub7ec",msg:"\uc8fc\uc18c\ub97c \ucc3e\uc744\uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uac80\uc0c9\ud558\uc5ec \uc8fc\uc2ed\uc2dc\uc624.",buttons:Ext.Msg.OK,icon:Ext.Msg.ERROR,fn:function(){Ext.getCmp(a+"-AddressSearch").focus()}}):Ext.getCmp(a+"-AddressList").enable()}}}});return new Ext.form.FieldSet({title:b,items:[new Ext.form.FieldContainer({fieldLabel:"\uc6b0\ud3b8\ubc88\ud638\uac80\uc0c9",layout:"hbox",anchor:"100%",items:[new Ext.form.TextField({id:a+"-AddressSearch",emptyText:"\uc74d.\uba74.\ub3d9\uc744 \uc785\ub825\ud558\uc138\uc694.",allowBlank:!0,enableKeyEvents:!0,listeners:{keydown:{fn:function(a,b){if(13==b.keyCode){if(!a.getValue())return Ext.Msg.show({title:"\uc5d0\ub7ec",msg:"\uc8fc\uc18c\ub97c \uac80\uc0c9\ud560 \uc74d.\uba74.\ub3d9\uc744 \uc785\ub825\ud558\uc5ec \uc8fc\uc2ed\uc2dc\uc624.",buttons:Ext.Msg.OK,icon:Ext.Msg.ERROR,fn:function(){a.focus()}}),!1;g.getProxy().setExtraParam("keyword",a.getValue());g.load();b.stopEvent()}}}}}),new Ext.Button({text:"\uc6b0\ud3b8\ubc88\ud638\uac80\uc0c9",style:"margin-bottom:4px;",handler:function(){if(!Ext.getCmp(a+"-AddressSearch").getValue())return Ext.Msg.show({title:"\uc5d0\ub7ec",msg:"\uc8fc\uc18c\ub97c \uac80\uc0c9\ud560 \uc74d.\uba74.\ub3d9\uc744 \uc785\ub825\ud558\uc5ec \uc8fc\uc2ed\uc2dc\uc624.",buttons:Ext.Msg.OK,icon:Ext.Msg.ERROR,fn:function(){Ext.getCmp(a+"-AddressSearch").focus()}}),!1;g.getProxy().setExtraParam("keyword",Ext.getCmp(a+"-AddressSearch").getValue());g.load()}})]}),new Ext.form.ComboBox({fieldLabel:"\uae30\ubcf8\uc8fc\uc18c\uc120\ud0dd",id:a+"-AddressList",disabled:!0,typeAhead:!0,lazyRender:!1,store:g,editable:!1,triggerAction:"all",displayField:"address",valueField:"value",emptyText:"\uae30\ubcf8\uc8fc\uc18c\ub97c \uc120\ud0dd\ud558\uc138\uc694.",listeners:{select:{fn:function(b,c){Ext.getCmp(a).getForm().findField(d).setValue(c[0].data.zipcode);Ext.getCmp(a).getForm().findField(e).setValue(c[0].data.value);Ext.getCmp(a).getForm().findField(f).focus(!1,100)}}}}),new Ext.form.FieldContainer({fieldLabel:"\uc6b0\ud3b8\ubc88\ud638",layout:"hbox",items:[new Ext.form.TextField({name:d,width:100,allowBlank:c,readOnly:!0,style:{marginRight:"5px"}}),new Ext.form.TextField({name:e,allowBlank:c,readOnly:!0,flex:1})]}),new Ext.form.TextField({fieldLabel:"\uc0c1\uc138\uc8fc\uc18c",name:f,allowBlank:c})]})};function deepCopy(b){var c={};if("object"==typeof b){"undefined"!=typeof b.length&&(c=[]);for(var a in b)"object"==typeof b[a]?c[a]=deepObjCopy(b[a]):"string"==typeof b[a]?c[a]=b[a]:"number"==typeof b[a]?c[a]=b[a]:"boolean"==typeof b[a]&&(!0==b[a]?c[a]=!0:c[a]=!1)}return c};