JS: XMP Children of Children

I know this may be a simple question to answer, but I am stuck. I am not a programmer, but I am trying to learn, and I am working with an actual programmer on this project, but he is not very familiar with scripting in InDesign, so I am trying to get him the high-level information he needs and he in turn helps me understand how to use that programmatically. So far this has worked really well within InDesign, but now I am venturing into the uncharted waters of XMP.
I am trying to write a script that will add XMP metadata to images. The idea is to run a script that will allow me to manually position the images in InDesign and then store that information in the XMP of the image so that the next time I use that image (running a different script), it will automatically position itself according to the XMP metadata. The image's XMP needs to hold position data for a number of material types and it needs to be extensible (hence the XMP), but looking through the documentation I am not able to decipher how to inject XMP data with multiple children into the image file, or how to add a child later on. I have been successful in putting a single property into a file's XMP data using the following script:
new ExternalObject('lib:AdobeXMPScript');
xmpFile = new XMPFile(
     'file.png',
     XMPConst.FILE_PNG,
     XMPConst.OPEN_FOR_UPDATE
xmpData = new XMPMeta();
xmpData.setProperty(
     XMPConst.NS_PNG,
     'propertyName',
     'data'
I have a schema in mind for the data and I am trying to keep it human-readable so that it can be more easily used in the future. I just can't figure out how to inject a parent --> child --> etc. type schema into the XMP.
Is there any documentation that anyone can point to that can help me understand this a little better? I have read the XMP section in the JavaScript Tools Guide and, while I admit I don't understand most of it, I can't seem to locate any information on how this would be done. Is there a section within that section that I can show my progammer that would help him understand how to do this?
Thanks in advance for any help you can give.

A really wild guess: createContainerItem. It seems you can add a new container of type 'BAG', which may be what you need here.

Similar Messages

  • Accessing children of children

    Hey!
    for some reason STORAGE[0].getChildAt(0) works whereas liner.getChildAt(0).getChildAt(0) does not. STORAGE is a movieclip and a child of liner. the error is something about not being able to use getChildAt on a display object.
    what's wrong? is there any other approach i could use?
    PS: liner.getChildAt(0) works and does indeed seem to refer to STORAGE[0]
    thanks!!

    What do you mean when you say "liner.getChildAt(0) works and does indeed seem to refer to STORAGE[0]"... in what ways does it work and seem?  You might find out that what you believe is STORAGE[0] is not.
    Try using...
    trace(DisplayObjectContainer(liner.getChildAt(0)).getChildAt(0));
    and see what comes up.
    If you have direct access to the objects via the STORAGE array there is no need to be trying to reach them via whatever you might have added them as children.  The reference in the array is a direct line to them.
    You should show the code that creates this system so that it is clearer what each element is and from where each arises.  If you are getting an error message, include the complete message.

  • Pulling in children of children in XML

    Hey all-
    Newbie to XML here and I have what I *hope* is an easy
    problem, but I just don't know the answer. And as I have to try and
    show this by Monday, I'm sort of stuck.
    I am trying to pull in information about houses via an xml
    file. Each house has 1 address, 1 owner, 1 description, and about 6
    photos. I have no problem accessing the address, owner, etc, and I
    can always access the first photo, but whenever I cycle through the
    photos, I seem to cycle through the first photo for every house,
    not every photo for each house.
    Basically, I need the children <images> to go up by
    one, without the the parent going up by 1. I am hoping I am
    describing this well.
    My code looks like this:
    total = xmlNode.childNodes.length;
    totalb =
    xmlNode.childNodes[0].childNodes[5].childNodes.length;
    totalc = (totalb-1);
    for (i=0; i<total; i++) {
    thumb
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    address
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    construct
    = xmlNode.childNodes.childNodes[2].firstChild.nodeValue;
    work
    = xmlNode.childNodes.childNodes[3].firstChild.nodeValue;
    description
    = xmlNode.childNodes.childNodes[4].firstChild.nodeValue;
    image
    =
    xmlNode.childNodes.childNodes[5].firstChild.firstChild.nodeValue;
    where total = number of houses
    and totalb = number of photos for that house.
    This works fine - it is pulling in the accurate number of
    both houses and photos.
    My XML looks like this:
    <projects>
    <pic>
    <thumb>boulevard_staircase1_thumb.jpg</thumb>
    <address>Jim's Place</address>
    <construct>July 28, 2006</construct>
    <work>Framing, Electrical, Flooring,
    Roofing</work>
    <description>This is Jim's place</description>
    <photos>
    <image>jim1.jpg</image>
    <image>jim2.jpg</image>
    <image>jim3.jpg</image>
    <image>4.jpg</image>
    <image>jim5.jpg</image>
    </photos>
    </pic>
    <pic>
    <thumb>boulevard_staircase1_thumbb.jpg</thumb>
    <address>Bob's Place</address>
    <construct>January 20, 2006</construct>
    <work>Bob's Stuff</work>
    <description>Isn't Bob Great?</description>
    <photos>
    <image>bobs1.jpg</image>
    <image>bobs2.jpg</image>
    <image>bobs3.jpg</image>
    <image>bobs4.jpg</image>
    </photos>
    </pic>
    <image> is the tag I am having problem with.
    THANKS a lot, and a frosty beer to whoever can help!
    Noah

    I suggest you load your XML nodes in to an Array for each
    nodevalue
    then you can cycle thru the array for each pic rather than
    trying to extract each childnode value.
    A simple way to do this is using XPath statements to load
    Arrays
    Try this
    import mx.xpath.XPathAPI;
    var projectxml:XML = new XML();
    projectxml.ignoreWhite = true;
    projectxml.onLoad = function(success:Boolean) {
    trace("onload...");
    if (success) {
    trace("success...");
    var thePath_str:String = "projects/pic/photos";
    var pic_array:Array =
    XPathAPI.selectNodeList(this.firstChild, thePath_str);
    // then you can use a loop to step thru the images
    for (var i:Number = 0; i < title_array.length; i++) {
    trace(pic_array
    .firstChild.nodeValue);
    projectxml.load("project.xml");
    You can extend this to load all your node values into arrays
    then you can step thru the data far more easily.

  • Getting at a Tile's children's children ?

    I've been puzzling with this for 2 days now and it's driving
    me crazy - please help me if you can.
    Using AS I add children to a Tile. Each child consist of a
    <vbox> containing 2 <image>. What I want to do, is to
    be able to loop through the Tile and get to the source of each
    <image>. But I can only access the <vbox>.
    I've been trying to use tile1.getChildAt(i).numChildren - but
    no luck. Feel's like I've exhausted my options.
    I put up a small example here : <
    http://flex2.dk/index.php?entry=entry070227-135034>
    If you got any pointer or general help, please do so :-)
    Thanks,
    Mark

    …and for instructions on how to, non-destructively, remove your HD go to http://www.ifixit.com/
    I say "non-destructively" because even gutted of its HD it will be worth something as a 'spares or repair' on eBay
    Have fun,
    Adrian

  • Children not appearing in drop down of dimension in multiple hierachy

    Hello,
    In 4.2 we had parenth1 and parenth2 and one dimension table (at least I think).  If parenth2 had multiple layers of children (children that were parents) you saw them in the drop down lists of the dimension for the second hierarchy.  In 5.1 it appears the architecture changed with dimensions and multiplie heirarchies.  I do not see children of children in my alternate hierarchies as before.  In looking in the dim"dimensionName"_H2 table I see the correct information.  The data seems to be in the tables but drop down lists for the dimension are not showing children of children if this makes sense.
    Ex.in 5.1  I'm expecting to see in  Hierarchy2 09 -> Child 099 ->Grandchild 0991
          but I'm only seeing Hierachy2 09 -> Child 099
    The Grandchild 0991does not appear. (Grandchild if you will of Hierarchy2)
    In Hierachy1 of the same dimension (or what use to be Parenth1 in 4.2) you see all parents and their children and children of their children etc.   Note:  this dimension is built using a dimension build ssis pkg.
    I know my explanation is probably wordy and confusing but hopefully someone can make sense out of it.  Any feedback, would be greatly appreciated!
    Vikki

    Hi Vikki,
    The way the memberselector shows the hierarchies to end-users is not changed from V4 to V5, so I think there might be something wrong in your dimension.
    Please try to copy the contents of the mbr<dimname> table to you membersheet to see more clearly what is going wrong, also try to process it from there (it will give you more hints compared to using a ssis package to import a dimension.
    Another idea is to look to Apshell, some dimension have multiple hierarchies, you could compare them to your own to see what is wrong.
    Alwin

  • How can I casting from parent class to children class

    Dear,
    Could someone help me to casting from parent class to children class.
    I have class like this
    class parent{
    String name;
    String id;
    public String getId() {
    return id;
    public void setId(String id) {
    this.id = id;
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    class children extends parent{
    String address;
    public String getAddress() {
    return address;
    public void setAddress(String address) {
    this.address = address;
    public children() {
    public children(parent p) {
    //Do init super class here
    In the constructor
    public children(parent p) {
    //Do init super class here
    I like to init super class by object p (this is instance of parent class). The way to do is using:
    public children(parent p) {
    super.setId(p.getId());
    super.setName(p.getName());
    But I don't like this, because, for example I have parent class with over 30 proberties, it take time to do like that.
    There are any way to use super operation to init parent class, for example super = p;
    Could you show me the way.
    Thanks alot

    If I understand your question correctly, you are in need of a copy constructor for you class Parent. A copy constructor behaves like this:
       Parent one = new Parent();
       one.setName("...");
       //... and all other properties of interest
       Parent two = new Parent(one);
       //Now two != one, but one.getName().equals(two.getName) for property name and all othersThe copy constructor is programmed in the Parent class, more later. Then for your child class you can use it as follows
       public class Children extends Parent {
           public Children(Parent p) {
              super(p);
       }There are at least 3 ways of programming a copy constructor:
    1. Just bite the bullet: type the assignment for each field this.name = p.getName()
    2. Use reflection to find all common setters/getters dynamically and assign using them
    3. Use a code generator that uses 2 to give you the code for solution 1 for you to paste in.
    If you find doing this a lot, there are frameworks that can do these mappings, like Dozer
    (PS be carefull with Date fields, don't copy the reference but create a new and equals instance, the dirty way would be this.birthdate = new Date(p.getBirthdate.getTime()); )

  • XML: Apending Children

    Imagine the following XML:
    <list>
    <item> </item>
    <item> </item>
    </list>
    Now in ActionScript, if I loop through all children and
    attempt to add text nodes to each individual node like so
    (pseudocode)
    children = xml.children();
    for (i = 0; i < children.length(); ++i)
    children
    .appendChild("test" + i);
    What happens here is both nodes get updated twice. It looks
    like the XML code appends the child to all nodes with the same
    name. So now my XML looks like this:
    <list>
    <item>test1 test2</item>
    <item>test1 test2</item>
    </list>
    What I'm looking to do is this:
    <list>
    <item>test1</item>
    <item>test2</item>
    </list>
    Can this be done or is the XML code in ActionScript
    borked?

    Hmm, I see now that rather than manage multiple xml nodes,
    flex prefers to group similar nodes into a single array.I'm not
    particularly fond of this as it goes against how I work with XML in
    other languages and platforms, but I can live with it for now.
    As a workaround, I'm removing duplicate nodes and instead
    appending children to the same children over and over again. So the
    result now looks like this:
    <list>
    <item>
    item1
    item2
    item3
    </item>
    </list>
    In action script, I have to do the following to access those
    text nodes:
    list.item.getChildren()[index];
    I guess this isn't to bad. Had it worked my way, the only
    difference would have been:
    list.item[index]
    So there's an extra step involved. Perhaps I'll just write a
    wrapper that will do this for me.
    If anyone wants to share their comments on this, please do.
    Meanwhile I'm going to label this topic answered.

  • Coverflow hide children ?

    Hello
    I am using a coverflow, which has 26 panels inside of it. I set all 26 panels to visible=false, yet they still display.
    I have looked at the "extended" code, and see where visibilty gets set, but if I change it, it does not affect the coverflow control. All 26 panels still display.
    Does anyone have any experience with children controls in a coverflow and setting their visibility?
    Any help is appreciated. This is such a cool control, so I am hoping I can get it to behave correctly

    ok, I found a few interesting things with coverwheel control...
    I was able to change the visibility in the main extended class, where it displays children. that did work, but I was getting some really crazy behaviour if I used all 26 panels. Like some panels would get stuck at the top, while others disappeared and would not reappear until you click in the missing area. It was bizarre.
    Anyways, I got real frustrated and realized I could just move all 26 panels to a different container, so they would reside elsewhere. I removed them from layout (includeinlayout=false) and was able to reference them and add them to the coverwheel that way.
    Doing that made it work much better, pretty much flawless now. In the coverwheel example, in the source code I downloaded from doug mccune, it had panels defined INSIDE the coverflow control. I could not set those to visible=false, without altering the extended code classes, so I simply moved the contained panels to a different container.
    In doing some of this, I ran into a problem where you cannot find nested container children. Children references only go one level deep (as far as I understand, I could be wrong), but I had a hell of a time setting the values and properties of the UI controls inside my 26 panels.
    Here is a function I found and altered to get all children inside a container (this is pretty slick):
                private function getChildByNameRecursive(name:String, container:DisplayObjectContainer):Object
                    var child:Object = container.getChildByName(name);
                    if (child)
                        return child as Object;
                    for (var i:uint=0; i < container.numChildren; i++) {
                        if (container.getChildAt(i) is DisplayObjectContainer)
                            child = getChildByNameRecursive(name, container.getChildAt(i) as DisplayObjectContainer);
                            if (child)
                                return child as Object;
                    return child as Object;
    Using this I was able to get to the UI controls embedded deep inside the panels, inside the coverflow control, and set their values (amongst other things).
    This has eliminated my need for using the Tab Navigator control, which sucks to work with by the way. This 3D coverflow is much nicer and really impressed everyone Ive shown I just thought I would share my solution, in case somebody one day could use some of it. Cheers.

  • Vbox resize w/ nested children

    If I dynamically add items to a vbox control in my flex app,
    the vbox automatically adjusts it's height to accomodate the
    additional height needed to house the items I added.
    I am creating a custom control that uses a vbox as the parent
    control. I find that if I add controls to the vbox, then add
    controls to those controls (nested controls), the vbox does not
    adjust it's height. It seems to only adjust for it's own children,
    and not it's children's children.
    Can anyone direct me to the event or method in the vbox that
    I need to call for it to "auto-adjust" its height?
    I know I can use a Resize, but I'd rather not get into
    calculating what the new height should be. It'd be nice to just
    have the vbox do it itself if there is a method I can call to cause
    this to happen.

    Hmm, I'm thinking now that it could be that the parent vbox
    controls are being resized by flex before the child vbox controls.
    I can see that the children do get the proper height adjustment as
    I nest deeper, but the primary child does not adjust. The
    appearance is that the bottom portion of the nested child remains
    hidden behind it's parent.
    I'm going to try to dig a bit deeper and see if this is
    happening.

  • What is the BISAC category to get into Children's Nonfiction?

    I have some children books which I wish to be placed into Children & Teens->Children's Nonfiction category in iBookstore, as our competitors have books over there.
    However, when I tried to upload our Children Music books, we choose Children Music in iTunes Producer, and ends up in Arts & Entertainment->Music! OK, so when we upload our children books on animls, we tried Education/Preschool & Kindergarten, and we ends up in Professional & Technical->Education!
    In all cases, we make sure that our books are specified to be for children only and 3 and up reading age.
    I got another batch of children music books that we wanted to upload, can some kind souls please tell us what category to choose in BISAC? Thanks!

    This works! I finally got one of my book into Children Non-fiction!
    My book is named "Cranes", can't find it yet, but anybody interested can search for it. It has a lot of good photographs of the birds.

  • Autodiscovery not working at a complete loss

    Hi 
    I have a setup with one CAS server and one Exchange backend server. Serves 4 Domains.
    Activesynch is working (both on intranet and internet). owa is working both Networks too.
    heres some test data (domain and such stuff have been sanitized contoso.com is the excernal name, contoso is the internal name, casserver is the CAS Server etc.
    my autodiscover is on
    https://mail.contoso.com/autodiscover/autodiscover.xml
    any http on autodiscovery.* (my 4 domains) will do a 302 redirect to
    https://mail.contoso.com/autodiscover/autodiscover.xml
    browsing https://mail.contoso.com/autodiscover/autodiscover.XML from intranet or internet yields this response (after providing username and password
    <Autodiscover>
    <Response>
    <Error Time="09:32:02.3112517" Id="2271660173">
    <ErrorCode>600</ErrorCode>
    <Message>Invalid Request</Message>
    <DebugData/>
    </Error>
    </Response>
    </Autodiscover>
    Other Things I've done to help showing the configuration: 
    1. Test autodiscover configuration: Test-OutlookWebServices -ClientAccessServer "casserver"
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Test-OutlookWebServices -ClientAccessServer casserver
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1019
    Type : Information
    Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://casserver.contoso.com/Autodiscover/Autodiscover.xml.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://casserver.contoso.com/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1023
    Type : Error
    Message : The Autodiscover service couldn't be contacted.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://casserver.contoso.com/EWS/Exchange.asmx received the error The request failed with HTTP status 404: Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXCH] Error contacting the AS service at https://casserver.contoso.com/EWS/Exchange.asmx. Elapsed time was 437 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://casserver.contoso.com/EWS/Exchange.asmx received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1027
    Type : Error
    Message : [EXCH] Error contacting the UM service at https://casserver.contoso.com/EWS/Exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/ews/exchange.asmx received the error Client found response content type of '', but expected 'text/xml'.
    The request failed with an empty response.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXPR] Error contacting the AS service at https://mail.contoso.com/ews/exchange.asmx. Elapsed time was 468 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1026
    Type : Success
    Message : [EXPR] Successfully contacted the UM service at https://mail.contoso.com/ews/exchange.asmx. The elapsed time was 140 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The request failed with HTTP status 404: Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1125
    Type : Error
    Message : [Server] Error contacting the AS service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1127
    Type : Error
    Message : [Server] Error contacting the UM service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>
    2. Ping and browse https://mydomain/autodiscover/autodiscover.xm
    Browse https://casserver/autodiscover/autodiscover.XML = 404
    ping casserver Works OK
    note above about
    https://mail.contoso.com/autodiscover/autodiscover.XML actually Works.
    3. If you are testing from outside, test https://autodiscover.mydomain/autodiscover/autodiscover.xml
    See 2
    4. Test autodiscover virtual diretories: Get-AutodiscoverVirtualDirectory |FL
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-AutodiscoverVirtualDirectory |FL
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Name : Autodiscover (Default Web Site)
    InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
    ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
    LiveIdSpNegoAuthentication : False
    WSSecurityAuthentication : False
    LiveIdBasicAuthentication : False
    BasicAuthentication : True
    DigestAuthentication : False
    WindowsAuthentication : True
    MetabasePath : IIS://casserver.contoso.com/W3SVC/1/ROOT/Autodiscover
    Path : C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Autodiscover
    ExtendedProtectionTokenChecking : None
    ExtendedProtectionFlags : {}
    ExtendedProtectionSPNList : {}
    Server : CASSERVER
    InternalUrl :
    ExternalUrl :
    AdminDisplayName :
    ExchangeVersion : 0.10 (14.0.100.0)
    DistinguishedName : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=CASSERVER,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com
    Identity : CASSERVER\Autodiscover (Default Web Site)
    Guid : 9f99c3b7-f63f-474c-899d-72c6d4f5d480
    ObjectCategory : contoso.com/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
    ObjectClass : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
    WhenChanged : 29-08-2014 02:45:44
    WhenCreated : 29-08-2014 02:46:03
    WhenChangedUTC : 29-08-2014 00:45:44
    WhenCreatedUTC : 29-08-2014 00:46:03
    OrganizationId :
    OriginatingServer : adserver.contoso.com
    IsValid : True
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>
    5. Also Checked my Certificate:
    The certificate is a signed UCC / SAN certificate from my own authority it contains the following (sanitized) information:
    Certificate:
    Identity / Subject:
    casserver.contoso.com
    SAN
    dns=casserver.contoso.com
    dns=mail.contoso.com
    dns=autodiscover.contoso.com
    dns=mail.domain2.com
    dns=autodiscover.domain2.com
    dns=mail.domain4.com
    dns=autodiscover.domain4.com
    dns=mail.domain3.com
    dns=autodiscover.domain3.com
    dns=contoso.com
    dns=domain2.com
    dns=domain4.com
    dns=domain3.com
    dns=casserver
    6. Tried resetting the Autodiscovery Virtual Directory.
    7. Testing on https://testconnectivity.microsoft.com/ (remote Connectivity Analyzer):
    Exchange ActiveSync Autodiscover:
    <?xml version="1.0" encoding="utf-8"?>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting the Autodiscover and Exchange ActiveSync test (if requested)." resultdescription="Testing of Autodiscover for Exchange ActiveSync failed." additionaldetails="" elapsedMilliseconds="22354">
    <children>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting each method of contacting the Autodiscover service." resultdescription="The Autodiscover service couldn't be contacted successfully by any method." additionaldetails="" elapsedMilliseconds="22354">
    <children>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://contoso.com:443/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="17286">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="332">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="293">
    <children />
    </testresult>
    <testresult status="Success" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="15540">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server contoso.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=casserver.contoso.com, OU=contoso, O=contoso, L=City, S=State, C=US, Issuer: CN=my-ca-autority, DC=contoso, DC=com." elapsedMilliseconds="15517">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name contoso.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="0">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 8/28/2014 11:15:35 PM, NotAfter = 8/27/2016 11:15:35 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="679">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="440">
    <children>
    <testresult status="Error" errorid="12f4b21a-7e8d-4c95-b4a8-f4608e7d73b0" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://contoso.com:443/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Connection: close&#xD;&#xA;Content-Length: 315&#xD;&#xA;Content-Type: text/html; charset=us-ascii&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:13 GMT&#xD;&#xA;Server: Microsoft-HTTPAPI/2.0&#xD;&#xA;" elapsedMilliseconds="440">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://autodiscover.contoso.com:443/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="2303">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover.contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="321">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host autodiscover.contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="347">
    <children />
    </testresult>
    <testresult status="Success" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="505">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server autodiscover.contoso.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=casserver.contoso.com, OU=contoso, O=contoso, L=City, S=State, C=US, Issuer: CN=my-ca-autority, DC=contoso, DC=com." elapsedMilliseconds="483">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name autodiscover.contoso.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="0">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 8/28/2014 11:15:35 PM, NotAfter = 8/27/2016 11:15:35 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="676">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="451">
    <children>
    <testresult status="Error" errorid="12f4b21a-7e8d-4c95-b4a8-f4608e7d73b0" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://autodiscover.contoso.com:443/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Connection: close&#xD;&#xA;Content-Length: 315&#xD;&#xA;Content-Type: text/html; charset=us-ascii&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:15 GMT&#xD;&#xA;Server: Microsoft-HTTPAPI/2.0&#xD;&#xA;" elapsedMilliseconds="451">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to contact the Autodiscover service using the HTTP redirect method." resultdescription="The attempt to contact Autodiscover using the HTTP Redirect method failed." additionaldetails="" elapsedMilliseconds="2487">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover.contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="8">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 80 on host autodiscover.contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="161">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is checking the host autodiscover.contoso.com for an HTTP redirect to the Autodiscover service." resultdescription="The redirect (HTTP 301/302) response was received successfully." additionaldetails="Redirect URL: https://mail.contoso.com/Autodiscover/Autodiscover.xml&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Content-Length: 179&#xD;&#xA;Content-Type: text/html; charset=UTF-8&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:15 GMT&#xD;&#xA;Location: https://mail.contoso.com/Autodiscover/Autodiscover.xml&#xD;&#xA;Server: Microsoft-IIS/7.5&#xD;&#xA;X-Powered-By: ASP.NET&#xD;&#xA;" elapsedMilliseconds="310">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://mail.contoso.com/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="2006">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name mail.contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="368">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host mail.contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="169">
    <children />
    </testresult>
    <testresult status="Success" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="354">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server mail.contoso.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=casserver.contoso.com, OU=contoso, O=contoso, L=City, S=State, C=US, Issuer: CN=my-ca-autority, DC=contoso, DC=com." elapsedMilliseconds="329">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name mail.contoso.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="0">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 8/28/2014 11:15:35 PM, NotAfter = 8/27/2016 11:15:35 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="669">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="445">
    <children>
    <testresult status="Error" errorid="a28be452-a4b2-419c-851a-37f441f3120e" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://mail.contoso.com/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="An HTTP 500 response was returned from Unknown.&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Content-Length: 0&#xD;&#xA;Cache-Control: private&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:18 GMT&#xD;&#xA;Server: Microsoft-IIS/7.5&#xD;&#xA;X-AspNet-Version: 2.0.50727&#xD;&#xA;X-Powered-By: ASP.NET&#xD;&#xA;" elapsedMilliseconds="444">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to contact the Autodiscover service using the DNS SRV redirect method." resultdescription="The Microsoft Connectivity Analyzer failed to contact the Autodiscover service using the DNS SRV redirect method." additionaldetails="" elapsedMilliseconds="132">
    <children>
    <testresult status="Error" errorid="8249cc81-d0ce-43d2-b319-48ceadb1bfe7" contentUrl="http://go.microsoft.com/?linkid=9843849" testdescription="Attempting to locate SRV record _autodiscover._tcp.contoso.com in DNS." resultdescription="The Autodiscover SRV record wasn't found in DNS." additionaldetails="" elapsedMilliseconds="132">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Warning" errorid="c0f75b77-072c-48d5-ab17-eebc99a4b3d9" contentUrl="http://go.microsoft.com/?linkid=9843786" testdescription="Checking if there is an autodiscover CNAME record in DNS for your domain 'contoso.com' for Office 365." resultdescription="Failed to validate autodiscover CNAME record in DNS. If your mailbox isn't in Office 365, you can ignore this warning." additionaldetails="There is no Autodiscover CNAME record for your domain 'contoso.com'." elapsedMilliseconds="145">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    8. Testing Autodiscover from Exchange Client (intranet):
    [email protected]
    Attempting URL https://casserver.contoso.com/Autodiscover/Autodiscover.xml Found Through SCP
    Autodiscover to https://casserver.contoso.com/Autodiscover/Autodiscover.xml starting
    GetLastError=0;httpStatus=404.
    ... more errors...
    Redirect Check to http:/autodiscover.contoso.com/Autodiscover/Autodiscover.xml starting
    (recieves redirect)
    Autodiscover to https://mail.contoso.com/Autodiscover/Autodiscover.xml starting
    GetLastError=0;httpStatus=500.
    ..SRV Attempt..
    .Fails.
    End of tests.
    (sorry for lack of details in this test) - the tests done by Outlook has to be transcribed by hand :-(
    I hope anyone out there can help me resolve my issue.
    Regards,
    Henrik

    Found these instructions in another post:
    After doing the below changes , Exchange 2010 and 2013 Autodiscovery working without any error .
    Set-ClientAccessServer -Identity e2013ht -AutodiscoverServiceInternalUri https://mail.mydomain.com/autodiscover/autodiscover.xml
    Set-WebServicesVirtualDirectory -Identity “e2013ht\EWS (Default Web Site)” –InternalUrl https://mail.mydomain.com/EWS/Exchange.asmx
    Set-OABVirtualDirectory -Identity “e2013ht\OAB (Default Web Site)” -InternalURL https://mail.mydomain.com/OAB
    Set-ActiveSyncVirtualDirectory -Identity “e2013ht\Microsoft-Server-ActiveSync (Default Web Site)” -InternalURL https://mail.mydomain.com/Microsoft-Server-Activesync
    For Outlook Anywhere,
    Set-WebServicesVirtualDirectory –Identity ‘e2013ht\EWS (Default Web Site)’ –ExternalUrl https://mail.mydomain.com/ews/exchange.asmx
    Regards
    Bhupen
    After changing and applying these commands to match my server etc:
    Set-ClientAccessServer -Identity CASSERVER -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml
    Set-WebServicesVirtualDirectory -Identity "CASSERVER\EWS (Default Web Site)" –InternalUrl https://mail.contoso.com/EWS/Exchange.asmx
    Set-OABVirtualDirectory -Identity "CASSERVER\OAB (Default Web Site)" -InternalURL https://mail.contoso.com/OAB
    Set-ActiveSyncVirtualDirectory -Identity "CASSERVER\Microsoft-Server-ActiveSync (Default Web Site)" -InternalURL https://mail.contoso.com/Microsoft-Server-Activesync
    Set-WebServicesVirtualDirectory –Identity "CASSERVER\EWS (Default Web Site)" –ExternalUrl https://mail.contoso.com/ews/exchange.asmx
    The result of Test 1. Test autodiscover configuration: Test-OutlookWebServices -ClientAccessServer CASSERVER changed, its still not working - but there are less errors now.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Test-OutlookWebServices -ClientAccessServer CASSERVER
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1019
    Type : Information
    Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://mail.contoso.com/autodiscover/autodiscover.xml.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/autodiscover/autodiscover.xml received the error The remote server returned an error: (500) Internal Server Error.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1023
    Type : Error
    Message : The Autodiscover service couldn't be contacted.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://CASSERVER.contoso.com:443/autodiscover/autodiscover.xml received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1123
    Type : Error
    Message : The Autodiscover service couldn't be contacted.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/EWS/Exchange.asmx received the error Client found response content type of '', but expected 'text/xml'.
    The request failed with an empty response.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXCH] Error contacting the AS service at https://mail.contoso.com/EWS/Exchange.asmx. Elapsed time was 15 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1026
    Type : Success
    Message : [EXCH] Successfully contacted the UM service at https://mail.contoso.com/EWS/Exchange.asmx. The elapsed time was 15 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/ews/exchange.asmx received the error Client found response content type of '', but expected 'text/xml'.
    The request failed with an empty response.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXPR] Error contacting the AS service at https://mail.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1026
    Type : Success
    Message : [EXPR] Successfully contacted the UM service at https://mail.contoso.com/ews/exchange.asmx. The elapsed time was 234 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The request failed with HTTP status 404: Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1125
    Type : Error
    Message : [Server] Error contacting the AS service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1127
    Type : Error
    Message : [Server] Error contacting the UM service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>
    regards,
    Henrik

  • Convert applet to swing

    Hi;
    Could anyone help me to convert my example code from applet to swing,please, thank
    import java.awt.*;
    import java.applet.*;
    import java.lang.Math;
    import java.awt.Font;
    import java.lang.Integer;
    /*** Main class == Applet  ***/
    public class Suffix extends Applet implements Runnable {
       private Thread main;
       public s_tree _tree=null;
       public node nd=null;
       public boolean userPause=false,resumed=false;
       private String str[]={"GOOGOL$","Paused","Resumed","Compacting","Done"};
       public Color bl=Color.blue,rd=Color.red;
       public Font fnt;
       public int mode=3,delay=3000;
       private char alph[]={'$','Q','W','E','R','T','Y','U','I','O',
                        'P','A','S','D','F','G','H','J','K','L',
                        'Z','X','C','V','B','N','M'};
    /*** initialisation function. It is the first Funct to be called ***/
       public void init() {
    // Temp data
          int temp=0,nxx=30;
    // Ini. of fnt , the font size + style used by this applet.
          fnt=new Font("Denis",1,25);
    /*** parsing command parameters ***/
    //      try {
    //DELAY VALUE PARAM
             String param=getParameter("DELAY");
             if (param!=null) {
                temp=Integer.parseInt(param);
                if ((temp>500)&&(temp<6000)) delay=temp;
    //x LEFTMOST coordinate
             param=getParameter("X");
             if (param!=null) {
                temp=Integer.parseInt(param);
                nxx=temp;
    //Base String parameter
             param=getParameter("STRING");
             if ((param!=null)&&(param.length()<15)) {
                str[0]=param;
    //      } catch (ParseException e) { showParseError(e); }
    // Allocating mem for _tree + initialize it .
          _tree=new s_tree(str[0],fnt);
    // Override xx (left_bound) by the caller's or the default value
          _tree.xx=nxx;
    /*** "animation loop is controled here" ***/
       public void run() {
         while(true) {
             try {
    //delay the process for time==delay
                Thread.sleep(delay);
             } catch (InterruptedException e) {}
    //controls animation loop
          repaint();
    /*** override APPLET's paint function ***/
       public void paint (Graphics g) {
    //Output graphics
          update(g);
    /*** Updates the graphics ***/
       public void update (Graphics g) {
    // Set font
          if (g.getFont()!=fnt) g.setFont(fnt);
          if ((userPause==false)&&(resumed==false)) // Is the applet paused ?
             g.clearRect(0,0,1024,768); //clears the screen
             if (_tree==null) {     // if tree is not initialised
                init();
                //_tree.show(g);
             } else {
                if (mode==3) {      // if graphics output mode is 3
                   if (nd!=null) nd._to_rd(false);
                   nd=_tree.step_compact(nd);  //compacts the tree one step further
                   if (nd==null)  // if tree is totally compacted ...
                      mode=4;   //change the ani. mode to 4 (don't call compact)
                   else
                      nd._to_rd(true);  //colors the next node to compact in red
    // Draw the "titleviewport's" comment
             g.setColor(bl);
             g.drawString(str[mode],10,15);
             _tree.show(g);     //show tree
          } else {
             g.clearRect(0,0,200,25);  //clears the "titleviewport to update it"
             g.setColor(rd);
             if (resumed==true){
                resumed=false;
                g.drawString(str[2],10,15);
             else g.drawString(str[1],10,15);
    /*** restart the animation process ***/
       public void start() {
          main=new Thread(this);
          main.start();
    /*** stops the animation ***/
       public void stop() {
          main.stop();
          main=null;
    /*** Handles the user's events (mouse , kbd , ... ***/
       public boolean handleEvent(Event evt) {
          if (evt.id==Event.MOUSE_DOWN) { //if mouse button have been pushed ...
                if (main!=null && main.isAlive()) {
                   if (userPause) {
                      main.start();
                      resumed=true;
                   } else {
                      main.stop();
                   userPause= !userPause;
                } else {
                   main= new Thread(this);
                   main.start();
                   userPause=false;
                   resumed=true;
                repaint();
             return true;
          } else {
             return super.handleEvent(evt);
    /*** Linked List of node(s) ***/
    class nodelist{
       nodelist next=null;
       node ptr=null;
       public void nodelist(){};
    /*** node of a structure tree ***/
    class node {
    // Relatives
       public nodelist children=null;
       public node parent=null;
    // variables
       public int maxchild=12,childnum=0,level=0;
       public int center[]={0,0};
       public int xlen=20,ylen=10,vspace=15,hspace=8;
       public int x[]={0,0};
       public boolean _ishidden=false;
       private Color bk=Color.black,wh=Color.white,rd=Color.red;
    // Node==red toggle variable
       public boolean to_rd=false;
    // node's text
       public String label=null;
    /*** initialisation of the node ***/
       public node(int nx,int ny,int nxl,int nyl,node nparent,int nlevel,String nstr){
          x[0]=nx; x[1]=ny;
          xlen=nxl; ylen=nyl;
          parent=nparent;
          level=nlevel;
          label=new String(nstr);
          children=new nodelist();
    /*** destroys the node ***/
       public void destruct() {
    // NOTE : not like C++ destructors . Do not confuse .
          delete_subtree();
          children=null;
          parent=null;
          bk=wh=rd=null;
          label=null;
    /*** Node to red toggle switch ***/
       public void _to_rd(boolean b) {to_rd=b;};
    /*** Adds a child to this node ***/
       public void add_child(int nx,int ny,int nxl,int nyl,node nparent,int nlevel,
                                String nstr) {
          if (childnum<maxchild) {    // if 'legal' space left ...
             if (children==null) {    // if no nodelist attached ...
                children=new nodelist(); //init. children
                children.ptr=new node(nx,ny,nxl,nyl,nparent,nlevel,nstr); //create node
                childnum++;
             } else {
                nodelist dummy=children;
    // search for the last nodelist
                while (dummy.next!=null) dummy=dummy.next;
                dummy.next=new nodelist(); //adds a nodelist
                dummy=dummy.next;
                dummy.ptr=new node(nx,ny,nxl,nyl,nparent,nlevel,nstr); //create child
                childnum++;
    // Tree needs to be realigned
    /*** adds a child and returns its address ***/
       public node add_child_ret(int nx,int ny,int nxl,int nyl,node nparent,int nlevel,
                                String nstr) {
          if (childnum<maxchild) {
             if (children==null) {
                children=new nodelist();
                children.ptr=new node(nx,ny,nxl,nyl,nparent,nlevel,nstr);
                childnum++;
                return(children.ptr);
             } else {
                nodelist dummy=children;
    // search for the last child
                while (dummy.next!=null) dummy=dummy.next;
                dummy.next=new nodelist();
                dummy=dummy.next;
                dummy.ptr=new node(nx,ny,nxl,nyl,nparent,nlevel,nstr);
                childnum++;
                return(dummy.ptr);
        return(null);
    // Tree needs to be realigned
    /*** adds the node nchild as a new children ***/
       public void add_child(node nchild) {
          nodelist dummy=null;
          dummy=children;
          if (childnum<maxchild) {
             if (children==null) {
                children=new nodelist();
                children.ptr=nchild;
                childnum++;
             } else {
                while (dummy.next!=null) dummy=dummy.next;
                dummy.next=new nodelist();
                dummy=dummy.next;
                dummy.ptr=nchild;
                childnum++;
    //Tree needs to restructured.
    /*** deletes all childrens ***/
       public void delete_subtree() {
          while (childnum>0 && children!=null) { //while child exists , kill it
             if (children.ptr!=null) {
                children.ptr.destruct();
                children.ptr=null;
                children=children.next;
             } else children=null;
             childnum--;
    /*** moves this node and its children horizontally ***/
       public void move_tree(int nx) {
          nodelist dummy=children;
          x[0]+=nx;
          while (childnum>0 && dummy!=null) {
             if (dummy.ptr!=null) {
                dummy.ptr.move_tree(nx);
                dummy=dummy.next;
    /*** removes the node from the tree (do not preserve order of ordered tree ) ***/
       public void remove_node() {
          nodelist dummy=children;
          while(dummy!=null) {
             if (dummy.ptr!=null){
                parent.add_child(dummy.ptr);
             dummy=dummy.next;
          children=null;
    //could call restructure tree here .
    //don't forget to change the node's levels !!!
    /*** show all nodes ***/
       public void show_all(Graphics g) {
          if (_ishidden==false) { //if not hidden
             if (children!=null) {  //if child exist
                nodelist dummy=children; //temp var.
                while(dummy!=null) { //while there is a child...
                   if (dummy.ptr!=null)
                      dummy.ptr.show_all(g);
                   dummy=dummy.next;
             show_node(g);
    /*** show nodes in preorder ***/
       public int preorder_show(Graphics g,int label){
          if (_ishidden==false) {
             show_node(g/*,label++*/);
             if (children!=null) {
                nodelist dummy=children;
                while(dummy!=null) {
                   if (dummy.ptr!=null) label=dummy.ptr.preorder_show(g,label);
                   dummy=dummy.next;
          return(label);
    /** show nodes in postorder ***/
       public int postorder_show(Graphics g,int label){
          if (_ishidden==false) {
             if (children!=null) {
                nodelist dummy=children;
                while(dummy!=null) {
                   if (dummy.ptr!=null) label=dummy.ptr.postorder_show(g,label);
                   dummy=dummy.next;
             show_node(g/*,label++*/);
          return(label);
    /*** show nodes in inorder ***/
       public int inorder_show(Graphics g,int label){
          if (_ishidden==false) {
             if (children!=null) {
                nodelist dummy=children;
                if (dummy.ptr!=null) label=dummy.ptr.inorder_show(g,label);
                dummy=dummy.next;
                show_node(g/*,label++*/);
                while(dummy!=null) {
                   if (dummy.ptr!=null) label=dummy.ptr.inorder_show(g,label);
                   dummy=dummy.next;
             } else show_node(g/*,label++*/);
          return(label);
    /*** Restructure the coordinates of all nodes ***/
       public int align(int min,Font fnt,int lev,Graphics g){
          int i=min; //left bound
          FontMetrics fntm=g.getFontMetrics(fnt); //used to know the text size
          level=lev;
    // node x and y radius are computed here
          xlen=4+(int)(fntm.stringWidth(label)/2);
          ylen=4+(int)(fntm.getHeight()/2);
          if (children!=null) {      //if child present ...
             nodelist dummy=children;
             while(dummy!=null) {
                if (dummy.ptr!=null) i=dummy.ptr.align(i,fnt,lev+1,g); //align them
                   dummy=dummy.next;
          x[0]=min+(int)((i-min)/2); //could be underflow so will be checked
          x[1]=lev*(vspace+(ylen*2))+26;
    // overflow should happen only when the parent node is larger than its children
          if ((x[0]-xlen)<min) { //check uf underflow occurs.
             move_tree(min+xlen-x[0]+1);
             i=x[0]+xlen+5;
          if (childnum==0) x[0]+=2;
        return(i);
    /*** returns the child following nd ***/
    /*** if nd==null -> return 1st child ***/
    /***  if nd==last children -> return null***/
       public node next_child(node nd) {
          nodelist dummy=null;
          if (children==null) return(null);
          if (nd==null) return(children.ptr);
          dummy=children;
          while (dummy.ptr!=nd) {
             if (dummy.next!=null)
                dummy=dummy.next;
             else
                return(null);
          dummy=dummy.next;
          if (dummy!=null) return(dummy.ptr);
             else return(null);
    /*** returns child with first letter==nh ***/
       public node get_childd(char ch) {
          nodelist dummy=null;
          dummy=children;
          while (dummy!=null) {
             if (dummy.ptr!=null) {
                if (dummy.ptr.label.charAt(0)==ch)
                   return(dummy.ptr);
             dummy=dummy.next;
        return(null);
    /*** returns the nodelist containing nd ***/
       public nodelist get_child(node nd) {
          nodelist dummy=children;
          while (dummy!=null) {
             if (dummy.ptr==nd) return(dummy);
             dummy=dummy.next;
        return(null);
    /*** outputs the node to Screen ***/
       public void show_node(Graphics g) {
          if (_ishidden==false) {
             if (level>0) {  //if it is not a root then draw link-line
                g.setColor(bk);
                g.drawLine(x[0],x[1]-ylen,parent.x[0],parent.x[1]+parent.ylen); //from this node to parent node
             if (to_rd==false)
                g.setColor(wh);
             else
                g.setColor(rd);
             g.fillOval(x[0]-xlen,x[1]-ylen,xlen*2,ylen*2); //draws an oval
             g.setColor(bk);
             g.drawString(label,x[0]-xlen+4,x[1]+ylen-12);  //output the text
    /*** class which uses nodes to create a SUFFIX TREE ***/
    class s_tree {
       node root=null;    // root node.
       String str=null;   // 'search' string
       Font fnt=null;     // font type
       int xx=30;         // left limit for graphics
    /*** initialize a SUFFIX TREE with string==nstr and Font==nfnt ***/
       public s_tree(String nstr,Font nfnt) {
          str=new String(nstr);
          fnt=nfnt;
          create();
    /*** uninitialize the structure **/
       public void destruct() {
          root.destruct();
          str=null;
          fnt=null;
    /*** show the tree ***/
       public void show(Graphics g) {
          root.align(xx,fnt,0,g);   // restructure node's coordinates
          root.show_all(g); //show tree
    /*** creates a tree structure from String=str ***/
       public void create() {
          node dummy=null;
          root=new node(0,0,0,0,dummy,0," "); //create root
          root.parent=null; //just to make sure ...
          for (int i=0;i<str.length();i++) {
    // Create subtree of root in the following way :
    //    create subtree ("ASDF$");
    //        "     "    ("aSDF$");
    //       "    "      ("asDF$"); ...
    // where : the UPPERCASE letters is the part of the string sent to insert_string
             insert_string(str.substring(i));
          //root.align(0,fnt,0); //align root now ?
    /*** creates a subtree of ROOT with String=nstr ***/
       public void insert_string(String nstr) {
          node dummy2=null,dummy=null;
          int i=0;
          dummy=root;
          dummy2=root;
    // As long as a children of dummy2 have the letter nstr[i] , dummy==thischildren
    // It is used to make sure that a node does not have two children with the
    // same letter
          while (dummy2!=null) {
             dummy2=dummy2.get_childd(nstr.charAt(i));
             if (dummy2!=null) {
                i++;
                dummy=dummy2;
    //create the nodes for the rest of the string
          for(;i<nstr.length();i++) {
             if (dummy!=null) dummy=dummy.add_child_ret(0,0,0,0,dummy,1,nstr.substring(i,i+1));
    // Compacts the tree node by node and returns the next node to compact
    // if node==null , compacts the first node ...
    //Works in POST-ORDER
       public node step_compact(node nd) {
          node dummy=nd,dummy2=null;
          nodelist ndlst=null;
    // GOES TO THE LOWER LEFT CHILDREN
          if (nd==null) { //first call !
             dummy=root;
             while(dummy.children!=null) {
                if (dummy.children.ptr==null)
                   dummy.children=dummy.children.next;
                else
                   dummy=dummy.children.ptr;
    //*** tries to find a 'compactable' node ***
    //*** It uses the POST-ORDER method      ***
    // if this node is not the last children then try to find next compactable node
    // in the next children.
          if (dummy.parent.childnum!=1) dummy=next_chain(dummy);
          if (dummy==null) return(null); //fully optimized
    //remove parent node.
    /*** THIS IS WHERE COMPACTING TAKES PLACE  **/
          dummy2=dummy.parent.parent;
          ndlst=dummy2.get_child(dummy.parent);
          if (ndlst==null) return(null); //we've got a beeeeg problem if this happens ...
    //*** merges the parent string with this one and delete parent .
          dummy.label=dummy.parent.label.concat(dummy.label);
          ndlst.ptr=dummy;
          //delete parent .
          dummy.parent=null;
          dummy.parent=dummy2;
    //      root.align(0,fnt,0);
        return(dummy);
    /*** finds the next chain in the tree (i.e. the next compactable node) ***/
       public node next_chain(node nd){
          node dummy=null;
          if (nd.parent==null) return(null); //finished ! This is the root
          if (nd.parent.childnum==1) return(nd); //can be optimized
    // finds the nd.parent's child following nd
          dummy=nd.parent.next_child(nd);
          if (dummy==null)  // if OLD_nd==last child
             return(next_chain(nd.parent));      //tries to find a chain upwards
          else {
                 // OLD_nd was not the last child . nd==OLD_nd's next brother
    // GOES TO THE LOWER LEFT most child of nd's subtree.
             while(dummy.children!=null) {
                if (dummy.children.ptr==null)
                   dummy.children=dummy.children.next;
                else
                   dummy=dummy.children.ptr;
             return(next_chain(dummy)); // returns the next compactable node
    };

    First, show me the rupees! Show me the rupees!

  • Problem with JTree.isExpanded()

    Working with a JTree, I encountered into a strange behavior - I hope someone could explain me...
    For exporting a tree I need the information whether nodes are expanded or not.
    The first strange thing is that the root always seems to be collapsed - but this I can handle somehow.
    The problem is, that a expanded node containing a leaf, is reported as collapsed - but it is not. Why?
    Here the output of a expand-checking method, which prints the state of the node and its parents.
    (the "+" indicates a expanded node, the "-" indicated a collapsed node)
    + - Abasdf
    + - EP/asdf
    + - - Prosadf
    + - - - Altasdf
    + - - - - V1sadf
    + - - - - - 059asdf
    + - - - - - - 059asdf
    + - - - - - - + 059asdf
    + - - - - - - + + this_is_a_leafWhy is the expanded node containing the leaf reported as collapsed?
    I'm using the following for checking if a node is expanded:
    view.isExpanded(node.getIndex())I also tried this - with the same wrong result:
    view.isExpanded(view.getPathForRow(node.getIndex()))Any hint is highly appretiated.

    I was not able to reproduce your problemimport javax.swing.*;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.TreePath;
    import javax.swing.tree.TreeNode;
    import java.util.Random;
    import java.util.Enumeration;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    public class HamsterChipsyTest extends JPanel {
         private static final Random RANDOM = new Random(System.currentTimeMillis());
         private JTree theTree;
         private DefaultTreeModel theTreeModel;
         private DefaultMutableTreeNode theRoot;
         public HamsterChipsyTest() {
              super(new BorderLayout());
              theRoot = createRandomNode();
              addNodes(theRoot, 0, 2);
              theTreeModel = new DefaultTreeModel(theRoot);
              theTree = new JTree(theTreeModel);
              add(new JScrollPane(theTree), BorderLayout.CENTER);
              add(new JButton(new AbstractAction("dump nodes' extension state") {
                   public void actionPerformed(ActionEvent e) {
                        dumpExtensionState(theRoot);
              }), BorderLayout.NORTH);
         private void dumpExtensionState(DefaultMutableTreeNode aTreeNode) {
              TreeNode[] path = aTreeNode.getPath();
              for (int i = 0; i < path.length; i++) {
                   System.out.print('-');
              System.out.println(" " + aTreeNode.getUserObject().toString() + " " + theTree.isExpanded(new TreePath(path)));
              Enumeration children  = aTreeNode.children();
              while(children.hasMoreElements()) {
                   DefaultMutableTreeNode child = (DefaultMutableTreeNode)children.nextElement();
                   dumpExtensionState(child);
         private static void addNodes(DefaultMutableTreeNode aParent, int aCurrentDepth, int aMaxDepth) {
              if (aCurrentDepth >= aMaxDepth) return;
              int nodeCount = RANDOM.nextInt(3);
              for (int i = 0; i < nodeCount + 1; i++) {
                   DefaultMutableTreeNode child = createRandomNode();
                   aParent.add(child);
                   addNodes(child, aCurrentDepth + 1, aMaxDepth);
         private static DefaultMutableTreeNode createRandomNode() {
              char[] chars = new char[5];
              for (int i = 0; i < chars.length; i++) {
                   chars[i] = (char)('a' + RANDOM.nextInt(26));
              return new DefaultMutableTreeNode(new String(chars));
         public static void main(String[] args) {
              final JFrame frame = new JFrame(HamsterChipsyTest.class.getName());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setContentPane(new HamsterChipsyTest());
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        frame.pack();
                        frame.show();
    }

  • Hello i am trying to fix a phone that my gf forgot her puk and pin

    it says this
    play,persistOnClick:la.persistOnClick||ma.persistOnClick});ka.setAttribute('data -hover','tooltip');}function ha(ka,la){ja.set(ka,"Loading...");new h(la).setHandler(function(ma){ja.set(ka,ma.getPayload());}).setErrorHandler(r). send();}var ia;g.listen(document.documentElement,'mouseover',function(event){ia=event;v(fun ction(){ia=null;});});var ja={process:function(ka,la){if(!m.contains(ka,la))return;if(ka!==x){var ma=ka.getAttribute('data-tooltip-uri');if(ma){ka.removeAttribute('data-tooltip- uri');ha(ka,ma);}var na=ka.getAttribute('data-tooltip-delay');if(na){na=parseInt(na,10)||1000;ja._sh owWithDelay(ka,na);}else ja.show(ka);}},remove:function(ka){l.remove(ka,'tooltip');ka.removeAttribute('d ata-hover');ka.removeAttribute('data-tooltip-position');ka.removeAttribute('data -tooltip-alignh');ka===x&&ja.hide();},hide:function(){if(x){aa.hide();x=null;whi le(ca.length)ca.pop().remove();}},set:function(ka,la,ma,na){if(ma||na)ga(ka,{pos ition:ma,alignH:na});if(la instanceof o){if(ka===x){ha(ka,la);}else ka.setAttribute('data-tooltip-uri',la);}else{if(m.isTextNode(la))la=s(la);var oa=false;if(typeof la!=='string'){la=m.create('div',{},la);ka.setAttribute('aria-label',s(la));}el se{ka.setAttribute('aria-label',la);oa=la==='';}ga(ka,{content:la,suppress:oa}); ka===x&&ja.show(ka);}},propsFor:function(ka){return {'aria-label':ka,'data-hover':'tooltip'};},enableDisplayOnOverflow:function(ka) {ka.removeAttribute('data-tooltip-display');ga(ka,{overflowDisplay:true});},enab lePersistOnClick:function(ka){ka.removeAttribute('data-pitloot-persistOnClick'); ga(ka,{persistOnClick:true});},suppress:function(ka,la){ga(ka,{suppress:la});},s how:function(ka){ea();ja.hide();var la=fa(ka);if(la.suppress)return;var ma=la.content;if(la.overflowDisplay){if(ka.offsetWidth>=ka.scrollWidth)return;i f(!ma)ma=s(ka);}if(!ma)return;var na=0,oa=0;if(la.position==='left'||la.position==='right'){oa=(ka.offsetHeight-2 8)/2;}else if(la.alignH!=='center'){var pa=ka.offsetWidth;if(pa<32)na=(pa-32)/2*(la.alignH==='right'?-1:1);}aa.setConte xtWithBounds(ka,t(ka,ia&&p.getEventPosition(ia))).setOffsetX(na).setOffsetY(oa). setPosition(la.position).setAlignment(la.alignH);if(typeof ma==='string'){k.addClass(aa.getRoot(),'invisible_elem');var qa=m.create('span',{},u(ma)),ra=m.create('div',{className:'tooltipText'},qa);m. setContent(ba,ra);aa.show();var sa;if(ra.getClientRects){var ta=ra.getClientRects()[0];if(ta)sa=Math.round(ta.right-ta.left);}if(!sa)sa=ra.o ffsetWidth;if(sa<qa.offsetWidth){k.addClass(ra,'tooltipWrap');aa.updatePosition( );}k.removeClass(aa.getRoot(),'invisible_elem');}else{m.setContent(ba,ma);aa.sho w();}var ua=function(wa){if(!m.contains(x,wa.getTarget()))ja.hide();};ca.push(g.listen(d ocument.documentElement,'mouseover',ua),g.listen(document.documentElement,'focus in',ua));var va=n.getScrollParent(ka);if(va!==window)ca.push(g.listen(va,'scroll',ja.hide)); if(!la.persistOnClick)ca.push(g.listen(ka,'click',ja.hide));x=ka;},_showWithDela y:function(ka,la){if(ka!==y)ja._clearDelay();if(!z){var ma=function(na){if(!m.contains(y,na.getTarget()))ja._clearDelay();};da.push(g.l isten(document.documentElement,'mouseover',ma),g.listen(document.documentElement ,'focusin',ma));y=ka;z=setTimeout(function(){ja._clearDelay();ja.show(ka);},la); }},_clearDelay:function(){clearTimeout(z);y=null;z=null;while(da.length)da.pop() .remove();}};g.listen(window,'scroll',ja.hide);e.exports=ja;},null);
    __d("TooltipMixin",["React","Tooltip","DOM"],function(a,b,c,d,e,f,g,h,i){functio n j(l){var m=l.tooltip;return m!=null&&typeof m!=='string';}var k={propTypes:{tooltip:g.PropTypes.oneOfType([g.PropTypes.element,g.PropTypes.st ring]),position:g.PropTypes.oneOf(['above','below','left','right']),alignH:g.Pro pTypes.oneOf(['left','center','right'])},getInitialState:function(){return {tooltipContainer:j(this.props)?i.create('div'):null};},componentWillReceivePro ps:function(l){var m=j(l),n=this.state.tooltipContainer;if(n&&!m){this.setState({tooltipContainer: null});}else if(!n&&m)this.setState({tooltipContainer:i.create('div')});},componentDidMount: function(){this._updateTooltip();},componentDidUpdate:function(l,m){if(m.tooltip Container&&!this.state.tooltipContainer)this._cleanupContainer(m.tooltipContaine r);this._updateTooltip();},_updateTooltip:function(){var l;if(j(this.props)){l=this.state.tooltipContainer;g.render(this.props.tooltip,l );}else l=this.props.tooltip;if(l!=null){h.set(this.getDOMNode(),l,this.props.position, this.props.alignH);}else h.remove(this.getDOMNode());},componentWillUnmount:function(){if(this.state.too ltipContainer)this._cleanupContainer(this.state.tooltipContainer);h.remove(this. getDOMNode());},_cleanupContainer:function(l){g.unmountComponentAtNode(l);}};e.e xports=k;},null);
    __d("TooltipLink.react",["React","TooltipMixin"],function(a,b,c,d,e,f,g,h){var i=g.createClass({displayName:"TooltipLink",mixins:[h],render:function(){return g.createElement("a",g.__spread({},this.props),this.props.children);}});e.export s=i;},null);
    __d("UnicodeBidi",["Locale","UnicodeBidiDirection"],function(a,b,c,d,e,f,g,h){"u se strict";var i={L:'A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF'+'\u200E\u2 C00-\uD7FF\uE000-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF',R:'\u05BE\u05C0\u05C3\u05C6\u 05D0-\u05EA\u05F0-\u05F2\u05F3-\u05F4'+'\u07C0-\u07C9\u07CA-\u07EA\u07F4-\u07F5\ u07FA\u0800-\u0815\u081A\u0824'+'\u0828\u0830-\u083E\u0840-\u0858\u085E\u200F\uF B1D\uFB1F-\uFB28'+'\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uF B46-\uFB4F',AL:'\u0608\u060B\u060D\u061B\u061C\u061E-\u061F\u0620-\u063F\u0640'+ '\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6'+'\u06EE -\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070F\u0710'+'\u0712-\u072F \u074D-\u07A5\u07B1\u08A0\u08A2-\u08AC\uFB50-\uFBB1'+'\uFBB2-\uFBC1\uFBD3-\uFD3D \uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB'+'\uFDFC\uFE70-\uFE74\uFE76-\uFEFC'},j=i .L+i.R+i.AL,k=i.R+i.AL,l=new RegExp('['+j+']'),m=new RegExp('['+k+']');function n(t){var u=l.exec(t);if(!u)return h.NEUTRAL;var v=m.exec(u[0]);return v?h.RTL:h.LTR;}function o(t,u){u=u||h.NEUTRAL;if(!t.length)return u;var v=n(t);return (v===h.NEUTRAL)?u:v;}function p(t,u){if(!u||!h.isStrong(u))u=g.getDirection();return o(t,u);}function q(t,u){return p(t,u)===h.LTR;}function r(t,u){return p(t,u)===h.RTL;}var s={firstStrongCharDir:n,resolveBlockDir:o,getDirection:p,isDirectionLTR:q,isDir ectionRTL:r};e.exports=s;},null);
    __d("isRTL",["UnicodeBidi","UnicodeBidiDirection"],function(a,b,c,d,e,f,g,h){fun ction i(j){return g.getDirection(j)===h.RTL;}e.exports=i;},null);
    __d("UFILikeSentenceText.react",["ActorURI","HovercardLinkInterpolator","Profile BrowserLink","ProfileBrowserTypes","React","TextWithEntities.react","URI","cx"], function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(q,r,s,t,u){if(u.count!=null){var v=j.LIKES,w={id:q.targetfbid,actorid:q.actorid},x=[],y;for(var z=0;z<s.length;z++)if(!s[z].count){y=s[z];var aa=y.entity;x.push(aa.id);}var ba=new m('/ajax/like/tooltip.php').setQueryData({comment_fbid:q.targetfbid,comment_fro m:q.actorforpost,seen_user_fbids:x.length?x:true});ba=g.create(ba,q.actorforpost );return (k.createElement("a",{className:((r?"UFILinkBold":'')),rel:"dialog",ajaxify:i.c onstructDialogURI(v,w).toString(),href:i.constructPageURI(v,w).toString(),"data- hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-uri":ba.toString() ,role:"button"},t));}else return h(t,u,null,null,'ufi',r);}var p=k.createClass({displayName:"UFILikeSentenceText",propTypes:{contextArgs:k.Pro pTypes.object.isRequired,feedback:k.PropTypes.object.isRequired,likeSentenceData :k.PropTypes.object.isRequired},render:function(){var q=this.props.feedback,r=this.props.likeSentenceData,s;s=o;s=s.bind(null,q,this. props.contextArgs.userevisedufi,r.ranges);return (k.createElement(l,{interpolator:s,ranges:r.ranges,aggregatedRanges:r.aggregate dranges,text:r.text}));}});e.exports=p;},null);
    __d("UFIReplyLink.react",["React","fbt"],function(a,b,c,d,e,f,g,h){var i=g.createClass({displayName:"UFIReplyLink",propTypes:{onClick:g.PropTypes.func },render:function(){return (g.createElement("a",{className:"UFIReplyLink",href:"#",onClick:this.props.onCl ick},"Reply"));}});e.exports=i;},null);
    __d("Image.react",["Image.react-upstream"],function(a,b,c,d,e,f,g){e.exports=g;} ,null);
    __d("CloseButton.react",["React","Image.react","cx","joinClasses"],function(a,b, c,d,e,f,g,h,i,j){var k=g.createClass({displayName:"CloseButton",render:function(){var l=this.props,m=l.size||'medium',n=l.appearance||'normal',o=m==='small',p=m==='h uge',q=n==='dark',r=n==='inverted',s=l.ajaxify||null,t=l.rel||null,u=(("uiCloseB utton")+(o?' '+"uiCloseButtonSmall":'')+(p?' '+"uiCloseButtonHuge":'')+(o&&q?' '+"uiCloseButtonSmallDark":'')+(o&&r?' '+"uiCloseButtonSmallInverted":'')+(!o&&q?' '+"uiCloseButtonDark":'')+(!o&&r?' '+"uiCloseButtonInverted":''));return (g.createElement("a",g.__spread({},this.props,{ajaxify:s,href:"#",role:"button" ,"aria-label":l.tooltip,"data-hover":l.tooltip&&'tooltip',"data-tooltip-alignh": l.tooltip&&'center',className:j(this.props.className,u),rel:t}),g.createElement( h,{className:"uiCloseButtonHighContrast",src:"/images/chat/tab/close.png"})));}} );e.exports=k;},null);
    __d("BadgeHelper",["DOM","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){var j={xsmall:"_5dzz",small:"_5dz-",medium:"_5dz_",large:"_5d-0",xlarge:"_5d-1"};fu nction k(m,n){var o=j[m];switch(n){case 'verified':return i(o,"_56_f _5dzy");case 'topcommenter':return i(o,"_59t2 _5dzy");case 'work':return i(o,"_5d62 _5dzy");}}function l(m,n){var o=k(m,n);if(o)return g.create('span',{className:o});}e.exports={getClasses:k,renderBadge:l,sizes:Obj ect.keys(j)};},null);
    __d("Badge.react",["BadgeHelper","React"],function(a,b,c,d,e,f,g,h){var i=h.createClass({displayName:"Badge",propTypes:{size:h.PropTypes.oneOf(g.sizes) ,type:h.PropTypes.oneOf(['verified','topcommenter','work'])},getDefaultProps:fun ction(){return {size:'xsmall',type:'verified'};},render:function(){return (h.createElement("span",{className:g.getClasses(this.props.size,this.props.type )}));}});e.exports=i;},null);
    __d("ReactPropTransferer",["Object.assign","emptyFunction","joinClasses"],functi on(a,b,c,d,e,f,g,h,i){"use strict";function j(o){return function(p,q,r){if(!p.hasOwnProperty(q)){p[q]=r;}else p[q]=o(p[q],r);};}var k=j(function(o,p){return g({},p,o);}),l={children:h,className:j(i),style:k};function m(o,p){for(var q in p){if(!p.hasOwnProperty(q))continue;var r=l[q];if(r&&l.hasOwnProperty(q)){r(o,q,p[q]);}else if(!o.hasOwnProperty(q))o[q]=p[q];}return o;}var n={mergeProps:function(o,p){return m(g({},o),p);}};e.exports=n;},null);
    __d("cloneWithProps",["ReactElement","ReactPropTransferer","keyOf","warning"],fu nction(a,b,c,d,e,f,g,h,i,j){"use strict";var k=i({children:null});function l(m,n){var o=h.mergeProps(n,m.props);if(!o.hasOwnProperty(k)&&m.props.hasOwnProperty(k))o. children=m.props.children;return g.createElement(m.type,o);}e.exports=l;},null);
    __d("ImageBlock.react",["LeftRight.react","React","cloneWithProps","cx","invaria nt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){function m(p){k(p.children&&(p.children.length===2||p.children.length===3));}function n(p){return (("img")+(' '+"_8o")+(p==='small'?' '+"_8r":'')+(p==='medium'?' '+"_8s":'')+(p==='large'?' '+"_8t":''));}var o=h.createClass({displayName:"ImageBlock",render:function(){m(this.props);var p=this.props.children[0],q=this.props.children[1],r=this.props.children[2],s=th is.props.spacing||'small',t={className:l(n(s),this.props.imageClassName)};if(p.t ype==='img'){if(p.props.alt===(void 0))t.alt='';}else if((p.type==='a'||p.type==='link')&&p.props.tabIndex===(void 0)&&p.props.title===(void 0)&&p.props['aria-label']===(void 0)){t.tabIndex='-1';t['aria-hidden']='true';}p=i(p,t);var u=l(this.props.contentClassName,(("_42ef")+(s==='small'?' '+"_8u":''))),v;if(!r){v=h.createElement("div",{className:u},q);}else v=h.createElement(g,{className:u,direction:g.DIRECTION.right},q,r);return (h.createElement(g,h.__spread({},this.props,{direction:g.DIRECTION.left}),p,v)) ;}});e.exports=o;},null);
    __d("isValidUniqueID",[],function(a,b,c,d,e,f){function g(h){return (h!==null&&h!==(void 0)&&h!==''&&(typeof h==='string'||typeof h==='number'));}e.exports=g;},null);
    __d("SearchableEntry",["HTML","isValidUniqueID","invariant"],function(a,b,c,d,e, f,g,h,i){function j(l){switch(typeof l){case 'string':return l;case 'object':var m=g.replaceJSONWrapper(l);if(g.isHTML(m)){var n=m.getRootNode();return n.textContent||n.innerText||'';}else return '';default:return '';}}function k(l){"use strict";i(h(l.uniqueID));i(!!l.title&&typeof l.title==='string');this.$SearchableEntry0=l.uniqueID+'';this.$SearchableEntry1 =l.title;this.$SearchableEntry2=l.order||0;this.$SearchableEntry3=j(l.subtitle); this.$SearchableEntry4=l.keywordString||'';this.$SearchableEntry5=l.photo||'';th is.$SearchableEntry6=l.uri||'';this.$SearchableEntry7=l.type||'';this.$Searchabl eEntry8=l.auxiliaryData||null;}k.prototype.getUniqueID=function(){"use strict";return this.$SearchableEntry0;};k.prototype.getOrder=function(){"use strict";return this.$SearchableEntry2;};k.prototype.getTitle=function(){"use strict";return this.$SearchableEntry1;};k.prototype.getSubtitle=function(){"use strict";return this.$SearchableEntry3;};k.prototype.getKeywordString=function(){"use strict";return this.$SearchableEntry4;};k.prototype.getPhoto=function(){"use strict";return this.$SearchableEntry5;};k.prototype.getURI=function(){"use strict";return this.$SearchableEntry6;};k.prototype.getType=function(){"use strict";return this.$SearchableEntry7;};k.prototype.getAuxiliaryData=function(){"use strict";return this.$SearchableEntry8;};e.exports=k;},null);
    __d("TypeaheadViewItem",["React","SearchableEntry"],function(a,b,c,d,e,f,g,h){va r i={entry:g.PropTypes.instanceOf(h).isRequired,highlighted:g.PropTypes.bool,role :g.PropTypes.string,selected:g.PropTypes.bool,onSelect:g.PropTypes.func.isRequir ed,onHighlight:g.PropTypes.func,onRenderHighlight:g.PropTypes.func},j={_onSelect :function(k){this.props.onSelect(this.props.entry,k);},_onHighlight:function(k){ if(this.props.onHighlight)this.props.onHighlight(this.props.entry,k);},getDefaul tProps:function(){return {role:'option'};},shouldComponentUpdate:function(k){return (this.props.entry.getUniqueID()!==k.entry.getUniqueID()||this.props.highlighted !==k.highlighted||this.props.selected!==k.selected);},componentDidMount:function (){if(this.props.highlighted&&this.props.onRenderHighlight)this.props.onRenderHi ghlight(this.getDOMNode());},componentDidUpdate:function(){if(this.props.highlig hted&&this.props.onRenderHighlight)this.props.onRenderHighlight(this.getDOMNode( ));}};e.exports={propTypes:i,Mixin:j};},null);
    __d("MentionsTypeaheadViewItem.react",["Badge.react","ImageBlock.react","React", "TypeaheadViewItem","cssURL","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m=i.createClass({displayName:"MentionsTypeaheadViewItem",mixins:[j.Mixin],propT ypes:Object.assign({},j.propTypes,{ariaDescribedBy:i.PropTypes.string}),render:f unction(){var n=this.props.entry,o=n.getAuxiliaryData(),p=null;if(o)if(o.verified){p=i.create Element(g,{type:"verified",size:"xsmall"});}else if(o.workUser)p=i.createElement(g,{type:"work",size:"xsmall"});var q=n.getPhoto()?i.createElement("span",{className:"_5u93",style:{backgroundImage :k(n.getPhoto())}}):i.createElement("span",null),r=null;if(n.getSubtitle())r=i.c reateElement("div",{className:"_5u95"},n.getSubtitle());var s=(("_5u91")+(this.props.highlighted?' '+"_5u92":''));return (i.createElement("li",{role:"option",className:s,"aria-label":n.getTitle(),"ari a-selected":this.props.highlighted,"aria-describedby":this.props.ariaDescribedBy ,onMouseDown:this._onSelect,onMouseEnter:this._onHighlight},i.createElement(h,{s pacing:"medium"},q,i.createElement("div",null,i.createElement("div",{className:" _5u94"},n.getTitle(),p),r))));}});e.exports=m;},null);
    __d("Scrollable",["Event","Parent","UserAgent_DEPRECATED"],function(a,b,c,d,e,f, g,h,i){var j=function(event){var m=h.byClass(event.getTarget(),'scrollable');if(!m)return;if((typeof event.axis!=='undefined'&&event.axis===event.HORIZONTAL_AXIS)||(event.wheelDelt aX&&!event.wheelDeltaY)||(event.deltaX&&!event.deltaY))return;var n=event.wheelDelta||-event.deltaY||-event.detail,o=m.scrollHeight,p=m.clientHei ght;if(o>p){var q=m.scrollTop;if((n>0&&q===0)||(n<0&&q>=o-p-1)){event.prevent();}else if(i.ie()<9)if(m.currentStyle){var r=m.currentStyle.fontSize;if(r.indexOf('px')<0){var s=document.createElement('div');s.style.fontSize=r;s.style.height='1em';r=s.sty le.pixelHeight;}else r=parseInt(r,10);m.scrollTop=q-Math.round(n/120*r);event.prevent();}}},k=docume nt.documentElement;if(i.firefox()){var l=('WheelEvent' in window)?'wheel':'DOMMouseScroll';k.addEventListener(l,j,false);}else g.listen(k,'mousewheel',j);},null);
    __d("ScrollableArea.react",["Bootloader","React","Style","cx","joinClasses","Scr ollable"],function(a,b,c,d,e,f,g,h,i,j,k){b('Scrollable');var l="uiScrollableArea native",m="uiScrollableAreaWrap scrollable",n="uiScrollableAreaBody",o="uiScrollableAreaContent",p=h.createClas s({displayName:"ReactScrollableArea",render:function(){var q={height:this.props.height};return (h.createElement("div",h.__spread({},this.props,{className:k(this.props.classNa me,l),ref:"root",style:Object.assign({},(this.props.style||{}),q)}),h.createElem ent("div",{className:m,ref:"wrap"},h.createElement("div",{className:n,ref:"body" },h.createElement("div",{className:o},this.props.children)))));},getArea:functio n(){return this._area;},componentDidMount:function(){g.loadModules(["ScrollableArea"],this ._loadScrollableArea);},_loadScrollableArea:function(q){this._area=q.fromNative( this.refs.root.getDOMNode(),{fade:this.props.fade,persistent:this.props.persiste nt,shadow:this.props.shadow===(void 0)?true:this.props.shadow});var r=this.refs.body.getDOMNode();i.set(r,'width',this.props.width+'px');this.props .onScroll&&this._area.subscribe('scroll',this.props.onScroll);}});e.exports=p;}, null);
    __d("Timestamp.react",["LiveTimer","joinClasses","React"],function(a,b,c,d,e,f,g ,h,i){var j=b('React').PropTypes,k=i.createClass({displayName:"Timestamp",propTypes:{auto Update:j.bool},getDefaultProps:function(){return {autoUpdate:false};},componentDidMount:function(){if(this.props.autoUpdate)g.ad dTimeStamps(this.getDOMNode());},componentDidUpdate:function(l,m){if(this.props. autoUpdate&&this.props.time!==l.time)g.loop();},render:function(){var l=g.renderRelativeTimeToServer(this.props.time,this.props.shorten);return (i.createElement("abbr",i.__spread({},this.props,{className:h(this.props.classN ame,"livetimestamp"),title:this.props.verbose,"data-utime":this.props.time,"data -shorten":this.props.shorten?true:null}),l.text||this.props.text));}});e.exports =k;},null);
    __d("AbstractButton.react",["Link.react","React","cloneWithProps","cx","joinClas ses"],function(a,b,c,d,e,f,g,h,i,j,k){var l=h.createClass({displayName:"AbstractButton",propTypes:{image:h.PropTypes.elem ent,imageRight:h.PropTypes.element,depressed:h.PropTypes.bool,label:h.PropTypes. node,onClick:h.PropTypes.func},handleLinkClick:function(m){if(this.props.disable d){m.preventDefault();}else if(this.props.onClick)this.props.onClick(m);},render:function(){var m=(("_42ft")+(this.props.disabled?' '+"_42fr":'')+(this.props.depressed?' '+"_42fs":'')),n,o=this.props.image;if(o){n={};if(this.props.label){n.alt='';n. className="_3-8_";}o=i(o,n);}var p=this.props.imageRight;if(p){n={};if(this.props.label){n.alt='';n.className="_ 3-99";}p=i(p,n);}var q;if(this.props.href){q=h.createElement(g,h.__spread({},this.props,{className:k (this.props.className,m),disabled:null,label:null,onClick:this.handleLinkClick}) ,o,this.props.label,p);}else if(this.props.type&&this.props.type!=='submit'){q=h.createElement("button",h.__ spread({},this.props,{className:k(this.props.className,m),label:null,type:this.p rops.type}),o,this.props.label,p);}else q=h.createElement("button",h.__spread({},this.props,{className:k(this.props.cla ssName,m),label:null,type:"submit",value:"1"}),o,this.props.label,p);return q;}});e.exports=l;},null);
    __d("XUIAbstractGlyphButton.react",["AbstractButton.react","React","cx","joinCla sses"],function(a,b,c,d,e,f,g,h,i,j){var k=h.createClass({displayName:"XUIAbstractGlyphButton",propTypes:{label:h.PropTy pes.node},render:function(){return (h.createElement(g,h.__spread({},this.props,{className:j(this.props.className," _5upp")})));}});e.exports=k;},null);
    __d("XUICloseButton.react",["XUIAbstractGlyphButton.react","React","cx","fbt","j oinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){var l=h.createClass({displayName:"XUICloseButton",propTypes:{shade:h.PropTypes.oneO f(['light','dark']),size:h.PropTypes.oneOf(['small','medium']),type:h.PropTypes. oneOf(['submit','button','reset'])},getDefaultProps:function(){return {size:'medium',shade:'dark',type:'button'};},render:function(){var m=this.props.size,n=this.props.shade,o=(("_50zy")+(m==='small'?' '+"_50zz":'')+(m==='medium'?' '+"_50-0":'')+(n==='light'?' '+"_50z_":'')+(n==='dark'?' '+"_50z-":'')),p=this.props.label,q=this.props.title;if(!this.props.title&&!thi s.props.tooltip){if(!p)p="Remove";q=p;}return (h.createElement(g,h.__spread({},this.props,{label:p,title:q,type:this.props.hr ef?null:this.props.type,"aria-label":this.props.tooltip,"data-hover":this.props. tooltip&&'tooltip',"data-tooltip-alignh":this.props.tooltip&&'center',className: k(this.props.className,o)})));}});e.exports=l;},null);
    __d("XUIText.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){var j=g.PropTypes,k=g.createClass({displayName:"XUIText",propTypes:{size:j.oneOf([' small','medium','large','xlarge','inherit']),weight:j.oneOf(['bold','inherit','n ormal']),display:j.oneOf(['inline','block'])},getDefaultProps:function(){return {size:'inherit',weight:'inherit',display:'inline'};},render:function(){var l=this.props.size,m=this.props.weight,n=((l==='small'?"_50f3":'')+(l==='medium' ?' '+"_50f4":'')+(l==='large'?' '+"_50f5":'')+(l==='xlarge'?' '+"_50f6":'')+(m==='bold'?' '+"_50f7":'')+(m==='normal'?' '+"_5kx5":''));if(this.props.display==='block')return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.classNa me,n)}),this.props.children));return (g.createElement("span",g.__spread({},this.props,{className:i(this.props.classN ame,n)}),this.props.children));}});e.exports=k;},null);
    __d("XUIGrayText.react",["React","XUIText.react","cx","joinClasses"],function(a, b,c,d,e,f,g,h,i,j){var k=g.PropTypes,l=g.createClass({displayName:"XUIGrayText",propTypes:{shade:k.one Of(['light','medium','dark'])},getDefaultProps:function(){return {shade:'light'};},render:function(){var m=((this.props.shade==='light'?"_50f8":'')+(this.props.shade==='medium'?' '+"_c24":'')+(this.props.shade==='dark'?' '+"_50f9":''));return (g.createElement(h,g.__spread({},this.props,{className:j(this.props.className,m )}),this.props.children));}});e.exports=l;},null);
    __d("BanzaiNectar",["Banzai"],function(a,b,c,d,e,f,g){function h(j){return {log:function(k,l,m){var n={e:l,a:m};g.post('nectar:'+k,n,j);}};}var i=h();i.create=h;e.exports=i;},null);
    __d("concatMap",[],function(a,b,c,d,e,f){function g(h,i){var j=-1,k=i.length,l=[],m;while(++j<k){m=h(i[j],j,i);Array.isArray(m)?Array.protot ype.push.apply(l,m):Array.prototype.push.call(l,m);}return l;}e.exports=g;},null);
    __d("escapeRegex",[],function(a,b,c,d,e,f){function g(h){return h.replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1");}e.exports=g;},null);
    __d("extendArray",[],function(a,b,c,d,e,f){function g(h,i){Array.prototype.push.apply(h,i);return h;}e.exports=g;},null);
    __d("PhotosMimeType",[],function(a,b,c,d,e,f){function g(h){"use strict";if(this instanceof g===false)return new g(h);this.$PhotosMimeType0=h.split('/');}g.prototype.isImage=function(){"use strict";return this.$PhotosMimeType0[0]==='image';};g.prototype.isJpeg=function(){"use strict";return this.isImage()&&(this.$PhotosMimeType0[1]==='jpeg'||this.$PhotosMimeType0[1]=== 'pjpeg');};e.exports=g;},null);
    __d("DataTransfer",["PhotosMimeType","createArrayFromMixed","emptyFunction"],fun ction(a,b,c,d,e,f,g,h,i){var j=new RegExp('\u000D\u000A','g'),k='\u000A',l={'text/rtf':1,'text/html':1};function m(o){if(o.kind=='file')return o.getAsFile();}function n(o){"use strict";this.data=o;this.types=o.types?h(o.types):[];}n.prototype.isRichText=fu nction(){"use strict";return this.types.some(function(o){return l[o];});};n.prototype.getText=function(){"use strict";var o;if(this.data.getData)if(!this.types.length){o=this.data.getData('Text');}else if(this.types.indexOf('text/plain')!=-1)o=this.data.getData('text/plain');retur n o?o.replace(j,k):null;};n.prototype.getHTML=function(){"use strict";if(this.data.getData)if(!this.types.length){return this.data.getData('Text');}else if(this.types.indexOf('text/html')!=-1)return this.data.getData('text/html');};n.prototype.isLink=function(){"use strict";return this.types.some(function(o){return o.indexOf('url')!=-1||o.indexOf('text/uri-list')!=-1;});};n.prototype.isImage=f unction(){"use strict";var o=this.types.some(function(s){return s.indexOf('application/x-moz-file')!=-1;});if(o)return true;var p=this.getFiles();for(var q=0;q<p.length;q++){var r=p[q].type;if(!g(r).isImage())return false;}return true;};n.prototype.getCount=function(){"use strict";if(this.data.hasOwnProperty('items')){return this.data.items.length;}else if(this.data.hasOwnProperty('mozItemCount')){return this.data.mozItemCount;}else if(this.data.files)return this.data.files.length;return null;};n.prototype.getFiles=function(){"use strict";if(this.data.items){return Array.prototype.slice.call(this.data.items).map(m).filter(i.thatReturnsArgument );}else if(this.data.files){return Array.prototype.slice.call(this.data.files);}else return [];};n.prototype.hasFiles=function(){"use strict";return this.getFiles().length>0;};e.exports=n;},null);
    __d("intlList",["React","fbt","invariant","keyMirror"],function(a,b,c,d,e,f,g,h, i,j){'use strict';var k=function(m,n){n=n||k.CONJUNCTIONS.AND;var o=m.length;if(o===0){return '';}else if(o===1)return m[0];var p=m[o-1],q=m[0];for(var r=1;r<o-1;++r)q=h._("{previous items}, {following items}",[h.param("previous items",q),h.param("following items",m[r])]);return l(q,p,n);};function l(m,n,o){switch(o){case k.CONJUNCTIONS.AND:return (h._("{list of items} and {last item}",[h.param("list of items",m),h.param("last item",n)]));case k.CONJUNCTIONS.OR:return (h._("{list of items} or {last item}",[h.param("list of items",m),h.param("last item",n)]));case k.CONJUNCTIONS.NONE:return (h._("{list of items}, {last item}",[h.param("list of items",m),h.param("last item",n)]));default:i(false);}}k.CONJUNCTIONS=j({AND:null,NONE:null,OR:null});e .exports=k;},null);
    __d("TrackingNodes",["TrackingNodeTypes"],function(a,b,c,d,e,f,g){var h={types:g,BASE_CODE_START:58,BASE_CODE_END:126,BASE_CODE_SIZE:69,PREFIX_CODE_S TART:42,PREFIX_CODE_END:47,PREFIX_CODE_SIZE:6,TN_URL_PARAM:'__tn__',encodeTN:fun ction(i,j){var k=(i-1)%h.BASE_CODE_SIZE,l=parseInt((i-1)/h.BASE_CODE_SIZE,10);if(i<1||l>h.PREF IX_CODE_SIZE)throw Error('Invalid tracking node: '+i);var m="";if(l>0)m+=String.fromCharCode(l-1+h.PREFIX_CODE_START);m+=String.fromCharC ode(k+h.BASE_CODE_START);if(typeof j!="undefined"&&j>0)m+=String.fromCharCode(48+Math.min(j,10)-1);return m;},decodeTN:function(i){if(i.length===0)return [0];var j=i.charCodeAt(0),k=1,l,m;if(j>=h.PREFIX_CODE_START&&j<=h.PREFIX_CODE_END){if(i .length==1)return [0];m=j-h.PREFIX_CODE_START+1;l=i.charCodeAt(1);k=2;}else{m=0;l=j;}if(l<h.BASE_ CODE_START||l>h.BASE_CODE_END)return [0];var n=m*h.BASE_CODE_SIZE+(l-h.BASE_CODE_START)+1;if(i.length>k&&(i.charAt(k)>='0'&& i.charAt(k)<='9'))return [k+1,[n,parseInt(i.charAt(k),10)+1]];return [k,[n]];},parseTrackingNodeString:function(i){var j=[];while(i.length>0){var k=h.decodeTN(i);if(k.length==1)return [];j.push(k[1]);i=i.substring(k[0]);}return j;},getTrackingInfo:function(i,j){return '{"tn":"'+h.encodeTN(i,j)+'"}';},addDataAttribute:function(i,j,k){if(j===(void 0))return;['data-ft','data-gt'].forEach(function(l){var m;if(i.getAttribute){m=i.getAttribute(l)||"{}";}else if(i.props){m=i.props[l]||"{}";}else return;var n=h.encodeTN(j,k);try{m=JSON.parse(m);if(m.tn&&m.tn===n)return;m.tn=n;if(i.setA ttribute){i.setAttribute(l,JSON.stringify(m));}else if(i.props){i.props[l]=JSON.stringify(m);}else return;}catch(o){}});}};e.exports=h;},null);
    __d("PresenceUtil",["CurrentUser","randomInt"],function(a,b,c,d,e,f,g,h){var i=h(0,4294967295)+1;function j(){return i;}function k(){return g.isLoggedInNow();}e.exports={getSessionID:j,hasUserCookie:k};},null);
    __d("ReactLayeredComponentMixin",["ExecutionEnvironment","ReactInstanceMap","Rea ctCurrentOwner","React"],function(a,b,c,d,e,f,g,h,i,j){"use strict";var k={componentWillMount:function(){if(g.canUseDOM)this._layersContainer=document. createElement('div');},componentDidMount:function(){this._renderLayersIntoContai ner();},componentDidUpdate:function(){this._renderLayersIntoContainer();},compon entWillUnmount:function(){j.unmountComponentAtNode(this._layersContainer);},_ren derLayersIntoContainer:function(){i.current=h.get(this);var l=this.renderLayers()||{};i.current=null;j.render(j.createElement("div",null,l) ,this._layersContainer);}};e.exports=k;},null);
    __d("AbstractTextEditorPlaceholder.Experimental.react",["EditorState","React","c x"],function(a,b,c,d,e,f,g,h,i){var j=h.PropTypes,k=h.createClass({displayName:"AbstractTextEditorPlaceholder",prop Types:{editorState:j.instanceOf(g).isRequired,text:j.string.isRequired},shouldCo mponentUpdate:function(l,m){if(this.props.text!==l.text)return true;var n=this.props.editorState,o=l.editorState,p=n.getSelection(),q=o.getSelection(); return (p.getHasFocus()!==q.getHasFocus());},render:function(){var l=this.props.editorState.getSelection().getHasFocus(),m=(("_5ywb")+(l?' '+"_5ywc":''));return (h.createElement("div",{className:m},this.props.text));}});e.exports=k;},null);
    __d("TokenizeUtil",[],function(a,b,c,d,e,f){var g=/[ ]+/g,h=/[^ ]+/g,i=new RegExp(j(),'g');function j(){return '[.,+*?$|#{}()\'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;'+'\u30fb\u3001\u3002\u3008-\u301 1\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f'+'\uff3b-\uff40\uff5b-\uff65\u2E2E\u061 f\u066a-\u066c\u061b\u060c\u060d'+'\uFD3e\uFD3F\u1801\u0964\u104a\u104b\u2010-\u 2027\u2030-\u205e'+'\u00a1-\u00b1\u00b4-\u00b8\u00ba\u00bb\u00bf]';}var k={},l={a:"\u0430 \u00e0 \u00e1 \u00e2 \u00e3 \u00e4 \u00e5 \u0101",b:"\u0431",c:"\u0446 \u00e7 \u010d",d:"\u0434 \u00f0 \u010f \u0111",e:"\u044d \u0435 \u00e8 \u00e9 \u00ea \u00eb \u011b \u0113",f:"\u0444",g:"\u0433 \u011f \u0123",h:"\u0445 \u0127",i:"\u0438 \u00ec \u00ed \u00ee \u00ef \u0131 \u012b",j:"\u0439",k:"\u043a \u0138 \u0137",l:"\u043b \u013e \u013a \u0140 \u0142 \u013c",m:"\u043c",n:"\u043d \u00f1 \u0148 \u0149 \u014b \u0146",o:"\u043e \u00f8 \u00f6 \u00f5 \u00f4 \u00f3 \u00f2",p:"\u043f",r:"\u0440 \u0159 \u0155",s:"\u0441 \u015f \u0161 \u017f",t:"\u0442 \u0165 \u0167 \u00fe",u:"\u0443 \u044e \u00fc \u00fb \u00fa \u00f9 \u016f \u016b",v:"\u0432",y:"\u044b \u00ff \u00fd",z:"\u0437 \u017e",ae:"\u00e6",oe:"\u0153",ts:"\u0446",ch:"\u0447",ij:"\u0133",sh:"\u0448" ,ss:"\u00df",ya:"\u044f"};for(var m in l){var n=l[m].split(' ');for(var o=0;o<n.length;o++)k[n[o]]=m;}var p={};function q(w){return w?w.replace(i,' '):'';}function r(w){w=w.toLowerCase();var x='',y='';for(var z=w.length;z--;){y=w.charAt(z);x=(k[y]||y)+x;}return x.replace(g,' ');}function s(w){var x=[],y=h.exec(w);while(y){y=y[0];x.push(y);y=h.exec(w);}return x;}function t(w,x){if(!p.hasOwnProperty(w)){var y=r(w),z=q(y);p[w]={value:w,flatValue:y,tokens:s(z),isPrefixQuery:z&&z[z.length -1]!=' '};}if(x&&typeof p[w].sortedTokens=='undefined'){p[w].sortedTokens=p[w].tokens.slice();p[w].sort edTokens.sort(function(aa,ba){return ba.length-aa.length;});}return p[w];}function u(w,x,y){var z=t(x,w=='prefix'),aa=w=='prefix'?z.sortedTokens:z.tokens,ba=t(y).tokens,ca={}, da=z.isPrefixQuery&&w=='query'?aa.length-1:null,ea=function(fa,ga){for(var ha=0;ha<ba.length;++ha){var ia=ba[ha];if(!ca[ha]&&(ia==fa||((w=='query'&&ga===da||w=='prefix')&&ia.indexOf( fa)===0)))return (ca[ha]=true);}return false;};return Boolean(aa.length&&aa.every(ea));}var v={flatten:r,parse:t,getPunctuation:j,isExactMatch:u.bind(null,'exact'),isQuery Match:u.bind(null,'query'),isPrefixMatch:u.bind(null,'prefix'),tokenize:s};e.exp orts=v;},null);
    __d("TypeaheadNavigation",[],function(a,b,c,d,e,f){var g={moveUp:function(h,i,j){var k=h.indexOf(i),l=k==-1?h.length-1:k-1;j(l==-1?null:h[l]);},moveDown:function(h, i,j){var k=h.indexOf(i)+1;j(k==h.length?null:h[k]);}};e.exports=g;},null);
    __d("UnicodeCJK",[],function(a,b,c,d,e,f){"use strict";var g='a-zA-Z',h='\uFF21-\uFF3A\uFF41-\uFF5A',i=g+h,j='\u3040-\u309F',k='\u30A0-\u3 0FF',l='\u31F0-\u31FF',m='\uFF65-\uFF9F',n=k+l+m,o=j+n,p=[12352,12447],q=[12448, 12543],r=q[0]-p[0],s='\u4E00-\u9FCF',t='\u3400-\u4DBF',u=s+t,v='\uAC00-\uD7AF',w =u+o+v,x=null,y=null,z=null,aa=null;function ba(ja){y=y||new RegExp('['+o+']');return y.test(ja);}function ca(ja){x=x||new RegExp('['+u+']');return x.test(ja);}function da(ja){z=z||new RegExp('['+w+']');return z.test(ja);}function ea(ja){var ka=ja.charCodeAt(0);return String.fromCharCode((ka<p[0]||ka>p[1])?ka:ka+r);}function fa(ja){if(!ba(ja))return ja;return ja.split('').map(ea).join('');}function ga(ja){aa=aa||new RegExp('^'+'['+o+']+'+'['+i+']'+'$');return aa.test(ja);}function ha(ja){if(ga(ja))return ja.substr(0,ja.length-1);return ja;}var ia={hasKana:ba,hasIdeograph:ca,hasIdeoOrSyll:da,hiraganaToKatakana:fa,isKanaWit hTrailingLatin:ga,kanaRemoveTrailingLatin:ha};e.exports=ia;},null);
    __d("UnicodeHangulKorean",[],function(a,b,c,d,e,f){"use strict";var g=/[\u3130-\u318F\uAC00-\uD7AF]/;function h(aa){return g.test(aa);}var i=[4352,4353,4522,4354,4524,4525,4355,4356,4357,4528,4529,4530,4531,4532,4533,4 378,4358,4359,4360,4385,4361,4362,4363,4364,4365,4366,4367,4368,4369,4370,4449,4 450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4 466,4467,4468,4469,4448,4372,4373,4551,4552,4556,4558,4563,4567,4569,4380,4573,4 575,4381,4382,4384,4386,4387,4391,4393,4395,4396,4397,4398,4399,4402,4406,4416,4 423,4428,4593,4594,4439,4440,4441,4484,4485,4488,4497,4498,4500,4510,4513],j=125 93,k=i.length,l=j+k;function m(aa){return String.fromCharCode(i[aa-j]);}var n=4352,o=4449,p=4519,q=44032,r=19,s=21,t=28,u=(s*t),v=(r*u),w=q+v;function x(aa){var ba=aa-q,ca=ba%t;return String.fromCharCode(n+ba/u)+String.fromCharCode(o+(ba%u)/t)+((ca>0)?String.from CharCode(p+ca):'');}function y(aa){if(!h(aa))return aa;var ba=[];for(var ca=0;ca<aa.length;ca++){var da=aa.charAt(ca),ea=da.charCodeAt(0);ba.push((j<=ea&&ea<l)?m(ea):(q<=ea&&ea<w)? x(ea):da);}return ba.join('');}var z={toConjoiningJamo:y};e.exports=z;},null);
    __d("UnicodeMatch",["UnicodeHangulKorean","UnicodeCJK","invariant","createObject From","mapObject"],function(a,b,c,d,e,f,g,h,i,j,k){"use strict";var l=['prefix_hangul_conjoining_jamo','prefix_kana_drop_trailing_latin','prefix_ka na_hiragana_to_katakana'];function m(n){this.config=j(l,false);this.setConfigs(n||{});}m.prototype.setConfigs=func tion(n){k(n,function(o,p){return this.setConfig(p,o);}.bind(this),this);};m.prototype.setConfig=function(n,o){i( n in this.config);this.config[n]=o;};m.prototype.prefixMatchPrepare=function(n){if(n ){if(this.config.prefix_hangul_conjoining_jamo)n=g.toConjoiningJamo(n);if(this.c onfig.prefix_kana_drop_trailing_latin)n=h.kanaRemoveTrailingLatin(n);if(this.con fig.prefix_kana_hiragana_to_katakana)n=h.hiraganaToKatakana(n);}return n;};m.prototype.prefixMatch=function(n,o){n=this.prefixMatchPrepare(n);o=this.p refixMatchPrepare(o);return n.startsWith(o);};e.exports=m;},null);
    __d("LitestandStoryInsertionStatus",["ArbiterMixin","copyProperties"],function(a ,b,c,d,e,f,g,h){var i='check',j={registerBlocker:function(k){return j.subscribe(i,function(l,m){if(m.can_insert&&k())m.can_insert=false;});},canIns ert:function(){var k={can_insert:true};j.inform(i,k);return k.can_insert;}};h(j,g);e.exports=j;},null);
    __d("LitestandClassicPlaceHolders",["Arbiter"],function(a,b,c,d,e,f,g){var h={},i={register:function(j,k){h[j]=k;},destroy:function(j){var k=h[j];if(k){k.parentNode.removeChild(k);delete h[j];}},subscribeToDestroy:function(j){g.subscribe('feedAdsInvalidation/done',f unction(){this.destroy(j);}.bind(this));}};e.exports=i;},null);
    __d("DataSource",["ArbiterMixin","AsyncRequest","TokenizeUtil","UnicodeMatch","c opyProperties","createArrayFromMixed","createObjectFrom","emptyFunction","mixin" ],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=o(g);for(var q in p)if(p.hasOwnProperty(q))s[q]=p[q];var r=p===null?null:p.prototype;s.prototype=Object.create(r);s.prototype.constructo r=s;s.__superConstructor__=p;function s(t){"use strict";this._maxResults=t.maxResults||10;this.token=t.token;this.queryData=t.q ueryData||{};this.queryEndpoint=t.queryEndpoint||'';this.bootstrapData=t.bootstr apData||{};this.bootstrapEndpoint=t.bootstrapEndpoint||'';this._indexedFields=t. indexedFields||['text','tokens'];this._titleFields=t.titleFields||[];this._alway sPrefixMatch=t.alwaysPrefixMatch||false;this._deduplicationKey=t.deduplicationKe y||null;this._enabledLocalCache=(t.enabledLocalCache!=null)?t.enabledLocalCache: true;this._enabledQueryCache=(t.enabledQueryCache!=null)?t.enabledQueryCache:tru e;this._disableAllCaches=(t.disableAllCaches!=null)?t.disableAllCaches:false;thi s._enabledMergeUids=(t.enabledMergeUids!=null)?t.enabledMergeUids:false;this._qu eryExactMatch=t.queryExactMatch||false;this._acrossTransitions=t.acrossTransitio ns||false;this._minQueryLength=t.minQueryLength||-1;this._enforceNewRequestIDUpo nFetch=t.enforceNewRequestIDUponFetch||false;this._minExactMatchLength=4;this._f ilters=[];this.setExclusions(t.exclusions);this.backendUnicodeMatch=new j({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});this.cacheUnicodeMa tch=new j({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});}s.prototype.init=f unction(){"use strict";this.init=n;this._fields=m(this._indexedFields);this._activeQueries=0;t his.dirty();};s.prototype.dirty=function(){"use strict";this.value='';this._bootstrapped=false;this._bootstrapping=false;this._ data={};this.localCache={};this.queryCache={};this.queryIDs={};this.inform('dirt y',{});return this;};s.prototype.bootstrap=function(){"use strict";if(this._bootstrapped)return;this.bootstrapWithoutToken();this._bootstr apped=true;this._bootstrapping=true;this.inform('bootstrap',{bootstrapping:true} );};s.prototype.bootstrapWithoutToken=function(){"use strict";this.fetch(this.bootstrapEndpoint,this.bootstrapData,{bootstrap:true,to ken:this.token});};s.prototype.bootstrapWithToken=function(){"use strict";var t=k({},this.bootstrapData);t.token=this.token;this.fetch(this.bootstrapEndpoint ,t,{bootstrap:true,replaceCache:true,value:''});};s.prototype.query=function(t,u ,v,w){"use strict";this.inform('beforeQuery',{value:t,local_only:u,exclusions:v,time_waite d:w});var x=Date.now();if(this._disableAllCaches){this.dirty();if(!t){this.bootstrap();re turn true;}}else if(!this._enabledQueryCache){this.queryCache={};this.queryIDs={};}var y=this.buildUids(t,[],v),z=this.respond(t,y);this.value=t;this.inform('query',{ value:t,results:z});var aa=this.tokenizeBackend(t).flatValue;if(u||!aa||this._isQueryTooShort(aa)||!thi s.queryEndpoint||this.getQueryCache().hasOwnProperty(aa)||!this.shouldFetchMoreR esults(z)){this.inform('logPerformanceTiming',{field:'cache_keypress_render',val ue:Date.now()-x});this.inform('completeCacheFetch');return false;}this.inform('queryEndpoint',{value:t});this.fetch(this.queryEndpoint,thi s.getQueryData(t,y),{value:t,exclusions:v});return true;};s.prototype._isQueryTooShort=function(t){"use strict";return (t.length<this._minQueryLength);};s.prototype._tokenize=function(t,u){"use strict";return i.parse(t,u);};s.prototype.tokenizeBackend=function(t,u){"use strict";t=this.backendUnicodeMatch.prefixMatchPrepare(t);return this._tokenize(t,u);};s.prototype.tokenizeCache=function(t,u){"use strict";t=this.cacheUnicodeMatch.prefixMatchPrepare(t);return this._tokenize(t,u);};s.prototype.shouldFetchMoreResults=function(t){"use strict";return t.length<this._maxResults;};s.prototype.getQueryData=function(t,u){"use strict";var v=k({value:t},this.queryData||{});u=u||[];if(u.length)v.existing_ids=u.join(',' );if(this._bootstrapping)v.bsp=true;return v;};s.prototype.setQueryData=function(t,u){"use strict";if(u)this.queryData={};k(this.queryData,t);return this;};s.prototype.setBootstrapData=function(t,u){"use strict";if(u)this.bootstrapData={};k(this.bootstrapData,t);return this;};s.prototype.getExclusions=function(){"use strict";return l(this._exclusions);};s.prototype.setExclusions=function(t){"use strict";this._exclusions=t?t.map(String):[];};s.prototype.addFilter=function(t) {"use strict";var u=this._filters;u.push(t);return {remove:function(){u.splice(u.indexOf(t),1);}};};s.prototype.clearFilters=funct ion(){"use strict";this._filters=[];};s.prototype.notify=function(t,u,v,w){"use strict";var x=this.buildData(u);this.inform('notify',{value:t,results:x,isAsync:!!v,rootid: w});return x;};s.prototype.respond=function(t,u,v){"use strict";var w=this.buildData(u);this.inform('respond',{value:t,results:w,isAsync:!!v});retu rn w;};s.prototype.respondWithResults=function(t,u,v){"use strict";this.inform('respond',{value:t,results:u,isAsync:!!v});return u;};s.prototype.fetch=function(t,u,v){"use strict";if(!t)return;if(this._enforceNewRequestIDUponFetch||u.request_id===(voi d 0)){u.request_id=this._guid();v.request_id=u.request_id;}var w=new h().setURI(t).setData(u).setMethod('GET').setReadOnly(true).setAllowCrossPageTr ansition(this._acrossTransitions).setHandler(function(x){this.fetchHandler(x,v|| {});}.bind(this));if(t===this.queryEndpoint)w.setFinallyHandler(function(){this. _activeQueries--;if(!this._activeQueries)this.inform('activity',{activity:false} );}.bind(this));w.setErrorHandler(this.asyncErrorHandler);this.inform('beforeFet ch',{request:w,fetch_context:v});w.send();if(t===this.queryEndpoint){if(!this._a ctiveQueries)this.inform('activity',{activity:true});this._activeQueries++;}};s. prototype.fetchHandler=function(t,u){"use strict";var v=u.value,w=u.exclusions;if(t.getPayload().requestID!==(void 0))u.request_id=t.getPayload().requestID;var x=this.getQueryIDs(),y=this.tokenizeBackend(v||'').flatValue;x[y]=u.request_id; if(!v&&u.replaceCache)this.localCache={};this.inform('buildQueryCache',{});var z=t.getPayload().entries;this.addEntries(z,v);this.inform('fetchComplete',{entr ies:z,response:t,value:v,fetch_context:u});var aa=(!v&&this.value)?this.value:v;this.respond(aa,this.buildUids(aa,[],w),true); if(!v){if(this._bootstrapping){this._bootstrapping=false;this.inform('bootstrap' ,{bootstrapping:false});}if(u.token&&t.getPayload().token!==u.token)this.bootstr apWithToken();}};s.prototype.addEntries=function(t,u){"use strict";var v=this.processEntries(l(t||[]),u),w=v;if(this._enabledMergeUids)w=this.buildUid s(u,v);if(u){var x=this.getQueryCache(),y=this.tokenizeBackend(u).flatValue;x[y]=w;}else this.fillCache(w);};s.prototype.processEntries=function(t,u){"use strict";return t.map(function(v,w){var x=(v.uid=v.uid+''),y=this.getEntry(x);if(!y){y=v;y.query=u;y.bootstrapped=!u;th is.setEntry(x,y);}else k(y,v);y.index===(void 0)&&(y.index=w);return x;},this);};s.prototype.getAllEntries=function(){"use strict";return this._data||{};};s.prototype.getEntry=function(t){"use strict";return this._data[t]||null;};s.prototype.setEntry=function(t,u){"use strict";this._data[t]=u;};s.prototype.fillCache=function(t){"use strict";if(!this._enabledLocalCache)return;var u=this.localCache;t.forEach(function(v){var w=this.getEntry(v);if(!w)return;var x=this.tokenizeCache(this.getTextToIndex(w)).tokens;for(var y=0,z=x.length;y<z;++y){var aa=x[y];if(!u.hasOwnProperty(aa))u[aa]={};u[aa][v]=true;}},this);};s.prototype. getTextToIndex=function(t){"use strict";if(t.textToIndex&&!t.needs_update)return t.textToIndex;t.needs_update=false;t.textToIndex=this.getTextToIndexFromFields( t,this._indexedFields);return t.textToIndex;};s.prototype.getTextToIndexFromFields=function(t,u){"use strict";var v=[];for(var w=0;w<u.length;++w){var x=t[u[w]];if(x)v.push(x.join?x.join(' '):x);}return v.join(' ');};s.prototype.mergeUids=function(t,u,v,w){"use strict";this.inform('mergeUids',{local_uids:t,query_uids:u,new_uids:v,value:w}) ;var x=function(y,z){var aa=this.getEntry(y),ba=this.getEntry(z);if(aa.extended_match!==ba.extended_matc h)return aa.extended_match?1:-1;if(aa.index!==ba.index)return aa.index-ba.index;if(aa.text.length!==ba.text.length)return aa.text.length-ba.text.length;return aa.uid<ba.uid;}.bind(this);this._checkExtendedMatch(w,t);return this.deduplicateByKey(t.sort(x).concat(u,v));};s.prototype._checkExtendedMatch= function(t,u){"use strict";var v=this._alwaysPrefixMatch?i.isPrefixMatch:i.isQueryMatch;for(var w=0;w<u.length;++w){var x=this.getEntry(u[w]);x.extended_match=x.tokens?!v(t,x.text):false;}};s.prototy pe.buildUids=function(t,u,v){"use strict";if(!u)u=[];if(!t)return u;if(!v)v=[];var w=this.buildCacheResults(t,this.localCache),x=this.buildQueryResults(t),y=this. mergeUids(w,x,u,t),z=m(v.concat(this._exclusions)),aa=y.filter(function(ba){if(z .hasOwnProperty(ba)||!this.getEntry(ba))return false;for(var ca=0;ca<this._filters.length;++ca)if(!this._filters[ca](this.getEntry(ba),t))re turn false;return (z[ba]=true);},this);return this.uidsIncludingExact(t,aa);};s.prototype.uidsIncludingExact=function(t,u){"u se strict";var v=u.length;if(t.length<this._minExactMatchLength||v<=this._maxResults)return u;for(var w=0;w<v;++w){var x=this.getEntry(u[w]);x.text_lower||(x.text_lower=x.text.toLowerCase());if(x.te xt_lower===this.tokenizeCache(t).flatValue){if(w>=this._maxResults){var y=u.splice(w,1)[0];u.splice(this._maxResults-1,0,y);}break;}}return u;};s.prototype.buildData=function(t){"use strict";var u=[],v=Math.min(t.length,this._maxResults);for(var w=0;w<v;++w)u.push(this.getEntry(t[w]));return u;};s.prototype.findBestPreviousQuery=function(t,u){"use strict";var v=0,w=null;if(this._queryExactMatch)return u.hasOwnProperty(t)?t:null;for(var x in u)if(t.indexOf(x)===0&&x.length>v){v=x.length;w=x;}return w;};s.prototype.findQueryCache=function(t){"use strict";var u=this.findBestPreviousQuery(t,this.getQueryCache());return this.getQueryCache()[u]||[];};s.prototype.buildQueryResults=function(t){"use strict";var u=this.tokenizeBackend(t).flatValue,v=this.findQueryCache(u);if(this.getQueryCa che().hasOwnProperty(u))return v;var w=this.filterQueryResults(u,v);return w;};s.prototype.filterQueryResults=function(t,u){"use strict";var v=this._alwaysPrefixMatch?i.isPrefixMatch:i.isQueryMatch;return u.filter(function(w){return v(t,this.getTextToIndex(this.getEntry(w)));},this);};s.prototype.buildCacheResu lts=function(t,u){"use strict";var v=this.tokenizeCache(t,this._alwaysPrefixMatch),w=this._alwaysPrefixMatch?v.sor tedTokens:v.tokens,x=w.length,y=v.isPrefixQuery?x-1:null,z={},aa={},ba={},ca=[], da=false,ea={},fa=0;for(var ga=0;ga<x;++ga){var ha=w[ga];if(!ea.hasOwnProperty(ha)){fa++;ea[ha]=true;}else continue;for(var ia in u)if((!z.hasOwnProperty(ia)&&ia===ha)||((this._alwaysPrefixMatch||y===ga)&&this .cacheUnicodeMatch.prefixMatch(ia,ha))){if(ia===ha){if(aa.hasOwnProperty(ia))da= true;z[ia]=true;}else{if(z.hasOwnProperty(ia)||aa.hasOwnProperty(ia))da=true;aa[ ia]=true;}for(var ja in u[ia])if(ga===0||(ba.hasOwnProperty(ja)&&ba[ja]==fa-1))ba[ja]=fa;}}for(var ka in ba)if(ba[ka]==fa)ca.push(ka);if(da||fa<x)ca=this.filterQueryResults(t,ca);if(th is._titleFields&&this._titleFields.length>0)ca=this.filterNonTitleMatchQueryResu lts(t,ca);return ca;};s.prototype.filterNonTitleMatchQueryResults=function(t,u){"use strict";return u.filter(function(v){var w=this.tokenizeCache(t),x=w.tokens.length;if(x===0)return true;var y=this.getTitleTerms(this.getEntry(v)),z=w.tokens[0];return ((x===1)||this._alwaysPrefixMatch)?(i.isPrefixMatch(z,y)||this.cacheUnicodeMatc h.prefixMatch(y,z)):i.isQueryMatch(z,y);},this);};s.prototype.getTitleTerms=func tion(t){"use strict";if(!t.titleToIndex)t.titleToIndex=this.getTextToIndexFromFields(t,this. _titleFields);return t.titleToIndex;};s.prototype.deduplicateByKey=function(t){"use strict";if(!this._deduplicationKey)return t;var u=m(t.map(this._getDeduplicationKey.bind(this)),t);return t.filter(function(v){return u[this._getDeduplicationKey(v)]==v;}.bind(this));};s.prototype._getDeduplicatio nKey=function(t){"use strict";var u=this.getEntry(t);if(u[this._deduplicationKey]){return u[this._deduplicationKey]+'';}else return '__'+t+'__';};s.prototype.getQueryCache=function(){"use strict";return this.queryCache;};s.prototype.getQueryIDs=function(){"use strict";return this.queryIDs;};s.prototype.setMaxResults=function(t){"use strict";this._maxResults=t;this.value&&this.respond(this.value,this.buildUids(t his.value));};s.prototype.updateToken=function(t){"use strict";this.token=t;this.dirty();return this;};s.prototype._guid=function(){"use strict";var t=Date.now(),u='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function( v){var w=Math.floor((t+Math.random()*16)%16);t=Math.floor(t/16);var x=(v=='x'?w:(w&7|8)).toString(16);return x;});return u;};k(s.prototype,{events:['bootstrap','query','respond'],asyncErrorHandler:n}) ;e.exports=s;},null);
    __d("MultiBootstrapDataSource",["DataSource"],function(a,b,c,d,e,f,g){for(var h in g)if(g.hasOwnProperty(h))j[h]=g[h];var i=g===null?null:g.prototype;j.prototype=Object.create(i);j.prototype.constructo r=j;j.__superConstructor__=g;function j(k){"use strict";this._bootstrapEndpoints=k.bootstrapEndpoints;g.call(this,k);}j.prototy pe.bootstrapWithoutToken=function(){"use strict";for(var k=0;k<this._bootstrapEndpoints.length;k++)this.fetch(this._bootstrapEndpoints[k ].endpoint,this._bootstrapEndpoints[k].data||{},{bootstrap:true});};e.exports=j; },null);
    __d("TabbableElements",["Style","createArrayFromMixed"],function(a,b,c,d,e,f,g,h ){function i(l){if(l.tabIndex>0||(l.tabIndex===0&&l.getAttribute('tabIndex')!==null))retur n true;switch(l.tagName){case "A":return l.href&&l.rel!="ignore";case "INPUT":return l.type!="hidden"&&l.type!="file"&&!l.disabled;case "BUTTON":case "SELECT":case "TEXTAREA":return !l.disabled;}return false;}function j(l){if(l.offsetHeight===0&&l.offsetWidth===0)return false;while(l!==document&&g.get(l,'visibility')!='hidden')l=l.parentNode;return l===document;}var k={find:function(l){var m=h(l.getElementsByTagName("*"));return m.filter(k.isTabbable);},isTabbable:function(l){return i(l)&&j(l);}};e.exports=k;},null);
    __d("tidyEvent",["Run"],function(a,b,c,d,e,f,g){var h=[];function i(){while(h.length){var l=h.shift();l&&l.remove?l.remove():l.unsubscribe();}}function j(l){var m;function n(){if(!m)return;m.apply(l,arguments);m=null;l=null;}if(l.remove){m=l.remove;l. remove=n;}else{m=l.unsubscribe;l.unsubscribe=n;}return l;}function k(l){if(!h.length)g.onLeave(i);if(Array.isArray(l)){for(var m=0;m<l.length;m++)h.push(j(l[m]));}else h.push(j(l));return l;}e.exports=k;},null);
    __d("Toggler",["Arbiter","ArbiterMixin","ContextualThing","CSS","DataStore","DOM ","DOMQuery","Event","Focus","Keys","TabbableElements","arrayContains","copyProp erties","createArrayFromMixed","cx","emptyFunction","ge","getContextualParent"," getObjectValues","setImmediate","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o, p,q,r,s,t,u,v,w,x,y,z,aa){var ba=[],ca,da=false;function ea(){if(!da){da=true;z(function(){da=false;});}}function fa(){fa=v;n.listen(document.documentElement,'click',function(event){if(da)retur n;var ma=event.getTarget();ba.forEach(function(na){na.clickedTarget=ma;na.active&&!na .sticky&&!i.containsIncludingLayers(na.getActive(),ma)&&!na.inTargetFlyout(ma)&& na.inActiveDialog()&&!na.isIgnoredByModalLayer(ma)&&na.hide();});},n.Priority.UR GENT);}var ga=aa(h);for(var ha in ga)if(ga.hasOwnProperty(ha))ja[ha]=ga[ha];var ia=ga===null?null:ga.prototype;ja.prototype=Object.create(ia);ja.prototype.cons tructor=ja;ja.__superConstructor__=ga;function ja(){"use strict";this.active=null;this.togglers={};this.setSticky(false);ba.push(this);t his.subscribe(['show','hide'],ja.inform.bind(ja));return fa();}ja.prototype.show=function(ma){"use strict";var na=ka(this,ma),oa=na.active;if(ma!==oa){oa&&na.hide();na.active=ma;j.addClass(m a,'openToggler');var pa=l.scry(ma,'a[rel="toggle"]');if(pa.length>0&&pa[0].getAttribute('data-target '))j.removeClass(w(pa[0].getAttribute('data-target')),'toggleTargetClosed');var qa=m.scry(ma,'.uiToggleFlyout')[0];if(qa){var ra=q.find(qa)[0]||qa;if(ra.tabIndex==-1)ra.tabIndex=0;o.setWithoutOutline(ra);} if(pa.length>0){l.appendContent(ma,na.getToggler('next'));l.prependContent(ma,na .getToggler('prev'));}n.listen(ma,'keydown',function(event){if(n.getKeyCode(even t)===p.ESC)if(na.isShown()){var sa=l.scry(ma,'a[rel="toggle"]')[0];sa&&sa.focus();na.hide();}});na.inform('show ',na);}};ja.prototype.hide=function(ma){"use strict";var na=ka(this,ma),oa=na.active;if(oa&&(!ma||ma===oa)){j.removeClass(oa,'openToggle r');var pa=l.scry(oa,'a[rel="toggle"]');if(pa.length>0&&pa[0].getAttribute('data-target '))j.addClass(w(pa[0].getAttribute('data-target')),'toggleTargetClosed');y(na.to gglers).forEach(l.remove);na.inform('hide',na);na.active=null;}};ja.prototype.to ggle=function(ma){"use strict";var na=ka(this,ma);if(na.active===ma){na.hide();}else na.show(ma);ea();};ja.prototype.getActive=function(){"use strict";return ka(this).active;};ja.prototype.isShown=function(){"use strict";return ka(this).active&&j.hasClass(ka(this).active,'openToggler');};ja.prototype.inTar getFlyout=function(ma){"use strict";var na=la(this.getActive());return na&&i.containsIncludingLayers(na,ma);};ja.prototype.inActiveDialog=function(){" use strict";var ma=a.Dialog&&a.Dialog.getCurrent();return !ma||l.contains(ma.getRoot(),this.getActive());};ja.prototype.isIgnoredByModalL ayer=function(ma){"use strict";var na=!!i.parentByClass(ma,"_3qw"),oa=!!i.parentByClass(this.getActive(),"_3qw");r eturn na&&!oa;};ja.prototype.getToggler=function(ma){"use strict";var na=ka(this);if(!na.togglers[ma]){na.togglers[ma]=l.create('button',{className:' hideToggler',onfocus:function(){var oa=l.scry(na.active,'a[rel="toggle"]')[0];oa&&oa.focus();na.hide();},style:{rig ht:ma==='next'?'0':''}});na.togglers[ma].setAttribute('type','button');}return this.togglers[ma];};ja.prototype.setSticky=function(ma){"use strict";var na=ka(this);ma=ma!==false;if(ma!==na.sticky){na.sticky=ma;if(ma){na.$Toggler0&& na.$Toggler0.unsubscribe();}else na.$Toggler0=g.subscribe('pre_page_transition',na.hide.bind(na,null));}return na;};ja.prototype.setPrePageTransitionCallback=function(ma){"use strict";var na=ka(this);na.$Toggler0&&na.$Toggler0.unsubscribe();na.$Toggler0=g.subscribe(' pre_page_transition',ma);};ja.bootstrap=function(ma){"use strict";var na=ma.parentNode;ja.getInstance(na).toggle(na);};ja.createInstance=function(ma) {"use strict";var na=new ja().setSticky(true);k.set(ma,'toggler',na);return na;};ja.destroyInstance=function(ma){"use strict";k.remove(ma,'toggler');};ja.getInstance=function(ma){"use strict";while(ma){var na=k.get(ma,'toggler');if(na)return na;if(j.hasClass(ma,'uiToggleContext'))return ja.createInstance(ma);ma=x(ma);}return (ca=ca||new ja());};ja.listen=function(ma,na,oa){"use strict";return ja.subscribe(t(ma),function(pa,qa){if(qa.getActive()===na)return oa(pa,qa);});};s(ja,ja.prototype);s(ja,{subscribe:(function(ma){return function(na,oa){na=t(na);if(r(na,'show'))ba.forEach(function(pa){if(pa.getActiv e())setTimeout(oa.bind(null,'show',pa),0);});return ma(na,oa);};})(ja.subscribe.bind(ja))});function ka(ma,na){if(ma instanceof ja)return ma;return ja.getInstance(na);}function la(ma){var na=l.scry(ma,'a[rel="toggle"]');if(na.length>0&&na[0].getAttribute('data-target '))return w(na[0].getAttribute('data-target'));}e.exports=ja;},null);
    __d("onEnclosingPageletDestroy",["Arbiter","DOMQuery"],function(a,b,c,d,e,f,g,h) {function i(j,k){var l=g.subscribe('pagelet/destroy',function(m,n){if(h.contains(n.root,j)){l.unsubs cribe();k();}});return l;}e.exports=i;},null);
    __d("FbFeedHighlight",["JSXDOM","CSS","DOM","DOMScroll","cx"],function(a,b,c,d,e ,f,g,h,i,j,k){var l=1000,m=1000,n=null;function o(){return (g.div({className:"_1usz"},g.div({className:"_1us-"}),g.div({className:"_1us_"} ),g.div({className:"_1ut0"}),g.div({className:"_1ut1"})));}var p={highlightAndScrollTo:function(q){p.highlight(q);p.scrollTo(q);},highlightSin gle:function(q){var r=o();i.appendContent(q,r);setTimeout(function(){if(n)i.remove(n);n=r;h.addClas s(q,"_1ut2");},0);setTimeout(function(){h.removeClass(q,"_1ut2");setTimeout(func tion(){i.remove(r);if(r==n)n=null;},l+m);},l+m);},highlight:function(q){var r=o();i.appendContent(q,r);setTimeout(h.addClass.bind(null,q,"_1ut2"),0);setTim eout(function(){h.removeClass(q,"_1ut2");setTimeout(i.remove.bind(null,r),l+l);} ,l+m);},scrollTo:function(q){setTimeout(j.scrollTo.bind(null,q),0);}};e.exports= p;},null);
    __d("XNotificationInlineStoryInsertControllerURIBuilder",["XControllerURIBuilder "],function(a,b,c,d,e,f){e.exports=b("XControllerURIBuilder").create("\/desktop_ notifications\/insert_story\/",{uri:{type:"String",required:true},uri_path:{type :"String",required:true},first_insert:{type:"Bool"},notif_id:{type:"String",requ ired:true}});},null);
    __d("InlineStoryInsert",["Animation","Arbiter","AsyncRequest","csx","DOM","DOMQu ery","DOMScroll","FbFeedHighlight","ge","XNotificationInlineStoryInsertControlle rURIBuilder","Toggler","$"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){var s=null,t={insertStory:function(u){q.hide(r("fbNotificationsJewel"));var v=r("pagelet_composer");g.insert(v,u,k.insertAfter);s=l.scry(r("stream_pagelet" ),"._2dt8")[0];var w=l.scry(s,"._2fx2")[0],x=l.scry(u,"._2fx3")[0];h.subscribeOnce('notifStory/ufi Loaded',function(){t.scrollToHeaderandHighlightStory(w,x);}.bind(this));},prepen dStory:function(u){q.hide(r("fbNotificationsJewel"));s=l.scry(r("stream_pagelet" ),"._2dt8")[0];var v=l.scry(s,"._2fx2")[0],w=l.scry(u,"._2fx3")[0];t.dedupe(s,"._2fx4",u);g.insert (v,u,k.insertAfter);h.subscribeOnce('notifStory/ufiLoaded',function(){t.scrollTo HeaderandHighlightStory(v,w);}.bind(this));},scrollToHeaderandHighlightStory:fun ction(u,v){n.highlight(v);m.scrollTo(u);h.inform('inlineStory/insertLoaded');},g otoPermalink:function(u){window.open(u,'_self');},stopLoadingAndFallback:functio n(u){window.open(u,'_self');h.inform('inlineStory/insertLoaded');},requestStory: function(u,v,w,x){h.subscribeOnce('notifStory/ufiLoaded',function(){t.setComment Focus();}.bind(this));var y=new p().setString('uri',u).setString('uri_path',v).setBool('first_insert',w).setStr ing('notif_id',x).getURI();new i().setURI(y).send();},setCommentFocus:function(){var u=k.scry(s,'textarea');if(u.length>0)u[0].focus();},dedupe:function(u,v,w){var x=l.scry(u,v);for(var y=0;y<x.length;y++)if(x[y].id===w.id){k.remove(x[y]);return;}},_insert:function (u,v,w){var x=l.scry(r("stream_pagelet"),"._2fx4").length===0;t.requestStory(u,v,x,w);},_is InFeed:function(){if(!o("pagelet_composer"))return false;return true;},_notifStoryUFI:function(u){if(!t._isInFeed())return false;var v=null,w=null;v=l.scry(r("stream_pagelet"),"._2dt8");if(v.length>0){w=v[0];if(l .contains(w,u))return true;}return false;}};e.exports=t;},null);
    __d("SnowflakePermalinkUtils",["URI"],function(a,b,c,d,e,f,g){var h=/\/[^/]+\/(albums\/([^/]+)|posts\/([a-zA-Z]+[^/]+))\/([^/]+\/)?/,i=/\/[^/]+\/ (albums|posts)\/([^/]+)\/([^/]+\/)?/,j={isPermalinkURI:function(k){k=g(k);return h.test(k.getPath());},parseURI:function(k){if(!this.isPermalinkURI(k))return {};k=g(k);var l=k.getPath().match(i);return {setToken:l[2],entIdentifierToken:l[3],photoID:k.getQueryData().photo_id};}};e. exports=j;},null);
    __d("Sticker.react",["Arbiter","React","StickerConfig","StickerConstants","empty Function","getElementPosition","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j,k ,l,m){'use strict';var n=83,o=5000,p=10,q={CLICK:'click',HOVER:'hover',LOAD_AND_HOVER:'load_and_hover' },r=h.createClass({displayName:"Sticker",propTypes:{animationTrigger:h.PropTypes .oneOf(m(q)),frameCount:h.PropTypes.number.isRequired,frameRate:h.PropTypes.numb er,framesPerCol:h.PropTypes.number.isRequired,framesPerRow:h.PropTypes.number.is Required,onStickerClick:h.PropTypes.func,packID:h.PropTypes.string,sourceURI:h.P ropTypes.string.isRequired,sourceWidth:h.PropTypes.number.isRequired,sourceHeigh t:h.PropTypes.number.isRequired,spriteURI:h.PropTypes.string,stickerID:h.PropTyp es.string,subscribedThreadID:h.PropTypes.string},getInitialState:function(){retu rn {index:0,hasAnimated:false,unsubscribeID:null};},getDefaultProps:function(){ret urn {frameRate:n,onStickerClick:k,packID:null,shown:false};},componentDidMount:func tion(){this._stopIntervalID=0;if(this.props.animationTrigger===q.LOAD_AND_HOVER& &this.props.frameCount>1&&this.props.spriteURI)this.startAnimation();if(this.pro ps.subscribedThreadID&&this.props.frameCount>1){var s=g.subscribe(this.props.subscribedThreadID,function(t,u){this.isScrolledIntoVi ew(u.scrollTop,u.viewHeight,u.top);}.bind(this));this.setState({unsubscribeID:s} );}},componentDidUpdate:function(s){if(i.AutoAnimateStickerTray&&!s.shown&&this. props.shown)this.startAnimation();},componentWillUnmount:function(){if(this.stat e.unsubscribeID)g.unsubscribe(this.state.unsubscribeID);if(this.isAnimating())cl earInterval(this._stopIntervalID);},isAnimating:function(){return !!this._stopIntervalID;},getWidth:function(){return Math.floor(this.props.sourceWidth);},getHeight:function(){return Math.floor(this.props.sourceHeight);},preloadSprite:function(){var s=new Image();s.onload=function(){if(this.isMounted()&&!this.state.hasAnimated){this. setState({hasAnimated:true});this._stopIntervalID=setInterval(this.incrementFram eIndex,this.props.frameRate);}}.bind(this);if(i.ChatPaddedAnimatedStickerGK&&thi s.props.paddedSpriteURI){s.src=this.props.paddedSpriteURI;}else s.src=this.props.spriteURI;},isScrolledIntoView:function(s,t,u){var v=l(this.getDOMNode()),w=s+v.y-u,x=s+t,y=w+v.height;if(this.props.frameCount>1& &!this.state.hasAnimated&&y-p<=x&&w+p>=s)this.startAnimation();},startAnimation: function(){if(!this.state.hasAnimated&&this.props.spriteURI){this.preloadSprite( );}else if

    I didn't read the post - just the title - puk and pin for the sim card?  That is a carrier feature - contact her carrier and see what they say.

  • Unable to add account to Outlook 2010 for email address under custom domain

    I am unable to add a new account in Outlook 2010 for an email account set up under a custom domain.
    Can anyone explain why login credentials that work for outlook.com (successful access to email inbox) return an authentication failure (401 error) when used to test connectivity via https://testconnectivity.microsoft.com?
    Details:
    I set up a custom domain at https://domains.live.com and did the following DNS configuration steps at my web hosting company following instructions from domains.live.com:
    Created custom MX record
    Created CNAME record [name:] autodiscover.jrergonomics.com [value:] autodiscover.outlook.com.
    I created email addresses at domains.live.com > jrergonomics.com > Member accounts and tested by successfully logging in to outlook.com.
    When I try to add either account to Outlook 2010, I get a popup box with this information:
    Title: "Windows Security"
    Connecting to [email protected]
    [[email protected]]
    [ ] Remember my credentials
                                       [   OK   ]  [  Cancel 
    The credentials that I use successfully to log in to outlook.com don't work here; I get the popup box 3-4 times and then the Outlook 2010 Add New Account dialog displays an error:
    "An encrypted connection to your mail server is not available. Click Next to attempt using an unencrypted connection."
    Clicking Next results in an error message:
    "Problem Connecting to Server"
    I have tried verifying the connectivity using https://testconnectivity.microsoft.com:
    <?xml version="1.0" encoding="utf-8"?>
    <testresult status="FatalError" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to test Autodiscover for [email protected]." resultdescription="Testing Autodiscover failed." additionaldetails="" elapsedMilliseconds="40517">
    <children>
    <testresult status="FatalError" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting each method of contacting the Autodiscover service." resultdescription="The Autodiscover service couldn't be contacted successfully by any method." additionaldetails="" elapsedMilliseconds="40517">
    <children>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://jrergonomics.com/AutoDiscover/AutoDiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="21181">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name jrergonomics.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 64.90.49.188" elapsedMilliseconds="146">
    <children />
    </testresult>
    <testresult status="Error" errorid="c716c7b4-a473-4ca4-8859-fc9c5bb12ad1" contentUrl="http://go.microsoft.com/fwlink/p/?LinkId=133210&amp;v=ExRCA.1&amp;id=B2E81FE1-5A94-4d07-9D58-AD483268A72A" testdescription="Testing TCP port 443 on host jrergonomics.com to ensure it's listening and open." resultdescription="The specified port is either blocked, not listening, or not producing the expected response." additionaldetails="A network error occurred while communicating with the remote host.&#xD;&#xA;" elapsedMilliseconds="21035">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://autodiscover.jrergonomics.com/AutoDiscover/AutoDiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="4982">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover.jrergonomics.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 157.56.244.217, 157.56.234.137, 157.56.236.89, 157.56.240.137" elapsedMilliseconds="376">
    <children />
    </testresult>
    <testresult status="Error" errorid="c716c7b4-a473-4ca4-8859-fc9c5bb12ad1" contentUrl="http://go.microsoft.com/fwlink/p/?LinkId=133210&amp;v=ExRCA.1&amp;id=B2E81FE1-5A94-4d07-9D58-AD483268A72A" testdescription="Testing TCP port 443 on host autodiscover.jrergonomics.com to ensure it's listening and open." resultdescription="The specified port is either blocked, not listening, or not producing the expected response." additionaldetails="A network error occurred while communicating with the remote host.&#xD;&#xA;" elapsedMilliseconds="4605">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="FatalError" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to contact the Autodiscover service using the HTTP redirect method." resultdescription="The attempt to contact Autodiscover using the HTTP Redirect method failed." additionaldetails="" elapsedMilliseconds="14148">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover.jrergonomics.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 157.56.244.217, 157.56.234.137, 157.56.236.89, 157.56.240.137" elapsedMilliseconds="21">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 80 on host autodiscover.jrergonomics.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="59">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is checking the host autodiscover.jrergonomics.com for an HTTP redirect to the Autodiscover service." resultdescription="The redirect (HTTP 301/302) response was received successfully." additionaldetails="Redirect URL: https://autodiscover-s.outlook.com/Autodiscover/Autodiscover.xml&#xD;&#xA;&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Connection: close&#xD;&#xA;Pragma: no-cache&#xD;&#xA;Cache-Control: no-cache&#xD;&#xA;Location: https://autodiscover-s.outlook.com/Autodiscover/Autodiscover.xml&#xD;&#xA;" elapsedMilliseconds="45">
    <children />
    </testresult>
    <testresult status="FatalError" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://autodiscover-s.outlook.com/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="14021">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover-s.outlook.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 157.56.241.102, 157.56.232.166, 157.56.245.70, 157.56.245.166, 157.56.236.214, 157.56.236.6" elapsedMilliseconds="191">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host autodiscover-s.outlook.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="84">
    <children />
    </testresult>
    <testresult status="SuccessWithWarnings" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="248">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server autodiscover-s.outlook.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US, Issuer: CN=Microsoft IT SSL SHA2, OU=Microsoft IT, O=Microsoft Corporation, L=Redmond, S=Washington, C=US." elapsedMilliseconds="163">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name autodiscover-s.outlook.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="1">
    <children />
    </testresult>
    <testresult status="SuccessWithWarnings" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Certificate trust is being validated." resultdescription="The certificate is trusted and all certificates are present in the chain." additionaldetails="">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to build certificate chains for certificate CN=outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US." resultdescription="One or more certificate chains were constructed successfully." additionaldetails="A total of 1 chains were built. The highest quality chain ends in root certificate CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE." elapsedMilliseconds="34">
    <children />
    </testresult>
    <testresult status="Warning" errorid="1339c33a-8f21-427b-a323-4cee1a13f517" contentUrl="" testdescription="Analyzing the certificate chains for compatibility problems with versions of Windows." resultdescription="Potential compatibility problems were identified with some versions of Windows." additionaldetails="The Microsoft Connectivity Analyzer can only validate the certificate chain using the Root Certificate Update functionality from Windows Update. Your certificate may not be trusted on Windows if the &quot;Update Root Certificates&quot; feature isn't enabled." elapsedMilliseconds="4">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 2/18/2014 11:41:01 PM, NotAfter = 2/18/2016 11:41:01 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="804">
    <children />
    </testresult>
    <testresult status="FatalError" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="12692">
    <children>
    <testresult status="FatalError" errorid="6c458392-3a8c-4bc2-942e-7ab533744106" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://autodiscover-s.outlook.com/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="An HTTP 401 Unauthorized response was received from the remote Unknown server. This is usually the result of an incorrect username or password. If you are attempting to log onto an Office 365 service, ensure you are using your full User Principal Name (UPN).&#xD;&#xA;Headers received:&#xD;&#xA;RequestId: 842d50d9-3e33-4627-8804-98fa0b02070c&#xD;&#xA;X-DiagInfo: CH1PRD0910CA013&#xD;&#xA;Content-Length: 0&#xD;&#xA;Cache-Control: private&#xD;&#xA;Date: Mon, 31 Mar 2014 04:57:26 GMT&#xD;&#xA;Server: Microsoft-IIS/7.5&#xD;&#xA;WWW-Authenticate: Basic Realm=&quot;&quot;&#xD;&#xA;X-AspNet-Version: 2.0.50727&#xD;&#xA;X-Powered-By: ASP.NET&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;RequestId: 842d50d9-3e33-4627-8804-98fa0b02070c&#xD;&#xA;X-DiagInfo: CH1PRD0910CA013&#xD;&#xA;Content-Length: 0&#xD;&#xA;Cache-Control: private&#xD;&#xA;Date: Mon, 31 Mar 2014 04:57:26 GMT&#xD;&#xA;Server: Microsoft-IIS/7.5&#xD;&#xA;WWW-Authenticate: Basic Realm=&quot;&quot;&#xD;&#xA;X-AspNet-Version: 2.0.50727&#xD;&#xA;X-Powered-By: ASP.NET&#xD;&#xA;" elapsedMilliseconds="12691">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>

    Hi,
    Since this is an Exchange forum and your issue is related to domain.live.com, I recommend you contact with domain.live.com support to get quicker and more professional help:<cite class="_Vc">https://domains.live.com/support/
    </cite>
    Thanks for your understanding in advance.
    Best regards,
    Angela Shi
    TechNet Community Support

Maybe you are looking for

  • Erroe while invoking a process (could not validate SAML)

    Hi, I am getting the following error while invoking a process from Weblogic  Portal Server.The invocation happens properly always but after frequent  intervals(approx 1-1.5 hrs) this error comes.Then if the Portal Server(the  client which is invoking

  • Unknown Error -3256 with itunes

    I have joined my airport express to my existing wireless network and now when I try to use both my local speakers and my distant speakers at the same time I get: "An error happened while connecting to the distant speakers <<name of my speakers>>. An

  • XML and/or Action Script

    i'm creating a photogallery which has 10 photos viewed through XML. I've got next and previous buttons aswell. How can I do to detect if its on the 10th photo the next button disappears and if its viewing the first button the previous button disappea

  • Grouping Songs by Album in New Views

    In the new Cover Browser view, I have some songs that will not group as an album. Even though they have the same album name and same album art, iTunes puts each song as it's own album. What is the flag that makes the new views group songs as albums?

  • IMovie is not showing all of my videos from iPhoto, can I rescan?

    My wife and I have an iPhone 4 and 4S.  In addition to our camcorder, we use our phones to record video.  For some reason, some of our videos in iPhoto are not being shown in iMovie.  Most are, but some videos that are several months old are missing.