diff --git a/Projects/WebGIM/GIM_site/help/EN/Services/MediaObjects/flash_mp3_player/mp3player.swf b/Projects/WebGIM/GIM_site/help/EN/Services/MediaObjects/flash_mp3_player/mp3player.swf new file mode 100644 index 0000000..7130dde Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/Services/MediaObjects/flash_mp3_player/mp3player.swf differ diff --git a/Projects/WebGIM/GIM_site/help/EN/Services/MediaObjects/media_element_2_9_5/flashmediaelement.swf b/Projects/WebGIM/GIM_site/help/EN/Services/MediaObjects/media_element_2_9_5/flashmediaelement.swf new file mode 100644 index 0000000..3e347aa Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/Services/MediaObjects/media_element_2_9_5/flashmediaelement.swf differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/content.css b/Projects/WebGIM/GIM_site/help/EN/content_style/content.css new file mode 100644 index 0000000..93620c4 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/content_style/content.css @@ -0,0 +1,774 @@ +/* Page */ +div.ilc_page_frame_PageFrame +{ + padding-left: 15px; + padding-right: 15px; +} + +div.ilc_page_cont_PageContainer +{ + border: 1px solid #D6D6D6; + background-color: #FFF; + padding: 20px; +} + +div.ilc_page_Page +{ + min-height: 300px; +} + +h1.ilc_page_title_PageTitle +{ + margin-top: 5px; + margin-bottom: 20px; + font-size: 140%; + padding-bottom: 3px; + border-bottom: 1px solid #000; + font-weight: normal; +} + +div.ilc_page_tnav_TopNavigation +{ + padding: 3px; + border-style: solid; + border-color: #D6D6D6; + border-left-width: 1px; + border-right-width: 1px; + border-top-width: 1px; + border-bottom-width: 0px; + background-color: #F6F6F6; + margin: 0px; +} + +div.ilc_page_bnav_BottomNavigation +{ + padding: 3px; + border-style: solid; + border-color: #D6D6D6; + border-left-width: 1px; + border-right-width: 1px; + border-top-width: 0px; + border-bottom-width: 1px; + background-color: #F6F6F6; + margin: 0px; +} + +div.ilc_page_lnav_LeftNavigation +{ + float: left; + width: 50%; + text-align:left; + font-size: 80%; +} + +a.ilc_page_lnavlink_LeftNavigationLink +{ +} + +img.ilc_page_lnavimage_LeftNavigationImage +{ + background-image: url(images/nav_arr_L_s.png); + background-repeat: no-repeat; + background-position: left 1px; + width: 16px; + height: 16px; +} + +div.ilc_page_rnav_RightNavigation +{ + text-align:right; + font-size: 80%; +} + +a.ilc_page_rnavlink_RightNavigationLink +{ +} + +img.ilc_page_rnavimage_RightNavigationImage +{ + background-image: url(images/nav_arr_R_s.png); + background-repeat: no-repeat; + background-position: right 1px; + width: 16px; + height: 16px; +} + +div.ilc_page_fn_Footnote +{ + margin-top: 5px; + margin-bottom: 5px; + font-style: italic; +} + +div.ilc_BacklinkTitle +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 100%; + font-style: italic; + padding-top: 3px; + border-top-width: 1px; + border-top-style: solid; + border-color: #000000; +} + +/* Text (Character) */ +span.ilc_text_inline_Strong +{ + font-weight: bold; +} + +span.ilc_text_inline_Emph +{ + font-style: italic; +} + +span.ilc_text_inline_Comment +{ + color: green; +} + +span.ilc_text_inline_Quotation +{ + color: brown; + font-style: italic; +} + +span.ilc_text_inline_Important +{ + text-decoration: underline; +} + +span.ilc_text_inline_Accent +{ + color: #E000E0; +} + +/* Links */ +a.ilc_link_FootnoteLink +{ + color: blue; + font-weight: normal; +} + +a.ilc_link_FootnoteLink:hover +{ + color:#000000; +} + +a.ilc_link_IntLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +a.ilc_link_IntLink:hover +{ + color:#000000; +} + +a.ilc_link_IntLink:visited +{ + color: blue; +} + +a.ilc_link_ExtLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +a.ilc_link_ExtLink:hover +{ + color:#000000; +} + +a.ilc_link_ExtLink:visited +{ + color: blue; +} + +a.ilc_link_FileLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +a.ilc_link_FileLink:hover +{ + color:#000000; +} + +a.ilc_link_GlossaryLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +a.ilc_link_GlossaryLink:hover +{ + color:#000000; +} + +/* Tables */ +table.ilc_table_StandardTable +{ + border-collapse: collapse; + background-color: #FFFFFF; + margin: 10px 0px; + border-color: #9EADBA; +} + +table.ilc_table_StandardTable td { + vertical-align: top; +} + +td.ilc_table_cell_Cell1 +{ + background-color:#FFCCCC; +} + +td.ilc_table_cell_Cell2 +{ + background-color:#CCCCFF; +} + +td.ilc_table_cell_Cell3 +{ + background-color:#CCFFCC; +} + +td.ilc_table_cell_Cell4 +{ + background-color:#FFFFCC; +} + +/* Text (Block) and Sections */ +div.ilc_text_block_Standard, body.ilc_text_block_Standard +{ + margin-top: 10px; + margin-bottom: 10px; +} + +div.ilc_text_block_TableContent, body.ilc_text_block_TableContent +{ + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; + margin-bottom: 0px; + padding-top: 0px; + padding-bottom: 0px; + padding-left: 0px; + padding-right: 0px; +} + + +div.ilc_text_block_List, body.ilc_text_block_List +{ + margin-top: 3px; + margin-bottom: 3px; +} + +h1.ilc_heading1_Headline1, div.ilc_text_block_Headline1, body.ilc_text_block_Headline1 +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 140%; + font-weight: normal; +} + +h2.ilc_heading2_Headline2, div.ilc_text_block_Headline2, body.ilc_text_block_Headline2 +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 130%; + font-weight: normal; +} + +h3.ilc_heading3_Headline3, div.ilc_text_block_Headline3, body.ilc_text_block_Headline3 +{ + margin-top: 20px; + margin-bottom: 10px; + font-size: 120%; + font-weight: normal; +} + +div.ilc_text_block_Example, body.ilc_text_block_Example +{ + margin-top: 10px; + margin-bottom: 10px; + padding-left: 20px; + border-left: 3px; + border-left-style: solid; + border-left-color: blue; +} + +div.ilc_section_Example +{ + margin-top: 10px; + margin-bottom: 10px; + padding-left: 20px; + border-left: 3px; + border-left-style: solid; + border-left-color: blue; +} + +div.ilc_text_block_Citation, body.ilc_text_block_Citation +{ + margin-top: 10px; + margin-bottom: 10px; + color: brown; + font-style: italic; +} + +div.ilc_text_block_Mnemonic, body.ilc_text_block_Mnemonic +{ + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; + padding: 10px; + border-width: 2px; + border-style: solid; + border-color: red; +} + +div.ilc_section_Mnemonic +{ + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; + padding: 10px; + border-width: 2px; + border-style: solid; + border-color: red; +} + +div.ilc_text_block_Additional, body.ilc_text_block_Additional +{ + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + border-width: 1px; + border-style: solid; + border-color: blue; +} + +div.ilc_section_Additional +{ + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + border-width: 1px; + border-style: solid; + border-color: blue; +} + +div.ilc_text_block_Remark, body.ilc_text_block_Remark +{ + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + border-width: 1px; + border-style: solid; + border-color: #909090; + background-color:#F0F0F0; + text-align: center; +} + +div.ilc_section_Remark +{ + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + border-width: 1px; + border-style: solid; + border-color: #909090; + background-color:#F5F5F5; + text-align: center; +} + +div.ilc_section_Block { + border-width: 1px; + border-style: solid; + padding: 5px 10px; + margin: 10px 0px; + border-color: #A0A0A0; + background-color: #FFFFFF; + background-image: url(images/FramedBack.png); + background-repeat:repeat-x; +} + +div.ilc_section_Special { + border-width: 1px; + border-style: solid; + padding: 5px 10px; + margin: 10px 0px; + border-color: #A0A0A0; + background-color: #FFF7F7; + background-image: url(images/SpecialBack.png); + background-repeat:repeat-x; +} + +div.ilc_section_Excursus { + border-width: 1px; + border-style: solid; + padding: 5px 10px; + margin: 10px 0px; + border-color: #A0A0A0; + background-color: #F7FFF7; + background-image: url(images/ExcursusBack.png); + background-repeat: repeat-x; +} + +div.ilc_section_AdvancedKnowledge +{ + margin: 20px 0px; + padding: 10px 60px 10px 30px; + background-color: #fff9ef; + border-width: 1px; + border-color: #ffdda5; + border-style: solid; + background-image: url(images/advknow.png); + background-repeat: no-repeat; + background-position: top right; +} + + +/* Media */ +table.ilc_media_cont_MediaContainer +{ + background-color: #F5F5F5; + padding: 0px; + margin: 10px; + border-width: 1px; + border-style: solid; + border-color: #B0B0B0; +} + +div.ilc_media_caption_MediaCaption +{ + padding: 5px; + font-size: 90%; +} + +/* Question */ +div.ilc_question_Standard +{ + margin: 20px 0px; + padding: 10px 60px 10px 30px; + background-color: #F4F4FF; + border-width: 1px; + border-color: #D0D0FF; + border-style: solid; + background-image: url(images/qmark.png); + background-repeat: no-repeat; + background-position: top right; +} + +div.ilc_qtitle_Title +{ + margin-bottom: 10px; +} + +div.ilc_qanswer_Answer +{ + margin-top: 2px; + margin-bottom: 2px; +} + +div.ilc_qfeedw_FeedbackWrong +{ + margin: 10px 0px 10px 0px; + padding: 5px; + border-width: 1px; + border-style: solid; + border-color: #808080; + background-color: #FFE7E7; + +} + +div.ilc_qfeedr_FeedbackRight +{ + margin: 10px 0px 10px 0px; + padding: 5px; + border-width: 1px; + border-style: solid; + border-color: #808080; + background-color: #E7FFE7; +} + +img.ilc_qimg_QuestionImage +{ + margin:5px; +} + +ul.ilc_qordul_OrderList +{ + list-style: none; + list-style-position: outside; + padding: 0px; + margin: 0px; +} + +li.ilc_qordli_OrderListItem +{ + border: 1px solid #D0D0FF; + padding: 10px; + margin-top: 5px; + margin-bottom: 5px; + cursor: move; +} + +a.ilc_qimgd_ImageDetailsLink +{ + font-size: 90%; +} + +a.ilc_qetitem_ErrorTextItem { + text-decoration: none; + color: #000000; + padding: 2px; +} +a.ilc_qetitem_ErrorTextItem:hover { + text-decoration: none; + background-color: #D0D0D0; + color: #000000; +} +a.ilc_qetitem_ErrorTextSelected { + background-color: #9bd9fe; + border: 1px #606060 solid; +} +span.ilc_qetcorr_ErrorTextCorrected { + text-decoration:line-through; + color: #909090; +} + +li.ilc_qordli_OrderListItemHorizontal { + float: left; + border: 1px solid #D0D0FF; + padding: 10px; + margin-top: 5px; + margin-bottom: 5px; + margin-right: 10px; + cursor: move; +} + +ul.ilc_qordul_OrderListHorizontal +{ + list-style: none; + list-style-position: outside; + padding: 0px; + margin: 0px; +} + +/* File Lists */ +div.ilc_flist_cont_FileListContainer +{ + border-width:1px; + border-style:solid; + border-color:#9EADBA; + margin: 10px 0px; +} + + +div.ilc_flist_head_FileListHeading +{ + text-align: left; + padding: 3px; + background-color: #E0E0E0; + font-weight: bold; +} + +li.ilc_flist_li_FileListItem +{ + padding: 3px; +} + +ul.ilc_flist_FileList +{ + list-style-type: none; + padding: 0px; + margin: 0px; +} + +/* Glossaries */ +div.ilc_glo_overlay_GlossaryOverlay +{ + background-color: #FFFFFF; + border-color: #A0A0A0; + border-style: solid; + border-width: 2px; + padding: 5px 10px 5px 10px; +} + +div.ilc_glo_ovtitle_GlossaryOvTitle +{ + margin-bottom: 10px; + margin-top: 10px; + font-weight: normal; + font-size: 120%; +} + +a.ilc_glo_ovclink_GlossaryOvCloseLink, +a.ilc_glo_ovuglink_GlossaryOvUnitGloLink, +a.ilc_glo_ovuglistlink_GlossaryOvUGListLink +{ + color: blue; + font-weight: normal; + text-decoration: underline; +} + +/* SCOs */ +div.ilc_sco_title_Title +{ + border-color: #000000; + border-bottom-style: solid; + border-bottom-width: 1px; + padding-bottom: 3px; + font-size: 140%; + margin-bottom: 20px; + margin-top: 5px; +} + +div.ilc_sco_fmess_FinalMessage +{ + margin: 100px; + padding: 50px; + font-size: 125%; + border: 1px solid #F0F0F0; + background-color: #FAFAFA; + text-align: center; +} + +/* Question Overview */ +div.ilc_qover_Correct +{ + margin: 20px 0px; + padding: 10px 60px 10px 30px; + background-color: #E7FFE7; + border-width: 1px; + border-color: #808080; + border-style: solid; +} + +div.ilc_qover_Incorrect +{ + margin: 20px 0px; + padding: 10px 60px 10px 30px; + background-color: #FFE7E7; + border-width: 1px; + border-color: #808080; + border-style: solid; +} + +div.ilc_qover_StatusMessage +{ + padding-bottom: 7px; +} + +div.ilc_qover_WrongAnswersMessage +{ +} + + +/* Tabs */ +div.ilc_va_cntr_VAccordCntr +{ + margin-top: 5px; +} + +div.ilc_va_icntr_VAccordICntr +{ + background-color: #FFFFFF; + margin-bottom: 5px; + border-width:1px; + border-color:#9EADBA; + border-style:solid; +} + +div.ilc_va_ihead_VAccordIHead +{ + padding: 3px 3px 3px 24px; + background-color: #E2EAF4; + text-align:left; + cursor: pointer; + background-image: url(images/accordion_arrow.png); + background-repeat: no-repeat; + background-position: 3px 4px; +} + +div.ilc_va_ihead_VAccordIHead:hover +{ + background-color: #D2D8E2; +} + +div.ilc_va_icont_VAccordICont +{ + padding: 3px; + background-color: #FFFFFF; +} + +div.ilc_ha_cntr_HAccordCntr +{ +} + +div.ilc_ha_icntr_HAccordICntr +{ + background-color: #FFFFFF; + border-width:1px; + border-color:#9EADBA; + border-style:solid; + margin-right:5px; +} + +div.ilc_ha_ihead_HAccordIHead +{ + padding: 3px 10px 3px 20px; + background-color: #E2EAF4; + text-align:left; + cursor: pointer; + background-image: url(images/haccordion_arrow.png); + background-repeat: no-repeat; + background-position: 3px 4px; +} + +div.ilc_ha_ihead_HAccordIHead:hover +{ + background-color: #D2D8E2; +} + +div.ilc_ha_icont_HAccordICont +{ + padding: 3px; +} + +/* Interactive Image */ +div.ilc_iim_ContentPopup +{ + background-color: #FFFFFF; + border-color: #A0A0A0; + border-style: solid; + border-width: 2px; + padding: 5px 10px 5px 10px; +} + +a.ilc_marker_Marker +{ + display: block; + cursor: pointer; + width: 27px; + height: 32px; + position: absolute; + background-image: url(images/icon_pin.png); +} + +a.ilc_marker_Marker:hover +{ + background-image: url(images/icon_pin_on.png); +} diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/ExcursusBack.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/ExcursusBack.png new file mode 100644 index 0000000..5598ad3 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/ExcursusBack.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/FramedBack.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/FramedBack.png new file mode 100644 index 0000000..1b3a3cb Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/FramedBack.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/SpecialBack.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/SpecialBack.png new file mode 100644 index 0000000..744f664 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/SpecialBack.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/accordion_arrow.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/accordion_arrow.png new file mode 100644 index 0000000..618e2e1 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/accordion_arrow.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/advknow.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/advknow.png new file mode 100644 index 0000000..05c110c Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/advknow.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/haccordion_arrow.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/haccordion_arrow.png new file mode 100644 index 0000000..5b0eb0c Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/haccordion_arrow.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/icon_pin.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/icon_pin.png new file mode 100644 index 0000000..1623c41 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/icon_pin.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/icon_pin_on.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/icon_pin_on.png new file mode 100644 index 0000000..4ba9382 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/icon_pin_on.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/nav_arr_L_s.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/nav_arr_L_s.png new file mode 100644 index 0000000..e0fa8f3 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/nav_arr_L_s.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/nav_arr_R_s.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/nav_arr_R_s.png new file mode 100644 index 0000000..bd3f0e0 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/nav_arr_R_s.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/content_style/images/qmark.png b/Projects/WebGIM/GIM_site/help/EN/content_style/images/qmark.png new file mode 100644 index 0000000..96680dd Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/content_style/images/qmark.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/css/accordion.css b/Projects/WebGIM/GIM_site/help/EN/css/accordion.css new file mode 100644 index 0000000..f819ad9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/css/accordion.css @@ -0,0 +1,35 @@ +/* Vertical Accordion */ + +div.il_VAccordionToggleDef +{ + display: block; +} + +div.il_VAccordionToggleActiveDef +{ +} + +div.il_VAccordionContentDef +{ + overflow: hidden; +} + +/* + Horizontal Accordion +*/ + +div.il_HAccordionToggleDef +{ + float: left; /* This make sure it stays horizontal */ + display: block; +} + +div.il_HAccordionToggleActiveDef +{ +} + +div.il_HAccordionContentDef +{ + float: left; /* This make sure it stays horizontal */ + overflow: hidden; +} diff --git a/Projects/WebGIM/GIM_site/help/EN/css/mediaelementplayer.css b/Projects/WebGIM/GIM_site/help/EN/css/mediaelementplayer.css new file mode 100644 index 0000000..bdb4c2c --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/css/mediaelementplayer.css @@ -0,0 +1 @@ +.mejs-container{position:relative;background:#000;font-family:Helvetica,Arial;text-align:left;vertical-align:top;text-indent:0;}.me-plugin{position:absolute;}.mejs-embed,.mejs-embed body{width:100%;height:100%;margin:0;padding:0;background:#000;overflow:hidden;}.mejs-container-fullscreen{position:fixed;left:0;top:0;right:0;bottom:0;overflow:hidden;z-index:1000;}.mejs-container-fullscreen .mejs-mediaelement,.mejs-container-fullscreen video{width:100%;height:100%;}.mejs-background{position:absolute;top:0;left:0;}.mejs-mediaelement{position:absolute;top:0;left:0;width:100%;height:100%;}.mejs-poster{position:absolute;top:0;left:0;}.mejs-poster img{border:0;padding:0;border:0;display:block;}.mejs-overlay{position:absolute;top:0;left:0;}.mejs-overlay-play{cursor:pointer;}.mejs-overlay-button{position:absolute;top:50%;left:50%;width:100px;height:100px;margin:-50px 0 0 -50px;background:url(bigplay.png) no-repeat;}.mejs-overlay:hover .mejs-overlay-button{background-position:0 -100px;}.mejs-overlay-loading{position:absolute;top:50%;left:50%;width:80px;height:80px;margin:-40px 0 0 -40px;background:#333;background:url(background.png);background:rgba(0,0,0,0.9);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(50,50,50,0.9)),to(rgba(0,0,0,0.9)));background:-webkit-linear-gradient(top,rgba(50,50,50,0.9),rgba(0,0,0,0.9));background:-moz-linear-gradient(top,rgba(50,50,50,0.9),rgba(0,0,0,0.9));background:-o-linear-gradient(top,rgba(50,50,50,0.9),rgba(0,0,0,0.9));background:-ms-linear-gradient(top,rgba(50,50,50,0.9),rgba(0,0,0,0.9));background:linear-gradient(rgba(50,50,50,0.9),rgba(0,0,0,0.9));}.mejs-overlay-loading span{display:block;width:80px;height:80px;background:transparent url(loading.gif) 50% 50% no-repeat;}.mejs-container .mejs-controls{position:absolute;background:none;list-style-type:none;margin:0;padding:0;bottom:0;left:0;background:url(background.png);background:rgba(0,0,0,0.7);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(50,50,50,0.7)),to(rgba(0,0,0,0.7)));background:-webkit-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:-moz-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:-o-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:-ms-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:linear-gradient(rgba(50,50,50,0.7),rgba(0,0,0,0.7));height:30px;width:100%;}.mejs-container .mejs-controls div{list-style-type:none;background-image:none;display:block;float:left;margin:0;padding:0;width:26px;height:26px;font-size:11px;line-height:11px;background:0;font-family:Helvetica,Arial;border:0;}.mejs-controls .mejs-button button{cursor:pointer;display:block;font-size:0;line-height:0;text-decoration:none;margin:7px 5px;padding:0;position:absolute;height:16px;width:16px;border:0;background:transparent url(controls.png) no-repeat;}.mejs-controls .mejs-button button:focus{outline:solid 1px yellow;}.mejs-container .mejs-controls .mejs-time{color:#fff;display:block;height:17px;width:auto;padding:8px 3px 0 3px;overflow:hidden;text-align:center;padding:auto 4px;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;}.mejs-container .mejs-controls .mejs-time span{font-size:11px;color:#fff;line-height:12px;display:block;float:left;margin:1px 2px 0 0;width:auto;}.mejs-controls .mejs-play button{background-position:0 0;}.mejs-controls .mejs-pause button{background-position:0 -16px;}.mejs-controls .mejs-stop button{background-position:-112px 0;}.mejs-controls div.mejs-time-rail{width:200px;padding-top:5px;}.mejs-controls .mejs-time-rail span{display:block;position:absolute;width:180px;height:10px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;cursor:pointer;}.mejs-controls .mejs-time-rail .mejs-time-total{margin:5px;background:#333;background:rgba(50,50,50,0.8);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(30,30,30,0.8)),to(rgba(60,60,60,0.8)));background:-webkit-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:-moz-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:-o-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:-ms-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:linear-gradient(rgba(30,30,30,0.8),rgba(60,60,60,0.8));}.mejs-controls .mejs-time-rail .mejs-time-buffering{width:100%;background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:15px 15px;-moz-background-size:15px 15px;-o-background-size:15px 15px;background-size:15px 15px;-webkit-animation:buffering-stripes 2s linear infinite;-moz-animation:buffering-stripes 2s linear infinite;-ms-animation:buffering-stripes 2s linear infinite;-o-animation:buffering-stripes 2s linear infinite;animation:buffering-stripes 2s linear infinite;}@-webkit-keyframes buffering-stripes{from{background-position:0 0;}to{background-position:30px 0;}}@-moz-keyframes buffering-stripes{from{background-position:0 0;}to{background-position:30px 0;}}@-ms-keyframes buffering-stripes{from{background-position:0 0;}to{background-position:30px 0;}}@-o-keyframes buffering-stripes{from{background-position:0 0;}to{background-position:30px 0;}}@keyframes buffering-stripes{from{background-position:0 0;}to{background-position:30px 0;}}.mejs-controls .mejs-time-rail .mejs-time-loaded{background:#3caac8;background:rgba(60,170,200,0.8);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(44,124,145,0.8)),to(rgba(78,183,212,0.8)));background:-webkit-linear-gradient(top,rgba(44,124,145,0.8),rgba(78,183,212,0.8));background:-moz-linear-gradient(top,rgba(44,124,145,0.8),rgba(78,183,212,0.8));background:-o-linear-gradient(top,rgba(44,124,145,0.8),rgba(78,183,212,0.8));background:-ms-linear-gradient(top,rgba(44,124,145,0.8),rgba(78,183,212,0.8));background:linear-gradient(rgba(44,124,145,0.8),rgba(78,183,212,0.8));width:0;}.mejs-controls .mejs-time-rail .mejs-time-current{width:0;background:#fff;background:rgba(255,255,255,0.8);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(255,255,255,0.9)),to(rgba(200,200,200,0.8)));background:-webkit-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:-moz-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:-o-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:-ms-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:linear-gradient(rgba(255,255,255,0.9),rgba(200,200,200,0.8));}.mejs-controls .mejs-time-rail .mejs-time-handle{display:none;position:absolute;margin:0;width:10px;background:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;cursor:pointer;border:solid 2px #333;top:-2px;text-align:center;}.mejs-controls .mejs-time-rail .mejs-time-float{position:absolute;display:none;background:#eee;width:36px;height:17px;border:solid 1px #333;top:-26px;margin-left:-18px;text-align:center;color:#111;}.mejs-controls .mejs-time-rail .mejs-time-float-current{margin:2px;width:30px;display:block;text-align:center;left:0;}.mejs-controls .mejs-time-rail .mejs-time-float-corner{position:absolute;display:block;width:0;height:0;line-height:0;border:solid 5px #eee;border-color:#eee transparent transparent transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;top:15px;left:13px;}.mejs-controls .mejs-fullscreen-button button{background-position:-32px 0;}.mejs-controls .mejs-unfullscreen button{background-position:-32px -16px;}.mejs-controls .mejs-mute button{background-position:-16px -16px;}.mejs-controls .mejs-unmute button{background-position:-16px 0;}.mejs-controls .mejs-volume-button{position:relative;}.mejs-controls .mejs-volume-button .mejs-volume-slider{display:none;height:115px;width:25px;background:url(background.png);background:rgba(50,50,50,0.7);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;top:-115px;left:0;z-index:1;position:absolute;margin:0;}.mejs-controls .mejs-volume-button:hover{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total{position:absolute;left:11px;top:8px;width:2px;height:100px;background:#ddd;background:rgba(255,255,255,0.5);margin:0;}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current{position:absolute;left:11px;top:8px;width:2px;height:100px;background:#ddd;background:rgba(255,255,255,0.9);margin:0;}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle{position:absolute;left:4px;top:-3px;width:16px;height:6px;background:#ddd;background:rgba(255,255,255,0.9);cursor:N-resize;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;margin:0;}.mejs-controls div.mejs-horizontal-volume-slider{height:26px;width:60px;position:relative;}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total{position:absolute;left:0;top:11px;width:50px;height:8px;margin:0;padding:0;font-size:1px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#333;background:rgba(50,50,50,0.8);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(30,30,30,0.8)),to(rgba(60,60,60,0.8)));background:-webkit-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:-moz-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:-o-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:-ms-linear-gradient(top,rgba(30,30,30,0.8),rgba(60,60,60,0.8));background:linear-gradient(rgba(30,30,30,0.8),rgba(60,60,60,0.8));}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current{position:absolute;left:0;top:11px;width:50px;height:8px;margin:0;padding:0;font-size:1px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#fff;background:rgba(255,255,255,0.8);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(255,255,255,0.9)),to(rgba(200,200,200,0.8)));background:-webkit-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:-moz-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:-o-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:-ms-linear-gradient(top,rgba(255,255,255,0.9),rgba(200,200,200,0.8));background:linear-gradient(rgba(255,255,255,0.9),rgba(200,200,200,0.8));}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle{display:none;}.mejs-controls .mejs-captions-button{position:relative;}.mejs-controls .mejs-captions-button button{background-position:-48px 0;}.mejs-controls .mejs-captions-button .mejs-captions-selector{visibility:hidden;position:absolute;bottom:26px;right:-10px;width:130px;height:100px;background:url(background.png);background:rgba(50,50,50,0.7);border:solid 1px transparent;padding:10px;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}.mejs-controls .mejs-captions-button .mejs-captions-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden;}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li{margin:0 0 6px 0;padding:0;list-style-type:none!important;display:block;color:#fff;overflow:hidden;}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px;}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li label{width:100px;float:left;padding:4px 0 0 0;line-height:15px;font-family:helvetica,arial;font-size:10px;}.mejs-controls .mejs-captions-button .mejs-captions-translations{font-size:10px;margin:0 0 5px 0;}.mejs-chapters{position:absolute;top:0;left:0;-xborder-right:solid 1px #fff;width:10000px;z-index:1;}.mejs-chapters .mejs-chapter{position:absolute;float:left;background:#222;background:rgba(0,0,0,0.7);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(50,50,50,0.7)),to(rgba(0,0,0,0.7)));background:-webkit-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:-moz-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:-o-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:-ms-linear-gradient(top,rgba(50,50,50,0.7),rgba(0,0,0,0.7));background:linear-gradient(rgba(50,50,50,0.7),rgba(0,0,0,0.7));filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,startColorstr=#323232,endColorstr=#000000);overflow:hidden;border:0;}.mejs-chapters .mejs-chapter .mejs-chapter-block{font-size:11px;color:#fff;padding:5px;display:block;border-right:solid 1px #333;border-bottom:solid 1px #333;cursor:pointer;}.mejs-chapters .mejs-chapter .mejs-chapter-block-last{border-right:none;}.mejs-chapters .mejs-chapter .mejs-chapter-block:hover{background:#666;background:rgba(102,102,102,0.7);background:-webkit-gradient(linear,0% 0,0% 100%,from(rgba(102,102,102,0.7)),to(rgba(50,50,50,0.6)));background:-webkit-linear-gradient(top,rgba(102,102,102,0.7),rgba(50,50,50,0.6));background:-moz-linear-gradient(top,rgba(102,102,102,0.7),rgba(50,50,50,0.6));background:-o-linear-gradient(top,rgba(102,102,102,0.7),rgba(50,50,50,0.6));background:-ms-linear-gradient(top,rgba(102,102,102,0.7),rgba(50,50,50,0.6));background:linear-gradient(rgba(102,102,102,0.7),rgba(50,50,50,0.6));filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,startColorstr=#666666,endColorstr=#323232);}.mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title{font-size:12px;font-weight:bold;display:block;white-space:nowrap;text-overflow:ellipsis;margin:0 0 3px 0;line-height:12px;}.mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan{font-size:12px;line-height:12px;margin:3px 0 4px 0;display:block;white-space:nowrap;text-overflow:ellipsis;}.mejs-captions-layer{position:absolute;bottom:0;left:0;text-align:center;line-height:22px;font-size:12px;color:#fff;}.mejs-captions-layer a{color:#fff;text-decoration:underline;}.mejs-captions-layer[lang=ar]{font-size:20px;font-weight:normal;}.mejs-captions-position{position:absolute;width:100%;bottom:15px;left:0;}.mejs-captions-position-hover{bottom:45px;}.mejs-captions-text{padding:3px 5px;background:url(background.png);background:rgba(20,20,20,0.8);}.mejs-clear{clear:both;}.me-cannotplay a{color:#fff;font-weight:bold;}.me-cannotplay span{padding:15px;display:block;}.mejs-controls .mejs-loop-off button{background-position:-64px -16px;}.mejs-controls .mejs-loop-on button{background-position:-64px 0;}.mejs-controls .mejs-backlight-off button{background-position:-80px -16px;}.mejs-controls .mejs-backlight-on button{background-position:-80px 0;}.mejs-controls .mejs-picturecontrols-button{background-position:-96px 0;}.mejs-contextmenu{position:absolute;width:150px;padding:10px;border-radius:4px;top:0;left:0;background:#fff;border:solid 1px #999;z-index:1001;}.mejs-contextmenu .mejs-contextmenu-separator{height:1px;font-size:0;margin:5px 6px;background:#333;}.mejs-contextmenu .mejs-contextmenu-item{font-family:Helvetica,Arial;font-size:12px;padding:4px 6px;cursor:pointer;color:#333;}.mejs-contextmenu .mejs-contextmenu-item:hover{background:#2C7C91;color:#fff;}.mejs-controls .mejs-sourcechooser-button{position:relative;}.mejs-controls .mejs-sourcechooser-button button{background-position:-128px 0;}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector{visibility:hidden;position:absolute;bottom:26px;right:-10px;width:130px;height:100px;background:url(background.png);background:rgba(50,50,50,0.7);border:solid 1px transparent;padding:10px;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden;}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li{margin:0 0 6px 0;padding:0;list-style-type:none!important;display:block;color:#fff;overflow:hidden;}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px;}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label{width:100px;float:left;padding:4px 0 0 0;line-height:15px;font-family:helvetica,arial;font-size:10px;} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/help/EN/css/question_handling.css b/Projects/WebGIM/GIM_site/help/EN/css/question_handling.css new file mode 100644 index 0000000..9cda964 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/css/question_handling.css @@ -0,0 +1,16 @@ +/* we need because of the placeholder element */ +ul.ordering_vrt_terms li { + min-height:20px; + width:400px; +} +ul.ordering_vrt_images li { + +} +ul.ordering_hrz li { +} +span.errortext_corrected { +} +a.image_details { +} +img.mc_image { +} \ No newline at end of file diff --git a/Projects/WebGIM/GIM_site/help/EN/images/browser/blank.png b/Projects/WebGIM/GIM_site/help/EN/images/browser/blank.png new file mode 100644 index 0000000..dc554b6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/browser/blank.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/browser/forceexp.png b/Projects/WebGIM/GIM_site/help/EN/images/browser/forceexp.png new file mode 100644 index 0000000..edfc539 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/browser/forceexp.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/browser/minus.png b/Projects/WebGIM/GIM_site/help/EN/images/browser/minus.png new file mode 100644 index 0000000..dc554b6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/browser/minus.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/browser/plus.png b/Projects/WebGIM/GIM_site/help/EN/images/browser/plus.png new file mode 100644 index 0000000..dc554b6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/browser/plus.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/download.png b/Projects/WebGIM/GIM_site/help/EN/images/download.png new file mode 100644 index 0000000..6f61d13 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/download.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/enlarge.png b/Projects/WebGIM/GIM_site/help/EN/images/enlarge.png new file mode 100644 index 0000000..ca658db Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/enlarge.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/icon_lm.png b/Projects/WebGIM/GIM_site/help/EN/images/icon_lm.png new file mode 100644 index 0000000..22f7fa4 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/icon_lm.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/icon_lm_s.png b/Projects/WebGIM/GIM_site/help/EN/images/icon_lm_s.png new file mode 100644 index 0000000..6ef04f6 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/icon_lm_s.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/icon_pg.png b/Projects/WebGIM/GIM_site/help/EN/images/icon_pg.png new file mode 100644 index 0000000..fc3ac5c Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/icon_pg.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/icon_pg_s.png b/Projects/WebGIM/GIM_site/help/EN/images/icon_pg_s.png new file mode 100644 index 0000000..9e5628f Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/icon_pg_s.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/icon_st.png b/Projects/WebGIM/GIM_site/help/EN/images/icon_st.png new file mode 100644 index 0000000..b362721 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/icon_st.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/icon_st_s.png b/Projects/WebGIM/GIM_site/help/EN/images/icon_st_s.png new file mode 100644 index 0000000..1577f16 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/icon_st_s.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/nav_arr_L.png b/Projects/WebGIM/GIM_site/help/EN/images/nav_arr_L.png new file mode 100644 index 0000000..418a0a5 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/nav_arr_L.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/nav_arr_R.png b/Projects/WebGIM/GIM_site/help/EN/images/nav_arr_R.png new file mode 100644 index 0000000..aafce32 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/nav_arr_R.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/images/spacer.png b/Projects/WebGIM/GIM_site/help/EN/images/spacer.png new file mode 100644 index 0000000..edade18 Binary files /dev/null and b/Projects/WebGIM/GIM_site/help/EN/images/spacer.png differ diff --git a/Projects/WebGIM/GIM_site/help/EN/index.html b/Projects/WebGIM/GIM_site/help/EN/index.html new file mode 100644 index 0000000..7c8d2e9 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/index.html @@ -0,0 +1,545 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + +
    + + + + + + + + + +
  • + + + + + + + + + +Learning Module ILIAS +WebGIM manual
    + + + + + + + + + +
      + + + + + + + + + +
    • + + + + + + + + + +Icon Chapter +Introduction
      + + + + + + + + + + + + +
    • + + + + + + +
    • + + + + + + + + + +Icon Chapter +Users registration
      + + + + + + + + + + + + +
    • + + + + + + +
    • + + + + + + + + + +Icon Chapter +List Usage Managment
      + + + + + + + + + + + + +
    • + + + + + + +
    • + + + + + + + + + +Icon Chapter +Maintenance interventions
      + + + + + + + + + + + + +
    • + + + + + + +
    • + + + + + + + + + +Icon Chapter +Reports
      + + + + + + + + + + + + +
    • + + + + + + +
    • + + + + + + + + + +ExpandedIcon Chapter +Optional Modules
      + + + + + + + + +
        + + + + + + + + + + +
      • + + + + + + + + + +Icon Chapter +Scheduled maintenance
        + + + + + + + + + + + + +
      • + + + + + + + + + +
      + + + + + +
    • + + + + + + + + + +Icon Chapter +FAQ
      + + + + + + + + + + + + +
    • + + + + + + +
    • + + + + + + + + + +Icon Chapter +Contacts and Support
      + + + + + + + + + + + + +
    • + + + + + + + + + +
    + + + + + + + +
  • + + + + + + + + + +
+ + + + + + + + + +
+
+ +
+ + +
+
+
+ + + +

Breadcrumb Navigation

+ + + WebGIM manual + + + + » + + Introduction
+ + + + +
+ + +

+   + WebGIM manual

+ + +
+ +
+
+ +
+ + + + + + +
+ + + + + +

Introduction

The  WebGIM application allows integrated management of maintenance through the input of requests for maintenance, consulting the list of open requests, in progress or already completed, and management of data and reports with a simple web interface.
The add-on module allows you to enter scheduled maintenance.
The guide allows you to use the best features in this application explaining step by step operation.
 
To use the application you need to connect with a web browser to the address of the installation server and log in with your credentials.
The initial screen (see Fig. 1) has the left side menu that contains all the functions accessible by the current user.
fig.1 - Home page
The screens and menus shown are for guidance only as the application displays menu items and functionality based on the permissions assigned to the user.
+ + +
+ + + + + +
+ +
+ +
+
+
+ + + diff --git a/Projects/WebGIM/GIM_site/help/EN/js/Basic.js b/Projects/WebGIM/GIM_site/help/EN/js/Basic.js new file mode 100644 index 0000000..f1495ff --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/js/Basic.js @@ -0,0 +1,536 @@ + +/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */ + +/* + Please note that this file should only contain common Javascript code + used on many ILIAS screens. Please do not add any code that is only useful + for single components here. + See http://www.ilias.de/docu/goto_docu_pg_38968_42.html for the JS guidelines +*/ + +// console dummy object +if (!window.console) { + (function() { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function(data) {} + })(); +} + +// global il namespace, additional objects usually should be added to this one +il = {}; + +// utility functions +il.Util = { + + addOnLoad: function(func) + { + if (!document.getElementById | !document.getElementsByTagName) return; + + var oldonload=window.onload; + if (typeof window.onload != 'function') + { + window.onload = func; + } + else + { + window.onload = function() + { + oldonload(); + func(); + } + } + }, + + addOnUnload: function (func) + { + if (!document.getElementById | !document.getElementsByTagName) return; + + var oldonunload = window.onunload; + if (typeof window.onunload != 'function') + { + window.onunload = func; + } + else + { + window.onunload = function() + { + oldonunload(); + func(); + } + } + }, + + /** + * Checks/unchecks checkboxes + * + * @param string parent name or id + * @param string the checkbox name (or the first characters of the name, if unique) + * @param boolean whether to check or to uncheck the element + * @return boolean always true + */ + setChecked: function(parent_el, checkbox_name, do_check){ + var name_sel = ''; + if (checkbox_name != '') + { + name_sel = '[name^="' + checkbox_name + '"]'; + } + if(do_check) + { + $("#" + parent_el).find("input:checkbox" + name_sel).attr('checked', 'checked'); + $('[name="' + parent_el + '"]').find("input:checkbox" + name_sel).attr('checked', 'checked'); + } + else + { + $("#" + parent_el).find("input:checkbox" + name_sel).removeAttr('checked'); + $('[name="' + parent_el + '"]').find("input:checkbox" + name_sel).removeAttr('checked'); + } + return true; + }, + + + submitOnEnter: function(ev, form) + { + if (typeof ev != 'undefined' && typeof ev.keyCode != 'undefined') + { + if (ev.keyCode == 13) + { + form.submit(); + return false; + } + } + return true; + }, + + // ajax related functions + + ajaxReplace: function(url, el_id) + { + this.sendAjaxGetRequestToUrl (url, {}, {el_id: el_id, inner: false}, this.ajaxReplaceSuccess) + }, + + ajaxReplaceInner: function(url, el_id) + { + this.sendAjaxGetRequestToUrl (url, {}, {el_id: el_id, inner: true}, this.ajaxReplaceSuccess) + }, + + ajaxReplaceSuccess: function(o) + { + // perform page modification + if(o.responseText !== undefined) + { + if (o.argument.inner) + { + $('#' + o.argument.el_id).html(o.responseText); + } + else + { + $('#' + o.argument.el_id).replaceWith(o.responseText); + } + } + }, + + sendAjaxGetRequestToUrl: function(url, par, args, succ_cb) + { + var cb = + { + success: succ_cb, + failure: this.handleAjaxFailure, + argument: args + }; + for (k in par) + { + url = url + "&" + k + "=" + par[k]; + } + var request = YAHOO.util.Connect.asyncRequest('GET', url, cb); + }, + + // FailureHandler + handleAjaxFailure: function(o) + { + console.log("ilNotes.js: Ajax Failure."); + }, + + // Screen reader related functions + + // Set focus for screen reader per element id + setScreenReaderFocus: function(id) + { + var obj = document.getElementById(id); + if (obj) + { + obj.focus(); + self.location.hash = id; + } + }, + + // Set standard screen reader focus + setStdScreenReaderFocus: function() { + var obj = document.getElementById("il_message_focus"); + if (obj) { + obj.focus(); + self.location.hash = 'il_message_focus'; + } else { + obj = document.getElementById("il_lm_head"); + if (obj && self.location.hash == '') { + obj.focus(); + self.location.hash = 'il_lm_head'; + } else { + obj = document.getElementById("il_mhead_t_focus"); + if (obj && self.location.hash == '') { + obj.focus(); + self.location.hash = 'il_mhead_t_focus'; + } + } + } + }, + + /** + * Get region information (coordinates + size) for an element + */ + getRegion: function (el) { + var w = $(el).outerWidth(), + h = $(el).outerHeight(), + o = $(el).offset(); + + return {top: o.top, right: o.left + w,bottom: o.top + h, left: o.left, height: h, width: w, y: o.top, x: o.left}; + }, + + /** + * Get region information (coordinates + size) for viewport + */ + getViewportRegion: function () { + var w = $(window).width(), + h = $(window).height(), + t = $(window).scrollTop(), + l = $(window).scrollLeft(); + + return {top: t, right: l + w,bottom: t + h, left: l, height: h, width: w, y: t, x: l}; + }, + + /** + * Checks whether coordinations are within an elements region + */ + coordsInElement: function (x, y, el) { + var w = $(el).outerWidth(), + h = $(el).outerHeight(), + o = $(el).offset(); + if (x >= o.left && x <= o.left + w && y >= o.top && y <= o.top + h) { + return true; + } + return false; + } +} + +// ILIAS Object related functions +il.Object = { + url_redraw_ah: "", + url_redraw_li: "", + + setRedrawAHUrl: function(url) { + this.url_redraw_ah = url; + }, + + getRedrawAHUrl: function() { + return this.url_redraw_ah; + }, + + redrawActionHeader: function() { + var ah = document.getElementById("il_head_action"); + if (this.url_redraw_ah && ah != null) + { + il.Util.ajaxReplaceInner(this.url_redraw_ah, "il_head_action"); + } + }, + + setRedrawListItemUrl: function(url) { + this.url_redraw_li = url; + }, + + getRedrawListItemUrl: function() { + return this.url_redraw_li; + }, + + redrawListItem: function(ref_id) { + var li = document.getElementById("lg_div_" + ref_id); + if (this.url_redraw_li && li != null) + { + il.Util.ajaxReplace(this.url_redraw_li + "&child_ref_id=" + ref_id, "lg_div_" + ref_id); + } + }, + + togglePreconditions: function(link, id, txt_show, txt_hide) { + var li = document.getElementById("il_list_item_precondition_obl_" + id); + if(li != null) + { + if(li.style.display == "none") + { + li.style.display = ""; + $(link).html("» "+txt_hide); + } + else + { + li.style.display = "none"; + $(link).html("» "+txt_show); + } + } + li = document.getElementById("il_list_item_precondition_opt_" + id); + if(li != null) + { + if(li.style.display == "none") + { + li.style.display = ""; + $(link).html("» "+txt_hide); + } + else + { + li.style.display = "none"; + $(link).html("» "+txt_show); + } + } + } +} + +/* Main menu handling */ +il.MainMenu = { + + removeLastVisitedItems: function (url) { + + $('.ilLVNavEnt').remove(); + il.Util.sendAjaxGetRequestToUrl(url, {}, {}, this.dummyCallback); + + return false; + }, + + dummyCallback: function () { + } +} + +/* UICore */ +il.UICore = { + refreshLayout: function () { + var el = document.getElementById("left_nav"), + sm = document.getElementById("mainspacekeeper"), + bc = document.getElementById("bot_center_area"), + fc = document.getElementById("fixed_content"), + nb_reg, vp_reg; + + // fix fixed content + /*if (fc && sm) { + sm_reg = il.Util.getRegion(sm); + fc_reg = il.Util.getRegion(fc); + vp_reg = il.Util.getViewportRegion(); + if (sm_reg.top < vp_reg.top) { + $(fc).offset({top: vp_reg.top}); + } else { + $(fc).offset({top: sm_reg.top}); + } + }*/ + + // fix left navigation area + if (el && sm) { + sm_reg = il.Util.getRegion(sm); + nb_reg = il.Util.getRegion(el); + vp_reg = il.Util.getViewportRegion(); + if (sm_reg.top < vp_reg.top) { + $(el).css("top", "0px"); + $(fc).css("top", "0px"); + } else { + $(el).css("top", (sm_reg.top - vp_reg.top) + "px"); + $(fc).css("top", (sm_reg.top - vp_reg.top) + "px"); + } + + // bottom center area? + if (bc) { + bc_reg = il.Util.getRegion(bc); + $(fc).css("bottom", bc_reg.height + "px"); + } else { + $(fc).css("bottom", "0px"); + } + } + } +}; + +il.Util.addOnLoad(function () { + $(window).resize(il.UICore.refreshLayout); + $(window).scroll(il.UICore.refreshLayout); + il.UICore.refreshLayout(); +}); + +/* Rating */ +il.Rating = { + + cache: [], + + setValue: function (category_id, value, prefix) { + + // set hidden field + $("#"+prefix+"rating_value_"+category_id).val(value); + + // handle icons + for(i=1;i<=5;i++) + { + var icon_id = prefix+"rating_icon_"+category_id+"_"+i; + var src = $("#"+icon_id).attr("src"); + + // active + if(i <= value) + { + if(src.substring(src.length-6) == "on.png") + { + src = src.substring(0, src.length-6)+"on_user.png"; + } + else if(src.substring(src.length-7) == "off.png") + { + src = src.substring(0, src.length-7)+"on_user.png"; + } + } + // inactive + else + { + if(src.substring(src.length-6) == "on.png") + { + src = src.substring(0, src.length-6)+"off.png"; + } + else if(src.substring(src.length-11) == "on_user.png") + { + src = src.substring(0, src.length-11)+"off.png"; + } + } + + // resetting img cache so onmouseout will not change icons again + il.Rating.cache[icon_id] = ""; + + $("#"+icon_id).attr("src", src); + } + + return false; + }, + + toggleIcon: function (el, value, is_out) { + + $(el).children().each(function(){ + + if($(this).attr("id")) + { + var org = $(this).attr("id"); + var grp = org.substring(0, org.length-1); + for(i=1;i<=5;i++) + { + var id = grp + i; + + if(is_out == undefined) + { + // determine type of current icon + var src_parts = $("#"+id).attr("src").split("_"); + var icon_type = src_parts.pop(); + icon_type = icon_type.substring(0, icon_type.length-4); + if(icon_type == "user") + { + icon_type = src_parts.pop(); + } + if($.isNumeric(icon_type)) + { + icon_type = "on"; + } + var icon_base = src_parts.join("_"); + + // onmouseout should revert to original img + var src = $("#"+id).attr("src"); + il.Rating.cache[id] = src; + + // active + if(i <= value) + { + src = icon_base+"_on_user.png"; + } + // inactive + else + { + src = icon_base+"_off.png"; + } + } + else + { + var src = il.Rating.cache[id]; + } + + if(src) + { + $("#"+id).attr("src", src); + } + } + } + }); + } +} + +/* keep ios wepapp mode (do not open safari mobile if links are clicked) */ +/*if (("standalone" in window.navigator) && !window.navigator.standalone ){ + il.Util.addOnLoad(function () { + $(document).on( + "click", + 'a[href!="#"][href!=""]', + function(event){ + if (event.target.nodeName == "A") { + event.preventDefault(); + location.href = $(event.target).attr("href"); + } + } + ); + }); +}*/ + +//// +//// The following methods should be moved to the corresponding components +//// + +/** + * Opens a chat window + * + * @param object the link which was clicked + * @param int desired width of the new window + * @param int desired height of the new window + */ +function openChatWindow(oLink, width, height) +{ + if(width == null) + { + width = screen.availWidth; + } + leftPos = (screen.availWidth / 2)- (width / 2); + + if(height == null) + { + height = screen.availHeight; + } + topPos = (screen.availHeight / 2)- (height / 2); + + oChatWindow = window.open( + oLink.href, + oLink.target, + 'width=' + width + ',height=' + height + ',left=' + leftPos + ',top=' + topPos + + ',resizable=yes,scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=yes' + ); + + oChatWindow.focus(); +} + + +function startSAHS(SAHSurl, SAHStarget, SAHSopenMode, SAHSwidth, SAHSheight) +{ + if (SAHSopenMode == 1){ + SAHSwidth = "100%"; + SAHSheight = "650"; + if(document.body.offsetHeight) SAHSheight=document.getElementById("mainspacekeeper").offsetHeight; + } + if (SAHSopenMode == 1 || SAHSopenMode == 2){ + document.getElementById("mainspacekeeper").innerHTML=''; + } else if (SAHSopenMode == 5){ + window.open(SAHSurl,SAHStarget,'top=0,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no'); + } else { + window.open(SAHSurl,SAHStarget,'top=0,width='+SAHSwidth+',height='+SAHSheight+',location=no,menubar=no,resizable=yes,scrollbars=yes,status=no'); + } +} + diff --git a/Projects/WebGIM/GIM_site/help/EN/js/accordion.js b/Projects/WebGIM/GIM_site/help/EN/js/accordion.js new file mode 100644 index 0000000..fcba964 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/js/accordion.js @@ -0,0 +1,324 @@ +// inspired by accordion.js v2.0, Copyright (c) 2007 stickmanlabs +// Author: Kevin P Miller | http://www.stickmanlabs.com +// MIT-style licensed +// +// Complete rewrite using YUI instead of prototype by Alex Killing for +// ILIAS open source + + +ilAccordionData = Array(); + +// Success Handler +var ilAccSuccessHandler = function(o) +{ + // parse headers function + function parseHeaders() + { + } +} + +// Success Handler +var ilAccFailureHandler = function(o) +{ + //alert('FailureHandler'); +} + +function ilAccordionJSHandler(sUrl) +{ + var ilAccCallback = + { + success: ilAccSuccessHandler, + failure: ilAccFailureHandler + }; + + var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, ilAccCallback); + + return false; +} + + +function ilGetNextSibling(n) +{ + do n = n.nextSibling; + while (n && n.nodeType != 1); + return n; +} + +//var accordion = Class.create(); +var accordion = function() {}; +accordion.prototype = +{ + + // + // Setup the Variables + // + showAccordion : null, + currentAccordion : null, + duration : null, + effects : [], + animating : false, + + // + // Initialize the accordions + // + initialize: function(container, options) { + this.options = options; + + var accordions = YAHOO.util.Dom.getElementsByClassName(this.options.classNames.toggle, 'div', container); + for (k in accordions) + { + var accordion = accordions[k]; + + if (accordion.parentNode.parentNode.id == container) { + YAHOO.util.Event.addListener(accordion, "click", this.clickHandler, accordion, this); + accordion.onclick = function() {return false;}; + + var n = ilGetNextSibling(accordion); + + if (n != undefined) + { + + if (this.options.direction == 'horizontal') + { + n.style.width = '0px'; + } + else + { + n.style.height = '0px'; + } + n.style.display = 'none'; + this.currentAccordion = n; + } + } + } + }, + + + // + // Handle click on accordion header + // + clickHandler : function(e, accordion) { + if (this.animating) { + return false; + } + + this.effects = []; + + this.currentAccordion = ilGetNextSibling(accordion); + + if (this.currentAccordion == this.showAccordion) + { + this.deactivate(); + } + else + { + this._handleAccordion(); + } + }, + + + // + // Deactivate an active accordion + // + deactivate : function() { + + this.currentAccordion.style.display = 'block'; + if (this.options.direction == 'vertical') + { + var myAnim = new YAHOO.util.Anim(this.showAccordion, { + height: { to: 0 } + }, 1, YAHOO.util.Easing.easeOut); + } + else + { + var myAnim = new YAHOO.util.Anim(this.showAccordion, { + width: { to: 0 } + }, 1, YAHOO.util.Easing.easeOut); + } + myAnim.duration = 0.5; + myAnim.onComplete.subscribe(function(a, b, t) { + if (t.options.classNames.activeHead && t.showAccordion && t.options.classNames.activeHead != "") { + $(t.showAccordion.parentNode).children("div:first").children("div:first"). + removeClass(t.options.classNames.activeHead); + } + t.showAccordion.style.height = 'auto'; + t.showAccordion.style.display = 'none'; + t.showAccordion = null; + t.animating = false; + if (typeof t.options.save_url != "undefined" && t.options.save_url != "") + { + ilAccordionJSHandler(t.options.save_url + "&tab_nr=0"); + } + }, this); + myAnim.animate(); + }, + + // + // Handle the open/close actions of the accordion + // + _handleAccordion : function() { + + // fade in the new accordion (currentAccordion) + if (this.options.direction == 'vertical') + { + this.currentAccordion.style.position = 'relative'; + this.currentAccordion.style.left = '-1000px'; + this.currentAccordion.style.display = 'block'; + var nh = this.options.defaultSize.height ? this.options.defaultSize.height : this.currentAccordion.scrollHeight + this.currentAccordion.style.height = '0px'; + this.currentAccordion.style.position = ''; + this.currentAccordion.style.left = ''; + var myAnim = new YAHOO.util.Anim(this.currentAccordion, { + height: { + from: 0, + to: nh } + }, 1, YAHOO.util.Easing.easeOut); + } + else + { + this.currentAccordion.style.display = 'block'; + var myAnim = new YAHOO.util.Anim(this.currentAccordion, { + width: { + from: 0, + to: this.options.defaultSize.width ? this.options.defaultSize.width : this.currentAccordion.scrollWidth } + }, 1, YAHOO.util.Easing.easeOut); + } + myAnim.duration = 0.5; + this.animating = true; + myAnim.onComplete.subscribe(function(a, b, t) { + if (t.showAccordion) { + t.showAccordion.style.display = 'none'; + } + t.currentAccordion.style.height = 'auto'; + + // add active class to opened accordion + if (t.options.classNames.activeHead && t.options.classNames.activeHead != '') + { + if (t.showAccordion) { + $(t.showAccordion.parentNode).children("div:first").children("div:first"). + removeClass(t.options.classNames.activeHead); + } + $(t.currentAccordion.parentNode).children("div:first").children("div:first"). + addClass(t.options.classNames.activeHead); + } + + // set the currently shown accordion + t.showAccordion = t.currentAccordion; + if (typeof t.options.save_url != "undefined" && t.options.save_url != "") + { + var tab_nr = 1; + var cel = t.showAccordion.parentNode; + while(cel = cel.previousSibling) + { + if (cel.nodeName.toUpperCase() == 'DIV') + { + tab_nr++; + } + } + ilAccordionJSHandler(t.options.save_url + "&tab_nr=" + tab_nr); + } + + t.animating = false; + }, this); + myAnim.onStart.subscribe(function(a, b, t) { + t.currentAccordion.style.display = 'block'; + }, this); + + // fade out the currently shown accordion (showAccordion) + if (this.showAccordion) + { + if (this.options.direction == 'vertical') + { + var myAnim2 = new YAHOO.util.Anim(this.showAccordion, { + height: { to: 0 } + }, 1, YAHOO.util.Easing.easeOut); + } + else + { + var myAnim2 = new YAHOO.util.Anim(this.showAccordion, { + width: { to: 0 } + }, 1, YAHOO.util.Easing.easeOut); + } + myAnim2.duration = 0.5; + + myAnim2.animate(); + + } + myAnim.animate(); + } +} + +il.Util.addOnLoad(ilInitAccordions); + +function ilInitAccordions() +{ + // run through accordions + for (var i=0; i -1 && document.cookie.charAt(cookiePos + 11) == 1) + { + this.toggleToc(); + } + }, + + /** + * Toggle the table of content + */ + toggleToc: function() + { + var toc = document.getElementById('ilPageTocContent'); + + if (!toc) + { + return; + } + var toc_on = document.getElementById('ilPageTocOn'); + var toc_off = document.getElementById('ilPageTocOff'); + if (toc && toc.style.display == 'none') + { + toc.style.display = 'block'; + toc_on.style.display = 'none'; + toc_off.style.display = ''; + document.cookie = "pg_hidetoc=0"; + } + else + { + toc_on.style.display = ''; + toc_off.style.display = 'none'; + toc.style.display = 'none'; + document.cookie = "pg_hidetoc=1"; + } + }, + + // + // Interactive Images + // + + iim_trigger: {}, + iim_area: {}, + iim_popup: {}, + iim_marker: {}, + dragging: false, + + /** + * Init interactive images + */ + initInteractiveImages: function () + { + // preload overlay images (necessary?) + + // add onmouseover event to all map areas + $("map.iim > area").mouseover(this.overBaseArea); + $("map.iim > area").mouseout(this.outBaseArea); + $("map.iim > area").click(this.clickBaseArea); + + $("a.ilc_marker_Marker").mouseover(this.overMarker); + $("a.ilc_marker_Marker").mouseout(this.outMarker); + $("a.ilc_marker_Marker").click(this.clickMarker); + + }, + + /** + * Mouse over marker -> show the overlay image + */ + overMarker: function (e) + { + if (this.dragging) + { + return; + } + + var marker_tr_nr = ilCOPagePres.iim_marker[e.target.id].tr_nr; + var iim_id = ilCOPagePres.iim_marker[e.target.id].iim_id; + ilCOPagePres.handleOverEvent(iim_id, marker_tr_nr, true); + }, + + /** + * Mouse leaves marker -> hide the overlay image + */ + outMarker: function (e) + { + if (this.dragging) + { + return; + } + + var marker_tr_nr = ilCOPagePres.iim_marker[e.target.id].tr_nr; + var iim_id = ilCOPagePres.iim_marker[e.target.id].iim_id; + ilCOPagePres.handleOutEvent(iim_id, marker_tr_nr, true); + }, + + /** + * Mouse over base image map area -> show the overlay image + * and (on first time) init the image map of the overlay image + */ + overBaseArea: function (e) + { + var area_tr_nr = ilCOPagePres.iim_area[e.target.id].tr_nr; + var iim_id = ilCOPagePres.iim_area[e.target.id].iim_id; + + ilCOPagePres.handleOverEvent(iim_id, area_tr_nr, false); + }, + + /** + * Mouse over base image map area or marker -> show the overlay image + * and (on first time) init the image map of the overlay image + */ + handleOverEvent: function (iim_id, area_tr_nr, is_marker) + { +//console.log("over enter"); + var k, j, tr, coords, ovx, ovy; + + if (this.dragging) + { + return; + } + + for (k in ilCOPagePres.iim_trigger) + { + tr = ilCOPagePres.iim_trigger[k]; + if (tr.nr == area_tr_nr && tr.iim_id == iim_id) + { + var base = $("img#base_img_" + tr.iim_id); + var pos = base.position(); + var ov = $("img#iim_ov_" + tr['tr_id']); + + // no overlay image? -> skip + if (ov.length == 0) + { + continue; + } + + var cnt = 1; + + // no usamap (e.g. edit mode) -> skip) + if (typeof(base.attr('usemap')) == "undefined") + { + continue; + } + + var base_map_name = base.attr('usemap').substr(1); + + // display the overlay at the correct position + ov.css('position', 'absolute'); + ovx = parseInt(tr['ovx']); + ovy = parseInt(tr['ovy']); + ov.css('left', pos.left + ovx); + ov.css('top', pos.top + ovy); + ov.css('display', ''); + + // on first time we need to initialize the + // image map of the overlay image + if (tr.map_initialized == null && !is_marker) + { + tr.map_initialized = true; +//console.log(tr); + cnt = 1; + $("map[name='" + base_map_name + "'] > area").each( + function (i,el) { + // if title is the same, add area to overlay map + if (ilCOPagePres.iim_area[el.id]['tr_nr'] == area_tr_nr) + { + coords = $(el).attr("coords"); + // fix coords + switch($(el).attr("shape").toLowerCase()) + { + case "rect": + var c = coords.split(","); + coords = "" + (parseInt(c[0]) - ovx) + "," + + (parseInt(c[1]) - ovy) + "," + + (parseInt(c[2]) - ovx) + "," + + (parseInt(c[3]) - ovy); + break; + + case "poly": + var c = coords.split(","); + coords = ""; + var sep = ""; + for (j in c) + { + if (j % 2 == 0) + { + coords = coords + sep + parseInt(c[j] - ovx); + } + else + { + coords = coords + sep + parseInt(c[j] - ovy); + } + sep = ","; + } + break; + + case "circle": + var c = coords.split(","); + coords = "" + (parseInt(c[0]) - ovx) + "," + + (parseInt(c[1]) - ovy) + "," + + (parseInt(c[2])); + break; + } + + // set shape and coords + $("area#iim_ov_area_" + tr['tr_id']).attr("coords", coords); + $("area#iim_ov_area_" + tr['tr_id']).attr("shape", $(el).attr("shape")); + + // add mouse event listeners + var k2 = k; + var i2 = "iim_ov_" + tr['tr_id']; + var tr2 = tr['tr_id']; + $("area#iim_ov_area_" + tr['tr_id']).mouseover( + function() {ilCOPagePres.overOvArea(k2, true, i2)}); + $("area#iim_ov_area_" + tr['tr_id']).mouseout( + function() {ilCOPagePres.overOvArea(k2, false, i2)}); + $("area#iim_ov_area_" + tr['tr_id']).click( + function(e) {ilCOPagePres.clickOvArea(e, tr2)}); + } + cnt++; + }); + } + } + } + }, + + /** + * Leave a base image map area: hide corresponding images + */ + outBaseArea: function (e) + { + var area_tr_nr = ilCOPagePres.iim_area[e.target.id].tr_nr; + var iim_id = ilCOPagePres.iim_area[e.target.id].iim_id; + ilCOPagePres.handleOutEvent(iim_id, area_tr_nr, false); + }, + + /** + * Leave a base image map area: hide corresponding images + */ + handleOutEvent: function (iim_id, area_tr_nr, is_marker) + { +//console.log("out"); + var k, tr; + + if (this.dragging) + { + return; + } + + for (k in ilCOPagePres.iim_trigger) + { + tr = ilCOPagePres.iim_trigger[k]; + if (tr.nr == area_tr_nr && tr.iim_id == iim_id && + (ilCOPagePres.iim_trigger[k]['over_ov_area'] == null || + !ilCOPagePres.iim_trigger[k]['over_ov_area'] + )) + { + $("img#iim_ov_" + tr['tr_id']).css('display', 'none'); + } + } + }, + + + + /** + * Triggered by mouseover/out on imagemap of overlay image + */ + overOvArea: function (k, value, ov_id) + { + if (this.dragging) + { + return; + } + +//console.log("overOvArea " + k + ":" + ov_id); + ilCOPagePres.iim_trigger[k]['over_ov_area'] = value; + if (value) + { + $("img#" + ov_id).css('display', ''); + } + else + { + $("img#" + ov_id).css('display', 'none'); + } + }, + + /** + * A marker is clicked + */ + clickMarker: function (e) + { + var k; + var marker_tr_nr = ilCOPagePres.iim_marker[e.target.id].tr_nr; + var iim_id = ilCOPagePres.iim_marker[e.target.id].iim_id; + + if (ilCOPagePres.iim_marker[e.target.id].edit_mode == "1") + { + return; + } + + if (this.dragging) + { + return; + } + + // iterate through the triggers and search the correct one + for (k in ilCOPagePres.iim_trigger) + { + tr = ilCOPagePres.iim_trigger[k]; + if (tr.nr == marker_tr_nr && tr.iim_id == iim_id) + { + ilCOPagePres.handleAreaClick(e, tr['tr_id']); + } + } + }, + + /** + * A base image map area is clicked + */ + clickBaseArea: function (e) + { + var k; + var area_tr_nr = ilCOPagePres.iim_area[e.target.id].tr_nr; + var iim_id = ilCOPagePres.iim_area[e.target.id].iim_id; + + if (this.dragging) + { + return; + } + + // iterate through the triggers and search the correct one + for (k in ilCOPagePres.iim_trigger) + { + tr = ilCOPagePres.iim_trigger[k]; + if (tr.nr == area_tr_nr && tr.iim_id == iim_id) + { + ilCOPagePres.handleAreaClick(e, tr['tr_id']); + } + } + }, + + /** + * Handle area click (triggered by base or overlay image map area) + */ + handleAreaClick: function (e, tr_id) + { + var tr = ilCOPagePres.iim_trigger[tr_id]; + var el = document.getElementById("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr']); + + if (el == null || this.dragging) + { + e.preventDefault(); + return; + } + + // on first time we need to initialize content overlay + if (tr.popup_initialized == null) + { + tr.popup_initialized = true; + + // @todo: initialize the overlay + /* + il.Overlay.add("iim_popup_" + tr.tr_id, + {"yuicfg":{"visible":false,"fixedcenter":false, + "context":["iim_ov_area_" + tr.tr_id,"tl","bl",["beforeShow","windowResize"]]}, + "trigger":"iim_ov_area_" + tr.tr_id, + "trigger_event":"click", + "anchor_id":"iim_ov_area_" + tr.tr_id, + "auto_hide":false, + "close_el":"iim_ov_area_" + tr.tr_id}); + */ + il.Overlay.add("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr'], + {"yuicfg":{"visible":false,"fixedcenter":false}, + "auto_hide":false}); + } + +//console.log("showing trigger " + tr_id); +//console.log("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr']); + + // show the overlay + var base = $("img#base_img_" + ilCOPagePres.iim_trigger[tr_id]['iim_id']); + var pos = base.position(); + var x = pos.left + parseInt(ilCOPagePres.iim_trigger[tr_id]['popx']); + var y = pos.top + parseInt(ilCOPagePres.iim_trigger[tr_id]['popy']); + il.Overlay.setWidth("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr'], ilCOPagePres.iim_trigger[tr_id]['popwidth']); + il.Overlay.setHeight("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr'], ilCOPagePres.iim_trigger[tr_id]['popheight']); + il.Overlay.toggle(e, "iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr'], null, false, null, null, "click"); + il.Overlay.setX("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr'], x); + il.Overlay.setY("iim_popup_" + tr['iim_id'] + "_" + tr['popup_nr'], y); + + e.preventDefault(); + }, + + /** + * A overlay image map area is clicked + */ + clickOvArea: function (e, tr_id) + { + ilCOPagePres.handleAreaClick(e, tr_id); + }, + + addIIMTrigger: function(tr) + { +//console.log(tr); + this.iim_trigger[tr.tr_id] = tr; + }, + + addIIMArea: function(a) + { +//console.log(a); + this.iim_area[a.area_id] = a; + }, + + addIIMPopup: function(p) + { + this.iim_popup[p.pop_id] = p; + }, + + addIIMMarker: function(m) + { + this.iim_marker[m.m_id] = m; + var base = $("img#base_img_" + m.iim_id); + var pos = base.position(); + var mark = $("a#" + m['m_id']); + // display the marker at the correct position + mark.css('position', 'absolute'); + var mx = parseInt(m['markx']); + var my = parseInt(m['marky']); + mark.css('left', pos.left + mx); + mark.css('top', pos.top + my); + mark.css('display', ''); + }, + + fixMarkerPositions: function () + { + var m, tr, k, i; + + for (k in ilCOPagePres.iim_marker) + { + m = ilCOPagePres.iim_marker[k]; + + var base = $("img#base_img_" + m.iim_id); + var pos = base.position(); + var mark = $("a#" + m['m_id']); + mark.css('position', 'absolute'); + var mx = parseInt(m['markx']); + var my = parseInt(m['marky']); + mark.css('left', pos.left + mx); + mark.css('top', pos.top + my); + } + + /* + for (k in ilCOPagePres.iim_trigger) + { + var t = ilCOPagePres.iim_trigger[k]; +// console.log(t); + for (i in ilCOPagePres.iim_popup) + { + p = ilCOPagePres.iim_popup[i]; + if (t.popup_nr == p.nr && t.iim_id == p.iim_id) + { + var base = $("img#base_img_" + p.iim_id); + var pos = base.position(); + var pop = $("div#" + p.div_id); + pop.css('position', 'absolute'); + var mx = parseInt(t.popx); + var my = parseInt(t.popy); + pop.css('left', pos.left + mx); + pop.css('top', pos.top + my); + } + } + } + */ + }, + + /** + * Make marker draggable + */ + startDraggingMarker: function(tr_nr) + { + var k; + + this.dragging = true; + for (k in ilCOPagePres.iim_marker) + { + if (ilCOPagePres.iim_marker[k]['tr_nr'] == tr_nr) + { + var mark = ilCOPagePres.iim_marker[k]; + $("a#" + ilCOPagePres.iim_marker[k]['m_id']).css("display", ""); + $("a#" + ilCOPagePres.iim_marker[k]['m_id']).draggable({ + drag: function(event, ui) { + var base = $("img#base_img_" + mark.iim_id); + var bpos = base.position(); + var marker = $("a#" + mark.m_id); + var mpos = marker.position(); + var position = (Math.round(mpos.left) - Math.round(bpos.left)) + "," + + (Math.round(mpos.top) - Math.round(bpos.top)); + $("input#markpos_" + mark.tr_nr).attr("value", position); + } + }); + + ilCOPagePres.initDragToolbar(); + } + else + { + $("a#" + ilCOPagePres.iim_marker[k]['m_id']).css("display", "none"); + } + } + }, + + stopDraggingMarker: function() + { + this.dragging = false; + }, + + /** + * Make overlay draggable + */ + startDraggingOverlay: function(tr_nr) + { + var k; + + this.dragging = true; + + for (k in ilCOPagePres.iim_trigger) + { + var trigger = ilCOPagePres.iim_trigger[k]; + if (trigger['nr'] == tr_nr) + { + var dtr = trigger; + var ov = $("img#iim_ov_" + dtr['tr_id']); + + // remove map for dragging + ov.attr('usemap',''); + + ilCOPagePres.initDragToolbar(); + + var base = $("img#base_img_" + dtr.iim_id); + var bpos = base.position(); + + ovx = parseInt(dtr['ovx']); + ovy = parseInt(dtr['ovy']); + ov.css('left', bpos.left + ovx); + ov.css('top', bpos.top + ovy); + ov.css('display', ''); + ov.css("position", "absolute"); + + var dtr = trigger; + ov.draggable({ + stop: function(event, ui) { + var ovpos = ov.position(); + var position = (Math.round(ovpos.left) - Math.round(bpos.left)) + "," + + (Math.round(ovpos.top) - Math.round(bpos.top)); + + $("input#ovpos_" + dtr.nr).attr("value", position); + } + }); + } + else + { +// $("img#iim_ov_" + trigger['tr_id']).css("display", "none"); + } + } + }, + + /** + * Make popup draggable + */ + startDraggingPopup: function(tr_nr) + { + var i, k; + this.dragging = true; + + // get correct trigger + for (k in ilCOPagePres.iim_trigger) + { + if (ilCOPagePres.iim_trigger[k]['nr'] == tr_nr) + { + var dtr = ilCOPagePres.iim_trigger[k]; + + // get correct popup + for (i in ilCOPagePres.iim_popup) + { + if (ilCOPagePres.iim_popup[i]['nr'] == + ilCOPagePres.iim_trigger[k]['popup_nr']) + { + var cpop = ilCOPagePres.iim_popup[i]; + var pdummy = document.getElementById("popupdummy"); + if (pdummy == null) + { + $('div#il_center_col').append('
'); + pdummy = $("div#popupdummy"); + } + else + { + pdummy = $("div#popupdummy"); + } + + ilCOPagePres.initDragToolbar(); + + var base = $("img#base_img_" + cpop.iim_id); + var bpos = base.position(); +//console.log(dtr); + popx = parseInt(dtr['popx']); + popy = parseInt(dtr['popy']); + pdummy.css("position", "absolute"); + pdummy.css('left', bpos.left + popx); + pdummy.css('top', bpos.top + popy); + pdummy.css('width', dtr['popwidth']); + pdummy.css('height', dtr['popheight']); + pdummy.css('display', ''); + + pdummy.draggable({ + stop: function(event, ui) { + var pdpos = pdummy.position(); + var position = (Math.round(pdpos.left) - Math.round(bpos.left)) + "," + + (Math.round(pdpos.top) - Math.round(bpos.top)); + $("input#poppos_" + dtr.nr).attr("value", position); + } + }); + } + else + { + // $("img#iim_ov_" + trigger['tr_id']).css("display", "none"); + } + } + } + } + }, + + /** + * Init drag toolbar + */ + initDragToolbar: function(tr_nr) + { + // show the toolbar + $("div#drag_toolbar").css("display", ""); + this.fixMarkerPositions(); + $("a#save_pos_button").click(function () { + $("input#update_tr_button").trigger("click"); + }); + }, + + + // + // Question Overviews + // + + qover: {}, + + addQuestionOverview: function(conf) + { + this.qover[conf.id] = conf; + }, + + updateQuestionOverviews: function() + { + var correct = {}; + var incorrect = {}; + var correct_cnt = 0; + var incorrect_cnt = 0; + + if (typeof questions == 'undefined') + { + return; + } + + for (var k in questions) + { + var answered_correctly = true; + var index=parseInt(k,10); + if (!isNaN(index)) + { + if (!answers[index]) + { + answered_correctly = false; + } + else + { + if (answers[index].passed!=true) + { + answered_correctly = false; + } + } + if (!answered_correctly) + { + incorrect[k] = k; + incorrect_cnt++; + } + else + { + correct[k] = k; + correct_cnt++; + } + } + } + + // iterate all question overview elements + for (var i in this.qover) + { + var ov_el = $('div#' + this.qover[i].div_id); + + // remove all children + ov_el.empty(); + + // show success message, if all questions have been answered + if (incorrect_cnt == 0) + { + ov_el.attr("class", 'ilc_qover_Correct'); + ov_el.append( + ilias.questions.txt.ov_all_correct); + } + else + { + ov_el.attr("class", 'ilc_qover_Incorrect'); + // show message including of number of not + // correctly answered questions + if (this.qover[i].short_message == "y") + { + ov_el.append('
' + + ilias.questions.txt.ov_some_correct.split("[x]").join(correct_cnt + "") + .split("[y]").join((incorrect_cnt + correct_cnt) + "") + + "
" + ); + } + + if (this.qover[i].list_wrong_questions == "y") + { + ov_el.append( + '
' + + ilias.questions.txt.ov_wrong_answered + ":" + '
' + ); + + // list all incorrect answered questions + ov_el.append(''); + var ul = $('div#' + this.qover[i].div_id + " > ul"); + for (var j in incorrect) + { + var qtext = questions[j].question; + if (questions[j].type == "assClozeTest") + { + qtext = questions[j].title; + } + ul.append( + '
  • ' + + '' + qtext + '' + + '
  • '); + } + } + } + } + }, + + // jump to a question + jumpToQuestion: function(qid) { + if (typeof pager != "undefined") { + pager.jumpToElement("container" + qid); + } + return false; + }, + + // + // Map area functions + // + + // init map areas + initMapAreas: function() { + + // mouseover + //$('img[usemap^="#map_il_"]').maphilight({fade:true, fillColor:'000000', strokeColor:'000000'}); + $('img[usemap^="#map_il_"]').maphilight({"neverOn":true}); + /*$('img[class^="img_hl_"]').each(function(index) { + var cl = $(this).attr("class").split("_"); + var opts = {}; + if (cl[2] == "Hover") { + opts.fade = true; + } else { + opts.alwaysOn = true; + } + if (cl[3] == "Dark") { + opts.fillColor = "202020"; + opts.strokeColor = "202020"; + } else if (cl[3] == "Light") { + opts.fillColor = "F0F0F0"; + opts.strokeColor = "F0F0F0"; + } else { + opts.fillColor = "FF6633"; + opts.strokeColor = "FF6633"; + } + opts.fillOpacity = 0; + $(this).maphilight(opts); + });*/ + + // always on + //$('img[class^="img_hl_"]').maphilight({alwaysOn:true, fillColor:'FFFFFF', strokeColor:'FFFFFF'}); + }, + + //// + //// Handle advanced content + //// + showadvcont: true, + initAdvancedContent: function() { + var c = $("div.ilc_section_AdvancedKnowledge"); + var b = $("#ilPageShowAdvContent"); + if (c.length > 0 && b.length > 0) { + var cookiePos = document.cookie.indexOf("pg_hideadv="); + if (cookiePos > -1 && document.cookie.charAt(cookiePos + 11) == 1) { + this.showadvcont = false; + } + + $("#ilPageShowAdvContent").css("display", "block"); + if (ilCOPagePres.showadvcont) { + $("div.ilc_section_AdvancedKnowledge").css("display", ""); + $("#ilPageShowAdvContent > span:nth-child(1)").css("display", "none"); + } else { + $("div.ilc_section_AdvancedKnowledge").css("display", "none"); + $("#ilPageShowAdvContent > span:nth-child(2)").css("display", "none"); + } + $("#ilPageShowAdvContent").click(function () { + if (ilCOPagePres.showadvcont) { + $("div.ilc_section_AdvancedKnowledge").css("display", "none"); + $("#ilPageShowAdvContent > span:nth-child(1)").css("display", ""); + $("#ilPageShowAdvContent > span:nth-child(2)").css("display", "none"); + ilCOPagePres.showadvcont = false; + document.cookie = "pg_hideadv=1"; + } else { + $("div.ilc_section_AdvancedKnowledge").css("display", ""); + $("#ilPageShowAdvContent > span:nth-child(1)").css("display", "none"); + $("#ilPageShowAdvContent > span:nth-child(2)").css("display", ""); + ilCOPagePres.showadvcont = true; + document.cookie = "pg_hideadv=0"; + } + return false; + }); + } + }, + + //// + //// Audio/Video + //// + + initAudioVideo: function () { + if ($('video.ilPageVideo,audio.ilPageAudio').mediaelementplayer) { + $('video.ilPageVideo,audio.ilPageAudio').mediaelementplayer({}); + } + } + +} +il.Util.addOnLoad(function() {ilCOPagePres.init();}); diff --git a/Projects/WebGIM/GIM_site/help/EN/js/jquery-ui-min.js b/Projects/WebGIM/GIM_site/help/EN/js/jquery-ui-min.js new file mode 100644 index 0000000..8ca32d8 --- /dev/null +++ b/Projects/WebGIM/GIM_site/help/EN/js/jquery-ui-min.js @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.9.1 - 2012-11-19 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.autocomplete.js, jquery.ui.menu.js +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ + +(function(e,t){function i(t,n){var r,i,o,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(o=e("img[usemap=#"+i+"]")[0],!!o&&s(o))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().andSelf().filter(function(){return e.css(this,"visibility")==="hidden"}).length}var n=0,r=/^ui-id-\d+$/;e.ui=e.ui||{};if(e.ui.version)return;e.extend(e.ui,{version:"1.9.1",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({_focus:e.fn.focus,focus:function(t,n){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus(),n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){var r=e(this[0]),i,s;while(r.length&&r[0]!==document){i=r.css("position");if(i==="absolute"||i==="relative"||i==="fixed"){s=parseInt(r.css("zIndex"),10);if(!isNaN(s)&&s!==0)return s}r=r.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){r.test(this.id)&&e(this).removeAttr("id")})}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&i(t,!r)}}),e(function(){var t=document.body,n=t.appendChild(n=document.createElement("div"));n.offsetHeight,e.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),e.support.minHeight=n.offsetHeight===100,e.support.selectstart="onselectstart"in n,t.removeChild(n).style.display="none"}),function(){var t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];e.ui.ie=t.length?!0:!1,e.ui.ie6=parseFloat(t[1],10)===6}(),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n){var r,i=e.plugins[t];if(!i||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11)return;for(r=0;r0?!0:(t[r]=1,i=t[r]>0,t[r]=0,i)},isOverAxis:function(e,t,n){return e>t&&e",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetName,this),e.data(r,this.widgetFullName,this),this._on(this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u=9||!!t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return!0}})})(jQuery);(function(e,t){function h(e,t,n){return[parseInt(e[0],10)*(l.test(e[0])?t/100:1),parseInt(e[1],10)*(l.test(e[1])?n/100:1)]}function p(t,n){return parseInt(e.css(t,n),10)||0}e.ui=e.ui||{};var n,r=Math.max,i=Math.abs,s=Math.round,o=/left|center|right/,u=/top|center|bottom/,a=/[\+\-]\d+%?/,f=/^\w+/,l=/%$/,c=e.fn.position;e.position={scrollbarWidth:function(){if(n!==t)return n;var r,i,s=e("
    "),o=s.children()[0];return e("body").append(s),r=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,r===i&&(i=s[0].clientWidth),s.remove(),n=r-i},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i=n==="scroll"||n==="auto"&&t.width0?"right":"center",vertical:u<0?"top":o>0?"bottom":"middle"};lr(i(o),i(u))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),a.offset(e.extend(C,{using:u}))})},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=e.left-t.collisionPosition.marginLeft,u=i-o,a=o+t.collisionWidth-s-i,f;t.collisionWidth>s?u>0&&a<=0?(f=e.left+u+t.collisionWidth-s-i,e.left+=u-f):a>0&&u<=0?e.left=i:u>a?e.left=i+s-t.collisionWidth:e.left=i:u>0?e.left+=u:a>0?e.left-=a:e.left=r(e.left-o,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,u=i-o,a=o+t.collisionHeight-s-i,f;t.collisionHeight>s?u>0&&a<=0?(f=e.top+u+t.collisionHeight-s-i,e.top+=u-f):a>0&&u<=0?e.top=i:u>a?e.top=i+s-t.collisionHeight:e.top=i:u>0?e.top+=u:a>0?e.top-=a:e.top=r(e.top-o,e.top)}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,u=e.left-t.collisionPosition.marginLeft,a=u-o,f=u+t.collisionWidth-s-o,l=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,c=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,h=-2*t.offset[0],p,d;if(a<0){p=e.left+l+c+h+t.collisionWidth-s-r;if(p<0||p0){d=e.left-t.collisionPosition.marginLeft+l+c+h-o;if(d>0||i(d)a&&(v<0||v0&&(d=e.top-t.collisionPosition.marginTop+c+h+p-o,e.top+c+h+p>f&&(d>0||i(d)10&&i<11,t.innerHTML="",n.removeChild(t)}(),e.uiBackCompat!==!1&&function(e){var n=e.fn.position;e.fn.position=function(r){if(!r||!r.offset)return n.call(this,r);var i=r.offset.split(" "),s=r.at.split(" ");return i.length===1&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),s.length===1&&(/left|center|right/.test(s[0])?s[1]="center":(s[1]=s[0],s[0]="center")),n.call(this,e.extend(r,{at:s[0]+i[0]+" "+s[1]+i[1],offset:t}))}}(jQuery)})(jQuery);(function(e,t){e.widget("ui.draggable",e.ui.mouse,{version:"1.9.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))&&(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var n=this.options;return this.helper||n.disabled||e(t.target).is(".ui-resizable-handle")?!1:(this.handle=this._getHandle(t),this.handle?(e(n.iframeFix===!0?"iframe":n.iframeFix).each(function(){e('
    ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,n){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute");if(!n){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";return e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=!1;e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1);var r=this.element[0],i=!1;while(r&&(r=r.parentNode))r==document&&(i=!0);if(!i&&this.options.helper==="original")return!1;if(this.options.revert=="invalid"&&!n||this.options.revert=="valid"&&n||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var s=this;e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",t)!==!1&&s._clear()})}else this._trigger("stop",t)!==!1&&this._clear();return!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var n=!this.options.handle||!e(this.options.handle,this.element).length?!0:!1;return e(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(n=!0)}),n},_createHelper:function(t){var n=this.options,r=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t])):n.helper=="clone"?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo(n.appendTo=="parent"?this.element[0].parentNode:n.appendTo),r[0]!=this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))&&r.css("position","absolute"),r},_adjustOffsetFromHelper:function(t){typeof t=="string"&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&e.ui.ie)t={top:0,left:0};return{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t=this.options;t.containment=="parent"&&(t.containment=this.helper[0].parentNode);if(t.containment=="document"||t.containment=="window")this.containment=[t.containment=="document"?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t.containment=="document"?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(t.containment=="document"?0:e(window).scrollLeft())+e(t.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(t.containment=="document"?0:e(window).scrollTop())+(e(t.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(t.containment)&&t.containment.constructor!=Array){var n=e(t.containment),r=n[0];if(!r)return;var i=n.offset(),s=e(r).css("overflow")!="hidden";this.containment=[(parseInt(e(r).css("borderLeftWidth"),10)||0)+(parseInt(e(r).css("paddingLeft"),10)||0),(parseInt(e(r).css("borderTopWidth"),10)||0)+(parseInt(e(r).css("paddingTop"),10)||0),(s?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(e(r).css("borderLeftWidth"),10)||0)-(parseInt(e(r).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(s?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(e(r).css("borderTopWidth"),10)||0)-(parseInt(e(r).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=n}else t.containment.constructor==Array&&(this.containment=t.containment)},_convertPositionTo:function(t,n){n||(n=this.position);var r=t=="absolute"?1:-1,i=this.options,s=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():o?0:s.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())*r}},_generatePosition:function(t){var n=this.options,r=this.cssPosition!="absolute"||this.scrollParent[0]!=document&&!!e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName),s=t.pageX,o=t.pageY;if(this.originalPosition){var u;if(this.containment){if(this.relative_container){var a=this.relative_container.offset();u=[this.containment[0]+a.left,this.containment[1]+a.top,this.containment[2]+a.left,this.containment[3]+a.top]}else u=this.containment;t.pageX-this.offset.click.leftu[2]&&(s=u[2]+this.offset.click.left),t.pageY-this.offset.click.top>u[3]&&(o=u[3]+this.offset.click.top)}if(n.grid){var f=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY;o=u?f-this.offset.click.topu[3]?f-this.offset.click.topu[2]?l-this.offset.click.left=0;l--){var c=r.snapElements[l].left,h=c+r.snapElements[l].width,p=r.snapElements[l].top,d=p+r.snapElements[l].height;if(!(c-s=l&&o<=c||u>=l&&u<=c||oc)&&(i>=a&&i<=f||s>=a&&s<=f||if);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,n){var r=e.ui.ddmanager.droppables[t.options.scope]||[],i=n?n.type:null,s=(t.currentItem||t.element).find(":data(droppable)").andSelf();e:for(var o=0;o').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=n.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var r=this.handles.split(",");this.handles={};for(var i=0;i');u.css({zIndex:n.zIndex}),"se"==s&&u.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(u)}}this._renderAxis=function(t){t=t||this.element;for(var n in this.handles){this.handles[n].constructor==String&&(this.handles[n]=e(this.handles[n],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var r=e(this.handles[n],this.element),i=0;i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth();var s=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");t.css(s,i),this._proportionallyResize()}if(!e(this.handles[n]).length)continue}},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!t.resizing){if(this.className)var e=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);t.axis=e&&e[1]?e[1]:"se"}}),n.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(n.disabled)return;e(this).removeClass("ui-resizable-autohide"),t._handles.show()}).mouseleave(function(){if(n.disabled)return;t.resizing||(e(this).addClass("ui-resizable-autohide"),t._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){t(this.element);var n=this.element;this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")}).insertAfter(n),n.remove()}return this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var n=!1;for(var r in this.handles)e(this.handles[r])[0]==t.target&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var r=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy();var o=n(this.helper.css("left")),u=n(this.helper.css("top"));r.containment&&(o+=e(r.containment).scrollLeft()||0,u+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:u},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:u},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=typeof r.aspectRatio=="number"?r.aspectRatio:this.originalSize.width/this.originalSize.height||1;var a=e(".ui-resizable-"+this.axis).css("cursor");return e("body").css("cursor",a=="auto"?this.axis+"-resize":a),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(e){var t=this.helper,n=this.options,r={},i=this,s=this.originalMousePosition,o=this.axis,u=e.pageX-s.left||0,a=e.pageY-s.top||0,f=this._change[o];if(!f)return!1;var l=f.apply(this,[e,u,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey)l=this._updateRatio(l,e);return l=this._respectSize(l,e),this._propagate("resize",e),t.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",e,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var n=this.options,r=this;if(this._helper){var i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),o=s&&e.ui.hasScroll(i[0],"left")?0:r.sizeDiff.height,u=s?0:r.sizeDiff.width,a={width:r.helper.width()-u,height:r.helper.height()-o},f=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,l=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;n.animate||this.element.css(e.extend(a,{top:l,left:f})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!n.animate&&this._proportionallyResize()}return e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t=this.options,n,i,s,o,u;u={minWidth:r(t.minWidth)?t.minWidth:0,maxWidth:r(t.maxWidth)?t.maxWidth:Infinity,minHeight:r(t.minHeight)?t.minHeight:0,maxHeight:r(t.maxHeight)?t.maxHeight:Infinity};if(this._aspectRatio||e)n=u.minHeight*this.aspectRatio,s=u.minWidth/this.aspectRatio,i=u.maxHeight*this.aspectRatio,o=u.maxWidth/this.aspectRatio,n>u.minWidth&&(u.minWidth=n),s>u.minHeight&&(u.minHeight=s),ie.width,l=r(e.height)&&i.minHeight&&i.minHeight>e.height;f&&(e.width=i.minWidth),l&&(e.height=i.minHeight),u&&(e.width=i.maxWidth),a&&(e.height=i.maxHeight);var c=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,p=/sw|nw|w/.test(o),d=/nw|ne|n/.test(o);f&&p&&(e.left=c-i.minWidth),u&&p&&(e.left=c-i.maxWidth),l&&d&&(e.top=h-i.minHeight),a&&d&&(e.top=h-i.maxHeight);var v=!e.width&&!e.height;return v&&!e.left&&e.top?e.top=null:v&&!e.top&&e.left&&(e.left=null),e},_proportionallyResize:function(){var t=this.options;if(!this._proportionallyResizeElements.length)return;var n=this.helper||this.element;for(var r=0;r');var r=e.ui.ie6?1:0,i=e.ui.ie6?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+i,height:this.element.outerHeight()+i,position:"absolute",left:this.elementOffset.left-r+"px",top:this.elementOffset.top-r+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(e,t,n){return{width:this.originalSize.width+t}},w:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,n){var r=this.options,i=this.originalSize,s=this.originalPosition;return{top:s.top+n,height:i.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),t!="resize"&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","alsoResize",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=function(t){e(t).each(function(){var t=e(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};typeof i.alsoResize=="object"&&!i.alsoResize.parentNode?i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)}):s(i.alsoResize)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.originalSize,o=r.originalPosition,u={height:r.size.height-s.height||0,width:r.size.width-s.width||0,top:r.position.top-o.top||0,left:r.position.left-o.left||0},a=function(t,r){e(t).each(function(){var t=e(this),i=e(this).data("resizable-alsoresize"),s={},o=r&&r.length?r:t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var n=(i[t]||0)+(u[t]||0);n&&n>=0&&(s[t]=n||null)}),t.css(s)})};typeof i.alsoResize=="object"&&!i.alsoResize.nodeType?e.each(i.alsoResize,function(e,t){a(e,t)}):a(i.alsoResize)},stop:function(t,n){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","animate",{stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r._proportionallyResizeElements,o=s.length&&/textarea/i.test(s[0].nodeName),u=o&&e.ui.hasScroll(s[0],"left")?0:r.sizeDiff.height,a=o?0:r.sizeDiff.width,f={width:r.size.width-a,height:r.size.height-u},l=parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left)||null,c=parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top)||null;r.element.animate(e.extend(f,c&&l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var n={width:parseInt(r.element.css("width"),10),height:parseInt(r.element.css("height"),10),top:parseInt(r.element.css("top"),10),left:parseInt(r.element.css("left"),10)};s&&s.length&&e(s[0]).css({width:n.width,height:n.height}),r._updateCache(n),r._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(t,r){var i=e(this).data("resizable"),s=i.options,o=i.element,u=s.containment,a=u instanceof e?u.get(0):/parent/.test(u)?o.parent().get(0):u;if(!a)return;i.containerElement=e(a);if(/document/.test(u)||u==document)i.containerOffset={left:0,top:0},i.containerPosition={left:0,top:0},i.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight};else{var f=e(a),l=[];e(["Top","Right","Left","Bottom"]).each(function(e,t){l[e]=n(f.css("padding"+t))}),i.containerOffset=f.offset(),i.containerPosition=f.position(),i.containerSize={height:f.innerHeight()-l[3],width:f.innerWidth()-l[1]};var c=i.containerOffset,h=i.containerSize.height,p=i.containerSize.width,d=e.ui.hasScroll(a,"left")?a.scrollWidth:p,v=e.ui.hasScroll(a)?a.scrollHeight:h;i.parentData={element:a,left:c.left,top:c.top,width:d,height:v}}},resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.containerSize,o=r.containerOffset,u=r.size,a=r.position,f=r._aspectRatio||t.shiftKey,l={top:0,left:0},c=r.containerElement;c[0]!=document&&/static/.test(c.css("position"))&&(l=o),a.left<(r._helper?o.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-o.left:r.position.left-l.left),f&&(r.size.height=r.size.width/r.aspectRatio),r.position.left=i.helper?o.left:0),a.top<(r._helper?o.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-o.top:r.position.top),f&&(r.size.width=r.size.height*r.aspectRatio),r.position.top=r._helper?o.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top;var h=Math.abs((r._helper?r.offset.left-l.left:r.offset.left-l.left)+r.sizeDiff.width),p=Math.abs((r._helper?r.offset.top-l.top:r.offset.top-o.top)+r.sizeDiff.height),d=r.containerElement.get(0)==r.element.parent().get(0),v=/relative|absolute/.test(r.containerElement.css("position"));d&&v&&(h-=r.parentData.left),h+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-h,f&&(r.size.height=r.size.width/r.aspectRatio)),p+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-p,f&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.position,o=r.containerOffset,u=r.containerPosition,a=r.containerElement,f=e(r.helper),l=f.offset(),c=f.outerWidth()-r.sizeDiff.width,h=f.outerHeight()-r.sizeDiff.height;r._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h}),r._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:l.left-u.left-o.left,width:c,height:h})}}),e.ui.plugin.add("resizable","ghost",{start:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size;r.ghost=r.originalElement.clone(),r.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:""),r.ghost.appendTo(r.helper)},resize:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.ghost.css({position:"relative",height:r.size.height,width:r.size.width})},stop:function(t,n){var r=e(this).data("resizable"),i=r.options;r.ghost&&r.helper&&r.helper.get(0).removeChild(r.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(t,n){var r=e(this).data("resizable"),i=r.options,s=r.size,o=r.originalSize,u=r.originalPosition,a=r.axis,f=i._aspectRatio||t.shiftKey;i.grid=typeof i.grid=="number"?[i.grid,i.grid]:i.grid;var l=Math.round((s.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),c=Math.round((s.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1);/^(se|s|e)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c):/^(ne)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c):/^(sw)$/.test(a)?(r.size.width=o.width+l,r.size.height=o.height+c,r.position.left=u.left-l):(r.size.width=o.width+l,r.size.height=o.height+c,r.position.top=u.top-c,r.position.left=u.left-l)}});var n=function(e){return parseInt(e,10)||0},r=function(e){return!isNaN(parseInt(e,10))}})(jQuery);(function(e,t){e.widget("ui.selectable",e.ui.mouse,{version:"1.9.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t=this;this.element.addClass("ui-selectable"),this.dragged=!1;var n;this.refresh=function(){n=e(t.options.filter,t.element[0]),n.addClass("ui-selectee"),n.each(function(){var t=e(this),n=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:n.left,top:n.top,right:n.left+t.outerWidth(),bottom:n.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=n.addClass("ui-selectee"),this._mouseInit(),this.helper=e("
    ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var n=this;this.opos=[t.pageX,t.pageY];if(this.options.disabled)return;var r=this.options;this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.clientX,top:t.clientY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=e.data(this,"selectable-item");r.startselected=!0,!t.metaKey&&!t.ctrlKey&&(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))}),e(t.target).parents().andSelf().each(function(){var r=e.data(this,"selectable-item");if(r){var i=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected");return r.$element.removeClass(i?"ui-unselecting":"ui-selected").addClass(i?"ui-selecting":"ui-unselecting"),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger("selecting",t,{selecting:r.element}):n._trigger("unselecting",t,{unselecting:r.element}),!1}})},_mouseDrag:function(t){var n=this;this.dragged=!0;if(this.options.disabled)return;var r=this.options,i=this.opos[0],s=this.opos[1],o=t.pageX,u=t.pageY;if(i>o){var a=o;o=i,i=a}if(s>u){var a=u;u=s,s=a}return this.helper.css({left:i,top:s,width:o-i,height:u-s}),this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!a||a.element==n.element[0])return;var f=!1;r.tolerance=="touch"?f=!(a.left>o||a.rightu||a.bottomi&&a.rights&&a.bottom *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?e.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,n){t==="disabled"?(this.options[t]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):e.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,n){var r=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(t);var i=null,s=e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")==r)return i=e(this),!1});e.data(t.target,r.widgetName+"-item")==r&&(i=e(t.target));if(!i)return!1;if(this.options.handle&&!n){var o=!1;e(this.options.handle,i).find("*").andSelf().each(function(){this==t.target&&(o=!0)});if(!o)return!1}return this.currentItem=i,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,n,r){var i=this.options;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),i.containment&&this._setContainment(),i.cursor&&(e("body").css("cursor")&&(this._storedCursor=e("body").css("cursor")),e("body").css("cursor",i.cursor)),i.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",i.opacity)),i.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",i.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!r)for(var s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var n=this.options,r=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;i--){var s=this.items[i],o=s.item[0],u=this._intersectsWithPointer(s);if(!u)continue;if(s.instance!==this.currentContainer)continue;if(o!=this.currentItem[0]&&this.placeholder[u==1?"next":"prev"]()[0]!=o&&!e.contains(this.placeholder[0],o)&&(this.options.type=="semi-dynamic"?!e.contains(this.element[0],o):!0)){this.direction=u==1?"down":"up";if(this.options.tolerance!="pointer"&&!this._intersectsWithSides(s))break;this._rearrange(t,s),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(!t)return;e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t);if(this.options.revert){var r=this,i=this.placeholder.offset();this.reverting=!0,e(this.helper).animate({left:i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,s=e.left,o=s+e.width,u=e.top,a=u+e.height,f=this.offset.click.top,l=this.offset.click.left,c=r+f>u&&r+fs&&t+le[this.floating?"width":"height"]?c:s0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return e!=0&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor==String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n=[],r=[],i=this._connectWith();if(i&&t)for(var s=i.length-1;s>=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&r.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a])}}r.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var s=r.length-1;s>=0;s--)r[s][0].each(function(){n.push(this)});return e(n)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var n=0;n=0;s--){var o=e(i[s]);for(var u=o.length-1;u>=0;u--){var a=e.data(o[u],this.widgetName);a&&a!=this&&!a.options.disabled&&(r.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a))}}for(var s=r.length-1;s>=0;s--){var f=r[s][1],l=r[s][0];for(var u=0,c=l.length;u=0;n--){var r=this.items[n];if(r.instance!=this.currentContainer&&this.currentContainer&&r.item[0]!=this.currentItem[0])continue;var i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item;t||(r.width=i.outerWidth(),r.height=i.outerHeight());var s=i.offset();r.left=s.left,r.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var n=this.containers.length-1;n>=0;n--){var s=this.containers[n].element.offset();this.containers[n].containerCache.left=s.left,this.containers[n].containerCache.top=s.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight()}return this},_createPlaceholder:function(t){t=t||this;var n=t.options;if(!n.placeholder||n.placeholder.constructor==String){var r=n.placeholder;n.placeholder={element:function(){var n=e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return r||(n.style.visibility="hidden"),n},update:function(e,i){if(r&&!n.forcePlaceholderSize)return;i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10))}}}t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_contactContainers:function(t){var n=null,r=null;for(var i=this.containers.length-1;i>=0;i--){if(e.contains(this.currentItem[0],this.containers[i].element[0]))continue;if(this._intersectsWith(this.containers[i].containerCache)){if(n&&e.contains(this.containers[i].element[0],n.element[0]))continue;n=this.containers[i],r=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0)}if(!n)return;if(this.containers.length===1)this.containers[r]._trigger("over",t,this._uiHash(this)),this.containers[r].containerCache.over=1;else{var s=1e4,o=null,u=this.containers[r].floating?"left":"top",a=this.containers[r].floating?"width":"height",f=this.positionAbs[u]+this.offset.click[u];for(var l=this.items.length-1;l>=0;l--){if(!e.contains(this.containers[r].element[0],this.items[l].item[0]))continue;if(this.items[l].item[0]==this.currentItem[0])continue;var c=this.items[l].item.offset()[u],h=!1;Math.abs(c-f)>Math.abs(c+this.items[l][a]-f)&&(h=!0,c+=this.items[l][a]),Math.abs(c-f)this.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top));if(n.grid){var u=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1];o=this.containment?u-this.offset.click.topthis.containment[3]?u-this.offset.click.topthis.containment[2]?a-this.offset.click.left=0;i--)n||r.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);this._storedCursor&&e("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!n){this._trigger("beforeStop",t,this._uiHash());for(var i=0;i",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,n,r;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(i){if(this.element.prop("readOnly")){t=!0,r=!0,n=!0;return}t=!1,r=!1,n=!1;var s=e.ui.keyCode;switch(i.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",i);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",i);break;case s.UP:t=!0,this._keyEvent("previous",i);break;case s.DOWN:t=!0,this._keyEvent("next",i);break;case s.ENTER:case s.NUMPAD_ENTER:this.menu.active&&(t=!0,i.preventDefault(),this.menu.select(i));break;case s.TAB:this.menu.active&&this.menu.select(i);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault());break;default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(t){t=!1,r.preventDefault();return}if(n)return;var i=e.ui.keyCode;switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r);break;case i.PAGE_DOWN:this._move("nextPage",r);break;case i.UP:this._keyEvent("previous",r);break;case i.DOWN:this._keyEvent("next",r)}},input:function(e){if(r){r=!1,e.preventDefault();return}this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("