[Ohiogift] Part 2, Suggested Books for Gifted Readers in Grades 1-4

Art Snyder artsnyder44 at cs.com
Wed Dec 2 18:32:20 EST 2015


Everyone:
 
Some have asked about the recommended books from The Sycamore School, so below is the site discussion. The list includes the names of several books, as well as hyperlinks to top sites to help guide parents, teachers and others with book choices for young people. The primary site:
http://www.sycamoreschool.org/suggested-books-for-gifted-readers-in-grades-1-4/
 
Best wishes,
Art Snyder
artsnyder44 at cs.com
 
Suggested Books for Gifted Readers in Grades 1-4December 2nd, 2015 by Rob NicholsBy Glenna Lykens / Head of Lower School / Sycamore School
Many gifted children are voracious readers. They may have taught themselves to read at an early age, possess an advanced vocabulary, read much more than same age peers, and continue to love to read into and after middle school years. They often prefer nonfiction, or like fiction genres such as fantasy or science fiction. Gifted readers should be allowed to read or reread books of their choosing, but guidance (not dictation) with book suggestions can be helpful.
I believe that books can help gifted children develop in a variety of ways. As they explore their own identities, books can help them consider who they are and what they believe. It’s important that they can find books with characters and issues to which they can relate. Books can support children’s social and emotional development, helping them consider the importance of relationships, contemplate a different point of view, or develop empathy for others. Books often help children grow intellectually, as they develop passions for various topics or academic areas. It’s also important to expose gifted children to books that can help them appreciate a wide variety of genres. Since gifted readers can often read at a higher reading level than their age level, one concern of parents is finding books that have appropriate content for their child’s age level.
Parents can look for reviewed lists of books from a variety of places. Some I recommend are children’s and teachers’ choices lists from:
The International Literacy Association
http://www.literacyworldwide.org/get-resources/reading-lists
Various ages, teacher advice, 160 books.
Book award winners from the Association for Library Service to Children
Dozens of award-winners.
http://www.ala.org/alsc/awardsgrants/bookmedia
Hoagies’ Gifted Ed
http://www.hoagiesgifted.org/reading_lists.htm
Dozens of categories, hundreds of books.
Bertie Kingore
http://www.bertiekingore.com/gtchildreninlit.htm
Annotated list.
Davidson Institute for Talent Development
http://www.davidsongifted.org/db/browse_resources_273.aspx
Tremendous array of suggestions, by category.
There are so many wonderful books for gifted kids that on any particular day I can come up with totally different suggestions, but I would like to share some books I talked about recently at a parent presentation at Sycamore School. It is fun to pair books together, so I have created a list of three great pairings, with six total books.
1. It is based on the true story of a gorilla kept captive for 27 years in a shopping mall storefront before being able to spend his last years in a kinder environment at Zoo Atlanta. Ivan, the gorilla, is the narrator of the book and focuses on his perspective of his life and friendships. A great book to pair with this is the picture book Ivan: The Remarkable True Story of the Shopping Mall Gorilla, also by Katherine Applegate. It tells Ivan’s story in the traditional way, and includes facts and photos of Ivan at the end.
2. Another great pairing is Chris Van Allsburg’s books The Mysteries of Harris Burdick and The Chronicles of Harris Burdick. The first one is a picture book with Van Allsburg’s signature mysterious illustrations, each of which includes just a sentence story starter. It’s great for kids to be able to create their own written or oral story to accompany the pictures. The second book was written years later, and includes a story created for each picture by different children’s book authors. It’s fun for kids to compare their stories to the authors’ stories.
3. A final pairing is Jacqueline Briggs Martin’s Snowflake Bentley paired with the book by Bentley titled Snow Crystals. Snowflake Bentley is the biography of Wilson Bentley, born in 1865, who spent years photographing snowflakes and discovered that no two snowflakes are alike. Snow Crystals is his published book of his photographs. Kids will love hearing his story and seeing his beautiful photographs. It will make them excited for the first snow of the season!
Many children enjoy reading graphic novels, and there are many to choose from. One I shared was a graphic novel done of the classic book A Wrinkle in Time by Madeleine L’Engle. It could be interesting to see which version your child might like best. The story is a great book about children searching for their missing father. It’s a fantasy and a mystery, and children will be able to relate to the characters in the story, all of whom are gifted in different ways. I personally like the original best, but have had students at Sycamore praise the graphic novel version! A book that is not a graphic novel, but is full of wonderful illustrations is the chapter book The Invention of Hugo Cabret. It’s a great book for kids that are both avid and reluctant readers, since about half of the 530 pages tell the story through illustrations only. It’s the longest book to every win the Caldecott Medal in 2008.
Many students at Sycamore recommended the book Land of Stories: The Wishing Well by Chris Colfer. I have to agree it’s a wonderful book, the first in a series about a brother and sister that end up in a land of fairy tale characters. Gifted kids enjoy fantasy and this one delivers with magic and mystery as they try to get back home. Another fantasy is The Mysterious Benedict Society by Trenton Stewart, also the first in a series. What’s great about this one is that the characters are all gifted children.
Some books I shared that I feel focus on children learning to understand and accept other people and cultures are The Trees of the Dancing Goats by Patricia Polacco, Wonder by R.J. Palacio, Rain Reign by Ann Martin, Silent Music: A Story of Bagdhad by James Rumford, Fish in a Tree by Lynda Mullaly Hunt, and The Other Side by Jacqueline Woodson. Some are picture books and some are chapter books; read about them on Amazon to see what you think.
I don’t have the space to continue book talking, but I am including my entire list of suggestions. You may want to take the time to check them out and see which ones might be a great fit for your child. There are fiction, nonfiction, and poetry selections. Don’t assume a picture book must be for younger children, some of the picture books will be great for older elementary kids. I hope you enjoy these!
Links have added material from Art Snyder.

var g_ischrome=!1,g_isfirefox=!1,g_issafari=!1,g_isopera=!1,g_isfennec=!1,g_ismaxthon=!1,g_isios=!1,g_isfirefoxsdk=!1,g_iscasper=!1,g_isie=!0,do_experimental_popupfill=!0,LPMAGIC="__lpform_",LPMAGICIFRAME="lpformframe",verbose=!1,g_isie=!0,g_fillaid=null,g_port=!1,g_docnum=0,g_isloggedin=!1,lploggedin=!1,g_weasel_id=null,g_weaseled=!1;function sendBG(a){console_log("IE skipped sendBG : "+a.cmd)}function lpgs(a,b){var c="undefined"==typeof b||null==b?"":b;if("undefined"!=typeof lpgscache[c+a])return lpgscache[c+a];if("undefined"!=typeof LP_translations){if("undefined"!=typeof b&&b&&"undefined"!=typeof LP_translations[b]&&"undefined"!=typeof LP_translations[b][a])return LP_translations[b][a];if("undefined"!=typeof LP_translations["en-US"]&&"undefined"!=typeof LP_translations["en-US"][a])return LP_translations["en-US"][a]}return"undefined"!=typeof lpgscache["en-US"+a]?lpgscache["en-US"+a]:a}function ie_recheck_page(a,b){setupIcons(a,b)}function init_LPfn(){if("undefined"==typeof LPfn||null===LPfn)LPfn=new LPpkg;return"undefined"==typeof LPfn||null===LPfn?!1:!0}function remove_LPfn(){("undefined"==typeof LPfn||null===LPfn)&&delete LPfn;return!0}function LPpkg(){this.getDocumentMode=function(a){a||(a=document);return"undefined"!=typeof a.documentMode&&null!=a.documentMode?a.documentMode:"undefined"!=typeof a.compatMode&&null!=a.compatMode?"CSS1Compat"==a.compatMode?7:5:5};var a={};this.ie_setpopupfillhint=function(b){null!==b&&(null===a&&(a={}),a[b.formid]=b.rowtype)};this.ie_getpopupfillhint=function(b){return null==b||null==a?null:a[b]};this.ie_reset_popupfillhint=function(){a={}};this.ie_setup_event_handlers=function(a){if(a){var b,c;for(b=0;b<a.forms.length;b++)c=a.forms[b],"undefined"==typeof c.lpsubmitorig&&(c.setAttribute("lpsubmitorig","true"),LP_addEventHandler(c,"keyup",function(b){var c=LP_getEventTarget(b);handle_form_text_change(a,c,c?c.form:null,b)}))}};this.ie_get_parent_input=function(){return g_popupfill_parent?g_popupfill_parent:g_popupfill_parent_last?g_popupfill_parent_last:null};var b="0";this.ie_set_kbdnav=function(a){b=!a||"0"===a?"0":"1"};this.ie_get_kbdnav=function(){return b};var c={};this.ie_set_lpifmsg=function(a,b,d,e,k,l){try{var n=LP_pickFormName(a,b.form),m=LPfn.ie_getpopupfillhint(n);null!==l&&(m=l);null==m&&(m="sites");var q=LPfn.ie_get_kbdnav(),r=b.value,s={rowtype:m,offergenerate:d?"1":"0",formid:n,fieldid:LP_pickFieldName(a,b),fieldtype:b.type,opentosave:e,start_type:k,kbdnav:q,inputstr:r};c="undefined"!=typeof LPJSON?LPJSON.stringify(s):{}}catch(p){verbose_log("error in ie_set_lpifmsg: "+p.message),c={}}};this.ie_get_lpifmsg=function(){return c};var d={};this.ie_set_lpstates=function(a,b){if(!a||"undefined"==typeof b||null===b)return!1;var c=LP_pickFieldName(a.ownerDocument,a);d[c]=b;return!0};this.ie_get_lpstates=function(a){a=LP_pickFieldName(a.ownerDocument,a);return"undefined"!=typeof d[a]?d[a]:0};this.ie_reset_lpstates=function(){d={};return!0};this.ie_get_fieldval=function(a){var b=LP_derive_doc();if(!b||!a)return null;a=LP_getElementByIdOrName(b,a);if(!a)return null;var c=LP_pickFieldName(b,a),b=fieldcacheget(b,c,"fieldval");if(null===b){var b=a.value,d=c="";try{c=a.ownerDocument.location.href,d=gettldcached(c)}catch(e){}"fidelity.com"==d&&a.hasAttribute("data-unmasked")&&(b=a.getAttribute("data-unmasked"))}return b};this.ie_update_field_preobfuscate=function(a,b){var c=LP_derive_doc();if(!c||!a)return!1;var d=LP_getElementByIdOrName(c,a);if(!d)return!1;d=LP_pickFieldName(c,d);return fieldcacheset(c,d,"fieldval",b)};this.ie_cleanup_on_logout=function(){var a=LP_derive_doc();return LP_cleanup_on_logout(a)};var e;this.set_loginstate=function(a){if(null===a||"undefined"==typeof a)a=!1;e=a?!0:!1;return!0};this.get_loginstate=function(){return e};this.getnevers=function(){};this.ie_setnevers=function(){};this.ie_setnevers_per=function(a,b,c){null===g_nevers&&(g_nevers={});(!a||!b)&&console.error("fail never set t="+a+" u="+b);g_nevers[LP_objectSize(g_nevers)]={type:a,url:b,domain:c?1:0}};this.ie_fillbest=function(a){alert("ie-fillbest placeholder "+a)}}function ie_weasel_wrapper(a){"undefined"!=typeof g_weaseled&&"undefined"!=typeof a&&(g_weaseled||weasel(a),g_weaseled=!0)}function ie_g_icon_number_wrapper(a,b){"undefined"!=typeof g_icon_numbers&&("undefined"!=typeof b&&"undefined"!=typeof a)&&(g_icon_numbers[a]=b)}function ie_get_parent_input(){return g_popupfill_parent?g_popupfill_parent:g_popupfill_parent_last?g_popupfill_parent_last:null}function ie_get_lpifmsg(){if("undefined"!=typeof init_LPfn&&init_LPfn())return LPfn.ie_get_lpifmsg()}function get_doc_location_href(a){try{return a.location?a.location.href:""}catch(b){return""}}var do_bgiconinput=!0,g_CSPCHECKER=0;function popupfill_create_iframe(a,b,c,d,e,f,g,h,j,k){if(do_experimental_popupfill&&a){var l=a.getElementsByTagName("input"),n;for(n in l){var m=l[n];"undefined"!==typeof m.maxLength&&"password"==m.type&&(g_isie||sendBG({cmd:"set_possiblemax",max:m.maxLength}))}b=parseInt(b)+"px";c=parseInt(c)+"px";if((m=a.body)&&!a.getElementById(LPMAGICIFRAME+d)){l=a.createElement("iframe");l.id=LPMAGICIFRAME+d;l.name=LPMAGICIFRAME+d;g_fixed_iframe_position?h=!0:"undefined"==typeof h&&(h=!1);h&&(g_fixed_shuffled_once=!1);if(g_isie)l.src="https://lastpass.com/fake/fake.php#framesrc=LPMAGIC",init_LPfn()&&LPfn&&9>LPfn.getDocumentMode(a)&&(l.setAttribute("allowTransparency",!0),l.setAttribute("frameBorder",0),l.allowTransparency=!0,l.frameBorder=0);else if("undefined"!=typeof g_isfirefoxsdk&&g_isfirefoxsdk){g_popup_iframe=l;add_event_listener_if();var q=a.location.href,q=lpParseUri(q),r=Math.floor(1E8*Math.random());l.src=q.protocol+"://"+r+"."+q.host+"/lpblankiframe.local"}else q=urlprefix+"popupfilltab.html","undefined"===typeof chrome&&"undefined"!=typeof lplanguage&&(q+="?lplanguage="+lplanguage),l.src=q;0>parseInt(b)&&(b="0px");0>parseInt(c)&&(c="0px");dotrans?(g_frame_css_str=h?"display:block; position:fixed !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:none !important; opacity: 1.0 !important;":"display:block; position:absolute !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:none !important; opacity: 1.0 !important;","undefined"!=typeof g_isie&&g_isie&&(g_frame_css_str+="background-color:transparent !important;background-image:none !important;filter:alpha(opacity=100) !important ; ")):g_frame_css_str=h?"display:block; position:fixed !important; visibility:visible !important; opacity: 1.0 !important ; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:solid !important; border-color: #4c4c4c !important; border-width:1px !important; border-radius: 4px 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; box-shadow: 1px rgba(200, 200, 200, 0.5); -webkit-box-shadow: 1px 1px rgba(200, 200, 200, 0.5); -moz-box-shadow: 1px 1px rgba(200, 200, 200, 0.5); filter:alpha(opacity=100) !important; ":"display:block; position:absolute !important; visibility:visible !important; opacity: 1.0 !important ; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:solid !important; border-color: #4c4c4c !important; border-width:1px !important; border-radius: 4px 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; box-shadow: 1px rgba(200, 200, 200, 0.5); -webkit-box-shadow: 1px 1px rgba(200, 200, 200, 0.5); -moz-box-shadow: 1px 1px rgba(200, 200, 200, 0.5); filter:alpha(opacity=100) !important; ";l.style.cssText=g_frame_css_str;try{if(framesetarr=document.getElementsByTagName("frameset"),0==framesetarr.length)m.appendChild(l);else if(g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&j&&1==framesetarr.length){var s=LPJSON.stringify(g_frame_css_str+" border: none;");j.body.setAttribute("data-lp-gcss",s);var p=j.getElementsByTagName("FRAMESET");if(p&&p[0]){var t=p[0].getElementsByTagName("FRAME");if(t){var u=t[0].contentWindow.document;u.body.setAttribute("data-lp-gcss",s);u.body.appendChild(l)}else j.body.appendChild(l)}}else{h=!1;for(n=0;n<framesetarr.length;n++){for(j=0;j<framesetarr[n].children.length;j++)if("FRAME"==framesetarr[n].children[j].tagName)if(cf=framesetarr[n].children[j].contentWindow.document,null!=cf.getElementById(d)){if(h=!0,toappendTo=cf.getElementById(d),k&&k.framesrc&&k.framesrc==get_doc_location_href(cf))break}else if(null!=cf.getElementsByName(d)&&0!=cf.getElementsByName(d).length&&(h=!0,toappendTo=cf.getElementsByName(d)[0],k&&k.framesrc&&k.framesrc==get_doc_location_href(cf)))break;if(h){try{toappendTo.ownerDocument.body.setAttribute("data-lp-gcss",LPJSON.stringify(g_frame_css_str)),toappendTo.parentNode.appendChild(l)}catch(v){framesetarr[n].children[j].contentWindow.document.body.appendChild(l)}break}}}}catch(w){verbose_log("append failed! "+w);return}g_isie&&!LP_getloggedin()&&l.parentNode.removeChild(l);l.width=parseInt(f)+"px";l.height=g_isie?"38px":"26px";"undefined"!=typeof e&&0<e&&(l.height=24*e+23+"px");l.height=0<parseInt(g)?parseInt(g)+"px":parseInt(l.height)+"px";d=parseInt(l.width)+"px";e=parseInt(l.height)+"px";l.style.cssText=g_frame_css_str+("width: "+d+" !important; height: "+e+" !important; top:"+c+" !important; left:"+b+" !important; ");setTimeout(function(){0==g_CSPCHECKER&&("undefined"===typeof chrome&&"object"===typeof safari)&&do_iframe_sad_msg(a)},5E3)}}}function weasel(a){g_ctr_weasel++;if(do_experimental_popupfill){if("undefined"==typeof a||!1==a||!0==a||5>a)a=200;g_weaseled=!0;popupfill_resize();g_weasel_id=setTimeout(function(){weasel(a)},a)}}function issaveall(a){a=a.elements;for(var b=0,c=0,d=0,e=0;e<a.length;e++){var f=a[e].type;"password"==f?c++:"text"==f||"tel"==f||"email"==f?b++:"textarea"==f&&d++}return 1==b&&1==c&&0==d?!1:!0}var POPUP_FIELD_OFFSET=-4;function calculate_iframe_pos(a,b,c,d){if(!do_experimental_popupfill)return null;"undefined"==typeof d&&(d=!1);if(!a||null==b)return null;var e=b.style.left,f=b.style.top;if(g_double_password_hack||g_double_secret_password_hack||0>parseInt(e)||0>parseInt(f)){var g=a.getElementById(LPMAGICIFRAME+LP_pickFieldName(a,b));if(null!=g&&(g=LP_getAbsolutePos(a,g)))return f=parseInt(g.top),e=parseInt(g.left),isNaN(f)||isNaN(e)?null:{posx:e+"px",posy:f+"px"}}LP_pickFieldName(a,b);if(null!=b){g=LP_getAbsolutePos(a,b);null!=g&&(e=parseInt(g.left)+POPUP_FIELD_OFFSET+"px",f=parseInt(g.top)+parseInt(g.height)+"px",g_do_icon_number_hint&&(f=parseInt(g.top)+parseInt(g.height)+4+"px"));if(null==c||0==c||""==c)g=LP_getElementByIdOrName(a,LPMAGICIFRAME+LP_pickFieldName(a,b)),c=null!=g?(c=LP_getAbsolutePos(a,g,null,!0))?c.width:0:0;if(!d){d=LP_getWindowWidth(window,!0);if(!d)return{posx:0,posy:0};parseInt(c)+parseInt(e)>d&&(e=d-parseInt(c)-20+"px")}}if(""==e||"auto"==e||""==f||"auto"==f)return null;e=parseInt(e);f=parseInt(f);return"NaN"==e||"NaN"==f?null:{posx:e+"px",posy:f+"px"}}function verbose_log(a){verbose&&console_log(a)}function is_watermark(){return!1}function checkAskGenerate(){}function sendKey(a,b){try{return keyName="DOM_VK_"+a.toUpperCase(),send_simulated_key(b,0,KeyEvent[keyName],!1)}catch(c){lpdbg("error",c)}return null}function send_simulated_key(a,b,c,d){if(void 0===a||void 0===a.ownerDocument)return lpdbg("error","No key target!"),!1;var e=a.ownerDocument.createEvent("KeyboardEvent");"undefined"!=typeof g_isfirefoxsdk&&g_isfirefoxsdk?e.initKeyEvent("keydown",!0,!0,null,!1,!1,d,!1,c,b):e.initKeyboardEvent("keydown",!0,!0,document.defaultView,!1,!1,d,!1,c,c);var f=a.dispatchEvent(e);f&&("undefined"!=typeof g_isfirefoxsdk&&g_isfirefoxsdk)&&(e=a.ownerDocument.createEvent("KeyboardEvent"),e.initKeyEvent("keypress",!0,!0,null,!1,!1,d,!1,c,b),f=a.dispatchEvent(e));e=a.ownerDocument.createEvent("KeyboardEvent");"undefined"!=typeof g_isfirefoxsdk&&g_isfirefoxsdk?e.initKeyEvent("keyup",!0,!0,null,!1,!1,d,!1,c,b):e.initKeyboardEvent("keyup",!0,!0,null,!1,!1,d,!1,c,c);a.dispatchEvent(e);return f}if("undefined"==typeof KeyEvent)var KeyEvent={DOM_VK_CANCEL:3,DOM_VK_HELP:6,DOM_VK_BACK_SPACE:8,DOM_VK_TAB:9,DOM_VK_CLEAR:12,DOM_VK_RETURN:13,DOM_VK_ENTER:14,DOM_VK_SHIFT:16,DOM_VK_CONTROL:17,DOM_VK_ALT:18,DOM_VK_PAUSE:19,DOM_VK_CAPS_LOCK:20,DOM_VK_ESCAPE:27,DOM_VK_SPACE:32,DOM_VK_PAGE_UP:33,DOM_VK_PAGE_DOWN:34,DOM_VK_END:35,DOM_VK_HOME:36,DOM_VK_LEFT:37,DOM_VK_UP:38,DOM_VK_RIGHT:39,DOM_VK_DOWN:40,DOM_VK_PRINTSCREEN:44,DOM_VK_INSERT:45,DOM_VK_DELETE:46,DOM_VK_0:48,DOM_VK_1:49,DOM_VK_2:50,DOM_VK_3:51,DOM_VK_4:52,DOM_VK_5:53,DOM_VK_6:54,DOM_VK_7:55,DOM_VK_8:56,DOM_VK_9:57,DOM_VK_SEMICOLON:59,DOM_VK_EQUALS:61,DOM_VK_A:65,DOM_VK_B:66,DOM_VK_C:67,DOM_VK_D:68,DOM_VK_E:69,DOM_VK_F:70,DOM_VK_G:71,DOM_VK_H:72,DOM_VK_I:73,DOM_VK_J:74,DOM_VK_K:75,DOM_VK_L:76,DOM_VK_M:77,DOM_VK_N:78,DOM_VK_O:79,DOM_VK_P:80,DOM_VK_Q:81,DOM_VK_R:82,DOM_VK_S:83,DOM_VK_T:84,DOM_VK_U:85,DOM_VK_V:86,DOM_VK_W:87,DOM_VK_X:88,DOM_VK_Y:89,DOM_VK_Z:90,DOM_VK_WIN:91,DOM_VK_CONTEXT_MENU:93,DOM_VK_NUMPAD0:96,DOM_VK_NUMPAD1:97,DOM_VK_NUMPAD2:98,DOM_VK_NUMPAD3:99,DOM_VK_NUMPAD4:100,DOM_VK_NUMPAD5:101,DOM_VK_NUMPAD6:102,DOM_VK_NUMPAD7:103,DOM_VK_NUMPAD8:104,DOM_VK_NUMPAD9:105,DOM_VK_MULTIPLY:106,DOM_VK_ADD:107,DOM_VK_SEPARATOR:108,DOM_VK_SUBTRACT:109,DOM_VK_DECIMAL:110,DOM_VK_DIVIDE:111,DOM_VK_F1:112,DOM_VK_F2:113,DOM_VK_F3:114,DOM_VK_F4:115,DOM_VK_F5:116,DOM_VK_F6:117,DOM_VK_F7:118,DOM_VK_F8:119,DOM_VK_F9:120,DOM_VK_F10:121,DOM_VK_F11:122,DOM_VK_F12:123,DOM_VK_F13:124,DOM_VK_F14:125,DOM_VK_F15:126,DOM_VK_F16:127,DOM_VK_F17:128,DOM_VK_F18:129,DOM_VK_F19:130,DOM_VK_F20:131,DOM_VK_F21:132,DOM_VK_F22:133,DOM_VK_F23:134,DOM_VK_F24:135,DOM_VK_NUM_LOCK:144,DOM_VK_SCROLL_LOCK:145,DOM_VK_COMMA:188,DOM_VK_PERIOD:190,DOM_VK_SLASH:191,DOM_VK_BACK_QUOTE:192,DOM_VK_OPEN_BRACKET:219,DOM_VK_BACK_SLASH:220,DOM_VK_CLOSE_BRACKET:221,DOM_VK_QUOTE:222,DOM_VK_META:224};var g_formmutations=0;function checkShouldRecheck(){if(!(20<g_formmutations)&&do_experimental_popupfill&&(verbose_log("entered checkShouldRecheck()"),0<=g_input_cnt&&0<=g_form_cnt)){var a=countInputs(document),b=countFormEquivalents(document),c=computeFingerprint(document);verbose_log("checkShouldRecheck() : # inputs was "+g_input_cnt+", now "+a+" #forms was "+g_form_cnt+" now "+b+", fingerprint was "+g_input_fingerprint+" now "+c);if(g_input_cnt!=a||g_form_cnt!=b||g_input_fingerprint!=c)g_formmutations++,formcachereset(document),fieldcachereset(document),g_isie?(setTimeout(function(){ie_recheck_page(document,g_is_specialsite)},200),setTimeout(function(){ie_recheck_page(document,g_is_specialsite)},1E3)):setTimeout(function(){g_ctr_recheck++;evalScriptsInFrame(window,document,!0)},200),g_input_cnt=a,g_form_cnt=b,g_input_fingerprint=c}}function is_watermark_password(){return!1}function LP_addEventHandler(a,b,c){try{return null==a||null==b||null==c||0>=b.length?null:"undefined"!=typeof a.addEventListener?a.addEventListener(b,c,!1):"undefined"!=typeof a.attachEvent?a.attachEvent("on"+b,c):null}catch(d){return verbose_log("LP_addEventHandler failed, "+d.message),null}}function LP_stopEventPropagation(a){try{"undefined"!=typeof a.preventDefault?a.preventDefault():typeof window.event&&(window.event.returnValue=!1),"undefined"!=typeof a.stopPropagation?a.stopPropagation():typeof window.event&&(window.event.cancelBubble=!0)}catch(b){verbose_log("LP_stopEventPropagation failed, "+b.message)}}function LP_getEventTarget(a){a=a?a:window.event;if((a="undefined"!=typeof a.target?a.target:a.srcElement)&&"undefined"!=typeof a.nodeType&&3==a.nodeType)a=a.parentNode;return a}function createpopuptoplevel_handler(a){var b=LP_derive_doc(),c=parseInt(a.from_iframe.posx),d=parseInt(a.from_iframe.posy),e=a.from_iframe.id,f=a.from_iframe.rows,g=a.from_iframe.width,h=a.from_iframe.framename,j=a.from_iframe.framesrc,k=null;if(!is_your_popup_showing(b)){var l=find_iframe_pos(b,h,j,!1);l||(l=find_iframe_pos(b,h,j,!0),null!==l&&"undefined"!=typeof l.cframedoc&&(k=l.cframedoc));j=h=0;l?(h=parseInt(l.left)+c+"px",j=parseInt(l.top)+d+"px",g_toplevel_initial_abs_x=h,g_toplevel_initial_abs_y=j):j=h="10px";popupfill_create_iframe(b,h,j,e,f,g,"90px",!0,k,a.from_iframe);g_popupfill_iframe_width_save=g}}var g_toplevel_initial_abs_x=null,g_toplevel_initial_abs_y=null;function popupfillresize_handler(a){0<a.width&&(g_minwidth_override=parseInt(a.width));0<a.height&&(g_minheight_override=parseInt(a.height));g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&!LP_inIframe(window)&&toplevel_iframe_state_get()&&relocate_popupfill_iframes(document)}function find_iframe_pos(a,b,c,d){if(!a)return null;var e,f;try{var g=a.getElementsByTagName("IFRAME");d&&(g=a.getElementsByTagName("FRAME"));if(!b&&1==g.length)return LP_getAbsolutePos(a,g[0],!0,!0);var h=[];for(e=0;e<g.length&&50>e;e++)h[e]=g[e];for(e=0;e<h.length;e++)if(h[e].name&&""!=b&&h[e].name==b||h[e].src&&""!=c&&h[e].src==c)return LP_getAbsolutePos(a,h[e],!0,!0);if(d)for(e=0;e<h.length;e++){var j=h[e].contentWindow.document,k=j.getElementsByTagName("FRAME");for(f=0;f<k.length&&50>f;f++)if(k[f].name&&""!=b&&k[f].name==b||k[f].src&&""!=c&&k[f].src==c){var l=LP_getAbsolutePos(j,k[f],!0,!0);l.cframedoc=j;return l}}}catch(n){}return null}function LP_getComputedStyle(a,b){return!b?null:"undefined"!=typeof a.getComputedStyle?g_isfirefox?a.getComputedStyle(b,null):a.getComputedStyle(b):b.currentStyle}var g_content_check=!0,g_bodystyle_relative=!0,g_trial_bg_expt=!0,g_ignore_lp_cache=!1,g_stylesheet_grubbing=!0,g_use_wacky_disp=!0,g_input_click_intercept=!0,g_fixed_iframe_position=!1,g_force_fill_active_element=!1,g_create_iframe_in_top=!0,g_inframe=null,g_toplevel_iframe_exists=!1,g_detect_species=!1,g_combat_obfuscation=!0,g_queeg_mode=!0,g_show_safari_csp_msg=!0,False=!1,True=!0,pass=!0,LP_GETNAME_FAVOR_ID_OVER_NAME=!0,LP_GETNAME_FAVOR_NAME_OVER_ID=!1,g_popupfill_rows=0,g_popupfill_rows_FF=0,g_weasel_id=null,g_weaseled=!1,g_autofillsites={},g_popupfill_widest=260,g_popupfill_max=1,g_popupfill_ctr=0,g_popupfill_parent=null,g_popupfill_parent_last=null,g_isadmin=!1,CLICKABLE_ICON_ZINDEX=2147483648,popup_show_sitename_suffix=!0,popup_show_menu_expand_visual_cue=!0,g_last_field_focused=null,g_minwidth_override=0,g_minheight_override=0,g_popupfill_iframe_width_save=0,g_popupfill_iframe_height_save=0,g_hide_navbar=!0,LPICON_HEIGHT=16,LPICON_WIDTH=16,g_double_password_hack=!1,g_double_secret_password_hack=!1,g_double_password_wtf=!1,g_iframe_dims={},g_popup_divs={},g_input_cnt=-1,g_form_cnt=-1,g_input_fingerprint=null,g_keyboardNav=!1,g_more_close_on_cancel=!1,g_more_enable_return=!0,create_onerow_iframe=!0,do_autofill_if_matched=!1,do_popup_actions=!0,popup_actions_imgs={},g_frame_css_str="",g_ctr_getAbsPos=0,g_ctr_weasel=0,g_ctr_getzindex=0,g_ctr_getWW=0,g_ctr_nosetheight_A=0,g_ctr_setheight_A=0,g_ctr_setwidth_B=0,g_ctr_nosetwidth_B=0,g_ctr_setheight_C=0,g_ctr_nosetheight_C=0,g_ctr_setwidth_D=0,g_ctr_nosetwidth_D=0,g_ctr_settop_E=0,g_ctr_nosettop_E=0,g_ctr_settop_F=0,g_ctr_nosettop_F=0,g_ctr_setleft_G=0,g_ctr_nosetleft_G=0,g_ctr_recheck=0,g_ctr_setposition_H=0,g_ctr_nosetposition_H=0,g_ctr_setzindex_J=0,g_ctr_nosetzindex_J=0,g_ctr_numspan_setzindex_K=0,g_ctr_numspan_nosetzindex_K=0,g_ctr_numspan_setzindex_L=0,g_ctr_numspan_nosetzindex_L=0,g_ctr_LP_measureText=0,g_ctr_LP_measureText_cachehits=0,g_ctr_LP_measureText_cachemisses=0,g_ctr_formcache_hits=0,g_ctr_formcache_misses=0,g_ctr_form_get_username_M=0,g_ctr_form_get_password_N=0,g_ctr_orphan_get_username_P=0,g_ctr_orphan_get_password_Q=0,g_ctr_looksLikeUsername_R=0,g_ctr_mutation_observer=0,g_ctr_mutation_attribute_chg_S=0,g_ctr_mutation_attribute_chg_force_T=0,g_is_specialsite=null,g_nevers={},g_last_recheck=null,FORCE_OFFER_GENERATE=!0,NO_FORCE_GENERATE=!1,FORCE_SHOW_NOHITS=!0,NO_FORCE_NOHITS=!1,FORCE_SHOW_NOHITS_NOLOGIN=2,g_icon_shading=!1,g_do_icon_number_hint=!0,g_icon_hover=!0,g_icon_parent_hover=!0,g_icon_number_overrides={sites:-1,formfills:-1},g_icon_numbers={sites:0,formfills:0},g_visual_cue_on_hover=!0,g_show_icon_only_on_focus=!1,g_show_save_success_msg=!0,g_save_suggest_msg=!1,g_creditcard_profile_annotate=!0,g_show_icon_number_for_formfills=!1,g_save_suggest_msg_seen=!1,g_change_icon_on_input=!0,g_savesitesuperbox=!0,g_dologin_clickable=!0,g_use_grey_icons=!0,FADE_MAXSTATES=100,g_aspx_hack=!0,g_found_aspx=!1,g_clickable_input=!0,g_clickable_input_on_password=!0,g_popup_active_username=null,g_popup_active_password=null,g_extended_kbd_nav=!1,g_iframe_scroll_hack=!0,g_frame_scrollable_set=!1,g_defensive=!0,dotrans=!0,g_pw_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABMUlEQVQ4T32SgVHDMAxF6QZ0AswELRuECcoGhAloJwAmACZomAA6QbMBZYKaDRih/+UkTvHF1d0/x/L317eU2cX5WNrxoUabTRwk5Z6EtjjrtH8RcsyXAlx6FS6FneCVcbIS/oSNgNgQUQDSt/Bj1UvbnHNxIdy4eBTolYQEsOkXKIQzBL0I3NvoIGlzFN6Ftbl71gqRaAT2xJvwKFwL2R1A2Jsql6hEL7JdSlp5Oy7uhE/nukCrxDYIUI1JxGAC5L3Yg7670sGQNGJNwMXpQR+byIjoAx3mCViN8aVNFpjUXGDUozG6srvgPJkYlwnc3Qv+nJEAhNZIfDcCzfoVeA4FcPZhvEFx6ld2IZpaxn9lP6gJUAnbV+aA6uzp0yhqApBoUmdrM+Hm7BMiP2mTawInofVEEf5J2pUAAAAASUVORK5CYII=",pw_svg="";("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?pw_svg=getchromeurl("images/generate16x16.png"):"undefined"!=typeof g_isie&&g_isie&&(pw_svg=g_pw_ico);var g_ff_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAvElEQVQ4T2NkoBAwIukXALL9gViBgJkPgPIbgfgDSB2yAQVAfj+RDioEqpuAbkADUKAeiB0JGLIfKN8IxCD1KC6AGYDsqgtANf+B2BDJUBCfaAM2QDUGkGMAcpjA/Qx1EVEugHkJZDlcA7EGgKJSHi0wHwL5D4g1wAGoEISRwQEgB4SJCkSQZns0Aw6SYgDICyCMDEDOJ8oL6E5HMwfsDayxQHFSBmUmUIJBdzq6C0DeWAATRE626AqJ4gMAKh82EQu8MAEAAAAASUVORK5CYII=",ff_svg="";("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?ff_svg=getchromeurl("images/formfill16x16.png"):"undefined"!=typeof g_isie&&g_isie&&(ff_svg=g_ff_ico);var g_sites_dark_ico0="iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhsdjWkOXwAAAKJJREFUOMtjYBi2QIGBgcEBiW8AxUSBAgYGhvcMDAz3kcQuMDAw/GdgYGhAV8yCwxABKE6A8vWh9ANiXXEAauN9KP4PFcMAjGj+loeyH6J5gQHqmgdI8hiuaYDaRAyGhwUTpdGF7gUFJPZ8NLWGSAH8gFCAwgIRpvA/AwPDfmJdFYDk1wQohvEL0BVjCwMDpJBeAMUPGRgYPlKSlB2Qwme4AQBDOy61dYCtFwAAAABJRU5ErkJggg==",g_sites_ico="data:image/png;base64,"+g_sites_dark_ico0,sites_svg="";("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?sites_svg=getchromeurl("images/sites16x16.png"):"undefined"!=typeof g_isie&&g_isie&&(sites_svg=g_sites_ico);var g_close_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAl0lEQVQ4T7VTgQ2AIAyTC/RD9QO9QLxAP1A/1A9sDZgFo0CQJctcWOs6hioSTRl8hVjDGUNsR9EG3y1Bh2QKQYqaHt+zJdBIhkiCEfU6G8HB9kRX/BtllqLLzw6uQ3hjAKvJpUyvhBYgAmkkWpwZ5SVIlsBF4RA5BxojhygXzSvBkfxI/yVIXmVq41XFPCZe8f2YfHpfz0+q7C4R/Q4GAgAAAABJRU5ErkJggg==",close_svg="";("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?close_svg=getchromeurl("images/close16x16.png"):"undefined"!=typeof g_isie&&g_isie&&(close_svg=g_close_ico);function getnumbericon(a,b,c,d){var e=0;if((a=getIconState(b.ownerDocument,LP_pickFieldName(a,b)))&&!("undefined"==typeof a.fillhintnumber||"sites"!=a.fillhint))e=a.fillhintnumber,isNaN(parseFloat(e))||!isFinite(e)?e=0:10<=e&&(e=9);"undefined"!=typeof d&&(e=0<=d&&9>=d?d:0);d=[g_sites_light_ico,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiEFu6xIcAAAAXhJREFUOMvNk8FLVFEUxn/ffRdmIAla1CbBFDGCpoiQWYlBLty7UHAvEq2HYLhveDMws2/TIly6E9SdIEj+AVYgRaTgXhe2C968x2nhTOjow8pNZ/ede/ide893Lvx3UavVhkMIk30dQqiGECpF9e68CCG8LpfL3yStAAIk6Z2kT3Ect68C+AGdSroFVEII82aWSXoGYGYHVwE0qOM43pU0BXw3s1zSI2AnSZKXhYB6vT7inLvd7XZ/eu8fOOe2JEW9zjkwZ2bHkoayLDtpt9ufLzzBe/8GWC6VSpc7nIE2pLPLeu/fA0uDQ3T/6pp6039uZnfN7Ieke1EUrQOu3/VawPloNBrbwIyZ7TvnLvg/+mKOJ3xk88NR4R4sADM92fp9MDRMdXaRxenHVMbuFy8SMAFkZval2Wyu9ZN3Hk4zWx0nAtKsWwxotVrNNE2f5nn+CrB+/nRvlSR5y2EK0TWbSKfT+fo3Lribfr4bA/yfl56y2kkuZX8BjXVyqMs8oFcAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiMeA//jHgAAAdRJREFUOMvNkz9oU1EUxn/nvkeSokgV2oIoNbVUi5Qgj+ogomAWB3GQEtFZUdE1COG+/IMEHLp2kI7FRdCCgxCQdhJFsSKCtIUMDoU42EEMvORxHPIiNSb+mzzbxz33+873nXvhv6tsNnvAWjvbxdbak9bamUH9Ziew1t5OJBIfRGQREEBEZEFE3vi+X+lH4PbgQER2ATPW2oyqtkXkOICqbvQjkF7s+/6qiJwG1lU1FJFp4FmxWDw3kCCXy40bY/a0Wq2m67qHjDFPRcSJlEPgkqo2RGR3u93+VKlU1n6w4LruXeBGPB7/WaFD9FikM6zruveB670hmn/dmkTpe6o6oqrbIjLqOM4jwHRVf0uws/L5fA1Iq+o7Y0y0/xip9AVOTO7j69YGteUVGlG/0/MOLotINoJ3RGQOIJm+RubUBHGFkfEpZqeHeP5qk7CP9ymgrarvS6XSw676kWNj0FyjOj/Pk3oAY/sZ7hdeuVwuBUGQCsPwFqDR2+LFgwWq95YZ9S5yPhkjqK9/t/DLlAqFgnanOHv1Jmcmh9neXGVxaYUvf7M+L9O53Pz4mtrLBodTSWID/kKf2svRiY7joYMec1c8COtsva3T+DOCzyxViwNPvwEMIZXdCan/PwAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiIBl+zfqgAAAdJJREFUOMvNkj9oU2EUxX/3e4+X2AYtgoIotAUVlZSiVQKCOFgwQ50cKhUcg4qbEITwvfyTjEKnCqUgbqJooQgFRXAROoiiKFWHOsdiSw0UXvK4DkloGl+wOHm2c7ice++5F/47ZLPZQ9baM21urU1Za0d61ZtOYq29FY/Hl0VkDhBARGRGRN75vl+JMnC7eCAi/cCItXZSVRsichJAVb9FGUg3933/tYicA76qaigix4FXxWLxQk+DXC43aIzZXa/XN13XHTLGLIqI0+ocApdVtSoiiUaj8aNSqbzftoLruneA67FY7M8OTaN5keawruvOApnuEM2/Xk1a6Y+p6j5VXReR/Y7jPANMu+tfDTqRz+dfAOOq+tEY07q/x1j6EqeG9rLx/QPPF5eo9fiDK8B4i5bb+pGJDBOpJH3EOJZKk5kcjX4k4CjQUNVPpVLpSVNKMHjAY315nun7D1gJoS8WjzYol8ulIAhGwzC8CWhTrfFy9h7Tj1yy+dsMO7BarfbOoBOFQkHB40TqLLt+fubL6h4uXp0iObDCzN2HVCNeOQL9nE6fZzg4yMbcG3Caan3n91/j6eMlfnmHmbpxjeTAJm8XFljb+Qpb8BIeQS3YVvMbj7WWjTVB6I8AAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiIqO1Am6gAAAb1JREFUOMvNkk1rU0EUhp8zd0gCrdKFNgiCFatiIYgUKdW6aikuhIJF6kJcdFFEXAclzM0XJH9A6EL8BSoqZlEQCl0GEQU/qApdiYouKmgUbu7luGgC+boUuvLdvcPMc86c88J/p2w2e9g5d7btnXNTzrlM3H3TaZxzt1Kp1KaI3AcEEBFZFZFXvu9XBgFsjw9EZAjIOOeWVDUUkTMAqvppEEB6ve/7GyJyAfioqpGInALWi8XibCwgl8sdMcbsbzabf621Y8aYNRHxWpUjYFFVv4vIcBiGPyqVyuuuL1hrbwM3kslkf4Ud0BORnWattfeAld4hmr1uTVrTn1TVg6r6U0RGPc97DJh21V0Bncrn88+BOVV9Y4zp2v/w0RkWzo2w8aDG52BwDq4Ccy1b7iInJrh2fZbx8QxjQzFBAk4Aoaq+K5VKDztec3H5MmkAIppxSSyXy6UgCE5HUXQT0Pb58UvLTB34Qm1tE4CwEZ9EqtXq++6TUaYn0xD9YuZ8Gkgwv7LA1t2nbA8C9OsPH16+peGFpA6dZGQfbH/9RiOug379pl57RB1ITCxy58oxXjyrE8StsVOFQkF3w/8DCTuL1wm1OYIAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiQbPNSBVgAAAdVJREFUOMvNks9r0nEYx1/Pxy9qzAIJXTWp7BCOMSJkC6KdtqMdIkZR4DEqOktDPooKCv0DBdEturSo2IIoKIQ6dBi5RmOsTrHTIjbIGqlfng4qbO4rRaee2/v9+fB6fsJ/F5lMJmatHetqa+0pa+1ov/9mu7DW3ggGgysicg8QQETktoi8z+VyZS+A06MbIjIAjFprL6hqS0ROAqjqJy+A9OpcLlcVkQlgVVVdERkGXhUKhcm+gGw2e8QYs6/ZbG45jnPUGPNcRHydzC5wXlXXRSTUarW+lsvl2o4WHMe5CVwNBAK7M7RBT0TaxTqOcxe40jtE869bk870k6oaUdVNEYn6fL7HgOlm/SNge+Tz+ZfAlKouGWPa+/fHSZ0bZ6DdAz8+V5l/t+Z5BxeBqY4sdf3Q8DjJRIKhSITI4BCx2KD3IQHHgZaqfiwWi7NdM3IwDHzjQ61GrfqQO48WvAGlUqnYaDROuK57HdCuHz0UBvYzdnqCyVSamfSZvpdIpVJZ7vVWXz/le/MLy2t1kukZUoePEeUN616A3RHm7OVp4j9XeHB/iZEDfnB/0fz7/W8wN7fA1t4El65NE9+zydvZZ2z0a8ETsTjPrcUXhEJ+6vX6jrffHVGXQ3t5OMYAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiUQsh1pnwAAAdhJREFUOMvNks1rU1EQxX9z37OJGAUF4yfYQBTUlCpBixhRaBcuAoIiiovsFBXXQQk3IYkkf4IF8S/QUjdCURELdlWjglSKunHhIukiQktLX/IYF0mkTRP8WDm7M/dyZuacA/9dpdPp/dbaEx1srR2x1g71+2/WAmvtnWAwOC8ijwABREQeiMj7bDZb6kXgdmFPRLYAQ9baK6raFJHjAKr6pReBdONsNjstImeAz6rqi8hh4FU+nx/tS5DJZA4YY7Y1Go0V13UHjTFTIuK0J/vAJVWtiUio2WwulEqlD+tOcF33LnAzEAhsnNAieirSWtZ13YfAjW4Rzb+6Jm3146q6U1V/iEjYcZxJwHSm/pZgbeVyuRfAmKp+NMb88v9g4gLnYntYXZhnauI1tT45uAqMtWGx0w8nUlwbPYazvMy+2FluXU/0DhJwCGiq6lyhUHjSaoU4dTICi1+ZfTvHbKXC9LvvDPQiKBaLBc/zhn3fvw1oq7uJkAtsjZK8mOR0PM7w4A68PkmkXC5/2qCUA1RnyI+/ZCR1j/Oxo4QnKtT+zL4636oe7IoQjxwhunsAVlZp/I3/byafU/X3kkxdJrp5kZnHz6j3O6H3EhXG71cIbQ+xVF9a9/QTGr2YJMqy6kMAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiYB84AargAAAa9JREFUOMvNk0FrU0EUhb87bzABiyhiC7XQKCq6CCJF3FhQ7E7BhYL+AhFxHYQwL7xEknUX0kUR3LhRQQsuxAahgkvRIpaiXYmrCiaCILzMcF0khTZ9z0JXnt2ZGb4799wZ+O9UqVQmnHNnN7xz7pxzrpx33mw2zrm7xWJxVUQeAgKIiMyJyIc4jptZADvkUxHZC5SdczdU1YvIGQBV/ZoFkGEfx/GSiEwDX1Q1iMgp4E2SJJdyAdVqddIYs6/X6/2x1paMMa9EJBpUDsA1VV0XkRHv/Y9ms/lxSwvW2nvA7UKhsL1CH/RCpH9Za+08cGs4RLPbqckg/SlVPaSqXREZjaLoOWA2qu4I2KxarbYIzKjqJ2NMGUY4f/Uyh4se7/td+1+rLLSXt4/ROXcTmBnYBvAE4GDpOCf3RwQgAgiWt+1lOhm9nwC8qn6u1+vP+ku/WZi9T5IkPHi5BqS8e/SUTlZ4jUajnqbp6RDCHUC3so9w/cox0rXXtL+nuS+RVqu1khXWxIWLjBNYWnyf/xf+pdLRMQjfWFlnN4ADTI7tge5Pujt8phx1eNxKMnf+AqjSjZJP5cFjAAAAAElFTkSuQmCC","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiYvL1YXYQAAActJREFUOMvNk71rU2EUxn/nvdckkCgWsYv1Y1EQWlMJUkWqQzsUdOtQ/4Jgi3NQwntvPiDZXQSDi7P4sRUqhYKTIhaMIjoIhSKNFDsExZt7OQ5NMI03VJx8tufh8Jz3nOe88N+hUCiMWWsv9Li1dspaOzGs3vQTa+2tVCr1QUQeAAKIiNwTkTee59XiDNwBHohIGpiw1i6oaigi5wFU9VOcgQxyz/PWRGQa+KiqkYicBVbL5fLMUINisXjSGHOo0+n8cF33lDFmWUScbucImFfVlohkwjD8WqvV1veM4LrubeBmMpn8s8Ou0VOR3ce6rtsA8oNLNP+amnS3n1PVo6q6IyKjjuM8AUyv674G/fB9fwWYVdW3xphu/hmmrl/j3NgIP780efzsBe0hd3ADmO3Sak/PzueZy52G7xHHJmdYWsjGHxJwBghV9V2lUnnUE1PpJOys03jY4NU2JNIH4w2q1WolCIJsFEVLgPb0zY0tOJzD930uH4Gtjc2hl0i9Xn+/Vxnh6qXjsP2au/dfciW/yOTFaUaff6b11/E5gJPkAB2iff5CDL6xttLkxNw4i3fGgYDm8iqtYTH2o1Qq6W+WIJNJELTbBH01vwC+YJMlVG88LQAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDigO/bwqsQAAAfNJREFUOMvNkz1ok2EQx3/39umHmpZWMUVaUEEUpWlQ0QyiCDooFhwcFN2lgqhTEMKTDwsZCw4SQQNOLh20KBgQRZ0kIK2LlBaqtNKhfkRqbHnfvOEc0kCbD0Enb/vD8bu7/93BfxfRaLTfWnuoqq21EWttqFm+s1ZYa692dHRMiUgWEEBEJCMiE/F4PN0IYGq0JyKbgJC19ryq+iKyH0BVZxoBpFbH4/HXInIUmFbVsojsBV6mUqkTTQGxWGy74zhdpVJpxRizw3GcnIi0rFYuA+dUdVFEAr7vf0mn05PrRjDG3ASG29vb6ytUQI9FKs0aY+4Bl2tNdP51a7Lq/kFV3aqqP0QkaIwZ/yvA2kgkEs9F5CQEiAydYbC/i6VPeR7l3uM1ALTU3MEFEYmKCJFLNzg1sA186NsVZl/nAvnp738+JGA34EOQPTs3UP6YY/T2KC8WymwJHaYHgABDw9c5G+6pB4yMjNzyPC8My/zyoKVvkEj4OAO9lUZbAdjI5t5ugp2tzY1JJpOavv9M55ZcVd9VV1XVndE3s8u6Plxtsr42jp0+QvfPCTJ3xvkKeHNT5J88IJsdY74M3yafksncrfuF6kvw9tUHDlyMcOVaBFbmeTj2jqIHxUIJF3A/z7K4WKhfY3WEaieBnjaKhWLTcX8DATq/EhizV6kAAAAASUVORK5CYII="];a=[g_sites_ico,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiA7Y9ZkmgAAAOlJREFUOMvNkr8OAUEQxn+4UkFN4k8kGv865SmVEqXGI3iEvUrvBWg8gDfwAsQDSO48wfVHQmEkg3NWrjHJZHe/nZ2Z79uBf7QqMFDnnriVzYAQ8BV2AK6AiXvgxGAF8amcu7IGtl1spaIvfhUs1jKKd0X2pxcKSDeBun/rxkglG3/SIpv2yzSFqtovAYwxXxM4SuFAifjgWtHBtcGYDns2W/8jhRHgKl3uli/TH06YuC3a9RJJGvRU9dUDLDZdhv0GOSC6nBMTGKCmhgiAcLfG8xYcI8hZTGLwy9Sl/sbUCRz70JD13HtDbwm1Old+g8VwAAAAAElFTkSuQmCC","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiMmK/1bgAAAAUhJREFUOMvNkr9Lw1AQxz9KCCgIUcSCICYaUFBIIODikA4ddBC7iKCLONlJ/4Q4devqJLoUZ8GtIC24KAh1VSERh0KWdrIQkDr4Wp81oREXD453d4/78f3ewX8UHchKvi00lRwBTcCXYnWgA3hxCUpMTBO6J3xLvEHaKaqioy+0I2KxMiThnhX2Sx8ExDSB9P9jGk90SqPfuBj+68pkCLpknwF4njewgCIxHEgkdrEKXlSs3AYr5gRvjScql1XCBAh5wJV4AcDI7ZNfXWZydAzTdikcrKEmFLCl7ufd7gtLGWjXKZZKXPkRZKbREg7JE4n6Vyji9uKE6zBkytlk3VCJ/McehLhLDPr33AxbZHcPcU2N1nON0/LN79bobBdwTY326z2Vu5B5y+hxoAxOH2dx7hPxyIzD1o4D7z6NB58wXYEm5eJx4u8Hfzxclyg/Z/wAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiII7jBnDgAAAVBJREFUOMvNkjFLw1AUhT+1pFo7FAdFHBrBgkihxRQ6STtmqOAmOIhTwU0QXH2/QNBBBBE7uQgilIJDByehgyDi4JaIkwWJ1IJQkTr0iS8xqQEXD1xy70le7j3nXfiP0IGiUmdlhMIG4ACWwt0AXUD4HYj4cAkZa7LOyKcddopL2dGS0ZWcLwYU3UmZP3gkIKexlfc/phGyU5hweTH41ytTJehKfgwghPj1BxHFYVsx8Uur9EXDMBeZ18do2bfULhq0AyQsAQXFFwBSpTKlfJoYUWbzJuXlTKAHWaV7pZfGSU5qvNyfs3tQwfqAWHQ4cJGEPKh/U23qhzvUMdja3mQEeGo2+96C7V4cjbl8ESP1yP7eCXfPMJFbYLzPKnswSs4sMN2ZonV0BUM99j38HjicnTZ41WZYWV8lnXjjulrF8eyBL4QQXbXW4hqddsf1zSd981rsA+U7cAAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiIxsTXvBgAAASpJREFUOMvNkrFLw1AQxn+2EhQVIohFKJhqRSiIBQcRCxYEcSgoilNFSgdnV7f3n+g/4GQHx65BBAcHnRoXdetiHGolLgdeYpoGXPzg4727x7u77+7gP8IBqsouC1PhDOgCHeW7BwLAxH0YjfHZwobYq3J6aatoS8aOMBBfLEaU7nm5P0ckINV46v1XNUYypWGoF5m/jkxLcNT9AsAYMzRARnW4LWworSFMFirU6zXy1mAJ+8CW6ssPrBLHJ9sUiys4E4MDlFX2S/Wb3eYBOQC++ExoogEKSgYAS7Um6zMvtG4eAej7yVPwwoszy8ZaDrCpbC4A4+yc7jGdsMoRfPB094Cf7TM2t4w9Bd3XN/z0Ad5xW1e4gFU65Pxokdtrl15kD2JhjAmGhf8GfYtLPXngvXwAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiQSRQg58gAAAVdJREFUOMvNkz1LA0EQhh/lOAhG8IpL1ARNrE5SGAimEIL+gAhapFEQWztbu+sE/4QiYmUjiY0gKsTCIpAoiIiQU2IjSARPowSJhRvYXO70wMaBYXdnmI/3nVn4jxIDZqR3UqgvWQXqQFWylYEWYLoFKC62AaHL4j0hTstvFyeiYlVoS9hcpUfCPSrudw4IiG4syd/VjSkq+dEOLnr/OjIZQky6bwKYpvlrAkVi2JJIbGP95kWNk51P0wegKLzenlI4r7lCmAOmJV4ACI6nSRkGEV1HD0eIRsOee5CUqm+1oehDGvDERbnMe+OBYqnqmcAUgTHZGBrWAJXJqQxqQCWTOGJ9u+i5iZZzzjfH+7w077mq2aSW1siOjBGiyKNHAodozC7miL9ds7tzSWJQhc8Pmv73oE4+X6LRb7CwkiMeeOZs74D6D5+pO0WlwEblkGBQxbbtDt8XLQlh5BtbXRIAAAAASUVORK5CYII=","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiUJ1nbBXwAAAVBJREFUOMvNkz1LA0EQhh9NDASuSJr4VZjA2WjAgCAIBwnYBhTBxiLYWNj5EzaQH2GnvYiVEKxSmEoPUlikEO5SSDiFnJAQyanEwg1uzEVPbBwYdnaG2Zn3nVn4j5IEcso9IzWQHAIuYCm+GtAHhF9C2McXk7on7yvytIN2UZEVLal96fOVCQX3grQbXyAgu7GV+Eg3QlYKokNcTP51ZCqEpGIfAwghfnwgrDBsKyQOsA54YdHYJJeepfdYp3xW4WEMhC0gq/ACQMIosLuRIdTtMp/OcrBvjN2DjFL95AOKxvpaCtp3XN/UibdavDbviQCezwNCJiY/XVNoYSCqk9/WIQRPt00qpjV2CvbI4oQAp0qxVKRsecTSyySCj9Gl4XgwnWI1tYQ+E4HnHi+/2YOr80uctznyhR30aJvq6QXuN5/JpwmTo5KJFtfouJ2h0Du9o2L2gjumAgAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiYHGuO/mwAAASZJREFUOMvNk79KA0EQxn+aQywsEiwCMXgXUbAzYCsYawNa2KXJEwQfYQXB2idIGiura/UKFSwF04iFkItYWeQiWIU7YpERxrjqkTR+MOzuDPPvm1n4j/CAinqXRVLhEIiAjtLdA0PA2Bwciy4rUpf3hpxh2iquJGNHZCg6K2ZU367cu2MtINWEyv6tGiOZ0sgXLmanHZluwVP3JoAx5s8AjmI4VCR+9urCAlt7uyzNx8TxyCV+e8QP2tYx7gPbipcmwKK3xno2QwJkABKHm6BNZAlQVtlbowDv+KfH+EBus0ajusxt65zoBxINUFJLpFDioLrK4OmC4GXw6yaGtjkXKzsUSLi+vGOiMXoreUieeXhlkgA53Pwc9Hv0U3wmCyLOTo6slg+fZlNd2Y2MegAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiY3PDqPNwAAAURJREFUOMvNk79Lw0AUxz/amgqNYBcHf8bBrdhABnWQCi4FHQQHVydBJ1en3ubu4tBB8Q8Q3ARBLLiJkCGDW6NQRSHUIQhGShy84jUmGnHxC4+7971c3nvf9w7+IwxgQfFNaamwDbSAhsLZQAiIuAvZGG5Q2rr0S3J102ZxISM2pIWSi0WPUveE3N9GSkBm4yrnX7IRMlIa69Ki968tU0swlP0BgBDixx9kFYVdRcROrVIXnZnlJaZHC7w+OByfXOInlLAClBVdPvq4ukHFmoKXNiPmIltrpUQNTCX6YYfsz+fg2aZ2VOPKAy0/kDhIQl40VLJ59wiTFtWqBcD9TfPbLrjdg1OgPDcG3jV7u/vYHgzPzjP0qzZmgEyOPt5op3gLEbSonzmMV4ps7hSBAOf0nKfIHMRCCBF+ehq6rhH4PoHyzTsT9lgsYELcCQAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDigXmdeCcQAAAXtJREFUOMvNk88rRFEUxz8MIzKaoWYWFBZiwYwob6GYJZlizcZKWOBPuCvLKQuNhYmVzSwkio2SlaaEjZQyz48sRFPjGb3HdG3u6M3Mm5qycep0zzm3e873e8658B+lAwjb/H6lFckKkAZSttglIAHh9KDGIeZVOqv8kDr1SlGcqIoppVLFHKXKxrtd2fdFFFBodNt9CRqhKlWiBb2o/uvI7BQ68rYQYqvSBDW2Duu2JgKNaJEJgm1NZPQku0dXWA4JiilMAaMA2swiY4M9eOo89GhTzEW6HBEUJ1Ab56e7s55c6ojoWpTj5xwtfUP4FLLI/DKTIZ9jAgF0QpYPC1ytQbRQmN6AC4BaABpoDnjxe2rLN0YIIVc3D+VDxpTy25SmlFKat/L0LisLxZRlxuhmZHwY7/sFsfU9XgHr4Ybk/jbxeILHHLxdHhCLbTj+BcDi7OSagWmNhSUNPh/ZSZxjWGCkvzAB8+mOl5f07x6UUMgjafS5MdJGWbo/W6+PV71qU8EAAAAASUVORK5CYII="];return c?a[e]:d[e]}var g_sites_light_ico0="iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhss3LcOZQAAAU5JREFUOMvdkzFLA0EQhd/bO7iIYmklaCUopLAQA6KNaawt9BeIgnUwLHPJRchfEBR7CyGWgiDY2SlIQBT/gDaCoGDudiy8SLwkBiwz1c7y+GZ25i0wnFEqlSZFZKGdi8iiiOR7aU32QkR2c7ncPcljAARAkgckb8IwrGf1fg/oJ8lRAHkR2VDVmOQ8AKjqY1bMHgCGYXhFchnAg6omJGcBXEZRtNoXYK2dMsaMt1qtD9/3p40x5yS9tHICYF1Vn0mOxXH8Uq/Xb389wff9PQDbQRB0t/QNOiPZ1h4B2MoO0fxnYz8dOOcOVbWhqq8kJzzPa3RAXZIkawCenHMjJN/+GiIqlcoFgKKq3pEMAMwAuCa5VK1W3SAfbAIopum+cy5KzwXn3M5AI6XVYlVt1mq1U8/zTlS1CeC9j2+6o1wuz1lrVzpWXLDWTg3pz/0CQnd2Jos49xUAAAAASUVORK5CYII=",g_sites_light_ico="data:image/png;base64,"+g_sites_light_ico0,g_pw_light_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACIUlEQVQ4EX2TOYhTURSG87IMihDsjGghBhFBmHFDHLWwSqcikk4RRKJgk0KL7C8bMpWpZtIqNkEUl1ZCgs0wOo0SxiLMDApWlgOPrH7/5b2QkYwX7jvn/uc//zl3edZ4PPbNGvF4fC4ajR5VrNvt/mo0Gr1ZPOtfgWw2e9Lv9+chX7cs64CS4Oxg3o9GI7tUKv0Q5o1dAiTfCgQCLwnOkfQOu+oSLyJ2A783HA7vIPLGxX0TgVwud4HKn0nc7Pf7N6vV6oZHkkX8FPG3uMfgXC0Wi2vCg/poUKGGcagQI3k7k8mcp5slcGswGDwpl8tfwGJg3xB6Dvey8vz6oH4C3iXcFYjbwiDeo1KafafkC3NjK7iL5ESFGQEUF7Sg+ifZdDp9GnMF/KGmfBdT2HCwZ7TwtrBPC7rQaav6Iv48rqZwg+F+p8hOMBj0IbxfMdMBrW5pAVGV/ztINByENkU0t5BIJEKRSOQ3Aj+Z57iFs1R5NK3EQS6HQqF1zmQdzpFWq3W42WwOTAf1er1PF2USFlC+qxMvFAr3HcexWX+QX6lUvsKpkTyPSEXJkw6MQ4S38Ljdbi8rmM/nY+CvgNcQqdH6U/xrYK9t244jZv6ByUOSiDdIfgBZ12U6dHEHu9TpdIr8F0OP692CtzaW/a6y3y0Wx5kbFHvGuXzkgf0xhKnPzA4UTyaTB8Ph8AvcHi3fnsrZ7Wore02YViqVOrRXXPhfqP8j6MYlawoAAAAASUVORK5CYII=",g_ff_light_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==",g_close_light_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA3UlEQVQ4EaVTOQ7CMBCMETShzcdo4CVOkyJykQb/AXoaPsQT0uLGRZhZxVIirSMDljberOfwaaZpqv5pe5Kttce6rs8QO5SIGWNiCOHhvX+LAMko3hAlfMGAw/6+47fUmdjUEkcEUvGXPicwwqFFxDlaiI+agSoA0tU550G4MJizpgnIJioDQ9/3LxCfHEN+QjcouEqdgQbM1XICHd3pzJhn0mki6hJwH1oQiZdpI+9YKxYAsAFhuWnLfKWTW8IKtPUjAnCLWyBtLHFkD/gweLdx1l89JgobkDSD4toHHT5aJu9+N80AAAAASUVORK5CYII=",g_svgs={},NAV_BAR_HEIGHT_CSS=42,SHOULD_DO_LOGIN_ONLY=!0,SHOULD_DO_ALWAYS=!1;function popupfill_shoulddofield(a,b,c){var d=["lpcurrpasselt","lpcurruserelt"];if(do_experimental_popupfill&&!(null==b||"undefined"==typeof b.type||"hidden"==b.type)&&("text"==b.type||"password"==b.type||"email"==b.type||!c&&"tel"==b.type||!c&&"url"==b.type||!c&&"textarea"==b.type)){var e=LP_pickFieldName(a,b);return lp_in_array(e,d)?(verbose_log("fieldname "+e+" is blacklisted, skipping"),!1):is_search_field(a,b,!c)||is_date_field(b)||LP_looksLikeOTPField(a,b)||LP_explicit_ignored(a,b)||LP_implicit_ignored(a,b)||LP_isCaptchaField(b)?!1:c&&!chk_form_has_password(a,b.form)&&!checkDocumentForLoginOrphans(a)?(verbose&&(a=LP_pickFormName(a,b.form),verbose_log("form "+a+" has no password field?  Ignored")),!1):!0}return!1}var NO_CREATE=!1,OK_CREATE=!0;function parse_zindex(a){if("string"==typeof a&&-1!=a.indexOf("e")){a=""+parseFloat(a);for(var b="",c=a.length-1;0<=c&&"0"==a.charAt(c);c--)b+="9";a=a.substring(0,c+1)+b}return parseInt(a)}function getZIndex(a,b,c,d){g_ctr_getzindex++;if(null==a||b==a.body||null==b||50<c)return null;var e=0,f=LP_getComputedStyle("undefined"!=typeof window&&window?window:a.defaultView,b);if(null==f)return null;if("absolute"==f.position||"relative"==f.position||"fixed"==f.position){if("auto"==f.zIndex||""===f.zIndex)return e=getZIndex(a,b.parentNode,c+1,d+1),null==e?0:parse_zindex(e);e=getZIndex(a,b.parentNode,c+1,parse_zindex(f.zIndex));return null==e?parse_zindex(f.zIndex)+1:parse_zindex(e)+1}if("auto"==f.zIndex||""==f.zIndex)return e=getZIndex(a,b.parentNode,c+1,d+1),null==e?d+1:parse_zindex(e)+1;e=getZIndex(a,b.parentNode,c+1,parse_zindex(f.zIndex));return null==e?parse_zindex(f.zIndex):parse_zindex(e)+1}function chk_form_changepw_new(){return!0}function shouldOfferGenerate(a,b){if(null==a||null==b)return null;var c=!1,d=b.form,e=!1;d||(e=checkDocumentForCPWOrphans(a));var f=!0,g=!0,h=check_nevers(a,g_nevers,a.location.href);null!=h&&(f=h.show_for_generate,g=h.show_for_clickable_icon);f&&chk_form_ask_generate(a,d)&&isInputFieldPassword(a,b)&&g?((currentpw=lpCheckCurrentPWField(d))||(currentpw=lpCheckCurrentPWField(d,!0)),chk_form_changepw(a,d)&&b==lpCheckCurrentPWField(d)?(c=!1,"undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] form="+LP_pickFormName(a,d)+" field="+LP_pickFieldName(a,b)+" appears to be current PW field in a change password form, offergenerate=false")):chk_form_changepw_new(a,d)&&b==currentpw?(c=!1,"undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] form="+LP_pickFormName(a,d)+" field="+LP_pickFieldName(a,b)+" appears to be current PW field in a change password form, offergenerate=false")):(c=!0,"undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] form="+LP_pickFormName(a,d)+" field="+LP_pickFieldName(a,b)+" setting up generate click listener on icon"))):!d&&(f&&e)&&(isInputFieldPassword(a,elt)&&!lpIsFieldCurrentPWField(b))&&(c=!0,"undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] orphan field="+LP_pickFieldName(a,b)+" setting up generate click listener on icon"));return c}function check_nevers(a,b,c){if(a){b={show_for_formfill:!0,show_for_save:!0,show_for_autofill:!0,show_for_generate:!0,show_for_clickable_icon:!0};if(null==g_nevers)return null;if(null==c||0>=c.length)c=a.location.href;a=lpcanonizeUrl(c);c=lpcanonizeUrl(lp_gettld_url(c));for(var d=0;d<LP_objectSize(g_nevers);d++){var e=g_nevers[d];0==e.domain&&lpcanonizeUrl(e.url)!=a||1==e.domain&&c!=lpcanonizeUrl(lp_gettld_url(e.url))||("neverformfills"==e.type?b.show_for_formfill=!1:"neveraccounts"==e.type?b.show_for_save=!1:"neverautofills"!=e.type&&"neverautologins"!=e.type&&("nevergenerates"==e.type?b.show_for_generate=!1:"nevershowicons"==e.type&&(b.show_for_clickable_icon=!1)))}return b}}function LP_objectSize(a){var b,c=0;if(null==a||"undefined"==typeof a)return 0;if("function"!=typeof a.hasOwnProperty&&"undefined"!=typeof a.length)return a.length;for(b in a)a.hasOwnProperty(b)&&c++;return c}function chk_form_ask_generate(a,b,c){var d=null;if(null==a||(null==b||!b||!(b.tagName&&"FORM"==b.tagName.toUpperCase()))||b.elements.length>MAX_FORM_ELEMENTS_HARD)return!1;var e,f=LP_pickFormName(a,b);if(!c&&(e=formcacheget(a,f,"ask_generate"),null!=e))return g_ctr_formcache_hits++,e;g_ctr_formcache_misses++;try{var g=gettldcached(a.location.href)}catch(h){return!1}var j=e=0,k=3;c&&(k=2);g_aspx_hack&&isASPpage()&&(k=7);if("tumblr.com"==g&&(tumblr_action_btn=a.getElementById("signup_forms_submit"),null!=tumblr_action_btn)){c=tumblr_action_btn.getElementsByTagName("SPAN");var l;for(l=0;l<c.length;l++)if(0<=c[l].className.indexOf("login_btn")&&checkIsDisplayed(a,c[l],0,g))return!1}if(!checkIsDisplayed(a,b,0,g))return verbose_log("form is not visible: cannot be signup form"),!1;c=LP_getname(b,LP_GETNAME_FAVOR_ID_OVER_NAME);if(null!=c&&(0<=c.toLowerCase().indexOf("signup")||0<=c.toLowerCase().indexOf("register"))&&-1==c.toLowerCase().indexOf("login"))return verbose_log("form "+f+" smells like a sign up form: name/classname"),formcacheset(a,f,"ask_generate",!0),!0;var n=!1;if("undefined"!=typeof Math){c=Math.floor(1E4*Math.random());var m=l=0,n=0,q=null,r=b.elements.length;r>MAX_FORM_ELEMENTS_SOFT&&(r=MAX_FORM_ELEMENTS_SOFT);for(var s=0;s<r;s++){var p=b.elements[s];"INPUT"==p.tagName&&("password"==p.type?l++:("text"==p.type||"email"==p.type)&&m++);if("INPUT"==p.tagName&&"submit"==p.type||"BUTTON"==p.tagName)if(n++,q=p,10<n&&b.elements.length>MAX_FORM_ELEMENTS_SOFT)return!1}if(1==n&&2>=m&&0<l&&checkButtonHint(q))return verbose_log("form is not signup: prelim test failed"),!1;m=b.elements;for(s=0;s<MAX_FORM_ELEMENTS_SOFT&&s<m.length;s++)if(p=m[s],n=!1,"FIELDSET"!=p.tagName&&valid_by_role(a,p)&&!LP_fieldIsDisabled(p)&&!LP_treat_as_hidden(p)&&("expedia.com"==g||checkIsDisplayed(a,p,0,g,c)))if(!g_use_wacky_disp||is_wacky_disp(a,p)){if("text"==p.type&&is_watermark(p.className)&&is_watermark_password(p))try{p.type="password"}catch(t){n=!0}q=LP_elt_get_text(p);if("BUTTON"==p.tagName&&"submit"==p.type&&null!=q&&0<=q.indexOf("Create")||"BUTTON"==p.tagName&&"submit"==p.type&&null!=q&&0<=q.indexOf("Register")||"INPUT"==p.tagName&&"submit"==p.type&&null!=p.value&&0<=p.value.indexOf("Create")||"INPUT"==p.tagName&&"submit"==p.type&&null!=p.value&&0<=p.value.indexOf("Register")||"INPUT"==p.tagName&&"submit"==p.type&&null!=p.value&&0<=p.value.indexOf("Sign me up")||"INPUT"==p.tagName&&"image"==p.type&&null!=p.value&&"create"==p.value)k=2,verbose_log("form "+f+" has a signup button, loosening detection requirements");if(1<l&&LP_passwordAlt(a,p))j++;else if(q=fieldIsDoublePassword(a,p),!b||!("form1"==b.id&&b.action&&"string"==typeof b.action&&b.action.indexOf(".aspx")&&"text"==p.type&&(q===DOUBLE_PW_VISIBLE||q===DOUBLE_SECRET_PW_VISIBLE)))if(!do_bgiconinput||!("text"==p.type&&(q===DOUBLE_TEXT_VISIBLE||q===DOUBLE_SECRET_TEXT_VISIBLE))){if("password"==p.type||n||"text"==p.type&&q===DOUBLE_TEXT_VISIBLE||"text"==p.type&&q===DOUBLE_SECRET_TEXT_VISIBLE){n=p.getAttribute("placeholder");null!=n&&0<=n.indexOf("Create your")&&(k=2);if("facebook.com"==g&&"string"==typeof p.id&&p.id.match(/^[a-z0-9]{6}_\d{1,2}_ci_password$/))continue;else if("tdbank.com"==g&&"string"==typeof p.name&&"user"==p.name){j++;continue}if(0==e&&1<l&&passwordIsFake(p)){j++;continue}if(0<e&&1<l&&LP_looksLikeOTPField(a,p)){j++;continue}LP_get_input_pattern(a,p)&&!d&&(d=p);e++}else if("email"==p.type||"text"==p.type||"textarea"==p.type||"tel"==p.type||"url"==p.type)if(treat_text_as_password(p))e++;else{if(LP_isForgetField(p))continue;lpIsVisible(p,!0)&&(n=LP_pickFieldName(a,p),LP_looksLikeOTPField(a,p)?verbose_log("chk_form_ask_generate OTP field ignore on "+n):j++)}if(4<=e||100<=j)return 4<=e&&verbose_log("form "+f+" is not a signup form, too many pw fields [PW:"+e+"/NON:"+j+"]"),100<=j&&verbose_log("form "+f+" is not a signup form, too many non-pw fields [PW:"+e+"/NON:"+j+"]"),formcacheset(a,f,"ask_generate",!1),!1;if(2<=e||1<=e&&j>=k)return 2<=e&&verbose_log("form "+f+" is a signup form, has enough pw fields [PW:"+e+"/NON:"+j+"]"),1<=e&&j>=k&&verbose_log("form "+f+" is a signup form, has enough pw fields and non-pw fields [PW:"+e+"/NON:"+j+"]"),formcacheset(a,f,"ask_generate",!0),d&&!g_isie&&!g_isfirefox&&sendBG_generate_pattern(a,d),!0}}verbose_log("form "+f+" does not smell like signup form, not enough fields [PW:"+e+"/NON:"+j+"]");formcacheset(a,f,"ask_generate",!1);return!1}}function passwordIsFake(a){var b=/(?:Account)|(?:Member)|(?:IUO_NAME)/i,c=a.name;return b.exec(a.id)||b.exec(c)?!0:!1}function checkButtonHint(a){if(!a)return!1;var b="INPUT"==a.tagName?a.value:a.innerHTML,c=/(?:Login)|(?:Log.In)|(?:Logon)|(?:Log.on)/i;return c.exec(a.id)||c.exec(b)?!0:!1}function LP_isForgetField(a){if(!a)return!1;var b=a.id;a=a.name;var c=RegExp(lpgs("ff_forgot_regexp"),"i");return c.exec(b)||c.exec(a)?!0:!1}function LP_isCaptchaField(a){if(!a)return!1;var b=a.id;a=a.name;var c=RegExp(lpgs("ff_captcha_regexp"),"i");return c.exec(b)||c.exec(a)?!0:!1}function LP_isRememberCheckbox(a){if(!a||"checkbox"!=a.type)return!1;var b=a.id;a=a.name;var c=RegExp(lpgs("ff_remember_regexp"),"i");return c.exec(b)||c.exec(a)?!0:!1}function chk_form_is_nonlogin_form(a,b){if(null==a||null==b||!b||!(b.tagName&&"FORM"==b.tagName.toUpperCase()))return!1;if(b.elements.length>MAX_FORM_ELEMENTS_HARD)return!0;try{var c=gettldcached(a.location.href)}catch(d){return!1}var e=LP_pickFormName(a,b),f=formcacheget(a,e,"is_nonlogin");if(null!=f)return g_ctr_formcache_hits++,f;g_ctr_formcache_misses++;if(is_search_form(a,b))return verbose_log("form "+e+" appears to be a search form based on name/action, do not try to fill"),formcacheset(a,e,"is_nonlogin",!1),!1;if(!checkIsDisplayed(a,b,0,c))return verbose_log("form is not visible: cannot be non-login form"),!1;var f=c=0,g=b.elements,h=g.length;h>MAX_INPUTS_HARD&&(h=MAX_INPUTS_HARD);for(var j=0;j<h;j++){var k=g[j];if("FIELDSET"!=k.tagName&&("email"==k.type||"text"==k.type||"password"==k.type)&&!LP_fieldIsDisabled(k)){if(100<++f)return formcacheset(a,e,"is_nonlogin",!1),!1;if(!0!=k.disabled&&valid_by_role(a,k)&&lpIsVisible(k)&&!LP_treat_as_hidden(k)){if(is_search_field(a,k,!0)&&8>g.length)return verbose_log("form "+e+" appears to be a search form based on name/classname, do not try to fill"),formcacheset(a,e,"is_nonlogin",!1),!1;c++;if(3<=c)return verbose_log("form "+e+" appears to be a non-login form"),formcacheset(a,e,"is_nonlogin",!0),!0}}}formcacheset(a,e,"is_nonlogin",!1);return!1}function formcacheset(a,b,c,d){if(null==a||null==b||null==c||0===b.length||0===c.length||null==d||"FF"==b||"none"==b)return null;"undefined"==typeof a.g_form_attr_cache&&(a.g_form_attr_cache=[]);null==a.g_form_attr_cache[b]&&(a.g_form_attr_cache[b]={});a.g_form_attr_cache[b][c]=d;return!0}function formcacheget(a,b,c){return null==a||(null==b||null==c||0===b.length||0===c.length)||"undefined"!=typeof g_isdebug&&g_isdebug&&g_ignore_lp_cache||("FF"==b||"none"==b)||"undefined"==typeof a.g_form_attr_cache?null:null!=a.g_form_attr_cache[b]&&null!=a.g_form_attr_cache[b][c]?a.g_form_attr_cache[b][c]:null}function formcachereset(a){null!=a&&(a.g_form_attr_cache=[]);return!0}function onresize_handler(a){a="undefined"!=typeof document?document:a.target.document;var b=a.getElementsByTagName("body")[0];a.g_posbodyrect_cache=b.getBoundingClientRect();var c="undefined"!=typeof window&&window?window:a.defaultView;a.g_posbodystyle_cache=c&&"undefined"!=typeof c.getComputedStyle?c.getComputedStyle(b,null):b.currentStyle;popupfill_resize(a);return!1}function checkIsDisplayed(a,b,c,d,e,f){if(do_bgiconinput&&!f||b==a.body||null==b||50<c)return!0;if(null==d)try{d=gettldcached(a.location.href)}catch(g){return!1}c="undefined"!=typeof window&&window?window:a.defaultView;for(e=b;e&&e!=a.body;)try{var h=LP_getComputedStyle(c,e);if(null!=h&&"none"!=h.display&&"hidden"!=h.visibility&&(null==e.offsetHeight||""===e.offsetHeight||1<e.offsetHeight||"hidden"!=h.overflow)&&!("expedia.com"==d&&"-1px"==h.marginTop&&1==e.offsetHeight)&&!("dropbox.com"==d&&"register-partial-container"==b.id&&50>e.offsetHeight))e=e.parentNode;else return!1}catch(j){break}return!0}function countInputs(a,b,c){var d=0,e=0,f=a.getElementsByTagName("INPUT");if("undefined"!=typeof Math){for(var g=0;g<f.length;g++){if(100<g){b||(d+=f.length-g);break}var h="password"==f[g].type;if(!b||h)"checkbox"==f[g].type||"hidden"==f[g].type||(h&&e++,d++)}c&&(a.g_password_cnt=e);return d}}function LP_getAbsolutePos(a,b,c,d){"undefined"!==g_ctr_getAbsPos&&g_ctr_getAbsPos++;if(!a||!b)return null;if("undefined"==typeof c||null===c)c=!1;if("undefined"==typeof d||null===d)d=!1;var e=null;try{e=typeof b.getBoundingClientRect}catch(f){e=null}if(!e||"undefined"==e)return null;try{var g=b.getBoundingClientRect(),h,j;h="undefined"==typeof g.width?g.right-g.left:g.width;j="undefined"==typeof g.height?g.bottom-g.top:g.height;var k=LP_get_cached_body_rect(a),e=b=0,l=LP_get_cached_body_style(a);g_bodystyle_relative&&(k&&l&&"relative"==l.position)&&!d&&(b=k.left,e=k.top);l=d=0;if(!c){var n="undefined"!=typeof window&&window?window:a.defaultView;if("pageXOffset"in n)var m=n.pageXOffset,q=n.pageYOffset;else{var r;c=1;"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof a.querySelector&&"undefined"==typeof a.addEventListener?r=1:(k&&(c=Math.round(100*((k.right-k.left)/a.body.offsetWidth))/100),r=c);m=Math.round(a.documentElement.scrollLeft/r);q=Math.round(a.documentElement.scrollTop/r)}d=m;l=q}return{left:g.left+d-b,top:g.top+l-e,width:h,height:j}}catch(s){return null}}function createPopupFill(a,b){LPpop.set_icon_hint_from_data(a,b)}function LP_measureText(a,b,c,d,e){g_ctr_LP_measureText++;var f=LP_measureTextCacheGet(a,b,d);if(null!=f)return g_ctr_LP_measureText_cachehits++,f;g_ctr_LP_measureText_cachemisses++;var f=a.createElement("span"),g=null;if(null==d&&null==c)return g;null==e&&(e=a.body);null==e&&(e=a.getElementById("hiddenel"));e&&(e.appendChild(f),null!=d&&(f.style.cssText=d),null!=c&&(f.style.fontSize=""+c+"px"),f.style.position="absolute",f.style.left="-1000px",f.style.top="-1000px",f.innerHTML=b,g={width:f.clientWidth,height:f.clientHeight},LP_measureTextCacheSet(a,b,d,g),e.removeChild(f));return g}function getAutoFillArray(a,b,c){var d=[];a=punycode.URLToASCII(a.location.href);lpcanonizeUrl(a);for(var e in b)if(!b[e].genpw||c)d[e]=b[e];return d}function is_your_popup_showing(a){if(null==a)return!1;var b=!1;try{if(null==a.location){verbose_log("is_your_popup_showing given a firefox zombie document?");var c="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;closepopupfills(c);b=!0}}catch(d){b=!0}if(b)return!1;g_isfirefox&&verbose_log("entered is_your_popup_showing for doc="+a.location.href);if(g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&LP_inIframe(window))return toplevel_iframe_state_get();if(0<a.location.href.indexOf("popupfilltab.xul"))return!0;a=a.getElementsByTagName("iframe");for(b=0;b<a.length;b++)if(("function"!=typeof a.hasOwnProperty||a.hasOwnProperty(b))&&0==a[b].id.indexOf(LPMAGICIFRAME))return!0;return!1}function dosavesiteicon(a){a=a?1:0;var b=[""],c=null!=g_popupfill_parent_last?g_popupfill_parent_last.form:null;null==c&null==g_popupfill_parent_last&&(c=null!=g_popupfill_parent?g_popupfill_parent.form:null);verbose_log("["+g_docnum+"]: current input form is "+LP_getname(c));if(null==c)g_isfirefox?LP.lpOpenEditWindow(0,!1,!1,null,!0):(verbose_log("["+g_docnum+"]: looking for orphaned INPUT elements"),c=LP_get_form_save_orphans(b,!0),b={url:punycode.URLToASCII(document.location.href),formdata2:c},sendBG({cmd:"savethesite",notificationdata:b,iframe:a}));else{for(var d=c.elements,e=0,f=0,g=0,h=0;h<d.length;h++)if("FIELDSET"!=d.tagName){var j=d[h].type;"password"==j?f++:"text"==j||"tel"==j||"email"==j?e++:"textarea"==j&&g++}if(1==e&&1==f&&0==g)if(g_isfirefox)LP.lpOpenEditWindow(0);else{c=LP_get_form_save(c,!1,[],!0);if(!c||0==c.length)c+=LP_get_form_save_orphans(b,!0);b={url:punycode.URLToASCII(document.location.href),formdata2:c};sendBG({cmd:"savethesite",notificationdata:b,iframe:a})}else g_isfirefox?LP.lpOpenEditWindow(0,!1,!1,null,!0):(c=LP_get_form_save(c,!1,[],!0),d=!1,c&&0<c.length&&(d=!0),c+=LP_get_form_save_orphans(b,!0,d),b={url:punycode.URLToASCII(document.location.href),formdata2:c},sendBG({cmd:"savethesite",notificationdata:b,iframe:a}))}}function lp_url_is_lastpass(a){if(null==a)return!1;var b="https://lastpass.com/";"undefined"!=typeof base_url&&(b=base_url);return 0==a.indexOf(b)||0==a.indexOf("https://lastpass.com/")||0==a.indexOf("https://lastpass.eu/")?!0:"undefined"!=typeof g_loosebasematching?(a=lp_gettld_url(a),RegExp(a+"/$").test(base_url)):/^https:\/\/([a-z0-9-]+\.)?lastpass\.(eu|com)\//i.test(a)}function setupIcons(a,b){a||(a=LP_derive_doc());if(!a)return!1;if("undefined"!=typeof g_cpwbot&&g_cpwbot&&"undefined"!=typeof g_in_cpwbot&&g_in_cpwbot)return verbose_log("Change in Progress, skipping setupIcons"),!1;if(do_experimental_popupfill){if("undefined"!=typeof g_isie&&g_isie)if(init_LPfn()&&LPfn)LPfn.ie_reset_popupfillhint(),LPfn.ie_setup_event_handlers(a);else return verbose_log("Danger, Will Robinson"),!1;if(g_isfirefox&&LP&&20>LP.lp_getFFVersionFloat())return!1;"undefined"!=typeof g_isfirefox&&g_isfirefox?(a.g_input_cnt=countInputs(a,!1,!0),a.g_form_cnt=countFormEquivalents(a),a.g_input_fingerprint=computeFingerprint(a),a.g_did_setupInputObserver=!1):(g_input_cnt=countInputs(a),g_form_cnt=countFormEquivalents(a),g_input_fingerprint=computeFingerprint(a),validate_input_indexes(a));var c=LP_getloggedin(),d=!1;if(g_dologin_clickable||!g_dologin_clickable&&c)d=!0;try{var e;e="undefined"!=typeof punycode?punycode.URLToASCII(a.location.href):a.location.href;if(lp_url_is_lastpass(e)||LP_should_ignore_this_doc(a))return!1}catch(f){return!1}if(d&&(b||checkForLoginForm(a)||checkDocumentForLoginOrphans(a)||checkForNonLoginForm(a)||checkForSignupForm(a)||checkDocumentForCPWOrphans(a)||checkDocumentForLoginFirstStageForm(a)||checkDocumentForLoginOrphansFirstStage(a)))c=gettldcached(get_doc_location_href(a)),g_isfirefox||"undefined"!=typeof g_isie&&g_isie||sendBG({cmd:"getpopupfillsites",tld:c,url:e}),g_do_icon_number_hint&&(g_icon_number_overrides={sites:-1,formfills:-1}),("undefined"!=typeof window&&window?window:a.defaultView).setTimeout(function(){doc_create_clickable_icons(a,"",SHOULD_DO_ALWAYS,b)},50)}"function"==typeof setupInputObserver&&setupInputObserver(a);!g_isfirefox&&!g_isie&&g_create_iframe_in_top&&(g_inframe=LP_inIframe(window));return!0}function checkForLoginForm(a){a||(a=LP_derive_doc());if(!a)return!1;try{gettldcached(a.location.href)}catch(b){return!1}var c=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(c=MAX_FORMS_HARD);for(var d=a.getElementsByTagName("form"),e=!1,f=0;f<d.length&&f<c;f++){e=chk_form_has_password(a,d[f],!0);if(null==e)break;if(e)return e}return!1}function checkForNonLoginForm(a){a||(a=LP_derive_doc());if(!a)return!1;try{gettldcached(a.location.href)}catch(b){return!1}var c=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(c=MAX_FORMS_HARD);for(var d=a.getElementsByTagName("form"),e=!1,f=0;f<d.length&&f<c;f++)if(e=chk_form_is_nonlogin_form(a,d[f]))return e;return!1}function checkForSignupForm(a){a||(a=LP_derive_doc());if(!a)return!1;var b=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(b=MAX_FORMS_HARD);for(var c=a.getElementsByTagName("form"),d=!1,e=0;e<c.length&&e<b;e++)if(d=chk_form_ask_generate(a,c[e]))return d;return!1}function chk_form_has_password(a,b,c){if(null==a||(null==b||!b||!(b.tagName&&"FORM"==b.tagName.toUpperCase()))||b.elements.length>MAX_FORM_ELEMENTS_HARD)return!1;var d=LP_pickFormName(a,b),e=formcacheget(a,d,"is_login");if(null!=e)return g_ctr_formcache_hits++,e;g_ctr_formcache_misses++;try{var f=gettldcached(a.location.href)}catch(g){return!1}for(var h=!1,j=e=0,k=0,l=null,n=0;n<MAX_FORM_ELEMENTS_SOFT&&n<b.elements.length;n++){var m=b.elements[n];"INPUT"==m.tagName&&("password"==m.type?e++:("text"==m.type||"email"==m.type)&&j++);if("INPUT"==m.tagName&&"submit"==m.type||"BUTTON"==m.tagName)k++,l=m}if(1==k&&2>=j&&0<e&&checkButtonHint(l))return!0;var k=j=0,l=!lpIsVisible(b),q=!1;b=b.elements;for(n=0;n<MAX_FORM_ELEMENTS_SOFT&&n<b.length;n++)if(m=b[n],h=!1,"FIELDSET"!=m.tagName&&(check_for_ASP(a,m),valid_by_role(a,m)&&!LP_fieldIsDisabled(m)&&!LP_treat_as_hidden(m))){if("text"==m.type&&is_watermark(m.className)&&is_watermark_password(m))try{m.type="password",lpdbg("onload","switching field from text to password from chk_form_has_password")}catch(r){h=!0}ASP_treat_text_as_password(m)&&(h=!0);(h||"password"==m.type)&&LP_get_input_pattern(a,m);if(1<e&&LP_passwordAlt(a,m))k++;else{var s=fieldIsDoublePassword(a,m);if(!("text"==m.type&&(s===DOUBLE_PW_VISIBLE||s===DOUBLE_SECRET_PW_VISIBLE)))if("password"==m.type||h||"text"==m.type&&s===DOUBLE_TEXT_VISIBLE||"text"==m.type&&s===DOUBLE_SECRET_TEXT_VISIBLE){if(!("facebook.com"==f&&"string"==typeof m.id&&m.id.match(/^[a-z0-9]{6}_\d{1,2}_ci_password$/)))if("tdbank.com"==f&&"string"==typeof m.name&&"user"==m.name)k++;else{if(g_fillaid&&c)return!0;if(g_aspx_hack&&isASPpage()&&do_bgiconinput)verbose_log("ASP/bgicon login");else if(!lpIsVisible(m)||g_use_wacky_disp&&!is_wacky_disp(a,m))if(q=!0,l)verbose_log("EVALUATING HIDDEN FORM, NOT IGNORING HIDDEN FIELD ANYMORE "+LP_pickFormName(a,m));else continue;if(0==j&&1<e&&passwordIsFake(m))k++;else if(0<j&&1<e&&LP_looksLikeOTPField(a,m))k++;else if(m=2,h="",g_aspx_hack&&(isASPpage()&&do_bgiconinput)&&(m=4,h=" [ASP]"),++j>=m)return formcacheset(a,d,"is_login",!1),verbose_log("Password Form detection: "+d+h+" has too many password fields; do not treat as login form [PW:"+j+"/NON:"+k+"]"),null}}else if("email"==m.type||"text"==m.type||"textarea"==m.type||"tel"==m.type||"url"==m.type){if(!lpIsVisible(m)||g_use_wacky_disp&&!is_wacky_disp(a,m))if(l)verbose_log("EVALUATING HIDDEN FORM, NOT IGNORING HIDDEN FIELD ANYMORE "+LP_pickFormName(a,m));else continue;k++;if(g_aspx_hack&&5<k||!g_aspx_hack&&2<k)return formcacheset(a,d,"is_login",!1),verbose_log("Password Form detection: "+d+" has too many non-password fields; do not treat as login form [PW:"+j+"/NON:"+k+"]"),null}}}if(1==j)return verbose_log("Password Form detection: "+d+" is a login form, has only one passwd field"),formcacheset(a,d,"is_login",!0),!0;if(g_aspx_hack&&(isASPpage()&&do_bgiconinput)&&1<j)return verbose_log("Password Form detection: "+d+" is an ASP form, treat as login form"),formcacheset(a,d,"is_login",!0),!0;q||formcacheset(a,d,"is_login",!1);return!1}function LP_getElementByIdOrName(a,b,c){"document"==a&&(a=document);if(null==a||null==b||0==b.length||"undefined"==typeof a.getElementsByTagName)return null;c=c?c.toUpperCase():"INPUT";c.toLowerCase();for(var d=LP_getAllInputsByIdOrName(a,b,!0),e=[],f=0;f<d.length;f++)e[e.length]=d[f];var f=e.length,g=a.getElementById(b);if(null!=g){if(0==f||1==f&&(d[0]==g||null==d[0]))return g;e[e.length]=g}if(LP_name_is_inputidx(a,b)&&(b=LP_getinputidx_from_name(a,b),null!==b&&(g=LP_getElementByIdx(a,b),null!=g)))return g;if(1==f)return e[0];if(0==f)return null;b=[];d=0;f=-1;if("undefined"!=typeof Math){for(var g=Math.floor(1E4*Math.random()),h=0;h<e.length;h++)b[h]=0,e[h].tagName.toUpperCase()==c&&(b[h]+=20,e[h]&&(e[h].tagName&&"INPUT"==e[h].tagName.toUpperCase())&&"hidden"!=e[h].type&&(b[h]+=10)),null!=e[h].style&&"none"!=e[h].style.display&&checkIsDisplayed(a,e[h],0,null,g,!0)&&(b[h]+=5),do_bgiconinput&&(e[h]&&(e[h].tagName&&"INPUT"==e[h].tagName.toUpperCase())&&inputHasLPBackground(e[h]))&&(b[h]+=7),null!=e[h].style&&"hidden"!=e[h].style.visibility&&(b[h]+=3),e[h]==g_popupfill_parent&&null!=g_popupfill_parent?b[h]+=5:e[h]==a.g_popupfill_parent&&null!=a.g_popupfill_parent&&(b[h]+=5),b[h]>d&&(d=b[h],f=h);return 0<=f?e[f]:null}}function LP_getAllInputsByIdOrName(a,b,c){if(null==a||null==b||0==b.length||"undefined"==typeof a.getElementsByTagName)return null;var d=!0;null!==c&&(d=c);var e=a.getElementsByName(b);c=[];for(var f=0;f<e.length;f++)c[c.length]=e[f];if(d){a=a.getElementsByTagName("input");e=a.length;e>MAX_INPUTS_SOFT&&(e=MAX_INPUTS_SOFT);for(d=0;d<e;d++)a[d].id==b&&c.push(a[d])}else(b=LP_getElementByIdOrName(a,b))&&c.push(b);return c}function looksLikePassword(a,b){return isInputFieldPassword(a,b)}function isInputFieldPassword(a,b){if(null==a||null==b||"INPUT"!=b.tagName||"hidden"==b.type)return!1;try{var c=gettldcached(a.location.href)}catch(d){return!1}if(!valid_by_role(a,b))return!1;var e=!1;if("text"==b.type&&is_watermark(b.className)&&is_watermark_password(b))try{b.type="password"}catch(f){e=!0}if("text"==b.type&&(0==b.name.indexOf("pass")||0==b.name.toLowerCase().indexOf(lpgs("Password").toLowerCase())))return RegExp(lpgs("ff_username_regexp"),"i").exec(b.name)&&b.form&&b.form.action&&0<=b.form.action.indexOf("login")?!1:!0;g_aspx_hack&&isASPpage()&&do_bgiconinput&&"text"==b.type&&0<=b.value.toLowerCase().indexOf(lpgs("Password").toLowerCase())&&(e=!0);return"password"==b.type||e?"facebook.com"==c&&"string"==typeof b.id&&b.id.match(/^[a-z0-9]{6}_\d{1,2}_ci_password$/)||"tdbank.com"==c&&"string"==typeof b.name&&"user"==b.name||"google.com"==c&&"string"==typeof b.id&&"Passwd-hidden"==b.id?!1:!0:!1}function isEmptyObject(a){if("undefined"==typeof Object.keys){var b=Object,c=Object.prototype.hasOwnProperty,d=!{toString:null}.propertyIsEnumerable("toString"),e="toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),f=e.length;b.keys=function(a){if("object"!==typeof a&&("function"!==typeof a||null===a))throw new TypeError("Object.keys called on non-object");var b=[],j;for(j in a)c.call(a,j)&&b.push(j);if(d)for(j=0;j<f;j++)c.call(a,e[j])&&b.push(e[j]);return b}}return 0===Object.keys(a).length}function LP_getname(a,b){if("undefined"!=typeof a&&null!=a){if(b&&"string"==typeof a.id&&""!=a.id)return a.id;if("string"==typeof a.name&&""!=a.name)return a.name;if("string"==typeof a.id)return a.id}return""}function LP_getWindowWidth(a,b){g_ctr_getWW++;if(!a)return 0;var c=a.innerWidth,d=a.document;if(!d)return 0;var e=null;"undefined"!=typeof d.body?e=d.body:d.getElementById("main")&&(e=d.getElementById("main"));var f=d.getElementById("_lpinvis");null==f&&(f=d.createElement("div"),f.id="_lpinvis",f.style.left="0px",f.style.right="0px",f.style.top="0px",f.style.height="0px",f.style.visibility="hidden",e.appendChild(f));var g=LP_getComputedStyle("undefined"!=typeof window&&window?window:d.defaultView,e);if(!g)return 0;d=parseInt(g.marginLeft);g=parseInt(g.marginRight);0<f.offsetWidth&&(c=0<d||0<g?f.offsetWidth+g+d:f.offsetWidth);b||e.removeChild(f);return c}function LP_getWindowHeight(a){if(!a)return 0;if(a.innerHeight)return parseInt(a.innerHeight);var b=a.document.documentElement;b||(b=a.document.body);return b.clientHeight?parseInt(b.clientHeight):0}function LP_pos_viewport(a){if(!a)return[0,0];var b=0,c=0,d=null;a.document&&(d=a.document.documentElement,d||(d=a.document.body));c=a.pageYOffset?parseInt(a.pageYOffset):d&&d.scrollTop?parseInt(d.scrollTop):0;a.pageXOffset?b=parseInt(a.pageXOffset):d&&d.scrollLeft&&(b=parseInt(d.scrollLeft));isNaN(b)&&(b=0);isNaN(c)&&(c=0);return[b,c]}function checkDocumentForLoginOrphans(a){a||(a=LP_derive_doc());if(!a)return!1;var b=formcacheget(a,"fakedoc","orphan");if(null!=b)return g_ctr_formcache_hits++,b;g_ctr_formcache_misses++;var b=[],c=[],d=[],e=0,f,g=0;if("undefined"!=typeof Math){for(var h=Math.floor(1E4*Math.random()),j=["input"],k=0;k<j.length;k++)for(var l=a.getElementsByTagName(j[k]),n=0;n<l.length&&!(100<n);n++)if(checkIsDisplayed(a,l[n],0,null,h)){f=l[n];if(null!=f.id&&""!=f.id){var m=d[f.id];if(null==m)d[f.id]=!0;else continue}if(null!=f.name&&""!=f.name)if(m=c[f.name],null==m)c[f.name]=!0;else continue;if(lp_in_array(LP_pickFieldName(a,f),b))verbose_log("fieldname "+b[m]+" is blacklisted, skipping");else{var q=fieldIsDoublePassword(a,f);if(null==f.form&&("password"==f.type||"text"==f.type&&q===DOUBLE_TEXT_VISIBLE||"text"==f.type&&q===DOUBLE_SECRET_TEXT_VISIBLE))if(e++,(f=LP_pickFieldName(a,f))&&f.toLowerCase().indexOf(lpgs("Password"))&&0<n)f=LP_pickFieldName(a,l[n-1]),RegExp(lpgs("ff_username_regexp"),"i").exec(f)&&g++;if(2<=e&&2<=g)break}}if(1<=e||1==g)return formcacheset(a,"fakedoc","orphan",!0),!0;formcacheset(a,"fakedoc","orphan",!1);return!1}}function do_icon_mouseover(a,b,c){if(null==a||null==b)return!1;var d=a.getElementById(b+"_icon");if(g_use_grey_icons&&is_your_popup_showing(a))return null!=d&&(d.style.opacity="1",d.style.filter="alpha(opacity=100)"),!1;if(null!=d){var e=!0;if(null!=a.getElementById(b)){var f=!1;c=LP_pickFieldName(a,c);if(c=getIconState(a,c))f=c.fillhint;"formfills"==f?(d.src=ff_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';"),e=!1):"offersave"==f?e=!1:"generate"==f&&g_use_grey_icons&&(d.src=pw_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';"),e=!1)}e&&(d.src=sites_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_sites_ico+"';"));d.style.opacity="1";d.style.filter="alpha(opacity=100)"}g_do_icon_number_hint&&(a=a.getElementById(b+"_numspan"),null!=a&&g_icon_shading&&(a.style.backgroundColor="#CCFF99"))}function do_icon_mouseout(a,b,c){if(null==a||null==b)return!1;var d=a.getElementById(b+"_icon");if(g_use_grey_icons&&is_your_popup_showing(a))return null!=d&&(d.style.opacity="0.6"),!1;if(null!=d){if(null==a.getElementById(b))return!1;var e=!1;c=LP_pickFieldName(a,c);if(c=getIconState(a,c))e=c.fillhint;if(!e||"sites"!==e&&"formfills"!==e&&"generate"!==e&&"offersave"!==e)e="default";"default"==e||"sites"==e?(d.src=sites_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_sites_ico+"';"),d.style.opacity="0.6",d.style.filter="alpha(opacity=60)"):"formfills"==e?(d.src=ff_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';"),d.style.opacity="0.6",d.style.filter="alpha(opacity=60)"):"generate"==e&&(d.src=pw_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';"),d.style.opacity="0.6",d.style.filter="alpha(opacity=60)")}g_do_icon_number_hint&&(a=a.getElementById(b+"_numspan"),null!=a&&(g_icon_shading?a.style.backgroundColor="#FFFFFF":a.style.display=e&&g_icon_numbers&&1<g_icon_numbers[e]?"block":"none"))}function do_icon_number_hint(a,b,c){if("undefined"!=typeof g_icon_number_overrides){g_icon_number_overrides.sites=null==a||"undefined"!=typeof parseInt&&0>parseInt(a)||"undefined"==typeof parseInt&&0>a?-1:a;g_icon_number_overrides.formfills=null==b||"undefined"!=typeof parseInt&&0>parseInt(b)||"undefined"==typeof parseInt&&0>b?-1:b;if(do_bgiconinput){if(!c&&(c=LP_derive_doc(),!c))return;refresh_input_all_icon_bg(c)}g_isfirefox&&(LP&&"undefined"!=typeof g_icon_number_in_toolbar&&g_icon_number_in_toolbar)&&LP.lp_handle_buttons_all("refresh")}}function do_save_site_success_msg(a){if(g_show_save_success_msg){var b={waitms:1500,loc:"ur",id:"__lpsavemsgdiv",msg:lpgs("You have saved your password to your LastPass Vault.")};return popup_notification_msg(a,b)}return!1}function do_iframe_sad_msg(a){if(g_show_safari_csp_msg){var b={waitms:3500,loc:"urv",id:"__lpsadmsgdiv",msg:lpgs("The LastPass popup has been blocked from loading on this site. Please fill using the LastPass Icon.")};return popup_notification_msg(a,b)}return!1}function popup_notification_msg(a,b){a||(a=LP_derive_doc());if(!a||!b)return!1;var c=b.loc,d=b.id,e=b.waitms,f=b.msg,g=b.msghtml,h=window;!h&&"undefined"!=typeof LP&&(h=LP.getBrowser().ContentWindow);if(!a||!b||!f&&!g||!d||!c||!h)return!1;var j=a.createElement("DIV");j.id=d;var k=a.createElement("div");k.style.cssText="position:absolute !important; border-style:transparent !important; border-width:1px !important; border-color:transparent !important; font-size:9px; font-family: Arial,Helvetica,sans-serif; height:11px !umportant ; width: 11px !important; top:0px !important; right:0px !important; background-color: transparent; margin: 0 !important; ; padding: 0px 2px !important; text-align:center; cursor: pointer; ";LP_elt_set_text(k,"X");j.appendChild(k);var l=a.createElement("div");l.id=d+"_text";j.appendChild(l);f?LP_elt_set_text(l,f):g&&(l.innerHTML=g);d=LP_getWindowWidth(h);if(!d)return!1;(f=LP_getWindowHeight(h))||(f=0);g=f=0;switch(c){case "ul":g=f="25px";break;case "ulv":f=25+LP_pos_viewport(h)[0]+"px",g=25+LP_pos_viewport(h)[1]+"px";case "dock":break;case "urv":f=d-parseInt("210px")-30+"px";g=25+LP_pos_viewport(h)[1]+"px";break;default:f=d-parseInt("210px")-30+"px",g="25px"}c="position:absolute !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:transparent !important; border-width:1px !important; border-color:#4c4c4c !important; font-size:14px; font-family: Arial,Helvetica,sans-serif; width: 210px !important; top:"+g+" !important; left:"+f+" !important; background-color: #e6e6e6; margin: 4px !important; border-radius: 4px; padding: 5px 5px 5px 15px !important; background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMi1jMDAxIDYzLjEzOTQzOSwgMjAxMC8xMC8xMi0wODo0NTozMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpDQ0JFNTgxNzA4MjA2ODExOTJCMEZBNzdDQkU2Qjg4RiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1RTA4N0Y4OEZCQUYxMUUyOTAyNEMwRUQyN0ZDRTk1QyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1RTA4N0Y4N0ZCQUYxMUUyOTAyNEMwRUQyN0ZDRTk1QyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgRWxlbWVudHMgMTEuMCBNYWNpbnRvc2giPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyMEEzMzFENkUxMjA2ODExOTJCMEZBNzdDQkU2Qjg4RiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDQ0JFNTgxNzA4MjA2ODExOTJCMEZBNzdDQkU2Qjg4RiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqEZ7U4AAAAwUExURfL6+uHMzaoWLIoDFKVJJ2oEFsQaK7cCHMtfaNWrEcFJOsg2PsqnqdWGi584RAAAAIK7gZ4AAAAQdFJOU////////////////////wDgI10ZAAAAWUlEQVR42jzMUQ4AMQQEUKpoFnX/2+403exEZN4H1DHsZjQ9/kcOgsN4fVhURXVhxkRsBkxnPmCOg8xEzRyAuAOJEwVk0cIPAbbIriG5D6Zi31Fq/dOvAAMADDMDTO9yI2MAAAAASUVORK5CYII=); background-repeat:no-repeat; background-position: left top;background-attachment: scroll;";c="undefined"!=typeof j.style.opacity?c+"opacity: 1.0;":c+"filter:alpha(opacity=100)";j.style.cssText=c;"undefined"!=typeof a.body?a.body.appendChild(j):a.getElementById("main")&&a.getElementById("main").appendChild(j);e&&("number"==typeof e&&0<e)&&setTimeout(function(){close_popup_notification_msg(a,j.id,0);return!1},e);LP_addEventHandler(k,"click",function(){close_popup_notification_msg(a,j.id,null);return!1});return!0}function close_popup_notification_msg(a,b,c){a||(a=LP_derive_doc());if(!a||!b)return!1;var d=a.getElementById(b);if(d){"undefined"==typeof c?c=0:"string"==typeof c&&(c=parseInt(c));if(null===c||isNaN(c))return d.parentNode.removeChild(d),!1;c<FADE_MAXSTATES?("undefined"!=typeof d.style.opacity?d.style.opacity=(100-100/FADE_MAXSTATES*(c+1))/100:d.style.filter="alpha(opacity="+(100-20*(c+1))+")",c++,setTimeout(function(){close_popup_notification_msg(a,d.id,c);return!1},10)):d.parentNode.removeChild(d)}return!1}function destroy_save_site_success_msg(a,b,c){return close_popup_notification_msg(a,b,c)}function closepopupfills(a){if(do_experimental_popupfill&&(a||(a=document),null!=a)){g_isfirefox?clear_popup_heartbeat(g_popup_iframe_doc):g_isie||sendBG({cmd:"clear_popup_heartbeat"});"undefined"!=typeof g_popup_iframe_doc&&(g_popup_iframe_doc=null);g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&LP_inIframe(window)&&toplevel_iframe_state_get()&&sendBG({cmd:"closepopuptoplevel"});var b,c=a.getElementsByTagName("iframe"),d=[];for(b=0;b<c.length;b++)d[b]=c[b];for(b=0;b<c.length;b++){var e=d[b];if("undefined"!=typeof e.id&&null!=e.id){var f=LPMAGICIFRAME;0==e.id.indexOf(f)&&(g_use_grey_icons&&(f=e.id.substr(f.length),null!=LP_getElementByIdOrName(a,f)&&revert_clickable_icon(a,f)),verbose_log("deleting iframe named "+e.id),g_iframe_dims={},e.parentNode&&e.parentNode.removeChild(e))}}do_icon_number_hint(-1,-1,a);if(g_double_password_hack||g_double_secret_password_hack)if(g_double_secret_password_hack=g_double_password_hack=!1,g_input_cnt=0,g_isfirefox){for(a=LP.getBrowser().contentWindow;null!=a.top&&a.top!=a;)a=a.top;a=lpGetBrowserForDocument(a.document);verbose_log("checkShouldRecheck post closepopup");LP.checkShouldRecheck(a)}else g_double_password_wtf?(g_form_cnt=g_input_cnt=0,checkShouldRecheck()):(formcachereset(a),fieldcachereset(a),setupIcons(a));g_popupfill_parent_last=g_popupfill_parent;g_popupfill_parent=null;g_minheight_override=g_minwidth_override=g_popupfill_iframe_height_save=g_popupfill_iframe_width_save=g_popupfill_ctr=0;"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof init_LPfn&&(init_LPfn()&&LPfn)&&LPfn.ie_set_kbdnav(!1)}}function popupfill_resize(a){do_experimental_popupfill&&(a||(a=document?document:LP.getBrowser().contentDocument),null==a&&"undefined"!=typeof g_isfirefox&&g_isfirefox?end_weasel():0<get_doc_location_href(a).indexOf(".xul")||(relocate_popupfill_clickables(a),relocate_popupfill_iframes(a),!1==g_weaseled&&weasel(100),g_weaseled=!0))}var MSGDIVID="__lpsuggestmsgdiv";function do_save_suggest_msg(a,b){if(null!=b&&!do_bgiconinput)return!1}function destroy_save_suggest_msg(){return!1}function LP_measureTextCacheSet(a,b,c,d){if(null==a||null==b||null==c||0===b.length||0===c.length||null==d)return null;"undefined"==typeof a.g_LP_measureText_cache&&(a.g_LP_measureText_cache=[]);null==a.g_LP_measureText_cache[c]&&(a.g_LP_measureText_cache[c]={});a.g_LP_measureText_cache[c][b]=d;return!0}function LP_measureTextCacheGet(a,b,c){return null==a||(null==b||null==c||0===b.length||0===c.length)||"undefined"==typeof a.g_LP_measureText_cache?null:null!=a.g_LP_measureText_cache[c]&&null!=a.g_LP_measureText_cache[c][b]?a.g_LP_measureText_cache[c][b]:null}function chk_form_changepw(a,b){if(null==a||null==b)return!1;for(var c=lpCheckCurrentPWField(b),d=!1,e=null,f=null,g=1;2>=g;g++){var d=!1,e=f=null,h=-1;if(1==g){if(c)for(var j=0;j<b.elements.length;j++)if(b.elements[j]==c){h=j+1;break}}else h=0;if(-1!=h){for(j=h;j<b.elements.length;j++)if(h=b.elements[j],"FIELDSET"!=h.tagName)if(isInputFieldPassword(a,h)){if(d||!e||!f)if(f=e,e=h,d&&e&&f)break;d=!0}else d=!1;if(e&&f)break}}return null!=e&&null!=f&&null!=c?!0:!1}function change_clickable_icon_to_cancel(a,b){if(null!=a&&g_use_grey_icons){var c=a.getElementById(b+"_icon");if(null!=c){if(null==a.getElementById(b))return!1;c.src=close_svg;c.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_close_ico+"';");c.style.opacity="0.6";c.style.filter="alpha(opacity=60)"}}}function revert_clickable_icon(a,b){verbose_log("entered revert_clickable_icon");if(null!=a&&g_use_grey_icons){var c=LP_getElementByIdOrName(a,b),d=getIconState(a,b),e=!1,f="sites";d&&"undefined"!=typeof d.dofloater&&(e=d.dofloater);d&&"undefined"!=typeof d.fillhint&&(f=d.fillhint);verbose_log("entered BG image revert");c?e?reset_floating_icon(a,c,f):set_input_icon_image(a,c,f):verbose_log("could not find field named "+field_id)}}function visual_cue_frag(a,b){var c="";if(null===a||0>=a.length)return c;popup_show_menu_expand_visual_cue&&(c="",g_visual_cue_on_hover&&(c=" style='display:none;'"),c="<span id='"+a+lp_ofa(b)+"' expander='true' class='expander' "+c+"><img id='"+a+"img"+lp_ofa(b)+"' src='arrow.png' />  </span>\n");return c}function conditional_create_popup(){return!1}function form_get_password(a,b){if(null==a||null==b)return null;g_ctr_form_get_password_N++;var c=b.elements;if("undefined"!=typeof Math){for(var d=Math.floor(1E4*Math.random()),e=0;e<c.length;e++){var f=c[e];if("FIELDSET"!=f.tagName&&checkIsDisplayed(a,f,0,null,d)&&isInputFieldPassword(a,f))return f}return null}}function form_get_username(a,b){if(null==a||null==b)return null;g_ctr_form_get_username_M++;var c=b.elements;if("undefined"!=typeof Math){for(var d=Math.floor(1E4*Math.random()),e=0;e<c.length;e++){var f=c[e];if(!("FIELDSET"==f.tagName||"hidden"==f.type))if(valid_by_role(a,f)&&!LP_fieldIsDisabled(f)&&!is_search_field(a,f,!0)&&checkIsDisplayed(a,f,0,null,d)&&("text"==f.type||"email"==f.type||looksLikeUsername(f))){if(isFirstFieldNonLoginSubForm(a,f))break;return f}}return null}}function doc_get_orphan_username(a){if(null==a)return null;g_ctr_orphan_get_username_P++;var b=["input"];if("undefined"!=typeof Math){for(var c=Math.floor(1E4*Math.random()),d=0;d<b.length;d++)for(var e=a.getElementsByTagName(b[d]),f=0;f<e.length;f++){if(100<f)return null;var g=e[f];if(null==g.form&&checkIsDisplayed(a,g,0,null,c)&&("text"==g.type||"email"==g.type||looksLikeUsername(g)))return g}return null}}function doc_get_orphan_password(a){if(null==a)return null;g_ctr_orphan_get_password_Q++;var b=["input"];if("undefined"!=typeof Math){for(var c=Math.floor(1E4*Math.random()),d=0;d<b.length;d++)for(var e=a.getElementsByTagName(b[d]),f=0;f<e.length;f++){if(100<f)return null;var g=e[f];if(null==g.form&&checkIsDisplayed(a,g,0,null,c)&&isInputFieldPassword(a,g))return g}return null}}function set_active_username_password(a,b){if(null==a)g_popup_active_password=g_popup_active_username=null;else{var c=null,d=null;null==b?checkDocumentForLoginOrphans(a)&&(c=doc_get_orphan_username(a),d=doc_get_orphan_password(a)):(c=form_get_username(a,b),d=form_get_password(a,b));g_popup_active_username=c;g_popup_active_password=d}}function looksLikeEmail(a,b){return null==a||null==b||!("text"==b.type||"email"==b.type)?!1:"email"==b.type||RegExp(lpgs("ff_email_regexp"),"i").exec(b.name)?!0:!1}function is_search_field(a,b,c){if(null==a||(null==b||"INPUT"!=b.tagName)||"text"!=b.type)return!1;null===c&&(c=!1);var d=LP_pickFieldName(a,b),e=fieldcacheget(a,d,"search");if(null!=e)return g_ctr_formcache_hits++,e;g_ctr_formcache_misses++;var e=b.form,f=[];null!=e&&(f=e.elements);if(b.parentNode&&"FORM"!=b.parentNode.tagName&&b.parentNode.className&&0<=b.parentNode.className.toLowerCase().indexOf("login")&&b.className&&0<=b.className.toLowerCase().indexOf("search"))return!1;if((null!=b.className&&0<=b.className.toLowerCase().indexOf("search")||0<=b.className.toLowerCase().indexOf("srch")||0<=b.id.toLowerCase().indexOf("search")||0<=b.id.toLowerCase().indexOf("srch")||0<=b.name.toLowerCase().indexOf("search")||0<=b.name.toLowerCase().indexOf("srch"))&&0>b.name.toLowerCase().indexOf("user")&&0>b.name.toLowerCase().indexOf("login")&&0>b.id.toLowerCase().indexOf("user")&&0>b.id.toLowerCase().indexOf("login")&&(c||5>f.length))return fieldcacheset(a,d,"search",!0),!0;c=RegExp(lpgs("ff_search_regexp"),"i");if(c.exec(b.name)||c.exec(b.id))if(c=b.name&&b.name.match(/[qQ]/)||b.id&&b.id.match(/[qQ]/),e=RegExp(lpgs("ff_email_regexp"),"i"),f=RegExp(lpgs("ff_username_regexp"),"i"),c&&b.name&&!b.name.match(/^[qQ]/)&&(!b.id||b.id&&!b.id.match(/^[qQ]/)))pass;else if(c&&b.id&&!b.id.match(/^[qQ]/)&&(!b.name||b.name&&!b.name.match(/^[qQ]/)))pass;else if(c&&(f.exec(b.name)||f.exec(b.id)||e.exec(b.name)||e.exec(b.id)))pass;else return verbose_log("field "+d+" appears to be a search field based on regexp"),fieldcacheset(a,d,"search",!0),!0;c=b.getAttribute("placeholder");if(null!=c&&0<=c.toLowerCase().indexOf("search"))return verbose_log("field "+d+" appears to be a search field based on placeholder text"),fieldcacheset(a,d,"search",!0),True;if("rds-instances-filter-txtbx"==b.id)return verbose_log("field "+d+" appears to be a search field based on manually added searchtext"),fieldcacheset(a,d,"search",!0),!0;if(b.parentNode&&"FORM"!=b.parentNode.tagName&&b.parentNode.className&&(0<=b.parentNode.className.toLowerCase().indexOf("search")||0<=b.parentNode.className.toLowerCase().indexOf("srch"))||"search"==b.getAttribute("role"))return fieldcacheset(a,d,"search",!0),!0;c=b.getAttribute("spellcheck");if(b.className&&0<=b.className.indexOf("tt-input")&&c&&"false"===c)return fieldcacheset(a,d,"search",!0),!0;fieldcacheset(a,d,"search",!1);return!1}function is_date_field(a){if(!a)return!1;var b=a.name,c=/(?:date)|(?:calendar)/i,d=/(?:validate)/i,b=a.name,e=a.id,f=a.className;if(c.exec(b)||c.exec(e)||c.exec(f))return d.exec(b)||d.exec(e)||d.exec(f)?!1:!0;if(a=a.getAttribute("placeholder"))if(a=a.toLowerCase(),-1!=a.indexOf("yyyy")||-1!=a.indexOf("/yy")||-1!=a.indexOf("mm/"))return!0;return!1}function is_search_form(a,b){if(null==a||null==b||"FORM"!=b.tagName)return!1;var c=LP_pickFormName(a,b),d=formcacheget(a,c,"search");if(null!=d)return g_ctr_formcache_hits++,d;g_ctr_formcache_misses++;if(null!=b.id&&0<b.id.length&&"undefined"!=typeof b.id.toLowerCase&&(0<=b.id.toLowerCase().indexOf("search")||0<=b.id.toLowerCase().indexOf("srch"))||null!=b.name&&0<b.name.length&&"undefined"!=typeof b.name.toLowerCase&&(0<=b.name.toLowerCase().indexOf("search")||0<=b.name.toLowerCase().indexOf("srch")))return verbose_log("form "+c+" appears to be a search form based on name/id "),formcacheset(a,c,"search",!0),!0;if("search"==b.getAttribute("role"))return formcacheset(a,c,"search",!0),!0;formcacheset(a,c,"search",!1);return!1}function LP_pickFormName(a,b){var c="none";if(null!=b&&(c=LP_getname(b,LP_GETNAME_FAVOR_ID_OVER_NAME),null==c||0>=c.length))null!=b.action&&"string"==typeof b.action&&0<=b.action.length||null!=b.className&&0<=b.className.length?(c=b.action,"string"!=typeof c&&(c=b.getAttribute("action")),c="FF"+c+b.className):c="none";return c}function looksLikeUsername(a,b){if("undefined"==typeof b||null===b)b=!1;g_ctr_looksLikeUsername_R++;if(!b&&"text"!=a.type&&"email"!=a.type&&"url"!=a.type)return!1;var c=RegExp(lpgs("ff_username_regexp"),"i");if(c.exec(a.name)||a.id&&c.exec(a.id))return!0;var d=a.getAttribute("placeholder");if(null!=d&&0<=d.indexOf("Login"))return!0;d=RegExp(lpgs("ff_loginform_regexp"),"i");if(a.form)for(var e=a.form.elements,f=0;f<e.length;f++)if("submit"==e[f].type&&(e[f].name&&c.exec(e[f].name)||d.exec(e[f].name)))return!0;c=/^id$|.*-id|online.*id$|.*Id$/i;if(c.exec(a.name))return!0;if(g_is_specialsite){c=RegExp(lpgs("ff_bankacctnum_regexp"),"i");if(c.exec(a.name))return!0;c=RegExp(lpgs("ff_company_regexp"),"i");if(c.exec(a.name))return!0;c=RegExp(lpgs("ff_email_regexp"),"i");if(c.exec(a.name))return!0}return!1}function formHasUsernameField(a){if(a=a.form){a=a.elements;for(var b=0;b<a.length;b++){var c=a[b];if("text"==c.type||"email"==c.type)return!0}}return!1}var DOUBLE_TEXT_VISIBLE=1,DOUBLE_PW_VISIBLE=2,DOUBLE_SECRET_TEXT_VISIBLE=3,DOUBLE_SECRET_PW_VISIBLE=4,NOT_DOUBLE_PW=0;function fieldIsDoublePassword(a,b){"document"==a&&(a=document,b=LP_getElementByIdOrName(a,b));if(null==a&&(a=document,!a))return!1;if(null==b||"checkbox"==b.type||"button"==b.type||"submit"==b.type||"select-one"==b.type)return NOT_DOUBLE_PW;var c=null,d=null,e=null,f=null;if("undefined"!=typeof b.previousElementSibling)c=b.previousElementSibling;else if((c=b.previousSibling)&&null!=c.nodeType&&3==c.nodeType)c=c.previousSibling;if("undefined"!=typeof b.nextElementSibling)d=b.nextElementSibling;else if((d=b.nextSibling)&&null!=d.nodeType&&3==d.nodeType)d=d.nextSibling;c&&"INPUT"!=c.tagName&&(c=null);d&&"INPUT"!=d.tagName&&(d=null);if(c){if("undefined"!=typeof c.previousElementSibling)e=c.previousElementSibling;else if((e=c.previousSibling)&&null!=e.nodeType&&3==e.nodeType)e=e.previousSibling;e&&"INPUT"!=e.tagName&&(e=null)}if(d){if("undefined"!=typeof d.nextElementSibling)f=d.nextElementSibling;else if((f=d.nextSibling)&&null!=f.nodeType&&3==f.nodeType)f=f.nextSibling;f&&"INPUT"!=f.tagName&&(f=null)}if("undefined"!=typeof Math){var g=Math.floor(1E4*Math.random());if("password"==b.type&&!checkIsDisplayed(a,b,-1,null,g)&&c&&"text"==c.type&&!checkIsDisplayed(a,c,-1,null,g)&&d&&"text"==d.type&&checkIsDisplayed(a,d,-1,null,g)&&f&&"text"==f.type&&checkIsDisplayed(a,f,-1,null,g)||"text"==b.type&&checkIsDisplayed(a,b,-1,null,g)&&c&&"text"==c.type&&checkIsDisplayed(a,c,-1,null,g)&&e&&"password"==e.type&&!checkIsDisplayed(a,e,-1,null,g))return verbose_log("field "+LP_pickFieldName(a,b)+" needs double secret password hack"),g_double_secret_password_hack=!0,DOUBLE_SECRET_TEXT_VISIBLE;if("password"==b.type&&checkIsDisplayed(a,b,-1,null,g)&&c&&"text"==c.type&&!checkIsDisplayed(a,c,-1,null,g)||"text"==b.type&&!checkIsDisplayed(a,b,-1,null,g)&&d&&"password"==d.type&&checkIsDisplayed(a,d,-1,null,g))return verbose_log("field "+LP_pickFieldName(a,b)+" needs double password hack"),g_double_password_hack=!0,DOUBLE_PW_VISIBLE;var e=null!=b&&lpIsVisible(b,!0),f=null!=c&&lpIsVisible(c,!0),g=null!=d&&lpIsVisible(d,!0),h=null!=b&&looksLikeUsername(b),j=null!=c&&looksLikeUsername(c),k=null!=d&&looksLikeUsername(d);return"password"==b.type&&!e&&c&&"text"==c.type&&f&&!j||"text"==b.type&&e&&!h&&d&&"password"==d.type&&!g||"password"==b.type&&!e&&d&&"text"==d.type&&g&&!k||"text"==b.type&&e&&!h&&c&&"password"==c.type&&!f?(verbose_log("field "+LP_pickFieldName(a,b)+" needs double password hack"),g_double_password_hack=!0,DOUBLE_TEXT_VISIBLE):"password"==b.type&&e&&c&&"text"==c.type&&!f&&!j||"text"==b.type&&!e&&d&&"password"==d.type&&g||"password"==b.type&&e&&d&&"text"==d.type&&!g&&!k||"text"==b.type&&!e&&c&&"password"==c.type&&f?(verbose_log("field "+LP_pickFieldName(a,b)+" needs double password hack"),g_double_password_hack=!0,DOUBLE_PW_VISIBLE):NOT_DOUBLE_PW}}var g_did_setupInputObserver=!1;function setupInputObserver(a){null==a&&(a=document);var b;if(b=do_experimental_popupfill)b="undefined"!=typeof g_isfirefox&&g_isfirefox?a?a.g_did_setupInputObserver:null:g_did_setupInputObserver,b=!b;if(b){b="undefined"!=typeof window&&window?window:a.defaultView;var c=null;if("undefined"!=typeof WebKitMutationObserver)c=new WebKitMutationObserver(function(a){mutationObserverCallBack(a)});else if("undefined"==typeof MutationObserver)if("undefined"!=typeof b.MutationObserver){if(a&&a.location&&a.location.href.indexOf(".xul"))return;c=new b.MutationObserver(function(a){mutationObserverCallBack(a)})}else return;null!=c&&(c.observe(a,{childList:!0,subtree:!0}),"undefined"!=typeof g_isfirefox&&g_isfirefox?a&&(a.g_did_setupInputObserver=!0):g_did_setupInputObserver=!0)}}function mutationObserverCallBack(a){g_ctr_mutation_observer++;var b=!1;a.forEach(function(a){g_isfirefox&&LP.getBrowser();var c;if(!1==b)for(c=0;c<a.addedNodes.length;c++){var f=a.addedNodes[c];if("INPUT"==f.tagName||"SCRIPT"==f.tagName&&""!=f.src&&""===f.innerHTML){b=!0;break}}if(!1==b)for(c=0;c<a.removedNodes.length;c++)if("INPUT"==a.removedNodes[c].tagName){b=!0;break}});a=(new Date).getTime();if(b){if(g_isfirefox){for(var c=LP.getBrowser().contentWindow;null!=c.top&&c.top!=c;)c=c.top;c=lpGetBrowserForDocument(c.document);verbose_log("mutation observer triggers checkShouldRecheck");LP.checkShouldRecheck(c)}else checkShouldRecheck();g_last_recheck=a}}function enableScrollOnIframe(a,b){null==b&&(b=document?document:LP.getBrowser().contentDocument);if(null==b)return null;verbose_log("enabling Scroll on Iframe for "+b.location.href);var c=b.getElementsByTagName("IFRAME"),d,e=null;if(null!=c&&0<c.length)for(d=0;d<c.length;d++){var e=c[d],f=a.replace(/^(https:|http:)/,"");verbose_log("checking iframe src="+lp_ofa(e.src)+" passed href="+lp_ofa(a));if(e.src==a||0<e.src.indexOf(a)||0<e.src.indexOf(f))"undefined"!=typeof g_isie&&g_isie?(e.setAttribute("scrolling","auto"),e.style.overflow="visible",e.style.maxHeight="none"):(e.setAttribute("scrolling","auto"),e.style.overflow="auto"),verbose_log("enabling scroll on iframe to "+lp_ofa(a))}}function enableScrollWithinIframe(a,b){null==a&&(a=document);null==b&&(b=window);if(is_your_popup_showing(a)&&get_win_self(b)!=b.top)if(verbose_log("enabling scroll on body of iframe"),g_isfirefox)a.body.style.overflow="auto";else if(g_isie){var c=0;"undefined"!=typeof init_LPfn&&(init_LPfn()&&LPfn)&&(c=LPfn.getDocumentMode(document));7<c?(a.body.style.overflow="visible",a.body.setAttribute("scroll","auto")):a.body.setAttribute("overflow","auto")}else a.body.style.overflow="auto"}function LP_getIframeBySrc(a,b){null==a&&(a=document);var c=a.getElementsByTagName("IFRAME"),d;for(d=0;d<c.length;d++)if(c[d].src==b)return c[d];return null}function destroy_clickables(a){do_experimental_popupfill&&(a||(a=document),null!=a&&(end_weasel(a),closepopupfills(a),closeclickableicons(a),g_save_suggest_msg&&setTimeout(function(){destroy_save_suggest_msg(a,MSGDIVID,null);return!1},0),g_isie&&remove_LPfn()))}function closeclickableicons(a){if(do_experimental_popupfill&&(a||(a=document),null!=a)){verbose_log("closeclickableicons called on "+a.location.href);var b=getAllIconStates(),c,d;for(c=0;c<b.length;c++){var e=b[c];(d=e.IHTMLElement)||(d=LP_getElementByIdOrName(a,e.idorname));if(!e.dofloat&&e.inframe&&!d)if(g_isfirefox)try{var f,g,h=a.getElementsByTagName("IFRAME");for(f=0;f<h.length;f++)g=h[f].contentDocument,(d=LP_getElementByIdOrName(g,e.idorname))&&"INPUT"==d.tagName&&removeLPBackground(d)}catch(j){verbose_log("Error frame traverse "+j.message),g=null}else!g_isie&&g_create_iframe_in_top&&pass;else!e.dofloater&&(d&&inputHasLPBackground(d))&&removeLPBackground(d);resetAllIconStates()}b=LP_get_icon_divs(a);for(f in b)b.hasOwnProperty(f)&&null!=a.getElementById(b[f])&&(g_do_icon_number_hint&&LP_delete_floating_icon_hint(a,b[f]),LP_delete_floating_icon(a,b[f]));LP_reset_icon_divs(a)}}function sort_popupfill_bylasttouch(a,b){return(null==b||null==b.last_touch||0==b.last_touch?1073741824:b.last_touch)-(null==a||null==a.last_touch||0==a.last_touch?1073741824:a.last_touch)}function ContigPWHack(a,b,c){null===a&&(a=document);if(null===a||"undefined"==typeof a.getElementsByTagName)return!1;var d=lpCountInputFields(b);if("undefined"!=typeof Math){b=Math.floor(1E4*Math.random());if((3==d.passwordvisible||4==d.passwordvisible)&&!0===d.passwordsContiguous)for(var e=a.getElementsByTagName("input"),d=0;d<e.length&&!(100<d);d++)if(e[d]==c){if("undefined"!=typeof e[d+1]&&"password"==e[d+1].type&&"undefined"!=typeof e[d+2]&&"password"==e[d+2].type&&checkIsDisplayed(a,e[d],-1,null,b)&&checkIsDisplayed(a,e[d+1],-1,null,b)&&checkIsDisplayed(a,e[d+2],-1,null,b))return!0;break}return!1}}function isContigPW(a,b,c){null==b&&(b=a);var d=b.getElementsByTagName("input");if("undefined"!=typeof Math){var e=Math.floor(1E4*Math.random());for(b=0;b<d.length;b++)if(d[b]==c&&"password"==d[b].type){if("undefined"!=typeof d[b+1]&&"password"==d[b+1].type&&checkIsDisplayed(a,d[b],-1,null,e)&&checkIsDisplayed(a,d[b+1],-1,null,e)||"undefined"!=typeof d[b-1]&&"password"==d[b-1].type&&checkIsDisplayed(a,d[b],-1,null,e)&&checkIsDisplayed(a,d[b-1],-1,null,e))return!0;break}return!1}}function get_prev_field(a,b){if("undefined"!=typeof b.previousElementSibling)prev_field=b.previousElementSibling;else if((prev_field=b.previousSibling)&&null!=prev_field.nodeType&&prev_field.nodeType==TEXT_NODE)prev_field=prev_field.previousSibling}function get_next_field(a,b){if("undefined"!=typeof b.nextElementSibling)next_field=b.nextElementSibling;else if((next_field=b.nextSibling)&&null!=next_field.nodeType&&next_field.nodeType==TEXT_NODE)next_field=next_field.nextSibling}function is_modifier_key(a){if("undefined"!=typeof KeyEvent){if(a==KeyEvent.DOM_VK_ALT||a==KeyEvent.DOM_VK_SHIFT||a==KeyEvent.DOM_VK_CONTROL||a==KeyEvent.DOM_VK_WIN||a==KeyEvent.DOM_VK_META)return!0}else if(16==a||17==a||18==a||91==a||92==a||224==a)return!0;return!1}var tldcache=[];function gettldcached(a){try{if("undefined"!=typeof tldcache[a])return tldcache[a];var b="undefined"!=typeof punycode?lp_gettld_url(punycode.URLToASCII(a)):lp_gettld_url(a);return tldcache[a]=b}catch(c){return lp_gettld_url(a)}}var g_tutorial_flags,TUTORIAL_FLAG_LPOV=1,TUTORIAL_FLAG_CONTEXT=2,g_context_tip_shown=0;function setup_input_icon(a,b,c,d,e){if(null==b)return verbose_log("setup_input_icon: ERROR passed null field"),!1;g_isfirefox&&(LP&&"undefined"!=typeof g_icon_number_in_toolbar&&g_icon_number_in_toolbar)&&LP.lp_handle_buttons_all("refresh");var f=null,f="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;if(!do_experimental_popupfill)return!1;a||(a=f);var g=LP_pickFieldName(a,b);if(null==b||(!f||!a)||LP_explicit_ignored(a,b))return!1;var h=getIconState(a,g);if(h&&h.IHTMLElement==b&&(inputHasLPBackground(b)||LP_floating_icon_exists(a,g)))return!1;h=null;if("generate"==c||!e&&shouldOfferGenerate(a,b))c="generate";var j=gettldcached(a.location.href),h=shouldCreateFloatingIcon(a,b,j),k=LP_get_text_dir(b);!1===k&&pass;if(LP_fieldIsReadOnly(b)||LP_fieldIsDisabled(b))return!1;f=a!=f;g_create_iframe_in_top&&(!g_isie&&!g_isfirefox&&LP_inIframe(window))&&(f=!0);e={fillhint:c,fillhintnumber:d[c],inframe:f,idorname:g,doctld:j,dofloater:h?1:0,no_check_generate:e?1:0,IHTMLElement:b,textdir:k};if(h)if(g_isfirefox&&verbose_log("setup_input_icon step3b"),lpIsVisible(b)&&(null==b.form||b.form&&lpIsVisible(b.form)))saveIconState(g,e,b),LP_create_floating_icon(a,b,c,d);else return!1;else saveIconState(g,e,b),set_input_icon_image(a,b,c,!1);set_bg_highlight_effect_handlers(a,b,c);LP_didDocumentEscapeEvent(a)||(LP_setDocumentEscapeEvent(a),LP_addEventHandler(a,"keydown",function(a){LP_keypress_handler(a)},!1));LP_didFieldKeyEvent(a,b)?verbose_log("skip KEYDOWN HANDLER ON "+LP_pickFieldName(a,b)):(verbose_log("SETTING KEYDOWN HANDLER ON "+LP_pickFieldName(a,b)),LP_setFieldKeyEvent(a,b),LP_addEventHandler(b,"keydown",function(d){LP_field_keypress_handler(d,b,c,a)},!1),g_isfirefox&&LP_addEventHandler(b,"keyup",function(c){handle_form_text_change(a,b,b.form,c)},!1));return!1}function refresh_input_icon_bg(a,b,c){if(!a&&(a=LP_derive_doc(),!a))return null;b&&set_input_icon_image(a,b,c,!1)}function refresh_input_all_icon_bg(a){null==a&&(a=document);if(null!=a){try{if(0<a.location.href.indexOf(".xul"))return;verbose_log("refreshing input icons on "+a.location.href)}catch(b){return}var c=getAllIconStates(),d;for(d=0;d<c.length;d++){var e=c[d].idorname,f=c[d].fillhint,g=c[d].dofloater,h=c[d].IHTMLElement;element_is_detached(a,h,0)&&(h=null);h||(h=LP_getElementByIdOrName(a,e));h&&!g&&refresh_input_icon_bg(a,h,f)}}}function saveIconState(a,b,c){try{a=null;a="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;"undefined"==typeof a.lpiconarr&&(a.lpiconarr=[]);var d;for(d=0;d<a.lpiconarr.length;d++){var e=a.lpiconarr[d];if(e.idorname==b.idorname&&e.IHTMLElement==b.IHTMLElement&&e.inframe==b.inframe){if(!checkIsDisplayed(c.ownerDocument,c,null,null,null,!0))return;a.lpiconarr.splice(d,1)}}a.lpiconarr.push(b)}catch(f){verbose_log("save error "+f.message)}}function getIconState(a,b){var c=null,c="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document,d={};if("undefined"!=typeof c.lpiconarr){var e;for(e=0;e<c.lpiconarr.length;e++){var f=c.lpiconarr[e];if(f.idorname==b&&(!g_isfirefox||f.inframe==(a!=c)))d=f}}return d}function hasIconState(a,b){return getIconState(a,b)?!0:!1}function deleteIconState(a,b){var c=null,c="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;verbose_log("delete icon state from "+c.location.href+" for "+b);if("undefined"!=typeof c.lpiconarr){var d;for(d=0;d<c.lpiconarr.length;d++){var e=c.lpiconarr[d];e.idorname==b&&(!g_isfirefox||e.inframe==(a!=c))&&c.lpiconarr.splice(d,1)}}}function getAllIconStates(){var a=null,a="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;verbose_log("getting all icon states for "+a.location.href);return"undefined"!=typeof a.lpiconarr?a.lpiconarr:[]}function resetAllIconStates(){var a=null,a="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;verbose_log("resetting icon states for "+a.location.href);a.lpiconarr=[]}var origstyle={};function set_input_icon_image(a,b,c,d){var e,f=[];f[0]=g_sites_light_ico;f[1]=g_pw_light_ico;f[3]=g_close_light_ico;f[-1]="";f[2]=g_ff_light_ico;f[16]=g_sites_ico;f[17]=g_pw_ico;f[19]=g_close_ico;f[-17]="";f[18]=g_ff_ico;if(null==b||b.tagName&&"undefined"!=typeof b.tagName.toUpperCase&&"INPUT"!=b.tagName.toUpperCase())return!1;"undefined"==typeof c||null==c?e=0:"formfills"==c?e=2:"sites"==c?e=0:"generate"==c?e=1:"cancel"==c&&(e=3);d&&(e|=16);var g=LP_fieldGetWidth(b),h=!1;if("sites"==c||g_is_specialsite)h=!0;if(!LP_iconFieldWidthOK(b,g,h))return!0;c=b.style.border;g=b.style.backgroundImage;if(""==g)if(origstyle[b]=j,"undefined"!=typeof g_isie&&g_isie&&b.currentStyle)g=b.currentStyle.backgroundImage,c=b.currentStyle.border;else try{var j=b.ownerDocument.defaultView.getComputedStyle(b,""),g=j.backgroundImage;c=j.border}catch(k){"undefined"!=typeof b.currentStyle&&(g=b.currentStyle.backgroundImage,c=b.currentStyle.border)}"none"==g&&(g="");0<=e&&("undefined"==typeof f[e]&&verbose_log("no icon defined for iconval="+e),a=LP_getloggedin()?0==e||16==e?getnumbericon(a,b,d):f[e]:f[e],g!="url("+a+")"&&(b.style.backgroundImage="url("+a+")",a=b.ownerDocument.location.href,0<=a.indexOf("live.com")?b.style.paddingRight="18px":0<=a.indexOf("twitter.com")&&(b.style.paddingRight="16px"),g_issafari&&""!==c&&0<c.indexOf("inset")&&c.replace("inset",""),"no-repeat"!=b.style.backgroundRepeat&&(b.style.backgroundRepeat="no-repeat"),"scroll"!=b.style.backgroundAttachment&&(b.style.backgroundAttachment="scroll"),"center right"!=b.style.backgroundPosition&&(b.style.backgroundPosition="center right")));return!0}function set_bg_highlight_effect_handlers(a,b,c){b&&(LP_didFieldMouseEvent(a,b)||(LP_setFieldMouseEvent(a,b),LP_addEventHandler(b,"mouseover",function(d){bg_highlight_effect_mouseover(d,a,b,c)}),LP_addEventHandler(b,"mouseout",function(d){bg_highlight_effect_mouseout(d,a,b,c)}),LP_addEventHandler(b,"mousemove",function(d){bg_highlight_effect_mousemove(d,a,b,c)})),"sites"==c&&LP_getloggedin()&&(!g_isfirefox&&!g_isie)&&b.setAttribute("autocomplete","off"))}function bg_highlight_effect_mousemove(a,b,c){null==a&&(a=window.event);a=LP_getMousePos(a);if(!(0>=a.x&&0>=a.y))if(b=LP_getAbsolutePos(b,c),0>=b.width&&0>=b.height)verbose_log("skipping field "+obj.idorname+" : no valid position");else{var d=b.left+b.width-20;d<b.left&&(d=b.left);c.style.cursor=d<a.x&&b.left+b.width>a.x&&b.top<a.y&&b.top+b.height>a.y?"pointer":"auto"}}function bg_highlight_effect_mouseover(a,b,c,d){null==a&&(a=window.event);if(!(is_your_popup_showing(b)&&b.g_popupfill_parent==c)&&LP_getEventTarget(a)==c){a=d;d=!1;var e=getIconState(b,LP_pickFieldName(b,c));!a&&(e&&e.hint)&&(a=e.hint);e&&e.dofloater&&(d=e.dofloater);a&&!d&&set_input_icon_image(b,c,a,!0)}}function bg_highlight_effect_mouseout(a,b,c,d){if(!(is_your_popup_showing(b)&&b.g_popupfill_parent==c)){a=d;d=!1;var e=getIconState(b,LP_pickFieldName(b,c));!a&&(e&&e.hint)&&(a=e.hint);e&&e.dofloater&&(d=e.dofloater);a&&!d&&set_input_icon_image(b,c,a,!1)}}function lp_docinfoFromEvent(a){var b=null,b="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document,c=null,d=LP_getEventTarget(a).ownerDocument;if(d!=b){c=d;try{verbose&&(c&&c.location)&&verbose_log("click inside iframe "+c.location.href)}catch(e){pass}}a=LP_getEventTarget(a);var f=LP_pickFieldName(d,a);return{topdoc:b,framedoc:c,eventdoc:d,target:a,targetname:f}}function icon_click_handler(a){var b=lp_docinfoFromEvent(a),c=b.topdoc,d=b.framedoc,e=b.eventdoc,f=b.target,b=b.targetname,g=!1,h=LP_getMousePos(a);if(0>=h.x&&0>=h.y){if(e&&e.location&&e.location.href&&0<e.location.href.indexOf(".xul"))return!0}else{try{c&&c.body&&c.body.getAttribute("data-fouc-class-names")&&0<=c.body.getAttribute("data-fouc-class-names").indexOf("swift-loading")&&(0<getAllIconStates().length?refresh_input_all_icon_bg(c):window&&window.setTimeout(function(){g_input_cnt=-1;doc_create_clickable_icons(c,"",SHOULD_DO_ALWAYS,g_is_specialsite)},50))}catch(j){}for(var k=getAllIconStates(),l=0;l<k.length;l++){var n=k[l].IHTMLElement,m=k[l].idorname,e=k[l].fillhint;g_isfirefox&&k[l].inframe?element_is_detached(d,n,0)&&(n=LP_getElementByIdOrName(d,m),refresh_input_icon_bg(d,n,e),k[l].IHTMLElement=n):element_is_detached(c,n,0)&&(n=LP_getElementByIdOrName(c,m),refresh_input_icon_bg(c,n,e),k[l].IHTMLElement=n)}var k=getAllIconStates(),l;for(l=0;l<k.length;l++){m="";n=null;e=k[l];if(g_isfirefox&&e.inframe)if(d)(n=k[l].IHTMLElement)||(n=LP_getElementByIdOrName(d,e.idorname)),n&&(m=e.idorname);else{if(n=k[l].IHTMLElement)d=n.ownerDocument}else if(""!=b&&b==e.idorname){if(f!=k[l].IHTMLElement){m=!1;for(n=l;n<k.length;n++)if(f==k[n].IHTMLElement){m=!0;break}if(m)continue}n=f}else(n=k[l].IHTMLElement)||(n=LP_getElementByIdOrName(c,e.idorname)),n&&(m=e.idorname);if(d){if(n&&checkIsDisplayed(d,n,0))if(m=LP_getAbsolutePos(d,n),!m||0>=m.width&&0>=m.height)verbose_log("skipping field "+e.idorname+" : no valid position");else{var q=m.left+m.width-20;q<m.left&&(q=m.left);if(q<h.x&&m.left+m.width>h.x&&m.top<h.y&&m.top+m.height>h.y){f=!1;b=!0;h=g=!1;verbose_log("icon_click_handler calling popuptoggle() [iframe]");"generate"==e.fillhint?f=!0:e.no_check_generate||(f=shouldOfferGenerate(d,n));"formfills"==e.fillhint&&(h=!0);c.g_popupfill_parent=n;popuptoggle(c,d,e.idorname,f,b,g,h,e.fillhint,e.fillhintnumber);g=!0;LP_stopEventPropagation(a);break}}}else if(n&&checkIsDisplayed(c,n,0))if("INPUT"==n.nodeName&&"checkbox"==n.type)verbose_log("skipping field "+e.idorname+" : is checkbox");else if(m=LP_getAbsolutePos(c,n),!m||0>=m.width&&0>=m.height)verbose_log("skipping field "+e.idorname+" : no valid position");else{if(q=m.left+m.width-20,q<m.left&&(q=m.left),q<h.x&&m.left+m.width>h.x&&m.top<h.y&&m.top+m.height>h.y){f=!1;b=!0;h=g=!1;"generate"==e.fillhint?f=!0:e.no_check_generate||(f=shouldOfferGenerate(c,n));"formfills"==e.fillhint&&(h=!0);c.g_popupfill_parent=n;popuptoggle(c,d,e.idorname,f,b,g,h,e.fillhint,e.fillhintnumber,n);g=!0;LP_stopEventPropagation(a);break}}else verbose_log("skipping field "+e.idorname+" : not found/visible")}return g}}function LP_getMousePos(a){var b;a=a||window.event;b=LP_getEventTarget(a).ownerDocument;if(!b||null==b.location||0<b.location.href.indexOf(".xul"))return{x:0,y:0};var c=b.documentElement,d=typeof("number"==c.scrollLeft)?c.scrollLeft:b.body.scrollLeft,e=typeof("number"==c.scrollTop)?c.scrollTop:b.body.scrollTop,f=c=0;if(g_bodystyle_relative){var g=LP_get_cached_body_rect(b),h=LP_get_cached_body_style(b);g&&(h&&"relative"==h.position)&&(f=g.left,c=g.top)}g_isie&&(g=LP_get_cached_body_rect(b),e="undefined"!=typeof window&&window?window:b.defaultView,"pageXOffset"in e?(d=e.pageXOffset,b=e.pageYOffset):(d=1,"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof b.querySelector&&"undefined"==typeof b.addEventListener?g=1:(g&&(d=Math.round(100*((g.right-g.left)/b.body.offsetWidth))/100),g=d),d=Math.round(b.documentElement.scrollLeft/g),b=Math.round(b.documentElement.scrollTop/g)),e=b);b=a.pageX||a.clientX+d;a=a.pageY||a.clientY+e;b=parseInt(b);a=parseInt(a);g_bodystyle_relative&&(b-=f,a-=c);return{x:b,y:a}}function popuptoggle(a,b,c,d,e,f,g,h,j,k){if(k)j=k;else if(b){if(0<b.location.href.indexOf(".xul"))return!0;j=LP_getElementByIdOrName(b,c)}else{if(0<a.location.href.indexOf(".xul"))return!0;j=LP_getElementByIdOrName(a,c)}"undefined"!=typeof reset_forcefill_without_fillbest&&reset_forcefill_without_fillbest();k="sites";d?k="generate":f?k="save":g&&(k="formfills");if(is_your_popup_showing(a))closepopupfills(a),g_isfirefox?b?(b.g_popupfill_parent_last=b.g_popupfill_parent,b.g_popupfill_parent=null):(a.g_popupfill_parent_last=a.g_popupfill_parent,a.g_popupfill_parent=null):(g_popupfill_parent_last=g_popupfill_parent,g_popupfill_parent=null);else{g=LP_getloggedin();if(!g){if("undefined"!=typeof LP&&"undefined"!=typeof LP.lpOpenLogin){LP.lpOpenLogin();return}if(!g_isie){sendBG({cmd:"dologinaction"});return}}g_isfirefox?b?b.g_popupfill_parent=j:a.g_popupfill_parent=j:g_popupfill_parent=j;f=f?!0:!1;g_isie?"undefined"!=typeof init_LPfn&&init_LPfn()&&LPfn.ie_set_lpifmsg(a,j,d,f,k,h):g_isfirefox||(h=LP_pickFormName(j.ownerDocument,j.form),d=d?1:0,sendBG({cmd:"setpopupfilllastactive",active:h,activefieldid:LP_pickFieldName(document,j),ask_generate:d,opentosave:f,activefieldtype:j.type,start_type:k}));!g_isfirefox&&!g_isie&&(g=document.location.href,"undefined"!=typeof punycode&&(g=punycode.URLToASCII(document.location.href)),sendBG({cmd:"popupregister",docnum:g_docnum,url:g}));h=("function"==typeof ff_calculate_iframe_pos?ff_calculate_iframe_pos:calculate_iframe_pos)(a,j,"300px");d=h.posx;h=h.posy;if(g_isfirefox)ff_popupfill_create_iframe(a,d,h,c,null,null,j,k);else{f=chk_form_is_nonlogin_form(document,j.form);k=checkDocumentForLoginOrphans(document)||checkDocumentForLoginOrphansFirstStage(document);g=checkDocumentForLoginFirstStageForm(document);g=k||g||chk_form_has_password(document,j.form);k=g_popupfill_rows;f&&!g&&(k=g_popupfill_rows_FF);f=g_popupfill_widest+40;120>f&&(f=120);f<g_popupfill_parent.offsetWidth&&(f=g_popupfill_parent.offsetWidth,f+=2*Math.abs(POPUP_FIELD_OFFSET));if(1==k&&!create_onerow_iframe){g=null;g_fillaid&&(g=g_fillaid);isEmptyObject(g_autofillsites)||(g=g_autofillsites[0].aid);if(null!=g){sendBG({cmd:"autofillaid",aid:g});verbose_log("filling only, not creating 1 row iframe");return}verbose_log("tried to fill form with invalid acct")}if(0==k&&!do_popup_actions||0==k&&e==NO_FORCE_NOHITS)verbose_log("not creating empty iframe");else if(g=LP_getloggedin(),g_dologin_clickable&&!g&&(!g_isie||g_isie&&e==FORCE_SHOW_NOHITS_NOLOGIN)){verbose_log("login state: checking whether to issue Chrome login prompt");if(e==FORCE_SHOW_NOHITS_NOLOGIN)return;if(!g_isie){sendBG({cmd:"dologinaction"});return}}if(g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&LP_inIframe(window)&&LP_do_toplevel_iframe_hack(window)){(h=calculate_iframe_pos(a,j,"300px",!0))?(d=parseInt(h.posx),h=parseInt(h.posy)):h=d=0;var l=e="";try{e=window.name,l=document.location.href}catch(n){}g=a.location.href;"undefined"!=typeof punycode&&(g=punycode.URLToASCII(a.location.href));sendBG({cmd:"createpopuptoplevelfromframe",posx:d,posy:h,id:c,rows:k,width:f,minheight:g_minheight_override,framename:e,framesrc:l,url:g})}else popupfill_create_iframe(a,d,h,c,k,f,g_minheight_override);g_popupfill_iframe_width_save=f}g_isfirefox?b?relocate_popupfill_iframes(b):relocate_popupfill_iframes(a):(!g_create_iframe_in_top||!LP_inIframe(window)||g_isie||g_isfirefox)&&relocate_popupfill_iframes(a);a=b?b:a;b=!1;if(e=getIconState(a,c))b=e.dofloater;b?change_clickable_icon_to_cancel(a,LPMAGIC+c):set_input_icon_image(a,j,"cancel",!0)}}function isFirstFieldNonLoginSubForm(a,b){if(null==a||null==b||"INPUT"!=b.tagName||"password"==b.type||"hidden"==b.type)return!1;if("text"==b.type){var c=RegExp(lpgs("ff_firstname_regexp"),"i");if(c.exec(b.name)||c.exec(b.id))return!0;c=/register|signup|enroll|create/i;if(b.parentNode&&c.exec(b.parentNode.name)||c.exec(b.parentNode.id)||b.parentNode&&b.parentNode.parentNode&&c.exec(b.parentNode.parentNode.name)||c.exec(b.parentNode.parentNode.id))return!0}return!1}function isUsernameFieldLoginSubForm(a,b){return null==a||null==b||"INPUT"!=b.tagName||"password"==b.type||"hidden"==b.type?!1:FoundNonLoginSubForm(a)?False:looksLikeUsername(b)?!0:!1}function FoundNonLoginSubForm(a){if(null==a)return!1;if(isASPpage()){a=getAllIconStates();var b;for(b=0;b<a.length;b++)if("formfills"==a[b].fillhint)return True}return False}function isPasswordFieldLoginSubForm(a,b){if(null==a||(null==b||"INPUT"!=b.tagName)||"hidden"==b.type)return!1;if(FoundNonLoginSubForm(a))return False;if("password"==b.type){var c=a.getElementsByTagName("INPUT"),d;for(d=0;d<c.length&&d<MAX_INPUTS_HARD&&b!=c[d];d++);if(b==c[d]&&0<d){var e=LP_pickFieldName(a,b);if(e&&e.toLowerCase().indexOf(0<=lpgs("Password"))&&(c=LP_pickFieldName(a,c[d-1]),RegExp(lpgs("ff_username_regexp"),"i").exec(c)))return!0}}return!1}function isASPpage(){var a=!1;if(g_isfirefox){var b;(b="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument)?a=b.g_found_aspx:verbose_log("unable to get g_found_aspx in isASPpage() for "+b?b.location.href:"null")}else a=g_found_aspx;a||(a=!1);return a}function setASPpage(a){null==a&&(a=!0);if(g_isfirefox){var b;(b="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument)?ret=b.g_found_aspx=a:verbose_log("unable to set g_found_aspx in isASPpage() for "+b?b.location.href:"null")}else g_found_aspx=a,ret=!0;ret||(ret=!1);return ret}function LP_getname_or_idx(a,b,c){if(!a&&(a=document,!a))return"";c=LP_getname(b,c);if(""===c||null===c)if("INPUT"==b.tagName||"input"==b.tagName)c=LP_inputidx_to_name(a,LP_getinputidx(a,b));return c}function LP_getinputidx(a,b){if(!a&&(a=document,!a))return"";for(var c=a.getElementsByTagName("INPUT"),d=0,d=0;d<c.length;d++)if(c[d]==b)return d;return""}var LPMAGICINPUTIDX="input_idx_";function LP_inputidx_to_name(a,b){if(null!==b&&is_valid_input_indexes(a))return LPMAGICINPUTIDX+b}function LP_name_is_inputidx(a,b){return b&&0==b.indexOf(LPMAGICINPUTIDX)&&b.length>LPMAGICINPUTIDX.length?!0:!1}function LP_getinputidx_from_name(a,b){return is_valid_input_indexes(a)&&0==b.indexOf(LPMAGICINPUTIDX)?b.substr(LPMAGICINPUTIDX.length):null}function LP_getElementByIdx(a,b){var c=null;is_valid_input_indexes(a)&&(c=a.getElementsByTagName("INPUT")[b]);return c}function invalidate_input_indexes(a){if(!a&&(a=document,!a))return;a.g_need_to_recompute_input_index=!0}function validate_input_indexes(a){if(!a&&(a=document,!a))return;a.g_need_to_recompute_input_index=!1}function is_valid_input_indexes(){return!0}function inputHasLPBackground(a){if(null==a)return!1;var b=null;if(g_isie&&"undefined"!=typeof a.currentStyle)"undefined"!=typeof a.currentStyle&&(b=a.currentStyle);else try{b=a.ownerDocument.defaultView.getComputedStyle(a,"")}catch(c){"undefined"!=typeof a.currentStyle&&(b=a.currentStyle)}if(b&&("INPUT"==a.tagName||"input"==a.tagName)&&""!=b.backgroundImage){if(-1!=b.backgroundImage.indexOf(g_sites_light_ico)||-1!=b.backgroundImage.indexOf(g_pw_light_ico)||-1!=b.backgroundImage.indexOf(g_close_light_ico)||-1!=b.backgroundImage.indexOf(g_ff_light_ico)||-1!=b.backgroundImage.indexOf(g_sites_ico)||-1!=b.backgroundImage.indexOf(g_pw_ico)||-1!=b.backgroundImage.indexOf(g_close_ico)||-1!=b.backgroundImage.indexOf(g_ff_ico)||-1!=b.backgroundImage.indexOf(getnumbericon(a.ownerDocument,a,!0))||-1!=b.backgroundImage.indexOf(getnumbericon(a.ownerDocument,a,!1)))return!0;var d;for(d=0;9>=d;d++)if(-1!=b.backgroundImage.indexOf(getnumbericon(a.ownerDocument,a,!0,d))||-1!=b.backgroundImage.indexOf(getnumbericon(a.ownerDocument,a,!1,d)))return verbose_log("icon "+LP_getname(a)+" has icon with number "+d),!0}return!1}function removeLPBackground(a){if(!a)return!1;try{a.style.backgroundImage="none",a.style.backgroundRepeat="repeat",a.style.backgroundAttachment="scroll",a.style.backgroundPosition="0% 0%"}catch(b){return verbose_log("removeLPBackground error: "+b.message),!1}return!0}var KEY_ESCAPE=27;function LP_keypress_handler(a){a||(a=window.event);var b="undefined"!=typeof document?document:a&&a.target?a.target.ownerDocument:null;if(!b)return!1;a=a.keyCode;verbose_log("received key "+a);a==KEY_ESCAPE&&is_your_popup_showing(b)&&closepopupfills(b);return!1}var KEY_TAB=9,KEY_UP=38,KEY_DOWN=40,KEY_ENTER=13,KEY_SHIFT=16,KEY_RIGHT=39,KEY_LEFT=37,KEY_PAGEDOWN=34,KEY_PAGEUP=33,KEY_END=35,KEY_HOME=36;function LP_field_keypress_handler(a,b,c,d){a||(a=window.event);if(LP_getloggedin()){d||(d="undefined"!=typeof document?document:a&&a.target?a.target.ownerDocument:null);if(!d||null==d.location)if(d=b.ownerDocument,g_isfirefox&&void 0!=typeof LP&&(!d||null==d.location))d="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;if(d){if(null==d.location)return verbose_log("LP_field_keypress_handler given a firefox zombie document?"),a="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument,closepopupfills(a),!1;c=a.keyCode;if(c==KEY_ESCAPE)is_your_popup_showing(d)&&closepopupfills(d);else if(c==KEY_TAB)is_your_popup_showing(d)&&closepopupfills(d);else if(c==KEY_DOWN){if(!is_your_popup_showing(d)){set_active_username_password(d,b.form);"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof init_LPfn&&(init_LPfn()&&LPfn)&&LPfn.ie_set_kbdnav(!0);var e=LP_pickFieldName(d,b);if(e=getIconState(d,e)){var f=!1,g=!1;"generate"==e.fillhint&&(f=!0);"formfills"==e.fillhint&&(g=!0);popuptoggle(d,null,e.idorname,f,FORCE_SHOW_NOHITS,!1,g,e.fillhint,e.fillhintnumber)}else LP_pickFieldName(d,b),popuptoggle(d,null,LP_pickFieldName(d,b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)}}else if(c!=KEY_UP&&!(c==KEY_SHIFT||0==c)&&!(c==KEY_RIGHT&&a.altKey)&&!is_modifier_key(c)&&c!=KEY_ENTER){if(g_ischrome&&g_setup_hotkey_handler){if(is_hotkey_event(a))return}else if(g_isie){if(e=""+(a.ctrlKey?"control ":""),e+=a.metaKey?"meta ":"",e+=a.altKey?"alt ":"",e+=a.shiftKey?"shift ":"",verbose_log("keycode == "+c+" "+e),"undefined"!=typeof a.metaKey&&a.metaKey||"undefined"!=typeof a.altKey&&a.altKey||"undefined"!=typeof a.ctrlKey&&a.ctrlKey)return}else if(g_isfirefox&&(e=""+(a.ctrlKey?"control ":""),e+=a.metaKey?"meta ":"",e+=a.altKey?"alt ":"",e+=a.shiftKey?"shift ":"",verbose_log("keycode == "+c+" "+e),is_hotkey_event(d,a)))return;if("password"==b.type&&formHasUsernameField(b))if(g_clickable_input_on_password)!is_your_popup_showing(d)&&!chk_form_ask_generate(d,b.form)&&conditional_create_popup(d,b,FORCE_SHOW_NOHITS_NOLOGIN);else return;if(!chk_form_has_password(d,b.form))return;is_your_popup_showing(d)||(g_clickable_input_on_password?(e=getIconState(d,LP_pickFieldName(d,b)))&&(e.fillhint&&"sites"==e.fillhint)&&conditional_create_popup(d,b,FORCE_SHOW_NOHITS_NOLOGIN):(LP_pickFieldName(d,b),popuptoggle(d,null,LP_pickFieldName(d,b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)),g_keyboardNav=!0)}if(is_your_popup_showing(d)){c==KEY_UP&&(g_isfirefox?ff_do_popupfocusdecrement(1):g_isie||sendBG({cmd:"popupfillinputfocusdecrement",count:1}),g_keyboardNav=!0,g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),LP_stopEventPropagation(a));c==KEY_DOWN&&(g_extended_kbd_nav&&a.altKey&&g_hide_navbar?is_your_popup_showing(d)&&!g_isfirefox&&(g_isie||sendBG({cmd:"popupfillinputshownavbar"})):(g_isfirefox?ff_do_popupfocusincrement(1):g_isie||sendBG({cmd:"popupfillinputfocusincrement",count:1}),g_keyboardNav=!0),g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),LP_stopEventPropagation(a));if(c==KEY_ENTER&&(verbose_log("Enter Received, checking field"),(g_isfirefox?d.g_popupfill_parent:g_popupfill_parent)==b&&g_keyboardNav))g_isfirefox?(verbose_log("Enter Received, Choose Action"),ff_do_popupfocuschoose(!0)):g_isie||sendBG({cmd:"popupfillinputfocuschoose"}),g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),g_isfirefox&&is_hotkey_event(d,a),LP_stopEventPropagation(a);c==KEY_PAGEUP&&(g_isfirefox?ff_do_popupfocusdecrement(12):g_isie||sendBG({cmd:"popupfillinputfocusdecrement",count:12}),g_keyboardNav=!0,g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),g_isfirefox&&is_hotkey_event(d,a),LP_stopEventPropagation(a));c==KEY_PAGEDOWN&&(g_isfirefox?ff_do_popupfocusincrement(12):g_isie||sendBG({cmd:"popupfillinputfocusincrement",count:12}),g_keyboardNav=!0,g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),g_isfirefox&&is_hotkey_event(d,a),LP_stopEventPropagation(a));c==KEY_END&&(g_isfirefox?ff_do_popupfocusincrement(1073741824):g_isie||sendBG({cmd:"popupfillinputfocusincrement",count:1073741824}),g_keyboardNav=!0);c==KEY_HOME&&(g_isfirefox?ff_do_popupfocusdecrement(1073741824):g_isie||sendBG({cmd:"popupfillinputfocusdecrement",count:1073741824}),g_keyboardNav=!0)}return!1}}}function shouldCreateFloatingIcon(a,b,c){if(!a&&(a=LP_derive_doc(),!a)||!a||!b)return!1;if("stripe.com"==c)return!0;if("dominos.com"==c)return!1;if("metlife.com"==c&&-1!=a.location.href.indexOf("mybenefits.metlife.com"))return!0;if((a=LP_get_live_style(b))&&a.backgroundImage&&"none"!=a.backgroundImage&&!inputHasLPBackground(b))b=0<=a.backgroundImage.indexOf("blank")?!1:!0;else{if(a=g_trial_bg_expt)b?(b.style.backgroundImage="url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII=)",a=LP_get_live_style(b),b=!a||("none"==a.backgroundImage||!a.backgroundImage)||g_stylesheet_grubbing&&LP_input_has_bg_style_override(b.ownerDocument)?!1:!0):b=!1,a=!b;b=a?!0:!1}return b}function LP_create_floating_icon(a,b,c,d){if(!a&&(a=LP_derive_doc(),!a))return!1;var e=a.getElementsByTagName("body")[0],f,g;f=LP_pickFieldName(a,b);getIconState(a,f);var h=LPMAGIC+f;if(null==LP_getElementByIdOrName(a,LPMAGIC+f))g=a.createElement("div"),g.id=h,"undefined"!=typeof g_isfirefox&&g_isfirefox?(null==a.g_popup_divs&&(a.g_popup_divs={}),a.g_popup_divs[g.id]=g.id):g_popup_divs[g.id]=g.id,f=a.createElement("img"),b.offsetHeight<LPICON_WIDTH&&(f.height=b.offsetHeight,f.width=f.height),f.id=g.id+"_icon",h=!0,null!=c&&("formfills"==c?(f.src=ff_svg,f.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';"),f.style.opacity="0.6",f.style.filter="alpha(opacity=60)",h=!1):"generate"==c&&(f.src=pw_svg,f.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';"),f.style.opacity="0.6",f.style.filter="alpha(opacity=60)",h=!1)),h&&(f.src=sites_svg,f.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_sites_ico+"';"),f.style.opacity="0.6",f.style.filter="alpha(opacity=60)"),g.appendChild(f),"sites"==c&&LP_getloggedin()&&(!g_isfirefox&&!g_isie)&&b.setAttribute("autocomplete","off"),g_do_icon_number_hint&&LP_create_floating_icon_hint(a,g.id,c,d)&&LP_set_floating_icon_hint(a,g.id,c,d),e.appendChild(g),g.style.maxHeight=LPICON_WIDTH+"px",g.style.verticalAlign="top",f.style.verticalAlign="top","undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] setting up click listener on icon for "+LP_pickFieldName(a,b)),g_icon_hover&&(LP_addEventHandler(g,"mouseover",function(c){do_icon_mouseover(a,g.id,b);LP_stopEventPropagation(c);return!1}),LP_addEventHandler(g,"mouseout",function(c){do_icon_mouseout(a,g.id,b);LP_stopEventPropagation(c);return!1})),g_icon_parent_hover&&(LP_addEventHandler(b,"mouseover",function(c){do_icon_mouseover(a,g.id,b);LP_stopEventPropagation(c);return!1}),LP_addEventHandler(b,"mouseout",function(c){do_icon_mouseout(a,g.id,b);LP_stopEventPropagation(c);return!1})),LP_addEventHandler(e,"DOMsubtreemodified",function(){popupfill_resize(a);return!1},!1),LP_addEventHandler(e,"resize",function(){popupfill_resize(a);return!1},!1),e.onresize=onresize_handler,setprops_floating_icon(a,b,g,c,d);else return!1;return!0}function move_floating_icon(a,b,c,d){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a)return!1;a.getElementsByTagName("body");var e;e=LP_pickFieldName(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);if(!c){var f=getIconState(a,e);f&&(c=f.fillhint)}if(e=LP_getElementByIdOrName(a,LPMAGIC+e))g_do_icon_number_hint&&(LP_getloggedin()?LP_set_floating_icon_hint(a,e.id,c,d):LP_delete_floating_icon_hint(a,e.id)),setprops_floating_icon(a,b,e,c,d)}function setprops_floating_icon(a,b,c,d,e){function f(a,b){var c=a.getElementsByTagName("body")[0],d=b.parentNode;d&&d!=c&&(d.removeChild(b),c.appendChild(b))}if(a&&b&&c){f(a,c);"absolute"!=c.style.position?(c.style.position="absolute",g_ctr_setposition_H++):g_ctr_nosetposition_H++;var g=LP_getAbsolutePos(a,b);if(null!=g){if(b.offsetHeight>LPICON_WIDTH){var h=g.top+(b.offsetHeight-LPICON_WIDTH)/2+"px";c.style.top!=h?(g_ctr_settop_E++,c.style.top=h):g_ctr_nosettop_E++}else c.style.top!=g.top+"px"?(g_ctr_settop_F++,c.style.top=g.top+"px"):g_ctr_nosettop_F++;g=g.left+b.offsetWidth-LPICON_WIDTH-2+"px";c.style.left!=g?(g_ctr_setleft_G++,c.style.left=g):g_ctr_nosetleft_G++;if(g_do_icon_number_hint){var j;null==j&&(j=a.getElementById(c.id+"_icon"));var g=parseInt(c.style.left),h=parseInt(c.style.top),k=a.getElementById(c.id+"_numspan");if(null!=k)if(f(a,k),null!=d&&null!=e&&null!=e[d]&&1<e[d]){var l=e[d];0<e[d]&&9>e[d]&&(l=" "+e[d]);l=LP_measureText(a,lp_of(l,a),null,"font-size: 9px;font-family: Helvetica,Arial,sans-serif;font-weight:bold;line-height:11px;");if(null!=l){var n=h+("undefined"==typeof j.height||0==j.height?LPICON_HEIGHT:j.height)-l.height+6+"px",m=g+("undefined"==typeof j.width||0==j.width?LPICON_WIDTH:j.width)-l.width+2+"px",l="#ff2200";g_use_grey_icons&&(l="#808080");l="position:absolute !important; visibility:visible !important; border:0px !important; font-size:9px !important; font-family: Helvetica Neue,Helvetica,Arial,sans-serif; top:"+n+" !important; left:"+m+" !important; background-color: "+l+"; padding: 1px 2px !important; font-weight: bold !important; color:#ffffff !important; cursor: default; line-height:11px !important; max-width: 10px !important; ";j="undefined"!=typeof window&&window?window:a.defaultView;j=LP_getComputedStyle(j,k);d=j.zIndex;""!==d&&"auto"!=d&&(l=l+"z-index:"+d+" !important;");"absolute"!=j.position||"visible"!=j.visibility||"9px"!=j.fontSize||"1px 2px"!=j.padding||"11px"!=j.lineHeight||j.top!=n||j.left!=m?(k.style.cssText=l,g_ctr_numspan_setzindex_L++):g_ctr_numspan_nosetzindex_L++}else l="display:none;",k.style.cssText=l}else l="display:none;",k.style.cssText=l}}else verbose_log("ERROR: unable to relocate clickable icon");d=getZIndex(a,b,0,0);null!=d?d++:d=CLICKABLE_ICON_ZINDEX;c.style.zIndex!=d?(g_ctr_setzindex_J++,c.style.zIndex=d):g_ctr_nosetzindex_J++;g_do_icon_number_hint&&null!=k&&(l=l+"z-index:"+(d+1)+" !important;",j="undefined"!=typeof window&&window?window:a.defaultView,j=LP_getComputedStyle(j,k),"absolute"!=j.position||"visible"!=j.visibility||"9px"!=j.fontSize||"1px 2px"!=j.padding||"11px"!=j.lineHeight||j.top!=n||j.left!=m||j.zIndex!=d+1?(k.style.cssText=l,g_ctr_numspan_setzindex_K++):g_ctr_numspan_nosetzindex_K++);c.style.display=checkIsDisplayed(a,b,0)?"":"none";j=c.childNodes[0];parseInt(b.offsetHeight)<LPICON_WIDTH?(b.offsetHeight!=j.height?(g_ctr_setheight_A++,j.height=parseInt(b.offsetHeight)):g_ctr_nosetheight_A++,b.offsetHeight!=j.height?(g_ctr_setwidth_B++,j.width=j.height):g_ctr_nosetwidth_B++):(j.height!=LPICON_WIDTH?(g_ctr_setheight_C++,j.height=LPICON_WIDTH):g_ctr_nosetheight_C++,j.width!=LPICON_WIDTH?(g_ctr_setwidth_D++,j.width=LPICON_WIDTH):g_ctr_nosetwidth_D++)}}function refresh_floating_icon_number_hints(a){null==a&&(a=document);if(null!=a)if(LP_get_icon_divs(a),LP_getloggedin())for(i in iconidhash);else for(i in iconidhash){var b=a.getElementById(iconidhash[i]+"_numspan");b&&(b.parentNode.removeChild(b),verbose_log("deleting icon number for "+iconidhash[i]))}}function LP_getloggedin(){return g_isie?init_LPfn()&&LPfn?LPfn.get_loginstate():!1:"undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin}function LP_setloggedin(a){"string"==typeof a&&"0"===a&&(a=!1);if(g_isie)return init_LPfn()&&LPfn?LPfn.set_loginstate(a):!1;if("undefined"!=typeof g_isloggedin)g_isloggedin=a?!0:!1;else if("undefined"!=typeof lploggedin)lploggedin=a?!0:!1;else return!1;return!0}function LP_reset_icon_divs(a){"undefined"!=typeof g_isfirefox&&g_isfirefox?a.g_popup_divs={}:g_popup_divs={};return!0}function LP_store_icon_div(a,b){"undefined"!=typeof g_isfirefox&&g_isfirefox?(null==a.g_popup_divs&&(a.g_popup_divs={}),a.g_popup_divs[b]=b):g_popup_divs[b]=b;return!0}function LP_delete_icon_div(a,b){"undefined"!=typeof g_isfirefox&&g_isfirefox?a&&delete a.g_popup_divs[b]:delete g_popup_divs[b];return!0}function LP_get_icon_divs(a){return"undefined"!=typeof g_isfirefox&&g_isfirefox?null==a.g_popup_divs?{}:a.g_popup_divs:null==g_popup_divs?{}:g_popup_divs}function LP_set_floating_icon_hint(a,b,c,d){if(a&&LP_getloggedin()){var e=a.getElementById(b+"_numspan");null!=e?(a="",b=LP_elt_get_text(e),null!=c&&null!=d&&null!=d[c]&&0<d[c]?("formfills"==c||"generate"==c)&&!1===g_show_icon_number_for_formfills?""!=b&&LP_elt_set_text(e,""):(a=9>d[c]?" "+d[c]:9<d[c]?"9+":" "+d[c],b!=a&&LP_elt_set_text(e,a)):LP_elt_set_text(e,"")):LP_create_floating_icon_hint(a,b,c,d);return!0}}function LP_create_floating_icon_hint(a,b,c){if(!a)return!1;var d=a.getElementsByTagName("body")[0];if(a.getElementById("newid")||("formfills"==c||"generate"==c)&&!1===g_show_icon_number_for_formfills)return!1;a=a.createElement("div");a.id=b+"_numspan";a.style.position="absolute";a.style.top="-1000px";a.style.left="-1000px";d.appendChild(a);g_defensive&&LP_addEventHandler(a,"mousedown",function(a){LP_stopEventPropagation(a);return!1});return!0}function LP_delete_floating_icon_hint(a,b){if(!a)return!1;var c=a.getElementById(b+"_numspan");return null!=c?(c.parentNode.removeChild(c),!0):!1}function LP_delete_floating_icon(a,b){if(!a)return!1;var c=a.getElementById(b);return null!=c?(c.parentNode.removeChild(c),!0):!1}function reset_floating_icon(a,b,c){verbose_log("entered reset_floating_icon");a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a)return!1;b=LP_pickFieldName(a,b);var d=getIconState(a,b);!c&&d&&(c=d.fillhint);d=LP_getElementByIdOrName(a,LPMAGIC+b);a=LP_getElementByIdOrName(a,LPMAGIC+b+"_icon");return d&&a?("formfills"==c?(a.src=ff_svg,a.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';")):"generate"==c?(a.src=pw_svg,a.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';")):(a.src=sites_svg,a.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_sites_ico+"';")),a.style.opacity="0.6",a.style.filter="alpha(opacity=60)",!0):!1}function should_do_lastpass_here(a){var b=null;if(!a)return!1;if(null!=a.g_content_check_result)return a.g_content_check_result;try{var c=a.location.href;if(0<c.indexOf(".xul")||0<c.indexOf("libsyn.com/embed")||0<c.indexOf("platform.twitter.com/tweet_button")||0<=c.indexOf("facebook.com/plugins/"))b=a.g_content_check_result=!1;null===b&&("complete"!=a.readyState&&"interactive"!=a.readyState)&&(verbose_log("answer hazy, try again later"),b=!0);if(null===b){var d=LP_elt_get_text(a.body).length;null===b&&(2<d&&is_page_JSON(a))&&(b=a.g_content_check_result=!1)}}catch(e){return a.g_content_check_result=!1}null===b&&(b=a.g_content_check_result=!0);return b}function LP_is_inframe(a){if(!a)return!1;try{var b="undefined"!=typeof window&&window?window:a.defaultView;return get_win_self(b)!==b.top}catch(c){return!1}}function valid_by_role(a,b){if(!b)return!1;a||(a=b.ownerDocument);if(!a)return!1;var c=b.getAttribute("role");!c&&"INPUT"!=b.tagName&&(c=b.parentNode.getAttribute("role"));if(!c)return!0;switch(c){case "navigation":case "banner":case "contentinfo":case "note":case "search":case "seealso":return!1;case "columnheader":case "presentation":case "toolbar":case "directory":return!1;default:return!0}}function treat_text_as_password(a){return!a||"TEXTAREA"==a.tagName?!1:"text"==a.type&&(0==a.name.indexOf("pass")||0<=a.name.toLowerCase().indexOf(lpgs("Password").toLowerCase()))&&-1==a.name.toLowerCase().indexOf("hint")&&-1==a.name.toLowerCase().indexOf("placeholder")?RegExp(lpgs("ff_username_regexp"),"i").exec(a.name)&&a.form&&a.form.action&&0<=a.form.action.indexOf("login")?!1:!0:!1}function ASP_treat_text_as_password(a){return treat_text_as_password(a)}function LP_pickFieldName(a,b){return!a||!b?null:LP_getname_or_idx(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME)}function fieldcacheget(a,b,c){return null==a||(null==b||null==c||0===c.length)||"undefined"==typeof a.g_field_attr_cache?null:null!=a.g_field_attr_cache[b]&&null!=a.g_field_attr_cache[b][c]?a.g_field_attr_cache[b][c]:null}function fieldcacheset(a,b,c,d){if(null==a||null==b||null==c||0===c.length)return null;"undefined"==typeof a.g_field_attr_cache&&(a.g_field_attr_cache=[]);null==a.g_field_attr_cache[b]&&(a.g_field_attr_cache[b]={});a.g_field_attr_cache[b][c]=d;return!0}function fieldcachereset(a){null!=a&&(a.g_field_attr_cache=[]);return!0}function LP_looksLikeOTPField(a,b){if(!a||!b||"INPUT"!=b.tagName)return!1;if(LP_pickFieldName(a,b).toLowerCase().match(/^otp[_\W]|[_\W]otp$|^otp$|[_\W]otp[_\W]/))return!0;var c=b.getAttribute("aria-label");return c&&0<c.indexOf("O-Key")?!0:!1}function doc_create_clickable_icons(a,b,c,d){if(do_experimental_popupfill){if(!a&&(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document,!a))return;if(g_isfirefox){b=LP.lpGetCurrentWindow().document;var e="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;verbose_log("doc_create_clickable_icons: xuldoc is "+b.location.href);verbose_log("doc_create_clickable_icons: passed doc is "+a.location.href);verbose_log("doc_create_clickable_icons: toplevel doc is "+e.location.href)}(b=9==a.nodeType?a.body:null)||(b=a.getElementsByTagName("body")[0]);if(b){b=!1;if(g_isfirefox){if(never_icons(lpcanonizeUrl(a.location.href),lp_gettld_url(a.location.href))||never_icons(lpcanonizeUrl(e.location.href),lp_gettld_url(e.location.href)))return;b=!0}else{var e=check_nevers(a,g_nevers,a.location.href),f=!0,g=!0,h=!0,j=!0;null!=e&&(f=e.show_for_formfill,g=e.show_for_save,h=e.show_for_autofill,j=e.show_for_clickable_icon);if((0<g_popupfill_rows&&h||0==g_popupfill_rows&&g||f)&&j)b=!0}if(b){var e=a.getElementsByTagName("input"),k;b={};var l=checkDocumentForLoginOrphans(a)||checkDocumentForLoginOrphansFirstStage(a),n=checkDocumentForCPWOrphans(a),m=checkDocumentForLoginFirstStageForm(a);if(g_aspx_hack&&!isASPpage())for(k=0;k<e.length&&5>k&&!isASPpage();k++)check_for_ASP(a,e[k]);var q=null;if("undefined"!=typeof Math){var r=Math.floor(1E4*Math.random()),s=e.length;if(g_aspx_hack&&isASPpage())create_icons_on_ASP(a,d);else if(l||n||m)create_icons_generic(a,d);else{var p=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(p=MAX_INPUTS_HARD);for(k=0;k<s&&k<p;k++)if(d||popupfill_shoulddofield(a,e[k],c))try{var t=e[k],u=LP_pickFormName(a,t.form),v=l||m||chk_form_has_password(a,t.form),w=n||chk_form_is_nonlogin_form(a,t.form);if(d)if(looksLikeUsername(e[k]))v=!0,w=!1,verbose_log("SPECIAL SITE: create icon on field "+LP_pickFieldName(a,t));else if(isInputFieldPassword(a,t))v=!0,w=!1,verbose_log("SPECIAL SITE: create icon on field "+LP_pickFieldName(a,t));else{verbose_log("SPECIAL SITE: ignoring field "+LP_pickFieldName(a,t));continue}var y=chk_form_ask_generate(a,t.form),z=!1;null!=q&&(null!=u&&u!=q)&&(z=!0,y=chk_form_ask_generate(a,t.form,z));var A=LP_fieldGetWidth(t);if(!(null!=b[u]&&1<=b[u]&&!isInputFieldPassword(a,t)&&(!v||y)&&!g_show_icon_only_on_focus&&(!isASPpage()||!isFirstFieldNonLoginSubForm(a,t))))if(g_isfirefox&&(v||w||y)||(v&&(0<g_popupfill_rows&&h||0==g_popupfill_rows&&g)||(w&&!v||y)&&f)&&j)if((v||y)&&!LP_iconFieldWidthOK(t,A,!0))verbose_log("skipping loginform icon create on "+LP_pickFieldName(a,t)+"because field is too thin");else if(!v&&!y&&w&&!LP_iconFieldWidthOK(t,A,!1))verbose_log("skipping nonloginform icon create on "+LP_pickFieldName(a,t)+"because field is too thin");else if(!v&&!y&&!w&&!LP_iconFieldWidthOK(t,A,!1))verbose_log("skipping default-icon create on "+LP_pickFieldName(a,t)+"because field is too thin");else{var x;if(w&&is_search_field(a,t,!0))verbose_log("skipping nonloginform icon create on "+LP_pickFieldName(a,t)+"because it looks like a search field");else if(w&&LP_fieldIsReadOnly(t))verbose_log("skipping nonloginform icon create on "+LP_pickFieldName(a,t)+"because it is read-only");else if(v&&!y?(q=u,g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:u,rowtype:"sites"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:u,rowtype:"sites"}),g_do_icon_number_hint&&(x="sites")):v&&y?g_aspx_hack&&isASPpage()?(g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:u,rowtype:"sites"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:u,rowtype:"sites"}),g_do_icon_number_hint&&(x="sites")):(verbose_log("CONFLICT: form "+u+" is a signup form and login form; treat as a signup form and present formfill options"),g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:u,rowtype:"formfills"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:u,rowtype:"formfills"}),g_do_icon_number_hint&&(x=isInputFieldPassword(a,t)?t.form&&lpCheckCurrentPWField(t.form)?"sites":"generate":"formfills")):!v&&y&&chk_form_changepw(a,t.form)?(g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:u,rowtype:"sites"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:u,rowtype:"sites"}),g_do_icon_number_hint&&(x="sites")):n?g_do_icon_number_hint&&(x="sites"):(g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:u,rowtype:"formfills"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:u,rowtype:"formfills"}),g_do_icon_number_hint&&(x="formfills")),checkIsDisplayed(a,t,0,null,r)){verbose_log("icon create on displayed field "+LP_pickFieldName(a,t)+" for form "+u);if(g_do_icon_number_hint){z=[];if(g_isfirefox){x||(x="sites");var B=LP.getMatchingSites(a.location.href,SKIP_GENPWS);z[x]=B&&B.length?B.length:0}else z=g_icon_numbers;if(isASPpage()&&isFirstFieldNonLoginSubForm(a,t))setup_input_icon(a,t,"formfills",z);else{if("formfills"==x&&!isFirstFieldNonLoginSubForm(a,t)&&!lpIsVisible(t,!0)&&t.form&&lpIsVisible(t.form))continue;setup_input_icon(a,t,x,z)}}else setup_input_icon(a,t);g_isfirefox||g_save_suggest_msg&&(x&&null!=typeof g_icon_numbers&&null!=typeof g_icon_numbers.sites&&1>g_icon_numbers.sites)&&LP_addEventHandler(t,"click",function(b){var c=LP_getEventTarget(b);setTimeout(function(){do_save_suggest_msg(c,a)},0);LP_stopEventPropagation(b);return!1},!1);if(g_clickable_input&&(!("password"==t.type&&formHasUsernameField(t))||g_clickable_input_on_password)&&!LP_didFieldClickEvent(a,t)&&"sites"==x)LP_setFieldClickEvent(a,t),LP_addEventHandler(t,"click",function(b){var c=LP_getEventTarget(b),d=LPMAGIC+LP_pickFieldName(a,c);if(null!=a.getElementById(d))g_clickable_input_on_password?is_your_popup_showing(a)||conditional_create_popup(a,c,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,t.form),popuptoggle(a,null,LP_pickFieldName(a,c),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS));else if(g_input_click_intercept)try{verbose_log("CLICK ON INPUT, process it"),icon_click_handler(b)}catch(e){}return!1},!1);verbose_log("FORM "+u+" touched");null==b[u]?b[u]=1:b[u]++}else verbose_log("skip icon create on hidden field "+LP_pickFieldName(a,t)+" for form "+u)}}catch(C){verbose&&alert("error: "+C.message+" stack: "+C.stack)}}g_isfirefox||(!1==g_weaseled&&setTimeout(function(){weasel(100)},500),g_weaseled=!0)}}}}}function ForceFillFieldClicked(a,b,c,d){if(!b||!d)return!1;c=b.form&&!c?LP_getname(b.form):"";var e=b.type?b.type:"";return"password"==e?LP_getname(b)?LP_setval(a,LP_getname(b),d.p,0,d.a,c,e,d.sharedsite,null,d.automaticallyFill,d.reqinfo,null,!0,d.humanize,null,d.realurl):LP_fill_given_field(a,b,d.p,e,d.sharedsite,d.automaticallyFill,d.a,!0,!0,d.humanize,d.reqinfo,d.realurl):""==d.u?!0:LP_getname(b)?LP_setval(a,LP_getname(b),d.u,0,d.a,c,e,d.sharedsite,null,d.automaticallyFill,d.reqinfo,null,!0,d.humanize):LP_fill_given_field(a,b,d.u,e,d.sharedsite,d.automaticallyFill,d.a,!0,!0,d.humanize)}function ForceFillFormClicked(a,b,c,d){if(!b)return!1;c=null;if(b=b.getElementsByTagName("INPUT")){if(c=GuessUserPassFields(b,!0,!0,!0))c.text&&ForceFillFieldClicked(a,c.text,!1,d),c.password&&ForceFillFieldClicked(a,c.password,!1,d);return!0}return!1}function GuessUserPassFields(a,b,c,d){if(!a||0>=a.length)return null;var e,f=a.length,g=null,h=null,j=!1;for(e=0;e<f;e++){var k=a[e];if(k)if(c&&(LP_fieldIsReadOnly(k)||LP_fieldIsDisabled(k)))verbose_log("Skipping disabled field");else if(d&&!lpIsVisible(k,!0))verbose_log("Skipping non-displayed field");else{if(b){var l=RegExp(lpgs("ff_search_regexp"),"i");if(l.exec(k.name)||l.exec(k.id)){var l=k.name&&k.name.match(/[qQ]/)||k.id&&k.id.match(/[qQ]/),n=RegExp(lpgs("ff_username_regexp"),"i"),m=RegExp(lpgs("ff_email_regexp"),"i");if(l&&k.name&&!k.name.match(/^[qQ]/)&&(!k.id||k.id&&!k.id.match(/^[qQ]/)))pass;else if(l&&k.id&&!k.id.match(/^[qQ]/)&&(!k.name||k.name&&!k.name.match(/^[qQ]/)))pass;else if(l&&(n.exec(k.name)||n.exec(k.id)||m.exec(k.name)||m.exec(k.id)))pass;else{verbose_log("Skipping field that smells like a search field");continue}}}if(("text"==k.type||"tel"==k.type||"email"==k.type)&&!h)b?(l=RegExp(lpgs("ff_username_regexp"),"i"),l.exec(k.name)||l.exec(k.id)?(g=k,j=!0):j||(g=k)):g=k;"password"==k.type&&!h&&(b?(l=RegExp(lpgs("ff_username_regexp"),"i"),!j&&(l.exec(k.name)||l.exec(k.id))?g=k:h=k):h=k)}}a={};g&&(a.text=g);h&&(a.password=h);return isEmptyObject(a)?null:a}function LP_getActiveElement(a){return!a?null:a.activeElement}function LP_docHasFocus(a){return!a?null:!0}function ForceFillClicked(a,b,c){var d=g_popupfill_parent;d||(d=g_popupfill_parent_last);if(!d){if(g_force_fill_active_element){var e=LP_getActiveElement(a);e&&("INPUT"==e.tagName&&LP_docHasFocus(a)&&hasIconState(a,LP_pickFieldName(a,e)))&&(d=e,verbose_log("hotkey or contextmenu triggered autofill detect & force"))}if(!d)return!1}if(!a&&(a=d.ownerDocument,!a))return!1;var e=chk_form_has_password(a,d.form),f=chk_form_ask_generate(a,d.form);return d.form&&e&&!f?!ForceFillFormClicked(a,d.form,b,c)||""===d.value?ForceFillFieldClicked(a,d,b,c):!0:null==d.form?ForceFillOrphanFieldClicked(a,d,c):ForceFillFieldClicked(a,d,b,c)}function isMultiStageLoginForm(){}var MAX_INPUTS_HARD=200,MAX_INPUTS_SOFT=100;function LP_exceedInputsThreshold(a){if(!a)return!0;var b=MAX_INPUTS_HARD,c=MAX_INPUTS_SOFT;a=a.getElementsByTagName("input");var d=a.length;if(d>b)return verbose_log("EIT: hard threshold exceed"),!0;if(d<c)return!1;var b=0,e;for(e=0;e<d;e++)if(a[e]){var f=a[e].type;("text"==f||"passwd"==f)&&b++}return b>c?(verbose_log("EIT: soft threshold exceed"),!0):!1}var MAX_FORMS_HARD=20,MAX_FORMS_SOFT=10;function LP_exceedFormsThreshold(a){if(!a)return!0;var b=MAX_FORMS_HARD,c=MAX_FORMS_SOFT,d=a.getElementsByTagName("form"),e=d.length;if(e>b)return verbose_log("EFT: hard threshold exceed"),!0;if(e<c)return!1;var b=0,f=RegExp(lpgs("ff_loginform_regexp"),"i"),g;for(g=0;g<e;g++)if(d[g]&&(d[g]&&!d[g].disabled&&b++,b>c)){var h=d[g].id;if(f.exec(d[g].name)||f.exec(h))return verbose_log("EFT: soft threshold exception for login form "+LP_pickFormName(a,d[g])),!1}return b>c?(verbose_log("EFT: soft threshold exceed"),!0):!1}var MAX_FORM_ELEMENTS_HARD=500,MAX_FORM_ELEMENTS_SOFT=100;function LP_exceedFormElementsThreshold(a,b){if(!a||!b)return!0;var c=MAX_FORM_ELEMENTS_SOFT,d=b.elements,e=d.length;if(e>MAX_FORM_ELEMENTS_HARD)return verbose_log("EFET: hard threshold exceed"),!0;if(e<c)return!1;var f=0,g;for(g=0;g<e;g++)if(d[g]&&d[g]&&(!d[g].disabled&&"FIELDSET"!=d[g].tagName)&&"input"==d[g].tagName){var h=inputs[g].type;("text"==h||"passwd"==h)&&f++}return f>c?(verbose_log("EFET: soft threshold exceed"),!0):!1}function LP_passwordAlt(a,b){return!a||!b||"INPUT"!=b.tagName?!1:"nyckel"==LP_pickFieldName(a,b).toLowerCase()&&"password"==b.type?!0:!1}function LP_explicit_ignored(a,b){if(!a||!b||"undefined"==typeof b.getAttribute)return!0;var c=b.getAttribute("data-lpignore");if("true"===c)return!0;c=b.dataset?b.dataset.lpignore:!1;if("true"===c)return!0;c=b.getAttribute("lpignore");return"true"===c||"true"===b.lpignore?!0:!1}function countFormEquivalents(a){var b=0,c=a.getElementsByTagName("FORM"),d=c.length;LP_exceedFormsThreshold(a)&&(d=MAX_FORMS_HARD);for(a=0;a<c.length&&a<d;a++)(lpIsVisible(c[a]),!0)&&b++;return b}function LP_implicit_ignored(a,b){if(!b||!a&&(a=LP_derive_doc(),!a))return!1;var c=b.id,d=b.name,e=a.body,f=b.form;if(d&&"post_title"==d&&e&&e.className&&0<=e.className.indexOf("wp-admin")||d&&("symbols"==d||"symbol"==d)||"text"==b.type&&c&&(0<c.indexOf("_note")||0<c.indexOf("-note")))return!0;e=RegExp(lpgs("ff_combineddummy_regexp"),"i");return e.exec(c)||e.exec(d)?(verbose_log("combineddummy ignore on "+c+"/"+d),!0):f&&!popupfill_shoulddoform(a,f)?!0:!1}function LP_read_website_hint(){}function LP_didFieldClickEvent(a,b){return!a||!b?!1:1==(LP_getBits(a,b)&1)}function LP_didFieldMouseEvent(a,b){return!a||!b?!1:2==(LP_getBits(a,b)&2)}function LP_didFieldKeyEvent(a,b){return!a||!b?!1:4==(LP_getBits(a,b)&4)}function LP_didDocumentEscapeEvent(a){if(!a)return!1;var b=a.body;null==b&&(b=a.documentElement);return 8==(LP_getBits(a,b)&8)}function LP_setFieldClickEvent(a,b){if(!a||!b)return!1;var c=LP_getBits(a,b);LP_setBits(a,b,c|1);return!0}function LP_setFieldMouseEvent(a,b){if(!a||!b)return!1;var c=LP_getBits(a,b);LP_setBits(a,b,c|2);return!0}function LP_setFieldKeyEvent(a,b){if(!a||!b)return!1;var c=LP_getBits(a,b);LP_setBits(a,b,c|4);return!0}function LP_setBits(a,b,c){if(!a||!b)return!1;if("undefined"==typeof c||null===c)c=0;if(g_isie){if(init_LPfn()&&LPfn)return LPfn.ie_set_lpstates(b,c)}else b=LP_pickFieldName(a,b),verbose_log("lpsetbits "+b+" = "+c),a.lpstates[b]=c;return!0}function LP_getBits(a,b){if(!a||!b)return 0;var c=0;if(g_isie)init_LPfn()&&LPfn&&(c=LPfn.ie_get_lpstates(b));else{a.lpstates||(a.lpstates={});var c=a.lpstates,d=LP_pickFieldName(a,b);verbose_log("lpstates for "+d+" == "+c[d]);c="undefined"!=typeof c[d]?c[d]:0}return c}function LP_setDocumentEscapeEvent(a){if(!a)return!1;var b=a.body;null==b&&(b=a.documentElement);var c=LP_setBits(a,b);return LP_setBits(a,b,c|8)}function LP_resetAllBits(a){if(!a)return!1;if(g_isie){if(init_LPfn()&&LPfn)return LPfn.ie_reset_lpstates()}else return a.lpstates={},!0;return!1}function LP_fieldIsDisabled(a){return!a?!1:"undefined"!=typeof a.disabled&&a.disabled||"true"===a.getAttribute("aria-disabled")?!0:!1}function LP_fieldIsReadOnly(a){return!a?!1:"undefined"!=typeof a.readOnly&&a.readOnly||"true"===a.getAttribute("aria-readonly")?!0:!1}function LP_fieldIsDecorative(a){return!a?!1:"presentation"===a.getAttribute("role")?!0:!1}function create_clickable_icon_on_active_field(a,b){if(do_experimental_popupfill){if(!popupfill_shoulddofield(a,b,!1))return;var c=check_nevers(document,g_nevers,document.location.href),d=!0,e=!0,f=!0;null!=c&&(d=c.show_for_save,e=c.show_for_autofill,f=c.show_for_clickable_icon);var c=checkDocumentForLoginOrphans(a)||checkDocumentForLoginOrphansFirstStage(a),g=checkDocumentForLoginFirstStageForm(a),h;if(b.form&&lpIsVisible(b.form)){var j=null,j=LP_pickFormName(document,b.form),g=c||g||chk_form_has_password(document,b.form);chk_form_is_nonlogin_form(document,b.form);g_is_specialsite&&looksLikeUsername(b)&&(g=!0);var k=chk_form_ask_generate(document,b.form);g&&!k||g_is_specialsite?(sendBG({cmd:"setpopupfillhint",formid:j,rowtype:"sites"}),g_do_icon_number_hint&&(h="sites")):g_aspx_hack&&isASPpage()?(sendBG({cmd:"setpopupfillhint",formid:j,rowtype:"sites"}),g_do_icon_number_hint&&(h="sites")):!g&&k&&chk_form_changepw(document,b.form)?(sendBG({cmd:"setpopupfillhint",formid:j,rowtype:"sites"}),g_do_icon_number_hint&&(h="sites")):(g=form_get_username(a,b.form),k=form_get_password(a,b.form),g_do_icon_number_hint?(h=isInputFieldPassword(a,b)||g==b||k==b?"sites":"formfills",sendBG({cmd:"setpopupfillhint",formid:j,rowtype:h})):sendBG({cmd:"setpopupfillhint",formid:j,rowtype:"formfills"}))}if(c||g_is_specialsite||checkForLoginForm(document)){var l=punycode.URLToASCII(document.location.href),n=lp_gettld_url(l);setTimeout(function(){sendBG({cmd:"getpopupfillsites",tld:n,url:l})},0);if((0<g_popupfill_rows&&e||0==g_popupfill_rows&&d)&&f)if(LP_getname_or_idx(document,b,LP_GETNAME_FAVOR_ID_OVER_NAME),g_do_icon_number_hint?setTimeout(function(){var c=LP_pickFieldName(a,b),d=!1;if((c=getIconState(a,c))&&c.fillhint)h=c.fillhint,d=c.no_check_generate;setup_input_icon(document,b,h,g_icon_numbers,d)},50):setTimeout(function(){setup_input_icon(document,b)},50),g_save_suggest_msg&&(h&&null!=typeof g_icon_numbers&&null!=typeof g_icon_numbers.sites&&1>g_icon_numbers.sites)&&b.addEventListener("click",function(a){var b=a.target;setTimeout(function(){do_save_suggest_msg(b,document)},0);a.preventDefault();a.stopPropagation();return!1},!1),g_clickable_input&&(!("password"==b.type&&formHasUsernameField(b))||g_clickable_input_on_password)&&!LP_didFieldClickEvent(document,b)&&h&&"sites"==h)LP_setFieldClickEvent(document,b),LP_addEventHandler(b,"click",function(a){a=a.target;var c=LPMAGIC+LP_getname_or_idx(document,a,LP_GETNAME_FAVOR_ID_OVER_NAME);null!=document.getElementById(c)&&(g_clickable_input_on_password?is_your_popup_showing(document)||conditional_create_popup(document,a,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(document,b.form),do_bgiconinput?popuptoggle(document,null,LP_getname_or_idx(document,b,LP_GETNAME_FAVOR_ID_OVER_NAME),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS):popupfilltoggle(document,c,a,NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)));return!1},!1)}}return!0}function relocate_popupfill_clickables(a){if(!a&&(a=LP_derive_doc(),!a))return null;if("function"==typeof a.getElementsByName){g_isfirefox&&verbose_log("relocate_popupfill_clickables doc is "+a.location.href);var b=LP_get_icon_divs(a);if(isEmptyObject(b))return null;try{var c,d=0;for(c in b)if(b.hasOwnProperty(c)){var e=b[c].substr(LPMAGIC.length);if(null!=e&&0<e.length){var f=e,g=LP_getElementByIdOrName(a,f);if(null==g&&!g_double_password_hack&&!g_double_secret_password_hack)LP_delete_floating_icon(a,b[c])&&(verbose_log("relocate: deleting orphaned icon container for "+e),d++),g_do_icon_number_hint&&LP_delete_floating_icon_hint(a,b[c])&&(verbose_log("relocate: deleting orphaned icon number for "+e),d++),delete b[c];else if(g_do_icon_number_hint){if(null!=a.getElementById(b[c])){var h="",j=getIconState(a,f);j&&(h=j.fillhint);null!=h&&"sites"!=h&&(h=null);f={};g_isfirefox?f[h]=j.fillhintnumber:(f.sites=0<g_icon_number_overrides.sites?g_icon_number_overrides.sites:g_icon_numbers.sites,f.formfills=0<g_icon_number_overrides.formfills?g_icon_number_overrides.formfills:g_icon_numbers.formfills);move_floating_icon(a,g,h,f)}}else move_floating_icon(a,g)}}}catch(k){verbose_log("relocate_popupfill_clickables caught error:"+k.message),g_isfirefox&&end_weasel(a)}if(0<d)if(g_isfirefox){var l=lpGetBrowserForDocument(a);setTimeout(function(){LP.checkShouldRecheck(l)},500)}else setTimeout(function(){checkShouldRecheck()},500)}}function LP_getFormEquivalent(a,b){if(!b)return null;a||(a=b.ownerDocument);return!a?null:b.form?b.form:null}function create_icons_on_ASP(a,b){if(do_experimental_popupfill){a||(a=LP_derive_doc());if(!a)return!1;verbose_log("trying alternate strategy for ASP page "+a.location.href);var c=[];if(g_do_icon_number_hint)if(g_isfirefox){var d=LP.getMatchingSites(a.location.href,SKIP_GENPWS);c.sites=d&&d.length?d.length:0}else c=g_icon_numbers;var d=a.getElementsByTagName("FORM"),e,f,g=SHOULD_DO_ALWAYS,h=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(h=MAX_FORMS_HARD);var j=0;for(f=0;f<d.length&&f<h;f++){var k=d[f].elements;chk_form_has_password(a,d[f]);chk_form_is_nonlogin_form(a,d[f]);chk_form_ask_generate(a,d[f]);var l=form_get_username(a,d[f]),n=form_get_password(a,d[f]),m=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(m=MAX_INPUTS_HARD);for(e=0;e<k.length&&e<m;e++){var q=!1,r=k[e],s="sites";if("INPUT"==r.tagName){var p=!1;if(popupfill_shoulddofield(a,r,g)){var t=LP_fieldGetWidth(r),u=!0;if(b){if(looksLikeUsername(r)||isInputFieldPassword(a,r))s="sites",q=!0}else if(l==r)s="sites",q=!0;else if(isInputFieldPassword(a,r))r==lpCheckCurrentPWField(d[f],!0)?(s="sites",p=q=!0):n==r?(s="sites",p=q=!0):isContigPW(a,r.form,r)?(s="generate",q=!0):(s="sites",p=q=!0);else if(isFirstFieldNonLoginSubForm(a,r))s="formfills",q=!0,u=!1;else if(isUsernameFieldLoginSubForm(a,r)||isPasswordFieldLoginSubForm(a,r))s="sites",p=q=!0;if(q&&LP_iconFieldWidthOK(r,t,u)&&(j++,setup_input_icon(a,r,s,c,p),g_clickable_input&&(!("password"==r.type&&formHasUsernameField(r))||g_clickable_input_on_password)&&LP_didFieldClickEvent(a,r)&&s&&"sites"==s))LP_setFieldClickEvent(a,r),LP_addEventHandler(r,"click",function(b){b=b.target;var c=LPMAGIC+LP_getname_or_idx(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);null!=document.getElementById(c)&&(g_clickable_input_on_password?is_your_popup_showing(a)||conditional_create_popup(a,b,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,r.form),do_bgiconinput?popuptoggle(a,null,LP_getname_or_idx(a,r,LP_GETNAME_FAVOR_ID_OVER_NAME),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS):popupfilltoggle(a,c,b,NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)));return!1},!1)}}}}verbose_log("created "+j+" icons on ASP page")}}function check_for_ASP(a,b){if(b&&!isASPpage()&&g_aspx_hack){if((0===b.name.indexOf("ctl00$")||null!=b.form&&("ctl00"==b.form.name||"landingform"==b.form.name||"landingForm"==b.form.name||"aspnetForm"==b.form.name||"aspnetForm"==b.form.id)||0===b.name.indexOf("ctl00_"))&&!isASPpage())setASPpage(!0),verbose_log("detected ASP.NET form, one if by land");try{a.location&&(a.location.href&&0<a.location.href.indexOf(".aspx"))&&(b.form&&(b.form.elements&&b.form.elements.length&&6<b.form.elements.length)&&!isASPpage())&&(setASPpage(!0),verbose_log("detected ASP.NET form, two if by sea"))}catch(c){verbose_log("check_for_ASP:"+c.message)}}}function LP_fieldGetWidth(a){var b={},c=0;if("undefined"!=typeof g_isie&&g_isie){if("undefined"!=typeof a.offsetWidth&&(c=parseInt(a.offsetWidth)),!c)if("undefined"!=typeof a.currentStyle)(b=a.currentStyle)&&(c=parseInt(b.width));else return 0}else if(c=a.style.width.replace(/px/,""),0<c.indexOf("%")&&(c=c.replace(/%/,"")),""==c)try{b=a.ownerDocument.defaultView.getComputedStyle(a,""),c=b.width.replace(/px/,"")}catch(d){"undefined"!=typeof a.currentStyle&&(b=a.currentStyle,c=b.width.replace(/px/,""))}if("NaN"==c||""===c)c=0;return c}function LP_iconFieldWidthOK(a,b,c){if(!a||null===b)return!1;var d=a.ownerDocument;if(!d)return verbose_log("iconFieldWidthOK: no doc???"),!1;if("undefined"==typeof c||null===c)if(isInputFieldPassword(d,a))c=!0;else{var e=a.form;e&&chk_form_has_password(d,e)&&(c=!0)}c?0<b&&40>b?a=!1:(a?(b=a.getAttribute("size"),c=a.getAttribute("maxlength"),null==b&&(b=a.size),null==c&&(c=a.maxLength),a=""==a.style.width&&b&&2>b&&0<=b||c&&3>c&&0<=c?!1:!0):a=!1,a=!a?!1:!0):a=0<b&&100>b?!1:!0;return a}function end_weasel(a){if(do_experimental_popupfill&&(a||(a=document?document:LP.getBrowser().contentDocument),a)){var b;b=a&&null!=a.g_weasel_id?a.g_weasel_id:g_weasel_id;null!=b&&clearTimeout(b);g_isfirefox?a&&(a.g_weasel_id=null,a.g_weaseled=!1):(g_weasel_id=null,g_weaseled=!1)}}function relocate_popupfill_iframes(a,b){if(do_experimental_popupfill)try{var c=a;g_isfirefox&&(c="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument);if(!a||!c)return null;if(g_isfirefox&&null==a.location){verbose_log("relocate_popupfill_iframes given zombie document?");var d="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;closepopupfills(d)}else{var e=d=!1;if(!f){var f=a.defaultView;f||(f=a.parentWindow)}var g,h=c.getElementsByTagName("iframe");for(g=0;g<h.length;g++){var j=h[g];if("undefined"!=typeof j.id&&null!=j.id){var k=LPMAGICIFRAME;if(0==j.id.indexOf(k)){var l=j.id.substr(k.length),k=l,d=!0,n=LP_getElementByIdOrName(a,l),m=!b;if(g_isfirefox||null!=n&&lpIsVisible(n,m)){var q=null;g_isfirefox?(q=ff_get_iframe_pos(a,f,n,k,c),null!=q&&(e=!0)):q=calculate_iframe_pos(a,n,0<g_minwidth_override?g_minwidth_override:0);null!=q&&(g_fixed_iframe_position?place_iframe_fixed(a,f,j,q,c):place_iframe_absolute(a,f,j,q,c))}else g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&!LP_inIframe(f)&&toplevel_iframe_state_get()?(q=LP_getAbsolutePos(a,j,!0),q.posx=q.left,q.posy=q.top,place_iframe_absolute(a,f,j,q,c)):!g_isfirefox&&(!g_double_password_hack&&!g_double_secret_password_hack)&&closepopupfills(a)}}}g_isfirefox&&(!e&&d)&&(verbose_log("found orphan iframe, remove it"),closepopupfills(a))}}catch(r){lplog("relocate_popupfill_iframe failed, "+r.message),do_bgiconinput||end_weasel(a),g_isfirefox&&closepopupfills(a)}}function LP_getElementByXPath(a,b){return!a&&(a=LP_derive_doc(),!a)?null:LP_lookupElementByXPath(a,b)}function LP_getElementsByXPath(a,b){return!a&&(a=LP_derive_doc(),!a)?null:LP_lookupElementsByXPath(a,b)}function LP_createXPathFromElement(a,b){if(!a&&(a=LP_derive_doc(),!a))return null;var c=a.getElementsByTagName("*");for(segs=[];b&&1==b.nodeType;b=b.parentNode)if(b.hasAttribute("id")){for(var d=0,e=0;e<c.length&&!(c[e].hasAttribute("id")&&c[e].id==b.id&&d++,1<d);e++);if(1==d)return segs.unshift('id("'+b.getAttribute("id")+'")'),segs.join("/");segs.unshift(b.localName.toLowerCase()+'[@id="'+b.getAttribute("id")+'"]')}else if(b.hasAttribute("class"))segs.unshift(b.localName.toLowerCase()+'[@class="'+b.getAttribute("class")+'"]');else{i=1;for(sib=b.previousSibling;sib;sib=sib.previousSibling)sib.localName==b.localName&&i++;segs.unshift(b.localName.toLowerCase()+"["+i+"]")}return segs.length?"/"+segs.join("/"):null}function LP_lookupElementByXPath(a,b){return!a||g_isfirefox&&a&&!a.defaultView||"undefined"==typeof(g_isfirefox?a.defaultView.XPathEvaluator:XPathEvaluator)?null:(g_isfirefox?new a.defaultView.XPathEvaluator:new XPathEvaluator).evaluate(b,a.documentElement,null,g_isfirefox?a.defaultView.XPathResult.FIRST_ORDERED_NODE_TYPE:XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function LP_lookupElementsByXPath(a,b){var c=[];if(!a||"undefined"==typeof(g_isfirefox?a.defaultView.XPathEvaluator:XPathEvaluator))return c;var d=(g_isfirefox?new a.defaultView.XPathEvaluator:new XPathEvaluator).evaluate(b,a.documentElement,null,g_isfirefox?a.defaultView.XPathResult.ORDERED_NODE_ITERATOR_TYPE:XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);if(d)for(var e=d.iterateNext();e;)e&&c.push(e),e=d.iterateNext();return c}function handle_form_text_change(a,b,c,d){if(do_experimental_popupfill){if(!a&&(a=LP_derive_doc(),!a))return null;a&&b&&popupfill_shoulddofield(a,b,SHOULD_DO_ALWAYS)&&should_track_field_onkeyup(b)&&update_preobfuscate_field_value(b);if(!(null==c||null==b||null==d||null==d.keyCode||0==d.keyCode|16==d.keyCode))if((!c||popupfill_shoulddoform(a,c))&&popupfill_shoulddofield(a,b,SHOULD_DO_ALWAYS)){var e=b.value,f=LP_pickFieldName(a,b);if(g_clickable_input_on_password){var g=g_popup_active_username,h=g_popup_active_password;null==g&&(g="undefined"==typeof b.form||null==b.form?doc_get_orphan_username(a):form_get_username(a,b.form));null==h&&(h="undefined"==typeof b.form||null==b.form?doc_get_orphan_password(a):form_get_password(a,b.form));var j=checkDocumentForLoginOrphans(a)||checkDocumentForLoginOrphansFirstStage(a),k=checkDocumentForCPWOrphans(a),j=j||chk_form_has_password(a,c),k=k||chk_form_is_nonlogin_form(a,c),l=chk_form_ask_generate(a,c);if(g&&h&&(j||l)&&!k){if(b!=g){b==h?(g_isie||(e=g.value,g_isfirefox||sendBG({cmd:"popupfillinputsave",inputstr:e,inputid:f,inputtype:"password"})),verbose_log("KEYPASS4 username="+e)):(g_isie||(g_isfirefox?d&&(d.keyCode&&d.keyCode!=KEY_TAB&&d.keyCode!=KEY_UP&&d.keyCode!=KEY_DOWN&&d.keyCode!=KEY_SHIFT&&d.keyCode!=KEY_LEFT&&d.keyCode!=KEY_RIGHT)&&ff_do_popupinputupdate(""):sendBG({cmd:"popupfillinputsave",inputstr:"",inputid:f})),verbose_log('KEYPASS5 username=""'));return}}else{g_isie||(verbose_log('KEYPASS6 formfill? username=""'),g_isfirefox?ff_do_popupinputupdate(""):sendBG({cmd:"popupfillinputsave",inputstr:"",inputid:f}));return}}if(null==e||0==e.length)g_isie||(g_isfirefox?ff_do_popupinputupdate(""):sendBG({cmd:"popupfillinputsave",inputstr:"",inputid:f})),verbose_log("KEYPASS7 empty username");else{d=0;for(var n in g_autofillsites)d++;if(!(0>=d)||g_change_icon_on_input){n=0;d=null;for(var m in g_autofillsites)0==g_autofillsites[m].useusername.indexOf(e)&&(n++,d=g_autofillsites[m]);if(1==n)do_autofill_if_matched?g_isie||(g_isfirefox?ff_autofill(a,d.aid):sendBG({cmd:"autofillaid",aid:d.aid})):(g_isie||(g_isfirefox?ff_do_popupinputupdate(e):sendBG({cmd:"popupfillinputsave",inputstr:e,inputid:f,inputtype:b.type,issaveall:issaveall(c)})),verbose_log("KEYPASS8 match>0 username="+e));else if(g_isie||(g_isfirefox?ff_do_popupinputupdate(e):sendBG({cmd:"popupfillinputsave",inputstr:e,inputid:f,inputtype:b.type,issaveall:issaveall(c)})),verbose_log("KEYPASS9 match>1 username="+e),chk_form_has_password(a,c),g_change_icon_on_input&&(b=c.elements,"undefined"!=typeof Math&&(c=Math.floor(1E4*Math.random()),null!=b)))for(e=0;e<b.length&&!(f=b[e],checkIsDisplayed(a,f,0,null,c)&&isInputFieldPassword(a,f)&&null!=f.value&&0<f.value.length);e++);}}}}}function LP_derive_doc(){var a=null,a="undefined"!=typeof g_isfirefox&&g_isfirefox&&LP?LP.getBrowser().contentDocument:document;return!a?null:a}function checkDocumentForCPWOrphans(a){if(!a&&(a=LP_derive_doc(),!a))return null;var b=formcacheget(a,"fakedoc","cpw");if(null!=b)return g_ctr_formcache_hits++,b;g_ctr_formcache_misses++;for(var b=null,c=0,d=a.getElementsByTagName("INPUT"),e=0;e<d.length;e++){var f=d[e];if(e>MAX_INPUTS_HARD)break;if(null==f.form){if(isInputFieldPassword(a,f)&&lpIsVisible(f)&&(c++,f=lpIsFieldCurrentPWField(f))){if(b)return!1;b=f}if(4<=c)return formcacheset(a,"fakedoc","cpw",!1),!1}}if(2<=c&&b)return formcacheset(a,"fakedoc","cpw",!0),!0;formcacheset(a,"fakedoc","cpw",!1);return!1}function create_icons_generic(a,b){if(do_experimental_popupfill){if(!a&&(a=LP_derive_doc(),!a))return null;verbose_log("trying generic strategy "+a.location.href);var c=[];if(g_do_icon_number_hint)if(g_isfirefox){var d=LP.getMatchingSites(a.location.href,SKIP_GENPWS);c.sites=d&&d.length?d.length:0}else c=g_icon_numbers;var d=a.getElementsByTagName("INPUT"),e,f=d.length;e=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(e=MAX_INPUTS_HARD);f>e&&(f=e);var g=SHOULD_DO_ALWAYS,h=checkDocumentForLoginOrphans(a);LP_firstVisibleOrphan(a);var j=0;for(e=0;e<f;e++){var k=d[e].form,l=null,n=null;k?(l=form_get_username(a,k),n=form_get_password(a,k)):n=l=null;var m=d[e],q=!1,r="sites",s=!1;if(popupfill_shoulddofield(a,m,g)){var p=LP_fieldGetWidth(m),t=!0;if(b){if(looksLikeUsername(m)||isInputFieldPassword(a,m))r="sites",q=!0}else if(l==m)r="sites",q=!0;else if(isInputFieldPassword(a,m))k&&m==lpCheckCurrentPWField(k,!0)?(r="sites",s=q=!0):lpIsFieldCurrentPWField(m)?(r="sites",s=q=!0):n==m?(r="sites",s=q=!0):isContigPW(a,m.form,m)?(r="generate",q=!0):(r="sites",s=q=!0);else if(isFirstFieldNonLoginSubForm(a,m))r="formfills",q=!0,t=!1;else if(isUsernameFieldLoginSubForm(a,m)||isPasswordFieldLoginSubForm(a,m))r="sites",s=q=!0;else if(null==m.form&&h&&(looksLikeUsername(m)||isInputFieldPassword(a,m)))r="sites",q=!0;if(q&&LP_iconFieldWidthOK(m,p,t)&&(j++,setup_input_icon(a,m,r,c,s),g_clickable_input&&(!("password"==m.type&&formHasUsernameField(m))||g_clickable_input_on_password)&&LP_didFieldClickEvent(a,m)&&r&&"sites"==r))LP_setFieldClickEvent(a,m),LP_addEventHandler(m,"click",function(b){b=b.target;var c=LPMAGIC+LP_getname_or_idx(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);null!=document.getElementById(c)&&(g_clickable_input_on_password?is_your_popup_showing(a)||conditional_create_popup(a,b,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,m.form),do_bgiconinput?popuptoggle(a,null,LP_getname_or_idx(a,m,LP_GETNAME_FAVOR_ID_OVER_NAME),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS):popupfilltoggle(a,c,b,NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)));return!1},!1)}}verbose_log("created "+j+" icons on generic page")}}function draw_context_tip(a,b){if(!g_context_tip_shown&&checkIsDisplayed(a,b,0,lp_gettld_url(punycode.URLToASCII(a.location.href)),0,!0)){g_context_tip_shown=1;var c=LP_getAbsolutePos(a,b),d=c.left+c.width-10-300+22,e=a.createElement("iframe");e.frameborder=0;e.setAttribute("frameborder",0);e.style.width="300px";e.style.height="200px";e.style.position="absolute";e.style.left=d+"px";e.style.top=c.top+c.height+"px";e.style.zIndex=CLICKABLE_ICON_ZINDEX;e.id="lpttipif";e.src=getchromeurl("tip_context.html");a.body.appendChild(e);var f=a.createElement("div");f.style.width="300px";f.style.height="200px";f.style.position="absolute";f.style.left=d+"px";f.style.top=c.top+c.height+"px";f.style.zIndex=CLICKABLE_ICON_ZINDEX+1;f.id="lpttipdv";a.body.appendChild(f);f.addEventListener("click",function(){a.body.removeChild(e);a.body.removeChild(f);g_tutorial_flags|=TUTORIAL_FLAG_CONTEXT;save_tutorial_flags()},!1)}}function element_is_detached(a,b,c){if(!b||!a&&(a=b.ownerDocument,!a))return!1;var d=null;try{15<c&&(d=!1),null==b.parentNode&&(d=!0),b.parentNode==a.body&&(d=!1)}catch(e){d=!0}return null==d?element_is_detached(a,b.parentNode,c+1):d}function ForceFillOrphanFieldClicked(a,b,c){if(!a&&(a=elt.ownerDocument,!a))return!1;var d=!0;if(d=ForceFillFieldClicked(a,b,!1,c))for(var e=a.getElementsByTagName("INPUT"),f=0,f=0;f<e.length&&f<MAX_INPUTS_HARD;f++)if(e[f]==b&&e[f+1]&&f+1<e.length&&f+1<MAX_INPUTS_HARD){isInputFieldPassword(a,e[f+1])&&!lpIsFieldCurrentPWField(e[f+1])&&(d=ForceFillFieldClicked(a,e[f+1],!1,c));break}return d}function LP_inIframe(a){a||(a=window);if(null==g_inframe)try{return get_win_self(a)!==a.top}catch(b){return!0}else return g_inframe}function toplevelpopupsetstate_handler(a){g_create_iframe_in_top&&toplevel_iframe_state_set(a?!0:!1)}function toplevel_iframe_state_get(){return g_toplevel_iframe_exists}function toplevel_iframe_state_set(a){g_toplevel_iframe_exists=a}function LP_computeFixedPos(a,b,c){if(!a||!c)return null;var d,e,f,g;try{b?(d=parseInt(b.top)+"px",e=parseInt(b.left)+"px"):e=d="10px";if(0>parseInt(d)||!d||"NaNpx"==d)d="10px";if(0>parseInt(e)||!e||"NaNpx"==e)e="10px";f=g_minheight_override;g=g_minwidth_override;f=0>parseInt(f)||!f||"NaNpx"==f?"90px":parseInt(f)+"px";g=0>parseInt(g)||!g||"NaNpx"==g?"300px":parseInt(g)+"px";if(0>parseInt(d)||!d||"NaNpx"==d)d="10px";if(0>parseInt(e)||!e||"NaNpx"==e)e="10px";return{left:e,top:d,width:g,height:f}}catch(h){}return null}function place_iframe_fixed(a,b,c,d){if(!c)return!1;if(!a&&(a=LP_derive_doc(),!a))return null;b||(b=window);var e,f,g,h,j="";try{if(toplevel_iframe_state_get()){var k=LP_computeFixedPos(a,d,b);k?(e=k.top,h=k.width,g=k.height,f=k.left):(e="10px",h="300px",g="90px",f="10px");g=0>parseInt(g)||!g||"NaNpx"==g?"90px":parseInt(g)+"px";h=0>parseInt(h)||!h||"NaNpx"==h?"240px":parseInt(h)+"px";j="width: "+h+" !important; height: "+g+" !important; top:"+e+" !important; left:"+f+" !important; position: fixed;"}else pass;a="display:block; position:fixed !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:none !important; opacity: 1.0 !important; ";"undefined"!=typeof g_isie&&g_isie&&(a+="filter:alpha(opacity=100) !important;");j=a+j;c.style.cssText!=j&&(c.style.cssText=j)}catch(l){return verbose&&alert("place_fixed: "+l.message),!1}return!0}function place_iframe_absolute(a,b,c,d,e){if(!c||!a||!b||!d)return!1;var f=null,g;if("undefined"!=typeof Math){try{var h=d.posx,j=d.posy,k=parseInt(h)+"px",l=parseInt(j)+"px";d=0;0<parseInt(g_minwidth_override)?(d=Math.max(parseInt(g_popupfill_iframe_width_save),parseInt(g_minwidth_override))+"px",(g=LP_getWindowWidth(b,!0))&&parseInt(d)+parseInt(k)>g&&(k=g-parseInt(d)-20+"px")):0<parseInt(g_popupfill_iframe_width_save)?d=parseInt(g_popupfill_iframe_width_save)+"px":(null==f&&(f=LP_getComputedStyle(b,c)),d=f.width);0>parseInt(k)&&(k="0px");g=0;0<parseInt(g_minheight_override)?g=Math.max(parseInt(g_popupfill_iframe_height_save),parseInt(g_minheight_override))+"px":""!=g_popupfill_iframe_height_save&&0<parseInt(g_popupfill_iframe_height_save)?g=parseInt(g_popupfill_iframe_height_save)+"px":(null==f&&(f=LP_getComputedStyle(b,c)),f&&(g=f.height));if(g_iframe_scroll_hack&&!g_frame_scrollable_set){var n=parseInt(g),m=parseInt(d),q;q=b&&"undefined"!=typeof b.getComputedStyle?g_isfirefox?LP_getComputedStyle(b,a.documentElement):LP_getComputedStyle(b,a.body):"undefined"!=typeof a.documentElement?LP_getComputedStyle(b,a.documentElement):LP_getComputedStyle(b,a.body);parseInt(q.height);parseInt(q.width);var r=b.innerHeight,s=b.innerWidth;if(null!=n&&0<n&&null!=r&&0<r||null!=m&&0<m&&null!=s&&0<s)if((parseInt(j)+n>r||parseInt(h)+m>s)&&LP_inIframe(b)){if(g_isfirefox){enableScrollWithinIframe(a,b);var p=LP.getBrowser(),t=p?p.contentDocument:null;t&&t!=a&&enableScrollOnIframe(a.location.href,e)}else g_isie||(verbose_log("ensuring this frame/iframe has scrolling enabled"),sendBG({cmd:"iframescrollenable",href:a.location.href}));g_frame_scrollable_set=!0}}if("NaNpx"==l||""===l||"NaNpx"==k||""===k||"NaNpx"==d||""===d||"NaNpx"==g||""===g)verbose_log("invalid iframe pos"),closepopupfills(a);g_iframe_dims.width=d;g_iframe_dims.height=g;g_iframe_dims.top=l;g_iframe_dims.left=k;a="width: "+d+" !important; height: "+g+" !important; top:"+l+" !important; left:"+k+" !important;";if(""==g_frame_css_str)try{var u=document.body.getAttribute("data-lp-gcss");u&&(g_frame_css_str=LPJSON.parse(u),document.body.removeAttribute("data-lp-gcss"))}catch(v){verbose_log("JSON error:"+v)}u=g_frame_css_str+a;u.match(/position: *absolute/)||(u+=" position: absolute;");normalize_css(c.style.cssText)!=normalize_css(u)&&(c.style.cssText=u,c.setAttribute("width",d),c.setAttribute("height",g))}catch(w){verbose&&alert("place_abs "+w.message)}return True}}function normalize_css(a){a=a.replace(/ /g,"");a=a.replace(/1\.0/g,"1");a=a.replace(/2147483647/g,"2147483648");a=a.replace("border-top-style:none!important;border-right-style:none!important;border-bottom-style:none!important;border-left-style:none!important;","border-style:none!important;");g_isie&&(a=a.replace("filter:alpha(opacity=100)!important;",""),a=a.replace("border-style:none!important;",""),a=a.split(";").sort().join(";"));return a}function ff_get_iframe_pos(a,b,c,d,e){if(!g_isfirefox||!e)return null;var f;b=null;c=[];try{var g=e.getElementsByTagName("iframe");for(f=0;f<g.length&&50>f;f++)url_is_lpfirefox_iframe(g[f].src)||(c[c.length]=g[f]);g=e.getElementsByTagName("frame");for(f=0;f<g.length&&50>f;f++)c[c.length]=g[f];if(a&&a==e)try{a=g_popup_iframe_doc.defaultView.parent.document.g_popupfill_parent.ownerDocument}catch(h){L("frame lookup error: "+h)}var j=getIconState(a,d);if(j)if(g=f=a=null,j&&j.inframe){verbose_log("Input is in frame!");for(j=j=0;j<c.length;j++){f=null;verbose_log("Trying frame "+c[j].src);try{f=c[j].contentDocument;var k=LP_getElementByIdOrName(f,d);if(k&&"INPUT"==k.tagName){verbose_log("Found INPUT "+d+" in "+f.location.href);g=LP_getAbsolutePos(e,c[j]);break}}catch(l){verbose_log("Error frame traverse "+l.message);return}}if(f&&g&&(verbose_log("computing iframe position [against iframe]"),a=LP_getElementByIdOrName(f,d))){var n=ff_calculate_iframe_pos(f,a,0<g_minwidth_override?g_minwidth_override:0);b={posx:parseInt(n.posx)+g.left+"px",posy:parseInt(n.posy)+g.top+"px"};verbose_log("computed x="+b.posx+" y="+b.posy)}}else null!=j&&!isEmptyObject(j)?(verbose_log("computing iframe position [against toplevel]"),(a=LP_getElementByIdOrName(e,d))&&(b=ff_calculate_iframe_pos(e,a,0<g_minwidth_override?g_minwidth_override:0))):verbose_log("data object is missing for "+d)}catch(m){verbose&&alert("ff_pos "+m.message)}return b}function LP_do_toplevel_iframe_hack(a){return!a||g_isie||g_isfirefox?!1:!0}function LP_floating_icon_exists(a,b){return!a&&(a=LP_derive_doc(),!a)?!1:null==LP_getElementByIdOrName(a,LPMAGIC+b)}function checkDocumentForNonLoginOrphans(a){if(null==a)return!1;var b=formcacheget(a,"fakedoc","orphan-signup"),c=formcacheget(a,"fakedoc","orphan-registration"),d=formcacheget(a,"fakedoc","orphan-cc"),b=b||c||d;if(null!=b)return g_ctr_formcache_hits++,b;g_ctr_formcache_misses++;b=RegExp(lpgs("ff_firstname_regexp"),"i");c=RegExp(lpgs("ff_lastname_regexp"),"i");d=RegExp(lpgs("ff_cctype_regexp"),"i");lpgs("ff_address1_regexp");lpgs("ff_forgot_regexp");lpgs("ff_remember_regexp");var e=!1,f=!1,g=!1,h=!1,j=!1;try{gettldcached(a.location.href)}catch(k){return!1}for(var l=0,n=a.getElementsByTagName("INPUT"),m=0;m<n.length&&20>m;m++){var q=n[m];if("INPUT"==q.tagName){LP_isRememberCheckbox(q)&&(lpIsVisible(q)&&!LP_fieldIsDisabled(q))&&l++;if("email"==q.type||"text"==q.type||"password"==q.type){if(LP_fieldIsDisabled(q))continue;if(LP_fieldIsDisabled(q))continue;if(!valid_by_role(a,q))continue;if(!lpIsVisible(q))continue;if(is_search_field(a,q,!0))continue;var r=q.name,s=q.id?q.id:"",p=lpGetTextBeforeFormField(q);looksLikeUsername(q)?e=!0:isInputFieldPassword(a,q)?f=!0:b.exec(s)||b.exec(r)||b.exec(p)?g=!0:c.exec(s)||c.exec(r)||c.exec(p)?h=!0:d.exec(s)||d.exec(r)||d.exec(p)?j=!0:regexp_address1.exec(s)||regexp_address1.exec(r)||regexp_address1.exec(p);l++}if(3<=l){if(e&&f&&!j)return verbose_log("document appears to be have orphan signup fields"),formcacheset(a,"fakedoc","orphan-signup",!0),formcacheset(a,"fakedoc","orphan-cc",!1),formcacheset(a,"fakedoc","orphan-registration",!1),!0;if(j&&!e&&!f)return verbose_log("document appears to be have orphan credit card fields"),formcacheset(a,"fakedoc","orphan-cc",!0),formcacheset(a,"fakedoc","orphan-signup",!1),formcacheset(a,"fakedoc","orphan-registration",!1),!0;if((g||h)&&e)return verbose_log("document appears to be have orphan registration fields"),formcacheset(a,"fakedoc","orphan-registration",!0),formcacheset(a,"fakedoc","orphan-signup",!1),formcacheset(a,"fakedoc","orphan-cc",!1),!0}}}formcacheset(a,"fakedoc","orphan-signup",!1);formcacheset(a,"fakedoc","orphan-cc",!1);formcacheset(a,"fakedoc","orphan-registration",!1);return!1}function checkDocumentHasOrphanSignup(a){if(!a)return!1;var b=formcacheget(a,"fakedoc","orphan-signup");if(null!=b)return g_ctr_formcache_hits++,b;checkDocumentForNonLoginOrphans(a);return formcacheget(a,"fakedoc","orphan-signup")}function checkDocumentHasOrphanCC(a){if(!a)return!1;var b=formcacheget(a,"fakedoc","orphan-cc");if(null!=b)return g_ctr_formcache_hits++,b;checkDocumentForNonLoginOrphans(a);return formcacheget(a,"fakedoc","orphan-cc")}function checkDocumentHasOrphanRegistration(a){if(!a)return!1;var b=formcacheget(a,"fakedoc","orphan-registration");if(null!=b)return g_ctr_formcache_hits++,b;checkDocumentForNonLoginOrphans(a);return formcacheget(a,"fakedoc","orphan-registration")}function LP_should_ignore_this_doc(a){if(!a||!a.location)return!0;a=a.location.href;return 0==a.indexOf("chrome:")||(0==a.indexOf("chrome-extension://")||0==a.indexOf("safari-extension://")||0==a.indexOf("about:")||0==a.indexOf("javascript:")||0==a.indexOf("resource:"))||0<a.indexOf(".xul")?!0:!1}function LP_elt_get_text(a){return!a?"":"undefined"!=typeof g_isfirefox&&g_isfirefox?null==a.textContent?"":a.textContent:"undefined"!=typeof a.textContent&&null!=a.textContent?a.textContent:get_innertext(a)}function LP_elt_set_text(a,b){if(!a)return!1;"undefined"!=typeof g_isfirefox&&g_isfirefox?a.textContent=b:set_innertext(a,b);return!0}function checkDocumentForLoginOrphansFirstStage(a){if(!a)return!1;var b=formcacheget(a,"fakedoc","orphan-first");if(null!=b)return g_ctr_formcache_hits++,b;g_ctr_formcache_misses++;if("undefined"!=typeof Math){for(var b=[],c=[],d=0,e=!1,f=Math.floor(1E4*Math.random()),g=["input"],h=0;h<g.length;h++)for(var j=a.getElementsByTagName(g[h]),k=0;k<j.length;k++){var l=j[k];if(20<k)break;if(!j[k].form&&checkIsDisplayed(a,j[k],0,null,f)){verbose_log("checking "+LP_pickFieldName(a,l));if(null!=l.id&&""!=l.id){var n=c[l.id];if(null==n)c[l.id]=!0;else continue}if(null!=l.name&&""!=l.name)if(n=b[l.name],null==n)b[l.name]=!0;else continue;looksLikeUsername(l)&&d++;if(isInputFieldPassword(a,l)){e=!0;break}if(2<d)break}}if(0<d&&4>=d&&!1==e)return verbose_log("orphan and isolated login field found"),formcacheset(a,"fakedoc","orphan-first",!0),!0;formcacheset(a,"fakedoc","orphan-first",!1);return!1}}function checkDocumentForLoginFirstStageForm(a){if(!a)return!1;var b=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(b=MAX_FORMS_HARD);for(var c=a.getElementsByTagName("form"),d=!1,e=0;e<c.length&&e<b;e++)if(d=checkFormForLoginFirstStage(a,c[e]))return d;return!1}function checkFormForLoginFirstStage(a,b){if(null==a||null==b||"FORM"!=b.tagName)return!1;var c=LP_pickFormName(a,b);verbose_log("checking "+c+" for first stage of multi-stage login");var d=formcacheget(a,c,"multi-first");if(null!=d)return g_ctr_formcache_hits++,d;g_ctr_formcache_misses++;if("undefined"==typeof Math)return False;for(var d=0,e=!1,f,g=Math.floor(1E4*Math.random()),h=0,j=0;20>j&&j<b.elements.length;j++)if(f=b.elements[j],"INPUT"==f.tagName&&checkIsDisplayed(a,f,0,null,g)){looksLikeUsername(f)&&d++;if("text"==f.type||"tel"==f.type||"url"==f.type||"email"==f.type||"textarea"==f.type){if("string"==typeof f.id&&"identifier-captcha-input"==f.id)try{if("google.com"==gettldcached(a.location.href))continue}catch(k){}h++}if(isInputFieldPassword(a,f)){e=!0;break}if(2<=d)break;if(2<=h)break}if(0<d&&3>=d&&!1==e&&2>h)return verbose_log("isolated login field/initial stage of multi-stage found"),formcacheset(a,c,"multi-first",!0),!0;formcacheset(a,c,"multi-first",!1);return!1}function computeFingerprint(a){if(!a)return"";var b="",c=a.getElementsByTagName("INPUT"),d;for(d=0;d<c.length&&20>d;d++)b+=c[d].id?c[d].id:c[d].name;a=a.getElementsByTagName("DIV");b+=a.length.toString();try{"undefined"!=typeof crc32&&(b=crc32(b).toString())}catch(e){}return b}function LP_firstVisibleOrphan(a){if(!a)return null;a=a.getElementsByTagName("INPUT");var b,c=null;for(b=0;b<a.length&&50>b;b++)if(c=a[b],!c.form&&("text"==c.type||"password"==c.type||"url"==c.type||"email"==c.type)&&lpIsVisible(c))return c;return null}function LP_has_textlike_type(a){if(!a)return!1;var b=a.tagName.toUpperCase();if("INPUT"!=b&&"TEXTAREA"!=b)return!1;if("TEXTAREA"==b)return!0;var b="text number email tel url textarea".split(" "),c;for(c in b)if(b.hasOwnProperty(c)&&a.type==b[c])return True;return False}function LP_get_cached_body_rect(a){if(!a)return null;var b;b=LP_get_body_reference(a);"undefined"==typeof a.g_posbodyrect_cache&&b?(b=b.getBoundingClientRect(),a.g_posbodyrect_cache=b):b=a.g_posbodyrect_cache;return b}function LP_get_body_reference(a){if(!a)return null;var b=null;"undefined"!=typeof a.body?b=a.body:a.getElementById("main")&&(b=a.getElementById("main"));return b}function LP_get_cached_body_style(a){if(!a)return null;var b=LP_get_body_reference(a),c=null;"undefined"==typeof a.g_posbodystyle_cache?b&&(c=(c="undefined"!=typeof window&&window?window:a.defaultView)&&"undefined"!=typeof c.getComputedStyle?c.getComputedStyle(b,null):b.currentStyle,a.g_posbodystyle_cache=c):c=a.g_posbodystyle_cache;return c}function LP_get_live_style(a){if(!a||!a.ownerDocument||!g_isie&&!a.ownerDocument.defaultView)return null;var b;if(g_isie&&a.currentStyle)b=a.currentStyle;else try{b=a.ownerDocument.defaultView.getComputedStyle(a,"")}catch(c){"undefined"!=typeof a.currentStyle&&(b=a.currentStyle)}return b}function LP_treat_as_hidden(a){return!a||"hidden"==a.type||!a.parentNode||0==a.id.indexOf("hidden")&&("none"==a.style.display||"none"==a.parentNode.style.display)||"true"===a.getAttribute("aria-hidden")?!0:(a=a.getAttribute("hidden"))&&"false"!==a?!0:!1}function LP_input_has_bg_style_override(a){if(!a||!g_stylesheet_grubbing)return!1;var b=!1;try{var c=formcacheget(a,"fakedoc","input-bg-style");if(null!=c)return g_ctr_formcache_hits++,c;g_ctr_formcache_misses++;var d=c=0,e=/(background|background-color):[^:].*!important/,f=a.styleSheets;if(f&&e)for(c=0;c<f.length&&32>c;c++){var g=null;"undefined"!=typeof f[c].rules?g=f[c].rules:"undefined"!=typeof f[c].cssRules&&(g=f[c].cssRules);if(g){for(d=0;d<g.length;d++)if(g[d]&&g[d].selectorText&&g[d].cssText&&-1!=g[d].selectorText.indexOf("input:focus")){var h=g[d].cssText;if(h&&e.exec(h)){verbose_log("focus hack:"+h);b=!0;break}}if(b)break}}}catch(j){}formcacheset(a,"fakedoc","input-bg-style",b);return b}function is_wacky_disp(a,b){a||(a=LP_derive_doc());if(!a||!b)return!1;if(b==a.body)return!0;var c=!0;try{var d=LP_get_live_style(b);if(d){if("none"==d.display||"hidden"==d.visibility)c=!1;if(!0==c&&(!b.offsetHeight||!b.offsetHeight))c=!1;if(!0==c&&(0==d.height||0==d.width))c=!1;if(!0==c&&(2>parseInt(d.height)||2>parseInt(d.width)))c=!1;if(!0==c&&(0>parseInt(d.left)&&"auto"!=d.left||0>parseInt(d.top)&&"auto"!=d.top))c=!1;!0==c&&("-1px"==d.marginTop&&1==b.offsetHeight)&&(c=!1);if(!0==c&&(3>b.offsetHeight||3>b.offsetWidth))c=!1;if(!0==c&&("transparent"==d.backgroundColor&&"transparent"==d.color||g_isie&&"transparent"==d.backgroundColor&&""==d.color||"rgba(0, 0, 0, 0)"==d.backgroundColor&&"rgba(0, 0, 0, 0)"==d.color))c=!1;!0==c&&(d.opacity&&0.02>parseFloat(d.opacity))&&(c=!1);if(!0==c&&g_isie&&d.filter){var e=/alpha\(opacity=(\d+)\)/.exec(d.filter);e&&(e[1]&&2>parseInt(e[1]))&&(c=!1)}}}catch(f){c=!0}if(c)try{var g=b.parentNode;g||(c=!1);var h=LP_get_live_style(g);if(h){if(!0==c&&("none"==h.display||"hidden"==h.visibility))c=!1;if(!0==c&&(0>parseInt(h.left)&&"auto"!=h.left||0>parseInt(h.top)&&"auto"!=h.top))c=!1;if(!0==c&&(3>parseInt(h.height)&&"auto"!=h.height||3>parseInt(h.width)&&"auto"!=h.width)&&("hidden"==h.overflowY||"hidden"==h.overflow))c=!1}}catch(j){c=!0}return c}function LP_get_text_dir(a){var b=!0;if(a){var c=LP_get_live_style(a);c&&"rtl"==c.direction?b=!1:"rtl"==a.getAttribute("dir")&&(b=!1)}return b}function is_random_hashstr(a){return!a?!1:(16==a.length||32==a.length)&&a.match(/^[a-zA-Z0-9]+$/)&&a!=a.toLowerCase()&&a.match(/[0-9]/)&&a!=a.toUpperCase()||32==a.length&&a.match(/^[a-f0-9]+$/)||a.match(/_\d{18}[A-Z]{4}_/)||17==a.length&&"a"==a.charAt(0)&&a.match(/^[a-zA-Z0-9_]+$/)&&a!=a.toLowerCase()&&a.match(/[0-9]/)&&a!=a.toUpperCase()||(20==a.length&&a.match(/^[A-Z]0[A-F]\d{16}[A-Z]$/)||21==a.length&&a.match(/^[A-Z]0[A-F]\d{17}[A-Z]$/))||18==a.length&&a.match(/^el[0-9a-f]{16}$/)?!0:!1}function get_win_self(a){return"undefined"!=typeof g_isfirefoxsdk&&g_isfirefoxsdk?a:a.self}function should_ignore_autocompleteoff_bypref(a,b){if(!b||!a&&((a=b.ownerDocument)||(a=LP_derive_doc()),!a))return!0;var c=!1;"undefined"!=typeof lpdontfillautocompleteoff&&(c=lpdontfillautocompleteoff?!0:!1);return c&&"off"==b.getAttribute("autocomplete")?(verbose_log("pref+autocomplete=off, not filling "+LP_getname(b)),!0):!1}function LP_element_is_MaskedField(a){if(!a)return!1;var b="",c="";try{b=a.ownerDocument.location.href,c=gettldcached(b)}catch(d){return!1}return!LP_has_textlike_type(a)?!1:"fidelity.com"==c&&!0===a.hasAttribute("data-unmasked")||a.hasAttribute("data-masklength")||("citi.com"==c||"citibank.com"==c)&&(name_is_MaskedField(LP_getname(a))||name_is_MaskedField(LP_getname(a,LP_GETNAME_FAVOR_ID_OVER_NAME)))?!0:!1}function LP_element_in_MaskedState(a){if(!a)return!1;var b=a.value;return b&&"string"==typeof b&&0<b.length&&"password"!=a.type&&0<=b.indexOf("***")?!0:!1}function name_is_MaskedField(a){return null==a||0>=a.length?!1:a.match(/masked/i)&&!a.match(/unmasked/i)?!0:!1}function name_is_UnmaskedField(a){return null==a||0>=a.length?!1:a.match(/unmasked/i)?!0:!1}function LP_get_input_pattern(a,b){if(!a||!b)return null;var c=LP_pickFieldName(a,b),d=fieldcacheget(a,c,"input_pattern");if(null!=d)return g_ctr_formcache_hits++,d;g_ctr_formcache_misses++;(d=b.getAttribute("pattern"))&&(d=d.trim());if(!d)return null;-1==d.indexOf("?:")&&-1==d.indexOf("$")&&(d="^(?:"+d+")$");fieldcacheset(a,c,"input_pattern",d);return d}function LP_get_input_pattern_desc(a,b){if(!a||!b)return null;var c=b.getAttribute("title");if(c)return c;if(c=b.getAttribute("aria-describedby"))if(c=a.getElementById(c))return LP_elt_get_text(c);return null}function LP_test_input_pattern(a,b){if(!a||!b)return null;var c=LP_get_input_pattern(a,b);if(!c)return!1;c=RegExp(c);return!c?!1:c.exec(b.value)?!0:!1}function LP_get_generate_password_with_pattern(a,b){if(!a)return null;var c,d,e=[],f=a.getElementsByTagName("input");for(d=0;d<f.length&&d<MAX_INPUTS_HARD;d++)c=f[d],b&&c.form!=b||"password"==c.type&&!LP_explicit_ignored(a,c)&&(LP_implicit_ignored(a,c)||e.push({elt:c,score:0}));if(0>=e.length)return null;for(d=0;d<e.length;d++)if(c=e[d].elt,LP_get_input_pattern(a,c)&&(e[d].score+=10),(f=RegExp(lpgs("ff_currpass_regexp"),"i"))&&(f.exec(LP_getname(c,!1))||f.exec(LP_getname(c,!0))))e[d].score-=5;e.sort(function(a,b){return b.score-a.score});return 0<e[0].score?e[0].elt:null}function update_preobfuscate_field_value(a){if(!a)return!1;var b=a.ownerDocument;b||(b=LP_derive_doc());if(!b)return!1;var c=LP_pickFieldName(b,a);if(c){var d=a.value;"undefined"!=typeof d&&(null!==d&&!LP_element_in_MaskedState(a))&&fieldcacheset(b,c,"fieldval",d)}return!0}function should_track_field_onkeyup(a){if(!a)return!1;var b=a.ownerDocument;b||(b=LP_derive_doc());if(!b)return!1;var c=LP_pickFieldName(b,a);if(c){var d=fieldcacheget(b,c,"stfu");if(null!=d)return d}var d=a.id,e=a.name;a=a.getAttribute("title");var f=get_doc_location_href(b);if("fidelity.com"==lp_gettld_url(f)&&("temp_id"==d||"temp_id"==a||"ssnt"==d||"ssn"==e||"userId"==d||"userId-input"==d))return c&&fieldcacheset(b,c,"stfu",!0),!0;c&&fieldcacheset(b,c,"stfu",!1);return!1}function LP_cleanup_on_logout(a,b){a||(a=LP_derive_doc());if(!a)return!1;if(null===b||"undefined"==typeof b)b=0;if(5<b)return!0;var c=!0,d="lpcurrpasselt lpcurruserelt _lpinvis __lpsadmsgdiv __lpsavemsgdiv __lpsuggestmsgdiv".split(" ");try{for(var e=0;e<d.length;e++){var f=document.getElementById(d[e]);f&&f.parentNode.removeChild(f);g_queeg_mode&&(f=document.getElementById(d[e]))&&LP_cleanup_on_logout(a,b+1)}}catch(g){c=!1}return c}function is_page_JSON(a){if(!a)return null;if(a=a.body){var b=a.innerHTML;if((b="undefined"!=typeof a.innerHTML.trim?a.innerHTML.trim():a.innerHTML.replace(/^\s*/,""))&&2<b.length&&("{"==b[0]||"("==b[0]))return!0}return!1}function popupfill_shoulddoform(a,b){a||(a=LP_derive_doc());if(!a||!b)return!1;var c=b.name,d=b.id,e=["lpmanualform","lpwebsiteeventform"];return c&&lp_in_array(c,e)||d&&lp_in_array(d,e)?!1:!0}var g_punycodecache=[];function isipv6url(a){return a.match(/\[.*\]/)?!0:!1}var punycode=new function(){function a(a,b,k){a=k?Math.floor(a/d):a>>1;a+=Math.floor(a/b);for(b=0;a>(c-e)*f>>1;b+=c)a=Math.floor(a/(c-e));return Math.floor(b+(c-e+1)*a/(a+g))}function b(a,b){a-=(26>a-97)<<5;return a+((!b&&26>a-65)<<5)}this.utf16={decode:function(a){for(var b=[],c=0,d=a.length,e,f;c<d;){e=a.charCodeAt(c++);if(55296===(e&63488)){f=a.charCodeAt(c++);if(55296!==(e&64512)||56320!==(f&64512))throw new RangeError("UTF-16(decode): Illegal UTF-16 sequence");e=((e&1023)<<10)+(f&1023)+65536}b.push(e)}return b},encode:function(a){for(var b=[],c=0,d=a.length,e;c<d;){e=a[c++];if(55296===(e&63488))throw new RangeError("UTF-16(encode): Illegal UTF-16 value");65535<e&&(e-=65536,b.push(String.fromCharCode(e>>>10&1023|55296)),e=56320|e&1023);b.push(String.fromCharCode(e))}return b.join("")}};var c=36,d=700,e=1,f=26,g=38;this.decode=function(b,d){var g=[],l=[],n=b.length,m,q,r,s,p,t,u,v,w;m=128;r=0;s=72;p=b.lastIndexOf("-");0>p&&(p=0);for(t=0;t<p;++t){d&&(l[g.length]=26>b.charCodeAt(t)-65);if(128<=b.charCodeAt(t))throw new RangeError("Illegal input >= 0x80");g.push(b.charCodeAt(t))}for(p=0<p?p+1:0;p<n;){t=r;q=1;for(u=c;;u+=c){if(p>=n)throw RangeError("punycode_bad_input(1)");v=b.charCodeAt(p++);v=10>v-48?v-22:26>v-65?v-65:26>v-97?v-97:c;if(v>=c)throw RangeError("punycode_bad_input(2)");if(v>Math.floor((2147483647-r)/q))throw RangeError("punycode_overflow(1)");r+=v*q;w=u<=s?e:u>=s+f?f:u-s;if(v<w)break;if(q>Math.floor(2147483647/(c-w)))throw RangeError("punycode_overflow(2)");q*=c-w}q=g.length+1;s=a(r-t,q,0===t);if(Math.floor(r/q)>2147483647-m)throw RangeError("punycode_overflow(3)");m+=Math.floor(r/q);r%=q;d&&l.splice(r,0,26>b.charCodeAt(p-1)-65);g.splice(r,0,m);r++}if(d){r=0;for(n=g.length;r<n;r++)l[r]&&(g[r]=String.fromCharCode(g[r]).toUpperCase().charCodeAt(0))}return this.utf16.encode(g)};this.encode=function(d,g){var k,l,n,m,q,r,s,p,t,u;g&&(u=this.utf16.decode(d));d=this.utf16.decode(d.toLowerCase());var v=d.length;if(g)for(r=0;r<v;r++)u[r]=d[r]!=u[r];var w=[];k=128;l=0;q=72;for(r=0;r<v;++r)128>d[r]&&w.push(String.fromCharCode(u?b(d[r],u[r]):d[r]));n=m=w.length;for(0<m&&w.push("-");n<v;){s=2147483647;for(r=0;r<v;++r)p=d[r],p>=k&&p<s&&(s=p);if(s-k>Math.floor((2147483647-l)/(n+1)))throw RangeError("punycode_overflow (1)");l+=(s-k)*(n+1);k=s;for(r=0;r<v;++r){p=d[r];if(p<k&&2147483647<++l)return Error("punycode_overflow(2)");if(p==k){s=l;for(p=c;;p+=c){t=p<=q?e:p>=q+f?f:p-q;if(s<t)break;w.push(String.fromCharCode(t+(s-t)%(c-t)+22+75*(26>t+(s-t)%(c-t))-0));s=Math.floor((s-t)/(c-t))}w.push(String.fromCharCode(s+22+75*(26>s)-((0!=(g&&u[r]?1:0))<<5)));q=a(l,n+1,n==m);l=0;++n}}++l;++k}return w.join("")};this.get_host=function(a,b){var c=a;if(isipv6url(a)&&b){var d=a.match(/\[.*\](:\d+)/);if(d)return d[0]}d=c.indexOf("://");-1!=d&&(c=c.substring(d+3));d=c.indexOf("/");-1!=d&&(c=c.substring(0,d));d=c.indexOf("?");-1!=d&&(c=c.substring(0,d));d=c.indexOf("@");-1!=d&&(c=c.substring(d+1));d=c.indexOf(":");-1!=d&&(c=c.substring(0,d));-1!=c.indexOf(".",c.length-1)&&(c=c.substring(0,c.length-1));return c};this.URLToASCII=function(a){if("string"!=typeof a)return a;"undefined"==typeof g_punycodecache&&(g_punycodecache=[]);if("undefined"!=typeof g_punycodecache[a])return g_punycodecache[a];var b=!1;isipv6url(a)&&(b=!0);var c=this.get_host(a,b),b=this.ToASCII(c,b);if(b==c)return g_punycodecache[a]=d,a;var d=a.replace(c,b);return g_punycodecache[a]=d};this.ToASCII=function(a,b){var c=a.split(".");b&&(c=[a]);var d=[],e=/[^A-Za-z0-9-]/;b&&(e=/[^\[\]A-Za-z0-9:.-]/);for(var f=0;f<c.length;++f){var g=c[f];d.push(g.match(e)?"xn--"+punycode.encode(g):g)}return d.join(".")};this.URLToUnicode=function(a){if("string"!=typeof a)return a;var b=this.get_host(a),c=this.ToUnicode(b);return c==b?a:a.replace(b,c)};this.ToUnicode=function(a){a=a.split(".");for(var b=[],c=0;c<a.length;++c){var d=a[c];b.push(d.match(/^xn--/)?punycode.decode(d.slice(4)):d)}return b.join(".")}};function lpCheckCurrentPWField(a,b){"undefined"==typeof b&&(b=!1);for(var c=RegExp(lpgs("ff_currpass_regexp"),"i"),d=0;d<a.elements.length;d++){var e=a.elements[d];if("password"==e.type&&(b||lpIsVisible(e))){if(c.exec(getname(e)))return e;var f=lpGetTextBeforeFormField(e);if(""!=f&&c.exec(f))return e}}return null}function lpCountInputFields(a,b){var c=[];c.text=c.password=c["select-one"]=c.textarea=c.email=c.tel=c.url=c.passwordValues=c.passwordvisible=c.uniquepasswords=0;c.uname=c.pname=c.oname="";for(var d=a.elements,e=!1,f=!1,g=[],h="undefined"!=typeof d?d.length:0,j=0;j<h;j++){var k=d[j].type,l=getname(d[j]),n=d[j].value;("password"==k||"text"==k||"select-one"==k||"textarea"==k||"email"==k||"tel"==k||"url"==k)&&c[k]++;"password"==k?(b||lpIsVisible(d[j])&&++c.passwordvisible,""!=n&&c.passwordValues++,e&&(f=!0),e=!0,lp_in_array(n,g)||(g[g.length]=n)):"hidden"==k||"INPUT"!=d[j].tagName&&"SELECT"!=d[j].tagName&&"TEXTAREA"!=d[j].tagName||(e=!1);if(("text"==k||"email"==k||"tel"==k||"url"==k)&&"openid_url"!=l&&(""==c.uname||""==c.pname))c.uname=l;"password"==k&&(c.pname=l);if(("text"==k||"email"==k||"tel"==k||"url"==k)&&"openid_url"==l)c.oname=l}c.passwordsContiguous=f;c.uniquepasswords=g.length;return c}function lpIsFieldCurrentPWField(a){if(!a||"INPUT"!=a.tagName.toUpperCase())return!1;var b=RegExp(lpgs("ff_currpass_regexp"),"i");if("password"==a.type){if(b.exec(getname(a)))return!0;a=lpGetTextBeforeFormField(a);if(""!=a&&b.exec(a))return!0}return!1}function lpGetTextBeforeFormField(a){var b="";try{if(""!=a.id&&"undefined"!=typeof a.ownerDocument&&null!=a.ownerDocument)for(var c=a.ownerDocument.getElementsByTagName("label"),d=0;d<c.length;d++)if(c[d].htmlFor==a.id){var e=lp_strip(lpGetText(c[d],a,!1,!0));if(2<=e.length)return e;break}if("string"==typeof a.placeholder&&2<a.placeholder.length)return a.placeholder;var f=a.parentNode;if(f&&("DIV"==f.tagName||"SPAN"==f.tagName))f=f.parentNode;if(f&&"TD"==f.tagName){var g=lp_strip(lpGetText(f,a,!1,!0));if(2<=g.length)return g;var h=f.parentNode,j=lp_strip(lpGetText(h,a,!1,!0));if(2<=j.length)return j;var g=c=-1,k=f.offsetParent;if(k)for(j=0;j<k.rows.length;j++)if(h==k.rows[j]){c=j;break}for(j=0;j<h.cells.length;j++)if("undefined"!=typeof h.cells[j]&&f==h.cells[j]){g=j;break}f=0;if(0<c&&-1!=g){for(d=j=h=0;d<=g;d++){var l=k.rows[c].cells[d],n=1;l&&"number"==typeof l.colSpan&&(n=l.colSpan);d<g?h+=n:j=h+n-1}for(var m=0,d=0;d<=j;d++){l=k.rows[c-1].cells[d];n=1;l&&"number"==typeof l.colSpan&&(n=l.colSpan);var q=1;l&&"number"==typeof l.rowSpan&&(q=l.rowSpan);1<q&&(h+=q-1,j+=q-1);var q=m,r=m+n-1;if((h>=q&&h<=r||j>=q&&j<=r)&&l)if(e=lp_strip(lpGetText(l,a,!1,!0)),2<=e.length){b=e;f=1;break}m+=n}}if(!f&&(-1!=c&&-1!=g)&&(l=k.rows[c].cells[0]))e=lp_strip(lpGetText(l,a,!1,!0)),2<=e.length&&(b=e)}}catch(s){lpdbg("error","Table Text problem.."+s+" ln: "+s.lineNumber)}""==b&&(b=lpGetTextBeforeFormField_orig(a));return b}function LP_innerHTMLParse(a,b){var c="",d=a.innerHTML,e=RegExp("<(input|select|textarea)[^>]+name=[\"']?"+lp_regexp_quote(lpxmlescape(getname(b)))+"[\"']?[^>]*>","i"),e=e.exec(d);if(!e&&(e=RegExp("<(input|select|textarea)[^>]+id=[\"']?"+lp_regexp_quote(lpxmlescape(getname(b)))+"[\"']?[^>]*>","i"),e=e.exec(d),!e))return"";for(var f=d.indexOf(e[0]),e=0,g=1001<f?f-1001:0,f=f-1;f>=g;f--){var h=d.charAt(f);if(">"==h){if(0>=e){c=c.replace(/ /," ");c=lp_strip(c);if(2<c.length)return c;c=""}e++}else"<"==h?0<e&&e--:0>=e&&(c=h+c)}c=c.replace(/ /," ");c=lp_strip(c);2<c.length||(c="");return c}function lpGetTextBeforeFormField_orig(a){if(""==getname(a))return"";for(var b=a,c="",d=0;10>d&&b.parentNode;d++){var b=b.parentNode,c=lp_strip(lpGetText(b,a)),e=200;try{"undefined"!=typeof lp_formfill_tld&&"lifelock.com"==lp_formfill_tld&&(e=150)}catch(f){}if(c.length>e)return a=LP_innerHTMLParse(b,a),lpdbg("error","Using LP_innerHTMLParse:"+a),a;if(2<=c.length)break}return c}var lpgettext_abort=!1;function lpGetText(a,b,c,d){c||(lpgettext_abort=!1);if(a==b)return lpgettext_abort=!0,"";if(3==a.nodeType)return 2<lp_strip(a.nodeValue).length?a.nodeValue:"";c=[];var e=0,f="string"==typeof a.tagName?a.tagName:"";if(a.lp_too_many)return"";var g=a&&a.style&&!lpIsVisible(a,!0);d=!1;"LABEL"==f&&(d=!0);e=0;if("OPTION"!=f&&"SCRIPT"!=f&&"TEXTAREA"!=f&&!g)for(;"undefined"!=typeof a.childNodes[e];){c[c.length]=lpGetText(a.childNodes[e],b,!0,d);if(lpgettext_abort)break;if(50<e++)return a.lp_too_many=1,lpdbg("error","More than 50 child elements: something is wrong, abort"),""}a="|";"undefined"!=typeof d&&d&&(a="");return c.join(a)}var lpParseUriCache=[],lpParseUriNumber=0;function lpParseUri(a){if("string"!=typeof a)return"";if(null!=lpParseUriCache[a])return lpParseUriCache[a];var b=null,c=null,d=a;-1!=a.indexOf("#")&&(c=a.substring(a.indexOf("#")+1),a=a.substring(0,a.indexOf("#")));-1!=a.indexOf("?")&&(b=a.substring(a.indexOf("?")+1),a=a.substring(0,a.indexOf("?")));var e=a.match(/^(.*:\/\/[^\/]+\/.*)@/);e&&(a=a.substring(0,e[1].length)+a.substring(e[1].length).replace(/@/g,"%40"));if(2047<a.length)return"";var f=lpParseUri.options,e=null;try{e=f.parser[f.strictMode?"strict":"loose"].exec(a)}catch(g){try{e=500<a.length?f.parser[f.strictMode?"strict":"loose"].exec(a.substr(0,500)):f.parser[f.strictMode?"strict":"loose"].exec(a.substr(0,floor(a.length/2)))}catch(h){lpReportError("parseuri : failing "+a),e=f.parser[f.strictMode?"strict":"loose"].exec("http://")}}a=e;for(var j={},e=14;e--;)j[f.key[e]]=a[e]||"";j[f.q.name]={};j[f.key[12]].replace(f.q.parser,function(a,b,c){b&&(j[f.q.name][b]=c)});null!=b&&(j.query=b,null!=c&&(j.anchor=c));j.host&&(j.host=fix_url_host(j.host));if(500<lpParseUriNumber){for(var k in lpParseUriCache){delete lpParseUriCache[k];break}lpParseUriNumber=0}lpParseUriCache[d]=j;lpParseUriNumber++;return j}lpParseUri.options={strictMode:!1,key:"source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var lpCanUrlCache=[],lpCanUrlExNumber=0;function lpcanonizeUrl(a,b){if("about:blank"==a)return"";if(null!=lpCanUrlCache[a])return lpCanUrlCache[a];null==b&&(b=lpParseUri(a));var c="";""!=b.port&&b.port!=get_default_port(b.protocol)&&(c=":"+b.port);if(b.host)c=b.host.toLowerCase()+c+b.path;else{if(!a)return"";c=a}-1!=c.indexOf(";")&&(c=c.substring(0,c.indexOf(";")));if(500<lpCanUrlExNumber){for(var d in lpCanUrlCache){delete lpCanUrlCache[d];break}lpCanUrlExNumber=0}lpCanUrlCache[a]=c;lpCanUrlExNumber++;return c}function lp_gettld(a,b){("undefined"==typeof lp_all_tlds||null==lp_all_tlds)&&lp_init_tlds();if("string"!=typeof a)return"";if(""==a&&"string"==typeof b&&0==b.indexOf("file://"))return"file:";a=a.toLowerCase();a=a.replace(/\.$/,"");var c=a.split("."),d;if(a.match(/^\d+\.\d+\.\d+\.\d+$/))d=4;else if(d=2,2<=c.length){var e=c[c.length-1];"undefined"!=typeof lp_all_tlds[e]&&lp_in_array(c[c.length-2],lp_all_tlds[e])&&(d=3)}for(;c.length>d;)c.shift();return c.join(".")}function lp_gettld_url(a){var b=lpParseUri(a);return lp_gettld(b.host,a)}function getname_url(a){a=lpParseUri(punycode.URLToUnicode(a));return("string"==typeof a.host?a.host:"").replace(/^www\./,"")}function lptrim(a){return"string"!=typeof a?a:a.replace(/^\s+|\s+$/g,"")}function lp_regexp_quote(a){return(a+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!<>\|\:])/g,"\\$1")}function getname(a,b){if(b&&"undefined"!=typeof a.id&&""!=a.id)return a.id;if("undefined"!=typeof a&&null!=a){if("undefined"!=typeof a.name&&""!=a.name)return a.name;if("undefined"!=typeof a.id)return a.id}return""}function lpIsVisible(a,b){for(;a&&"BODY"!=a.tagName;a=a.parentNode){if("undefined"!=typeof a.style&&("hidden"==a.style.visibility||"none"==a.style.display))return!1;try{var c="undefined"!=typeof a.ownerDocument.defaultView.getComputedStyle?a.ownerDocument.defaultView.getComputedStyle(a,""):a.currentStyle;if("hidden"==c.visibility||"none"==c.display)return!1}catch(d){}if(b)break}return!0}function lp_in_array(a,b){for(var c=b.length,d=0;d<=c;d++)if("undefined"!=typeof b[d]&&b[d]==a)return lpArrayOffset=d,!0;return!1}function lp_strip(a){if(!a.length)return a;a=a.replace(/\s+/g," ");a=a.replace(/^\s+|\s+$/g,"");a=a.replace(/[\|]+$/g,"");var b=a.match(/\|([^\|]+)$/);b&&(a=b[1],a=a.replace(/^\s+|\s+$/g,""));return a}function lpxmlescape(a){"number"==typeof a&&(a=""+a);a=a.replace(/&/g,"&");a=a.replace(/</g,"<");a=a.replace(/>/g,">");return a=a.replace(/"/g,""")}function lpxmlunescape(a){"number"==typeof a&&(a=""+a);a=a.replace(/</g,"<");a=a.replace(/>/g,">");a=a.replace(/"/g,'"');return a=a.replace(/&/g,"&")}var lpRegExCache=[],lpRegExNumber=0;function regexp_match_c(a,b){var c=a.toString()+"_"+b;80<c.length&&("function"==typeof fasthash?c=fasthash(c):"function"==typeof SHA256&&(c=SHA256(c)));if(null!=lpRegExCache[c])return"1"==lpRegExCache[c];var d=a.exec(b);if(2500<lpRegExNumber){for(var e in lpRegExCache){delete lpRegExCache[e];break}lpRegExNumber=0}lpRegExCache[c]=d?"1":"0";lpRegExNumber++;return d}function fire_onchange(a,b,c){try{if(a){if(a.ownerDocument&&"function"==typeof a.ownerDocument.createEvent){var d=a.ownerDocument.createEvent("Events");d.initEvent("change",!0,!0);a.dispatchEvent(d);"undefined"!=typeof ischrome&&(ischrome&&"function"==typeof a.onkeyup)&&(c&&(d.keyCode=8),a.onkeyup(d))}else"undefined"!=typeof a.fireEvent&&a.fireEvent("onchange");("undefined"==typeof b||null==b||b)&&"function"==typeof sendKey&&sendKey("SHIFT",a);if("function"==typeof lpGetBrowserForDocument){var e=lpGetBrowserForDocument(a.ownerDocument);e&&(e.lpfieldchanged=!0)}}}catch(f){}}function get_default_port(a){switch(a){case "http":return 80;case "https":return 443;case "ftp":return 21;default:return 0}}function get_port(a){var b=0;"undefined"!=typeof a.port&&a.port?b=a.port:"undefined"!=typeof a.protocol&&a.protocol&&(b=get_default_port(a.protocol));return b}function compare_ports(a,b){var c=""!=a.port?a.port:get_default_port(a.protocol),d=""!=b.port?b.port:get_default_port(b.protocol);return c==d}function lpgetlocalts(){return"undefined"!=typeof Date?(new Date).getTime():0}function lp_get_gmt_timestamp(){if("undefined"!=typeof Date)var a=(new Date).getTime(),a=parseInt(a/1E3);else a=0;return a}function lp_get_local_timestamp(){return lp_get_gmt_timestamp()}function lp_init_tlds(){if("undefined"==typeof lp_all_tlds||null==lp_all_tlds)lp_all_tlds=[],lp_all_tlds.hu="2000 agrar bolt casino city co com erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news nui org priv reklam sex shop sport suli szex tm tozsde utazas video".split(" "),lp_all_tlds.nl=["752"],lp_all_tlds.ca="ab bc gc mb nb nf nl ns nt nu on pe qc sk yk".split(" "),lp_all_tlds.pa="abo ac com edu gob ing med net nom org sld".split(" "),lp_all_tlds.se="ab ac bd brand com c d e fh fhsk fhv f g h i komforb kommunalforbund komvux k lanarb lanbib mil m naturbruksgymn net n org o parti pp press s sshn tm t u w x y z".split(" "),lp_all_tlds.ac="ac co com edu gov gv mil net or org".split(" "),lp_all_tlds.ae="ac com gov mil name net org pro sch".split(" "),lp_all_tlds.at=["ac","co","gv","or","priv"],lp_all_tlds.be="ac ap co com fgov to xa".split(" "),lp_all_tlds.cn="ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hk hl hn jl js jx ln mo net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj".split(" "),lp_all_tlds.cr="ac co ed fi go or sa".split(" "),lp_all_tlds.cy="ac biz com ekloges gov info ltd name net org parliament press pro tm".split(" "),lp_all_tlds.fj="ac biz com gov id info mil name net org pro school".split(" "),lp_all_tlds.fk="ac co gov net nom org".split(" "),lp_all_tlds.gg="ac alderney co gov guernsey ind ltd net org sark sch".split(" "),lp_all_tlds.gn=["ac","com","gov","net","org"],lp_all_tlds.gt="com edu gob ind mil net org".split(" "),lp_all_tlds.id="ac co go mil net or sch web".split(" "),lp_all_tlds.il="ac co gov idf k12 muni net org".split(" "),lp_all_tlds.im="ac co gov net nic org".split(" "),lp_all_tlds["in"]="ac co edu ernet firm gen gov ind mil net nic org res".split(" "),lp_all_tlds.ir="ac co gov net org sch".split(" "),lp_all_tlds.is=["ac","org"],lp_all_tlds.je="ac co gov ind jersey ltd net org sch".split(" "),lp_all_tlds.jp="ac ad aichi akita aomori chiba co ed ehime fukui fukuoka fukushima gifu go gov gr gunma hiroshima hokkaido hyogo ibaraki ishikawa iwate kagawa kagoshima kanagawa kawasaki kitakyushu kobe kochi kumamoto kyoto lg mie miyagi miyazaki nagano nagasaki nagoya nara ne net niigata oita okayama okinawa org or osaka saga saitama sapporo sendai shiga shimane shizuoka tochigi tokushima tokyo tottori toyama wakayama yamagata yamaguchi yamanashi yokohama".split(" "),lp_all_tlds.kr="ac co go ne nm or re".split(" "),lp_all_tlds.mw="ac com co coop edu gov int museum net org".split(" "),lp_all_tlds.nz="ac co cri geek gen govt iwi maori mil net org school".split(" "),lp_all_tlds.ru="ac com int msk net org pp".split(" "),lp_all_tlds.rw="ac com co edu gouv gov int mil net".split(" "),lp_all_tlds.au="act asn com conf csiro edu gov id info net nsw nt org oz qld sa tas telememo vic wa".split(" "),lp_all_tlds.th="ac co go in mi net or".split(" "),lp_all_tlds.tj="ac biz com co edu go gov int mil name net org web".split(" "),lp_all_tlds.tz=["ac","co","go","ne","or"],lp_all_tlds.ug="ac co go ne or sc".split(" "),lp_all_tlds.uk="ac bl british-library com co gov icnet jet ltd me mil mod national-library-scotland nel net nhs nic nls org parliament plc police sch".split(" "),lp_all_tlds.vn="ac biz com edu gov health info int name net org pro".split(" "),lp_all_tlds.yu=["ac","co","edu","org"],lp_all_tlds.za="ac alt city com co edu gov law mil net ngo nom org school tm web".split(" "),lp_all_tlds.zm=["ac","co","gov","org","sch"],lp_all_tlds.zw=["ac","co","gov","org"],lp_all_tlds.br="adm adv agr am arq art ato bio bmd cim cng cnt com coop dpn ecn edu eng esp etc eti far fm fnd fot fst g12 ggf gov imb ind inf jor lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet zlg".split(" "),lp_all_tlds.ht="adult art asso com coop edu firm gouv info med net org perso pol pro rel shop".split(" "),lp_all_tlds.mv="aero biz com coop edu gov info int mil museum name net org pro".split(" "),lp_all_tlds.pl="agro aid art atm auto bialystok biz com edu gdansk gda gmina gov gsm info krakow lodz lublin mail media miasta mil net ngo nom olsztyn org pc poznan priv realestate rel shop sklep slupsk sos szczecin targi tm torun tourism travel turystyka warszawa waw wroclaw wroc".split(" "),lp_all_tlds.us="ak al ar az ca com co ct dc de dni fed fl ga hi ia id il in isa kids ks ky la ma md me mi mn mo ms mt nc nd ne nh nj nm nsn nv ny oh ok or pa ri sc sd tn tx ut va vt wa wi wv wy".split(" "),lp_all_tlds.fi=["aland"],lp_all_tlds.mil=["army","navy"],lp_all_tlds["do"]="art com edu gob gov mil net org sld web".split(" "),lp_all_tlds.dz="art asso com edu gov net org pol".split(" "),lp_all_tlds.co="arts com edu firm gov info int mil net nom org rec store uk web".split(" "),lp_all_tlds.ro="arts com firm info nom nt org rec store tm www".split(" "),lp_all_tlds.ve="arts bib com co edu firm gov info int mil net nom org rec store tec web".split(" "),lp_all_tlds.lv="asn com conf edu eu gov id mil net org".split(" "),lp_all_tlds.lk="assn com edu gov grp hotel int ltd net ngo org sch soc web".split(" "),lp_all_tlds.fr="asso com gouv nom prd presse tm".split(" "),lp_all_tlds.gp=["asso","com","edu","net","org"],lp_all_tlds.mc=["asso","tm"],lp_all_tlds.tr="av bbs bel biz com dr edu gen gov info k12 mil name net org pol tel web".split(" "),lp_all_tlds.az="biz com edu gov info int mil name net org pp".split(" "),lp_all_tlds.et="biz com edu gov info name net org".split(" "),lp_all_tlds.nr="biz com co edu gov info net org".split(" "),lp_all_tlds.om="biz com co edu gov med mil museum net org pro sch".split(" "),lp_all_tlds.pk="biz com edu fam gob gok gon gop gos gov net org web".split(" "),lp_all_tlds.pr="biz com edu gov info isla name net org pro".split(" "),lp_all_tlds.tt="biz com co edu gov info name net org pro us".split(" "),lp_all_tlds.ua="cherkassy chernigov chernovtsy ck cn com crimea cv dnepropetrovsk dn donetsk dp edu gov if ivano-frankivsk kharkov kherson khmelnitskiy kh kiev kirovograd km kr ks kv lg lugansk lutsk lviv mk net nikolaev odessa od org pl poltava rovno rv sebastopol sumy ternopil te uzhgorod vinnica vn zaporizhzhe zhitomir zp zt".split(" "),lp_all_tlds.tw="club com ebiz edu game gove gov idv mil net org".split(" "),lp_all_tlds.ag=["co","com","net","nom","org"],lp_all_tlds.ao="co ed gv it og pb".split(" "),lp_all_tlds.bw=["co","org"],lp_all_tlds.ck=["co"],lp_all_tlds.ls=["co","org"],lp_all_tlds.ma=["co","gov","net","org"],lp_all_tlds.af=["com","edu","gov","net"],lp_all_tlds.ai=["com","net","off","org"],lp_all_tlds.al="com edu gov inima net org soros tirana uniti upt".split(" "),lp_all_tlds.an=["com","edu","net","org"],lp_all_tlds.ar="com gov int mil net org".split(" "),lp_all_tlds.aw=["com"],lp_all_tlds.bb=["com","edu","gov","net","org"],lp_all_tlds.bd="com edu gov mil net org".split(" "),lp_all_tlds.bm=["com","edu","gov","net","org"],lp_all_tlds.bn=["com","edu","net","org"],lp_all_tlds.bo="com edu gob gov int mil net org tv".split(" "),lp_all_tlds.bs=["com","net","org"],lp_all_tlds.bt=["com","edu","gov","net","org"],lp_all_tlds.cd=["com","net","org"],lp_all_tlds.ch=["com","gov","net","org"],lp_all_tlds.cu="com edu gov inf net org".split(" "),lp_all_tlds.dm=["com","edu","gov","net","org"],lp_all_tlds.ec="com edu fin gov info k12 med mil net org pro".split(" "),lp_all_tlds.ee=["com","fie","org","pri"],lp_all_tlds.eg="com edu eun gov mil net org sci".split(" "),lp_all_tlds.es=["com","edu","gob","nom","org"],lp_all_tlds.eu=["com"],lp_all_tlds.gb=["com","net"],lp_all_tlds.ge="com edu gov mil net org pvt".split(" "),lp_all_tlds.gh=["com","edu","gov","mil","org"],lp_all_tlds.gi="com edu gov ltd mod org".split(" "),lp_all_tlds.gr=["com","edu","gov","net","org"],lp_all_tlds.gu="com edu gov mil net org".split(" "),lp_all_tlds.hk="com edu gov idv net org".split(" "),lp_all_tlds.hn="com edu gob mil net org".split(" "),lp_all_tlds.hr=["com","from","iz","name"],lp_all_tlds.jm=["com","edu","gov","net","org"],lp_all_tlds.jo="com edu gov mil net org".split(" "),lp_all_tlds.kh="com edu gov mil net org per".split(" "),lp_all_tlds.kw="com edu gov mil net org".split(" "),lp_all_tlds.ky=["com","edu","gov","net","org"],lp_all_tlds.kz="com edu gov mil net org".split(" "),lp_all_tlds.la=["com","net","org"],lp_all_tlds.lb="com edu gov mil net org".split(" "),lp_all_tlds.lc=["com","edu","gov","net","org"],lp_all_tlds.li=["com","gov","net","org"],lp_all_tlds.lr=["com","edu","gov","net","org"],lp_all_tlds.ly="com edu gov id med net org plc sch".split(" "),lp_all_tlds.mg="com edu gov mil nom org prd tm".split(" "),lp_all_tlds.mk=["com","org"],lp_all_tlds.mm=["com","edu","gov","net","org"],lp_all_tlds.mo=["com","edu","gov","net","org"],lp_all_tlds.mt=["com","edu","gov","net","org"],lp_all_tlds.mu=["com","co"],lp_all_tlds.mx="com edu gob gov net org".split(" "),lp_all_tlds.my="com edu gov mil name net org".split(" "),lp_all_tlds.na=["com","net","org"],lp_all_tlds.nc=["com","net","org"],lp_all_tlds.ng=["com","edu","gov","net","org"],lp_all_tlds.ni="com edu gob net nom org".split(" "),lp_all_tlds.no="com fhs folkebibl fylkesbibl herad idrett kommune mil museum priv stat vgs".split(" "),lp_all_tlds.np="com edu gov mil net org ort".split(" "),lp_all_tlds.pe="com edu gob mil net nom org".split(" "),lp_all_tlds.pf=["com","edu","org"],lp_all_tlds.pg=["com","net"],lp_all_tlds.ph="com gov mil net ngo org".split(" "),lp_all_tlds.ps="com edu gov net org plo sec".split(" "),lp_all_tlds.pt="com edu gov int net nome org publ".split(" "),lp_all_tlds.py=["com","edu","gov","net","org"],lp_all_tlds.qc=["com"],lp_all_tlds.sa="com edu gov med net org pub sch".split(" "),lp_all_tlds.sb=["com","edu","gov","net"],lp_all_tlds.sc=["com","edu","gov","net","org"],lp_all_tlds.sd="com edu gov info med net org tv".split(" "),lp_all_tlds.sg="com edu gov idn net org per".split(" "),lp_all_tlds.sh="com edu gov mil net org".split(" "),lp_all_tlds.sv="com co edu gob org red".split(" "),lp_all_tlds.sy=["com","gov","net","org"],lp_all_tlds.tn="com edunet ens fin gov ind info intl nat net org rnrt rns rnu tourism".split(" "),lp_all_tlds.uy="com edu gub mil net org".split(" "),lp_all_tlds.vi="com co edu gov net org".split(" "),lp_all_tlds.ye=["com","net"],lp_all_tlds.pro=["cpa","law","med"],lp_all_tlds.arpa="e164 in-addr ip6 iris uri urn".split(" "),lp_all_tlds["int"]=["eu"],lp_all_tlds.bf=["gov"],lp_all_tlds.by=["gov","mil"],lp_all_tlds.cx=["gov"],lp_all_tlds.ie=["gov"],lp_all_tlds.it=["gov","pisa"],lp_all_tlds.lt=["gov","mil"],lp_all_tlds.lu=["gov","mil","net","org"],lp_all_tlds.to=["gov"],lp_all_tlds.tp=["gov"],lp_all_tlds.tv=["gov"],lp_all_tlds.mobi=["music","weather"],lp_all_tlds.mh=["net"],lp_all_tlds.ad=["nom"],lp_all_tlds.sr=["rs"],lp_all_tlds.va=["vatican"]}function checkurlrules(a,b){return b}function applyurlrule(a){return a}function removeurlrule(a){return a}function lpsubstring(a,b,c){var d="",e=c-b;for(c=0;c<e;++c)d+=a[c+b];return d}function lpcreaterandomhexstring(a){for(var b="",c=0;c<a;c++)var d=get_random(0,15),b=b+"0123456789ABCDEF".substring(d,d+1);return b}function lpalert(a,b){"undefined"!=typeof LP&&"function"==typeof LP.lpgs?LP.alert(LP.lpgs(a),b):"function"==typeof alertfrombg?alertfrombg(lpgs(a)):alert(lpgs(a))}function checkUsernameHash(){if(null==lpusername_hash||""==lpusername_hash){var a=null;"string"==typeof g_username&&""!=g_username?a=g_username:"string"==typeof lpusername&&""!=lpusername&&(a=lpusername);null!=a&&("function"==typeof SHA256?lpusername_hash=SHA256(a):"function"==typeof lp_sha256&&(lpusername_hash=lp_sha256(a)))}}function utf8_to_b64(a){return btoa(a)}function b64_to_utf8(a){return atob(a)}function is_encrypted_field(a){return"text"==a||"password"==a||"textarea"==a||"email"==a||"tel"==a}function clear_filled_fields(a,b,c){"undefined"==typeof c&&(c=1);if(10<c)return null;if(a&&"object"==typeof a.lp_filled_fields){for(var d=0;d<a.lp_filled_fields.length;d++){var e=a.lp_filled_fields[d].value;a.lp_filled_fields[d].value="";""!=e&&fire_onchange(a.lp_filled_fields[d])}a.lp_filled_fields=[]}if(b&&b.frames){a=b.frames.length;10<a&&(a=10);for(d=0;d<a;d++)b.frames[d].document&&clear_filled_fields(b.frames[d].document,b.frames[d].window,c+1)}}function fix_url_host(a){if("string"==typeof a){if(27<a.length&&-1!=a.indexOf("logmein.com",a.length-11)){var b=a.match(/^(.*)-[a-z]{10}(\.app).*(\.logmein\.com)$/);if(b)return b[1]+b[2]+b[3]}if(24<a.length&&-1!=a.indexOf("logme.in",a.length-8)&&(b=a.match(/^(.*)-[a-z]{10}(\.app).*(\.logme\.in)$/)))return b[1]+b[2]+b[3]}return a}var lpgslocales=[],lpgscache=[];function getchromeurl(a){return a}var g_console_log="";function truncatelog(){2E4<g_console_log.length&&(g_console_log=g_console_log.substring(g_console_log.length-2E4))}function console_log(a){g_isopera?window.opera.postError(a):("undefined"!=typeof console&&console&&console.log(a),g_issafari&&(truncatelog(),g_console_log+=a+"\n"))}function console_warn(a){g_isopera?window.opera.postError(a):"undefined"!=typeof console&&console.warn(a)}function console_error(a){g_isopera?window.opera.postError(a):("undefined"!=typeof console&&console.error(a),g_issafari&&(truncatelog(),g_console_log+=a+"\n"))}function dispatch_message(){g_isie&&L("not implemented yet.  need callout to lptoolband")}function lp_ofja(a){return lp_ofa(lp_es(a))}function lp_ofa(a){a=a.toString();var b=a.length,c="",d=0,e;for(e=0;e<b;++e)d=a.charCodeAt(e),48>d||57<d&&65>d||90<d&&97>d||122<d&&256>d?(d=d.toString(16),2!=d.length&&(d="0"+d),c+="&#x"+d+";"):c+=a.charAt(e);return c}function lp_of(a,b){"undefined"==typeof b&&(b=document);var c=b.createElement("div"),d=b.createTextNode(a);c.appendChild(d);return c.innerHTML}function lpdbg(a,b){"undefined"!=typeof g_isdebug&&g_isdebug&&lplog(a+" : "+b)}function lplog(a){console_log(a)}function lpgetCookie(a){for(var b=document.cookie.split(";"),c=b.length,d=0;d<c;d++){var e=b[d].split("=");if(e[0].trim()===a)return e[1]}}function get_tutorial_flags(){var a=lpgetCookie("tutorial");if("undefined"===typeof a||"undefined"===a)a=0;return a}function save_tutorial_flags(a){var b=new Date;b.setMonth(b.getMonth()+1);document.cookie="tutorial="+a+";expires="+b.toUTCString()}function set_innertext(a,b){a.innerText=b}function get_innertext(a){return null==a.innerText?"":a.innerText}function get_srcelement(a){return a.srcElement}LP_addEventHandler(document,"click",function(a){if(!do_bgiconinput||!icon_click_handler(a))is_your_popup_showing(document)?do_experimental_popupfill&&(a=LP_getEventTarget(a),g_popupfill_parent!=a&&closepopupfills(document)):(setTimeout(function(){checkShouldRecheck()},500),"undefined"==typeof document.addEventListener&&setTimeout(function(){checkShouldRecheck()},1200))});var LPJSON=this.LPJSON={};(function(){function a(a){d.lastIndex=0;return d.test(a)?'"'+a.replace(d,function(a){var b=g[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function b(c,d){var g,n,m,q,r=e,s,p=d[c];p&&("object"===typeof p&&"function"===typeof p.toJSON)&&(p=p.toJSON(c));"function"===typeof h&&(p=h.call(d,c,p));switch(typeof p){case "string":return a(p);case "number":return isFinite(p)?String(p):"null";case "boolean":case "null":return String(p);case "object":if(!p)return"null";e+=f;s=[];if(h&&"object"===typeof h){q=h.length;for(g=0;g<q;g+=1)n=h[g],"string"===typeof n&&(m=b(n,p))&&s.push(a(n)+(e?": ":":")+m)}else for(n in p)Object.hasOwnProperty.call(p,n)&&(m=b(n,p))&&s.push(a(n)+(e?": ":":")+m);m=0===s.length?"{}":e?"{\n"+e+s.join(",\n"+e)+"\n"+r+"}":"{"+s.join(",")+"}";e=r;return m}}var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,f,g={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},h;"function"!==typeof LPJSON.stringify&&(LPJSON.stringify=function(a,c,d){var g;f=e="";if("number"===typeof d)for(g=0;g<d;g+=1)f+=" ";else"string"===typeof d&&(f=d);if((h=c)&&"function"!==typeof c&&("object"!==typeof c||"number"!==typeof c.length))throw Error("JSON.stringify");return b("",{"":a})});"function"!==typeof LPJSON.parse&&(LPJSON.parse=function(a,b){function d(a,c){var e,f,g=a[c];if(g&&"object"===typeof g)for(e in g)Object.hasOwnProperty.call(g,e)&&(f=d(g,e),void 0!==f?g[e]=f:delete g[e]);return b.call(a,c,g)}if("undefined"!=typeof g_ischrome&&g_ischrome)return JSON.parse(a,b);var e;c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof b?d({"":e},""):e;throw new SyntaxError("JSON.parse");})})();

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ohiogift/attachments/20151202/4e9e174d/attachment.html>


More information about the Ohiogift mailing list