%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/orca/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/orca/__pycache__/formatting.cpython-312.pyc

�

g
fu��"��(�dZdZdZdZdZdZddlZddlZejdd	�dd
l	m
Z
ddlmZd
Z
dZdZidej �dej"�dej$�dej&�dej(�dej*�dej,�dej.�dej0�dej2�dej4�dej6�dej8�dej:�dej<�dej>�d ej@�ejBejDd!��ejFejHejJejLejNejPejRejTejVejXejZej\d"�ej^ej`ejbejdejfejhejjejlejnejpejrejtejvd#�
d$�id%d&d'd(d)d&d*��d+d&d&d,e
zd-ze
d.ze
d/zd*��d0d&d&d1ezd2zd3d4d*��e
jxjzd5d6i�e
jxj|d5d7i�e
jxj~d3d8d9��d:d5d;i�e
jxj�d<d=d9��e
jxj�d>d>d?d@dA��e
jxj�d5dBi�e
jxj�dCdDezdEzdFezdGzdH��e
jxj�dCdIezdJzdKezdH��e
jxj�dLdMezdNezdOzdH��e
jxj�dPdQd9��e
jxj�dRdSezdEzd9��e
jxj�d3d8d9��dTdUdVd9��idWd5dXi�dYdZd[d9��d\d]d^d9��d_d`dai�e
jxj�dbdcd9��e
jxj�d5ddi�e
jxj�d5dei�e
jxj�dLdfezdgezdOzdH��e
jxj�dhdid9��e
jxj�djezdkezdlezdm��e
jxj�djezdkezdnezdm��dodpdqd9��drdsdqd9��e
jxj�dtdud9��e
jxj�dvdwezdxezdyezdA��dzd{d|d9��e
jxj�d5d8i��ie
jxj�d5d}i�e
jxj�d~dBd9��e
jxj�dd�d9��e
jxj�d5d}i�e
jxj�d�d�d�ezd�ezdA��e
jxj�d>d>d?d@dA��e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d�d�d9��e
jxj�d�d�d�d�dA��e
jxj�d�ezd�ezd���e
jxj�dbdcd9��e
jxj�d�dcd9��e
jxj�d�d�d�dH��e
jxj�d5d�i��id�d5d�i�d�d5d�i�e
jxj�d5d�i�e
jxj�d5d�i�d�d5d�i�d�d5d�i�d�d5d�i�d�d5d�i�d�d5d�i�e
jxj�d3d1ezdJzd�ezdH��e
jxj�d�d�ezdJzd�ezdH��e
jxj�d5d�i�e
jxj�d�d�ezd�ezd�ezdA��e
jxj�d�ezdEzd�ezdEzd�ezdEzdH��e
jxj�d�d�d9��e
jxj�d�d�ezd�ezd�ezdA��e
jxj�d�d�ezd�ezd�ezdA���ie
jxj�d�d�d9��e
jxj�d�d�ezdEzd�ezdEzdH��e
jxj�d�d�ezd�zd�ezdEzdH��e
jxj�d�d�ezd�zd�ezdH��d�d�d�d9��e
jxj�dPdQd9��e
jxj�dLdfezdgezdOzdH��e
jxj�d5d�i�e
jxj�d�d�ezd9��e
jxj�dLd�ezdgezdGzdH��e
jxj�d�d�ezd�ezdGzdH��e
jxj�d�d�ezd9��e
jxj�dLd�ezd�dH��e
jxj�d5d}i�e
jxj�d�d�d9��e
jxj�d5d�i�e
jxj�d5d�i��d�d�d�ezdEzd�dH�e
jxj�d�d�d�dH�e
jxj�d�d�d�d�d�d*�d�d�d�d9�e
jx�jd�d�d�dH�e
jx�jd&d�d9�e
jx�jd�d�d�ezd�ezdA�e
jx�jd�d�ezd�ezd�ezdA�e
jx�jd�d�ezdEzd�dH�e
jx�j
d�d�d9�e
jx�jdad�d�dH�e
jx�jd�d�d9�e
jx�jd�d�d�dH�i
�id%d�d�d9��d+d�d�d9��d0d�d�d9��e
jxjzd5d�ezd�zi�e
jxj|d5d�i�e
jx�jd�d�d9��e
jxj~d5d�ezd�zi�d:d5d�ezd�zi�e
jxj�d5ed�zi�e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5ed�zi�e
jxj�d5d�i�e
jxj�d5d�i�ie
jxj�d�ed9��e
jxj�d�ed9��e
jxj�d5ei�e
jxj�d5d�ezd�zi�e
jxj��d�dd9��e
jxj�d5�di�e
jxj�d5d�i�e
jxj��d�dd9��e
jxj�d5ei�e
jxj�d5�di�e
jxj�d5�di�e
jxj�d5�di�e
jxj�d�ez�dzd�ez�dzd9��e
jxj��d�dd9��e
jxj�d5�d	i�e
jxj�d5d�ezd�zi�e
jxj�d5ei��ie
jxj��d�dd9��e
jxj�d5d�ezd�zi�e
jxj�d5ei�e
jxj�d5ei�e
jxj�d5�d
i�e
jxj�d5�di�e
jxj�d5�di�e
jxj��d
�dd9��e
jxj�d5d�i�e
jxj�d5d�i�e
jxj�d5�di�e
jxj�d5ei�e
jxj�d5�di�e
jxj�d5�di�e
jxj�d5�di�d�d5�di�e
jxj�d5d�ez�dzi��d�d5�dez�dzie
jx�jd5�die
jx�jd5�die
jx�jd5eie
jx�jd5�die
jx�j
d5�die
jx�jd5�die
jx�jd5d�ez�dzii�id%d&d&d&d&dA��d+d&�dd&d&dA��d0d&�dd&d&dA��e
jxj�d5�di�e
jxj�dC�dd9��e
jxj�dC�d d9��e
jxj�d��dd9��e
jxj��d!�d"d9��e
jxj�d5�d#i�e
jxj�d��d$d9��e
jxj�d5�di�e
jxj�d��d%d9��e
jxj�d5�d&i�e
jxj�d5�d&i�e
jxj�d��d'd9��e
jxj�d��d(d9��e
jxj�d5�di�e
jxj��d)�d*d9�e
jxj�d��d+d9�e
jxj�d��d,d9�e
jxj�d��d d9�e
jxj��d!�d-d9�e
jxj��d!�d"d9�e
jxj��d!�d.d9�e
jxj��d!�d/d9�d�dҐd0d9�e
jxj�d��d$d9�e
jx�jd`d�ie
jx�jd5�d#ie
jx�jd�d1d9�e
jx�jd��d'd9�i��d2�Z�G�d3��d4e��Z�y(5z)Manages the formatting settings for Orca.z$Id:$z$Revision:$z$Date:$z-Copyright (c) 2004-2009 Sun Microsystems Inc.�LGPL�N�Atspiz2.0)r�)�object_propertiesz'(tutorial and (pause + tutorial) or [])z3(mnemonic and (pause + mnemonic + lineBreak) or [])a#[Text(obj, asString(labelOrName or placeholderText), asString(eol), startOffset, endOffset)]                + (invalid and [Region(" " + asString(invalid))])                + (required and [Region(" " + asString(required))])                + (readOnly and [Region(" " + asString(readOnly))])�invalid�required�readonly�insensitive�checkbox�radiobutton�switch�togglebutton�	expansion�	nodelevel�nestinglevel�multiselect�	iconindex�
groupindex�groupindextotalunknown�	clickable�haslongdesc)�
hasdetails�
detailsfor)�eolrr	r
rrrr
rrrr)
rrr	r
rrr
rrrrr�visited)�speech�braille�sound�prefixz[]�
detailsForzoldAncestors + newAncestors�toolbar)�ancestor�focused�	unfocused�
basicWhereAmI�detailedWhereAmI�suffixz[newNodeLevel + unselectedCell + clickable + pause + hasLongDesc + hasDetails + detailsFor +z! + description + pause + hasPopupze + clickable + hasLongDesc + description + pause + hasPopup + pause + detailsFor + pause + allDetailsz] + clickable + hasLongDesc + description + pause + hasPopup + detailsFor + pause + allDetails�defaultz(labelOrName + roleName + availability + z + accelerator + childWidgetzlabelOrName + roleName�pageSummaryr$z*roleName + labelOrName + pause + alertText�labelAndNamezClabelOrName + roleName + pause + currentLineText + allTextSelection)r#r$�ROLE_ARTICLE_IN_FEEDzE(labelOrName or currentLineText or roleName) + pause + positionInListz,leaving or (roleName + pause + nestingLevel)z7roleName + pause + nestingLevel + pause + displayedTextzFlabelAndName + (imageDescription or roleName) + pause + positionInListzIparentRoleName + pause + labelAndName + pause + selectedItemCount + pausezaparentRoleName + pause + labelAndName + pause + selectedItemCount + pause + selectedItems + pause)r#r$r%r&z<((substring and currentLineText) or labelAndName) + roleName�checkedStatez_labelOrName + readOnly + roleName + checkedState + required + pause + invalid + availability + z + acceleratorzJnamedContainingPanel + labelOrName + readOnly + roleName + checkedState + z+ + accelerator + required + pause + invalid)r#r$r%zBlabelOrName + roleName + checkedState + required + availability + z' + accelerator + pause + positionInListzkancestors + pause + labelOrName + roleName + checkedState + pause + accelerator + pause + positionInList + �valuez5label + roleName + value + required + availability + z(label + roleName + value + percentage + z + accelerator + requiredzPlabelAndName + roleName + pause + sortOrder + pause + newRow + pause + newColumnzu((substring and currentLineText) or labelAndName) + roleName + pause + sortOrder + pause + newRow + pause + newColumnz(labelOrName + roleName + expandableStatezBlabelOrName + roleName + pause + value + pause + positionInList + �ROLE_CONTENT_DELETIONzleaving or deletionStartz;deletionStart + pause + displayedText + pause + deletionEnd�ROLE_CONTENT_ERRORzdisplayedText + pause + invalid�ROLE_CONTENT_INSERTIONzleaving or insertionStartz=insertionStart + pause + displayedText + pause + insertionEnd�ROLE_CONTENT_MARKzleaving or markStartz3markStart + pause + displayedText + pause + markEnd�ROLE_CONTENT_SUGGESTIONr#zleaving or roleNamezXleaving or (labelOrName + pause + (numberOfChildren or roleName) + pause + nestingLevel)zilabelOrName + pause + focusedItem + pause + multiselectableState + (numberOfChildren or roleName) + pausezp(labelOrName or (displayedText + allTextSelection)) + roleName + pause + termValueCount + pause + positionInListzW(labelOrName or (displayedText + allTextSelection)) + roleName + pause + positionInListz;labelOrName + roleName + value + required + availability + z.labelOrName + roleName + value + percentage + z7labelOrName + roleName + (unrelatedLabelsOrDescription)zK(expandedEOCs or (labelOrName + roleName + (unrelatedLabelsOrDescription)))zIlabelOrName + readOnly + textRole + currentLineText + anyTextSelection + zElabelOrName + readOnly + textRole + textContent + anyTextSelection + zSlabelOrName + readOnly + textRole + textContentWithAttributes + anyTextSelection + )r$r%r&zSlabelorName + readOnly + textRole + textContentWithAttributes + anyTextSelection + �ROLE_DPUB_LANDMARKzleaving or labelOrNamez0labelOrName + currentLineText + allTextSelection�ROLE_DPUB_SECTIONz#leaving or (labelOrName + roleName)z%labelOrName + roleName + availabilityzK(expandedEOCs or (labelOrName + unrelatedLabels)) + roleName + availabilityz[labelOrName + readOnly + textRole + (currentLineText or placeholderText) + allTextSelectionz{labelOrName + readOnly + textRole + (currentLineText or placeholderText) + allTextSelection + required + pause + invalid + zwlabelOrName + readOnly + textRole + (textContent or placeholderText) + anyTextSelection + required + pause + invalid + z�labelOrName + readOnly + textRole + (textContentWithAttributes or placeholderText) + anyTextSelection + required + pause + invalid + �	ROLE_FEEDzAleaving or (labelOrName + pause + (numberOfChildren or roleName))z4labelOrName + pause + (numberOfChildren or roleName)z"(displayedText or name) + roleNamez$leaving or (labelAndName + roleName)�labelOrNamez<labelOrName + roleName + unfocusedDialogCount + availabilityz*displayedText + roleName + expandableStatezGlabel + readOnly + textRole + pause + textContent + anyTextSelection + zUlabel + readOnly + textRole + pause + textContentWithAttributes + anyTextSelection + zlabelAndName + roleNamezlabelAndName + unrelatedLabelsz?label + ((displayedText + allTextSelection) or name) + roleNamez$leaving or (roleName + labelAndName)zVroleName + (labelAndName or (substring and currentLineText)) + pause + unrelatedLabelsz=(labelAndName or roleName) + availability + noShowingChildrenz>(labelAndName or roleName) + pause + selectedItemCount + pausezi(labelAndName or roleName) + pause + roleName + pause + selectedItemCount + pause + selectedItems + pausezN(name or displayedText) + roleName + pause + expandableState + availability + z@linkInfo + pause + siteDescription + pause + fileSize + pause + )r$r%zClabelOrName + multiselectableState + (numberOfChildren or roleName)z1checkedStateIfCheckable + pause + expandableStatez�(labelOrName or (displayedText + allTextSelection)) + checkedStateIfCheckable + pause + unselectedStateIfSelectable + pause + expandableState + pause + positionInList + pause + listBoxItemWidgetsz�label + roleName + pause + (name or displayedText) + checkedStateIfCheckable + pause + unselectedStateIfSelectable + pause + positionInList + pause + expandableState + (nodeLevel or nestingLevel) + pause�math�ROLE_MATH_ENCLOSEDz!enclosedBase + enclosedEnclosures�ROLE_MATH_FENCEDz8fencedStart + pause + fencedContents + pause + fencedEndzlfractionStart + pause + fractionNumerator + fractionLine + fractionDenominator + pause + fractionEnd + pausez.rootStart + rootBase + pause + rootEnd + pause�ROLE_MATH_MULTISCRIPTzIscriptBase + pause + scriptPrescripts + pause + scriptPostscripts + pause�ROLE_MATH_SCRIPT_SUBSUPERzHscriptBase + pause + scriptSubscript + pause + scriptSuperscript + pause�ROLE_MATH_SCRIPT_UNDEROVERzIscriptBase + pause + scriptUnderscript + pause + scriptOverscript + pause�ROLE_MATH_TABLEzEmathTableStart + pause + mathTableRows + pause + mathTableEnd + pause�ROLE_MATH_TABLE_ROW�mathRowzZ(ancestors or parentRoleName) + pause + labelOrName + roleName + pause + positionInList + �expandableStatezIlabelOrName + checkedStateIfCheckable + expandableState + availability + zkancestors + pause + labelOrName + checkedStateIfCheckable + pause + accelerator + pause + positionInList + zOroleName + labelOrName + pause + (expandedEOCs or unrelatedLabelsOrDescription)z5label + readOnly + currentLineText + anyTextSelectionz8label + readOnly + currentLineText + anyTextSelection + z?label + readOnly + textRole + textContent + anyTextSelection + zMlabel + readOnly + textRole + textContentWithAttributes + anyTextSelection + zAlabelOrName + roleName + availability + pause + positionInList + zZparentRoleName + pause + labelOrName + roleName + availability + pause + positionInList + zMleaving or (labelAndName + roleName + availability + pause + unrelatedLabels)ze((substring and currentLineText) or labelAndName) + roleName + availability + pause + unrelatedLabelszXlabelOrName + readOnly + textRole + textIndentation + currentLineText + allTextSelectionz[labelOrName + readOnly + textRole + textIndentation + currentLineText + allTextSelection + zFlabelOrName + readOnly + textRole + currentLineText + allTextSelectionzIlabelOrName + readOnly + textRole + currentLineText + allTextSelection + z1progressBarIndex + (progressBarValue or roleName)z@progressBarIndex + labelAndName + (progressBarValue or roleName)z;labelAndName + expandableState + roleName + availability + z,labelAndName + expandableState + roleName + �
radioStatezknewRadioButtonGroup + pause + (name or label) + pause + radioState + roleName + availability + lineBreak + z/ + accelerator + pause + positionInList + pausezgradioButtonGroup + pause + (name or label) + roleName + pause + radioState + pause + positionInGroup + zClabelOrName + radioState + roleName + availability + positionInListz5labelOrName + radioState + roleName + availability + z + accelerator + positionInListzQancestors + labelOrName + roleName + radioState + accelerator + positionInList + �ROLE_REGIONz#leaving or (roleName + labelOrName)z;labelOrName + roleName + currentLineText + allTextSelectionz@(currentLineText + allTextSelection) or (labelOrName + roleName)z@(labelOrName or (currentLineText + allTextSelection)) + roleNamezC(labelOrName or (currentLineText + allTextSelection)) + roleName + zMlabelOrName + roleName + value + required + pause + invalid + availability + z(displayedText or value)zalabelAndName + (displayedText or value) + roleName + required + pause + invalid + availability + z5label + roleName + name + (displayedText or value) + zroleName + availabilityzDroleName + availability + (labelOrName or displayedText or value) + z>labelAndName + roleName + value + percentage + availability + z,labelAndName + roleName + value + percentagez+labelAndName + roleName + pause + statusBarz-roleName + currentLineText + allTextSelection�ROLE_SWITCH�switchStatez6labelOrName + roleName + switchState + availability + z$labelOrName + roleName + switchStatez)leaving or (labelAndName + pause + table)zlabelAndName + pause + tablezCnewRowHeader + newColumnHeader + pause + newRow + pause + newColumnz�((tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState) + pause + (expandableState and (expandableState + pause + numberOfChildren + pause))ztableCellRow + pausezzparentRoleName + pause + columnHeader + pause + rowHeader + pause + roleName + pause + tableCellRow + pause + columnAndRowaparentRoleName + pause + columnHeader + pause + rowHeader + pause + roleName + pause + cellCheckedState + pause + (realActiveDescendantDisplayedText or imageDescription + image) + pause + columnAndRow + pause + tableCellRow + pause + expandableState + pause + nodeLevel + pause�REAL_ROLE_TABLE_CELLz�(tableCell2ChildLabel + tableCell2ChildToggle)                          or (cellCheckedState + (expandableState and (expandableState + numberOfChildren)))a�(tableCell2ChildLabel + tableCell2ChildToggle)                          or (newRowHeader + (newColumnHeader or columnHeaderIfToggleAndNoText)                               + cellCheckedState                              + (realActiveDescendantDisplayedText or imageDescription + image)                              + (expandableState and (expandableState + numberOfChildren))                              + required + pause + invalid)zQ(labelOrName or displayedText) + pause + expandableState + pause + positionInListzz(labelOrName or displayedText) + roleName + pause + positionInList + pause + expandableState + (nodeLevel or nestingLevel)z&labelOrName + roleName + availability �textContentzOlabel + readOnly + pause + textRole + pause + textContent + anyTextSelection + z]label + readOnly + pause + textRole + pause + textContentWithAttributes + anyTextSelection + zulabelOrName + readOnly + textRole + pause + textIndentation + (currentLineText or placeholderText) + allTextSelectionzxlabelOrName + readOnly + textRole + pause + textIndentation + (currentLineText or placeholderText) + allTextSelection + zjlabelOrName + readOnly + textRole + pause + (textContent or placeholderText) + anyTextSelection + pause + zxlabelOrName + readOnly + textRole + pause + (textContentWithAttributes or placeholderText) + anyTextSelection + pause + zexpandableState or toggleStatezKlabelOrName + roleName + (expandableState or toggleState) + availability + z9labelOrName + roleName + (expandableState or toggleState)zroleName + labelAndNamea�(includeContext                           and (ancestors                                + (rowHeader and [Region(" " + asString(rowHeader))])                                + (columnHeader and [Region(" " + asString(columnHeader))])                                + (radioButtonGroup and [Region(" " + asString(radioButtonGroup))])                                + [Region(" ")])                           or [])z3(nodeLevel and [Region(" " + asString(nodeLevel))])z}[Component(obj,                                     asString(label + displayedText + value + roleName + required + invalid))]z((substring and zT)                          or ([Component(obj, asString(labelAndName + roleName))]))z�[Component(obj,                                     asString(label + displayedText + roleName + (description and space(": ") + description)))]z+[Component(obj, asString(name + roleName))]z�)                          or ([Component(obj, asString(labelAndName + roleName))]                             + (childWidget and ([Region(" ")] + childWidget))))zS)                          or ([Component(obj, asString(labelOrName + roleName))]))zC + (roleName and [Region(" " + asString(roleName + nestingLevel))])z[Component(obj,                                     asString(((label + displayedText + imageDescription) or name) + roleName))]z�[Component(obj,                                     asString(labelOrName + roleName),                                     indicator=asString(checkedState))]z�[Component(obj,                                     asString(label + displayedText + roleName + availability) + asString(accelerator),                                     indicator=asString(checkedState))]z�[Component(obj,                                     asString(((substring and currentLineText) or labelAndName) + roleName + sortOrder))]z�[Component(obj, asString(labelOrName + value + roleName),                                      labelOrName and (len(asString(labelOrName)) + 1) or 0)]z- + ([Region(" " + asString(termValueCount))])zi[Component(obj,                                     asString(labelOrName + value + roleName + required))]zS[Component(obj, asString(labelOrName + roleName + (unrelatedLabelsOrDescription)))]z�[Text(obj, asString(placeholderText), asString(eol), startOffset, endOffset)]                          + (required and [Region(" " + asString(required))])                          + (readOnly and [Region(" " + asString(readOnly))])zl[Component(obj,                                     asString(labelOrName + roleName + alertAndDialogCount))]z�[Text(obj, asString(placeholderText), "", startOffset, endOffset)]                          + [Region(" " + asString(roleName))]zj[Component(obj,                                     asString(labelAndName + value + roleName + required))]zx[Link(obj, asString(name or displayedText))]                         + (roleName and [Region(" " + asString(roleName))])z�[Component(obj,                                     asString(label + focusedItem + roleName),                                     asString(label) and (len(asString(label)) + 1) or 0)]a�)                          or ([Component(obj,                                     asString(label + displayedText + expandableState + roleName + availability) + asString(accelerator), indicator=asString(checkedStateIfCheckable))]                           + (nestingLevel and [Region(" " + asString(nestingLevel))])                          + (listBoxItemWidgets and ([Region(" ")] + listBoxItemWidgets))))a)                          or ([Component(obj, asString(labelOrName + expandableState))]                              + (nestingLevel and [Region(" " + asString(nestingLevel))])                              + (listBoxItemWidgets and ([Region(" ")] + listBoxItemWidgets))))z}[Component(obj,                                     asString(labelOrName + roleName + availability) + asString(accelerator))]zV[Component(obj,                                     asString(labelOrName + roleName))]z�[Component(obj,                                     asString(labelOrName + expandableState + availability) + asString(accelerator),                                     indicator=asString(checkedStateIfCheckable))]z�(progressBarValue and                            [Component(obj, asString(labelAndName + progressBarValue + roleName + progressBarIndex))])                            or []zz[Component(obj,                                     asString((labelAndName or description) + expandableState + roleName))]z�[Component(obj,                                     asString((labelOrName or description) + roleName),                                     indicator=asString(radioState))]z�[Component(obj,                                     asString((labelOrName or description) + roleName + availability)                                     + asString(accelerator),                                     indicator=asString(radioState))]z�[Component(obj,                                     asString(labelOrName or description)                                     + asString(accelerator),                                     indicator=asString(radioState))]�asPageTabOrScrollPanezs[Component(obj,                                     asString(labelOrName + value + roleName + required + invalid))]z�[Text(obj, asString(label), asString(eol))]                          + (required and [Region(" " + asString(required))] or [])                          + (readOnly and [Region(" " + asString(readOnly))] or [])zk[Component(obj, asString(labelOrName + roleName))]                              + [Region(" ")] + statusBarz�[Component(obj,                                     asString((labelOrName or description) + roleName),                                     indicator=asString(switchState))]z) or tableCellRow)z[((tableCell2ChildToggle + tableCell2ChildLabel)                          or (substring and aH)                           or (cellCheckedState                              + (columnHeaderIfToggleAndNoText and [Region(" "), Component(obj, asString(columnHeaderIfToggleAndNoText))])                              + ((realActiveDescendantDisplayedText and [Component(obj, asString(realActiveDescendantDisplayedText))])                                 or (imageDescription and [Region(" "), Component(obj, asString(imageDescription))]))                              + (realActiveDescendantRoleName and [Component(obj, (realActiveDescendantDisplayedText and " " or "") + asString(realActiveDescendantRoleName))])                              + (expandableState and [Region(" " + asString(expandableState))])                              + (required and [Region(" " + asString(required))]))                          or ([Component(obj,"")]))zH[Component(obj,                                     asString(roleName))]z[Text(obj)]z�[Component(obj,                                     asString((labelOrName or description) + expandableState + roleName),                                     indicator=asString(toggleState))]z2[Component(obj, asString(labelOrName + roleName))]z�)                          or ([Component(obj, asString(labelOrName + expandableState))]                              + (nodeLevel and [Region(" " + asString(nodeLevel))])))zclickable + hasLongDesc�roleNamezroleName + positionInSetz;roleName + checkedState + required + invalid + availabilityz6roleName + checkedState + availability + positionInSet�
percentagez9roleName + percentage + required + invalid + availabilityz7roleName + readOnly + required + invalid + availabilityzroleName + expandableStatez)roleName + visitedState + expandableStatezroleName + multiselectableStatez*roleName + expandableState + positionInSetz9roleName + expandableState + availability + positionInSet�progressBarValuezroleName + progressBarValuez)roleName + expandableState + availabilityz4roleName + radioState + availability + positionInSetzroleName + percentagez9roleName + availability + percentage + required + invalidz$roleName + percentage + availabilityz%roleName + switchState + availabilityz:roleName + (expandableState or toggleState) + availability)�stringsrrrc�0�eZdZd�Zd�Zd�Zd�Zd�Zd�Zy)�
Formattingc��tj|�||_|jt	j
t��y)N)�dict�__init__�_script�update�copy�deepcopy�
formatting)�self�scripts  �1/usr/lib/python3/dist-packages/orca/formatting.pyrPzFormatting.__init__�s*���
�
�d��������D�M�M�*�-�.�c� �|j�D]{\}}||vrmt||t�r%t|t�r||j|��Bt||t�rt|t�r|||<�ktd��w|||<�}y)Nz(an error has occurred, cant merge dicts.)�items�
isinstancerOrR�str�print)rV�newDict�key�vals    rXrRzFormatting.update�s����
�
��
	 �H�C���d�{��d�3�i��.�:�c�4�3H���I�$�$�S�)���S�	�3�/�#�C��-� #�D��I�
�D�E���S�	�
	 rYc�(�||dd|d}|S)a*Get a formatting string to add on to the end of
        formatting strings obtained by getFormat.

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - formatType: the type of formatting, such as
          'focused', 'basicWhereAmI', etc.
        �moder�
formatType�)rV�argsrs   rX�	getPrefixzFormatting.getPrefixs&���d�6�l�#�H�-�d�<�.@�A���
rYc�(�||dd|d}|S)a\Get a formatting string to add on to the end of
        formatting strings obtained by getFormat.

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - role: the role, such as Atspi.Role.TEXT
        - formatType: the type of formatting, such as
          'focused', 'basicWhereAmI', etc.
        rcr'rdre)rVrfr's   rX�	getSuffixzFormatting.getSuffixs&���d�6�l�#�H�-�d�<�.@�A���
rYc�$�|d|d|dS)aGets a human consumable string for a specific value
        (e.g., an indicator for a checkbox state).

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - stringType: the type of the string to get (see the dictionary above).
        rKrc�
stringTypere�rVrfs  rX�	getStringzFormatting.getString(s!���I��t�F�|�,�T�,�-?�@�@rYc���	||d|d|dS#t$rYnwxYw|jd�dk(r!	||d|ddS#t$rYnwxYw|jd�dk(r!	||d|ddS#t$rYnwxYw	||d|ddS#t$rYnwxYw	||dd	|dS#t$rYnwxYw	||dd	dS#t$rgcYSwxYw)
avGet a formatting string for the given mode and formatType for a
        role (e.g., a where am I string for a text object).

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - role: the role, such as Atspi.Role.TEXT
        - formatType: the type of formatting, such as
          'focused', 'basicWhereAmI', etc.
        rc�rolerdr"r#r&r%r$r()�	Exception�getrls  rX�	getFormatzFormatting.getFormat2se��	���V��%�d�6�l�3�D��4F�G�G���	��	���8�8�L�!�Z�/�
��D��L�)�$�v�,�7�	�B�B���
��
���8�8�L�!�%7�7�
��D��L�)�$�v�,�7��H�H���
��
��	���V��%�d�6�l�3�K�@�@���	��	��	���V��%�i�0��l�1C�D�D���	��	��	���V��%�i�0��=�=���	��I�	�se��	"�"�A�	A�A�/B�	B�B�B!�!	B-�,B-�1C�	C�
C�
C � C.�-C.N)	�__name__�
__module__�__qualname__rPrRrgrirmrrrerYrXrMrM�s!��/�
 � 
��A�)rYrM)��__doc__�__id__�__version__�__date__�
__copyright__�__license__rS�gi�require_version�
gi.repositoryr�r�TUTORIAL�MNEMONIC�BRAILLE_TEXT�INVALID_INDICATORS_SPEECH�STATE_REQUIRED_SPEECH�STATE_READ_ONLY_SPEECH�STATE_INSENSITIVE_SPEECH�CHECK_BOX_INDICATORS_SPEECH�RADIO_BUTTON_INDICATORS_SPEECH�SWITCH_INDICATORS_SPEECH�TOGGLE_BUTTON_INDICATORS_SPEECH�EXPANSION_INDICATORS_SPEECH�NODE_LEVEL_SPEECH�NESTING_LEVEL_SPEECH�STATE_MULTISELECT_SPEECH�ICON_INDEX_SPEECH�GROUP_INDEX_SPEECH� GROUP_INDEX_TOTAL_UNKNOWN_SPEECH�STATE_CLICKABLE�STATE_HAS_LONGDESC�RELATION_HAS_DETAILS�RELATION_DETAILS_FOR�EOL_INDICATOR_BRAILLE�STATE_REQUIRED_BRAILLE�STATE_READ_ONLY_BRAILLE�STATE_INSENSITIVE_BRAILLE�INVALID_INDICATORS_BRAILLE�CHECK_BOX_INDICATORS_BRAILLE�RADIO_BUTTON_INDICATORS_BRAILLE�SWITCH_INDICATORS_BRAILLE� TOGGLE_BUTTON_INDICATORS_BRAILLE�EXPANSION_INDICATORS_BRAILLE�NODE_LEVEL_BRAILLE�NESTING_LEVEL_BRAILLE�INVALID_INDICATORS_SOUND�STATE_REQUIRED_SOUND�STATE_READ_ONLY_SOUND�STATE_INSENSITIVE_SOUND�CHECK_BOX_INDICATORS_SOUND�RADIO_BUTTON_INDICATORS_SOUND�SWITCH_INDICATORS_SOUND�TOGGLE_BUTTON_INDICATORS_SOUND�EXPANSION_INDICATORS_SOUND�STATE_MULTISELECT_SOUND�STATE_CLICKABLE_SOUND�STATE_HAS_LONGDESC_SOUND�STATE_VISITED_SOUND�Role�ALERT�	ANIMATION�ARTICLE�BLOCK_QUOTE�CANVAS�CAPTION�	CHECK_BOX�CHECK_MENU_ITEM�
COLOR_CHOOSER�
COLUMN_HEADER�	COMBO_BOX�COMMENT�DESCRIPTION_LIST�DESCRIPTION_TERM�DESCRIPTION_VALUE�DIAL�DIALOG�DOCUMENT_FRAME�DOCUMENT_WEB�EMBEDDED�ENTRY�FOOTNOTE�FOOTER�FORM�FRAME�HEADER�HEADING�ICON�IMAGE�INFO_BAR�INTERNAL_FRAME�LABEL�LANDMARK�LAYERED_PANE�LINK�LIST�LIST_BOX�	LIST_ITEM�MATH�
MATH_FRACTION�	MATH_ROOT�MENU�	MENU_ITEM�NOTIFICATION�PAGE�PAGE_TAB�PANEL�	PARAGRAPH�
PASSWORD_TEXT�PROGRESS_BAR�PUSH_BUTTON�RADIO_BUTTON�RADIO_MENU_ITEM�
ROW_HEADER�
SCROLL_BAR�SCROLL_PANE�SECTION�SLIDER�SPIN_BUTTON�	SEPARATOR�
SPLIT_PANE�STATIC�
STATUS_BAR�	SUBSCRIPT�SUPERSCRIPT�TABLE�
TABLE_CELL�	TABLE_ROW�TEAROFF_MENU_ITEM�TERMINAL�TEXT�
TOGGLE_BUTTON�TOOL_BAR�TOOL_TIP�TREE�	TREE_ITEM�APPLICATIONrUrOrMrerYrX�<module>r�sj��(0�������?�
����	�����7�E�"���4��@��E��
��(�B�B�
��)�?�?�
�
�)�@�@�
�
�,�E�E�	
�

�)�E�E�
�
�,�K�K�

�
�'�@�@�
�
�-�M�M�
�
�*�F�F�
�
�*�<�<�
�
�-�B�B�
�
�,�E�E�
�
�*�<�<�
�
�+�>�>�
�
%�%6�%W�%W�
� 
�*�:�:�!
�"
�,�?�?�#
�$,�@�@�+�@�@�'
�,%�:�:�)�@�@�)�A�A�,�F�F�(�C�C�)�F�F�,�L�L�'�A�A�-�N�N�*�G�G�*�=�=�-�C�C�

�)�A�A�)�>�>�)�?�?�,�D�D�)�D�D�,�J�J�'�?�?�-�L�L�*�E�E�,�D�D�*�@�@�,�E�E�(�<�<�
�I3�v���#�6�&�!%���	���v�zB�B�Eh�h�%�)P�P� (�,K�!K���	���C�h�N�Qo�o�5�!.���,	�
�
����E��-�2	�
�
������3�8	�
�
���/�^��9�@	��`�"�A�F	�
�
���F�R�!�G�N	�
�
���_�a�h�!D�	�O�Z	�
�
����W��[�`	�
�
���%�z�~F�F�IY�Y�i�lt�t�xe�e��a�j	�
�
�"�"�%�]�`h�h�lU�U�K�NV�V�%�k�t	�
�
� � ��P�S[�[�G�(�R�Up�p�#�u�~	�
�
� � �i�Q�#��F	�
�
���A�]�`h�h�k{�{��G�N	�
�
���/�^��O�X	 �1�V�"�Y�`	��:��a�h	!�2�X�#�i�r	�-�N��s�|	"��,�$�}�B	�
�
�#�#�r�E�&�C�J	�
�
�#�#��L�&�K�P	�
�
�$�$��r�'�Q�V	�
�
����V�Ya�a�M�PX�X�[v�v��W�`	�
�
���P�f��a�h	�
�
�!�!�d�go�o�d�go�o� u�yA�!A�$�i�r	�
�
���d�go�o�d�go�o� u�yA�!A�"�s�|	�/�K��}�D	�<�K��E�L	�
�
���>�f��M�T	�
�
���t�W�Zb�b�W�Zb�b�!h�ks�!s�	�U�`	�Z�O��a�h	�
�
����^��i�n	�
�
����=�
�o�t	�
�
���=�W��u�|	�
�
���$�W��}�D	�
�
����=�
�E�J	�
�
���C�E�f�iq�q� w�{C�!C�	�K�V	�
�
���_�a�h�!D�	�W�b	�
�
����2��c�h	�
�
����9��i�n	�
�
�!�!��2�$�o�t	�
�
����Z��u�z	�
�
���=�q��{�B	�
�
���V�X�]�!L�	"�C�N	�
�
���i�lt�t�_�bj�j��O�V	�
�
���r�E��W�^	�
�
���\�E��_�f	�
�
���J�_�k��g�p	�
�
�����
�q�x	��<�
�y�@	��S�
�A�F	�
�
� � ��H�#
�G�L	�
�
����I�
�M�T	 ��d�"
�U�\	$��c�&
�]�d	%��d�'
�e�l	��`�
�m�t	��� 
�u�z	�
�
���/�C�h�N�Qz�z�y�}E�E��{�D	�
�
���(�d�go�o�s\�\�K�NV�V��E�N	�
�
����j�"�O�T	�
�
���N�S�V^�^�^�ai�i� o�rz� z�	�U�`	�
�
���Z�]e�e�hx�x�\�_g�g�jz�z�y�}E�E�HX�X��a�j	�
�
���f�A��k�r	�
�
���q�v�zB�B�^�ai�i� o�rz� z�	�s�~	�
�
� � �_�d�go�o�^�ai�i� o�rz� z�	#��J		�
�
���J�[�"�K	�R		�
�
���(�V�Ya�a�dt�t�K�h�V�Yi�i�!�S	�\		�
�
���#�G�JR�R�UF�F�G�JR�R�Ue�e�"�]	�f		�
�
�"�"�]�P�S[�[�^��p�s{�{�%�g	�~		�<�V��	�F
	�
�
���i�Q� �G
�N
	�
�
����V�Ya�a�M�PX�X�[v�v� �O
�X
	�
�
����[�!�Y
�^
	�
�
���Y�^�ai�i��_
�f
	�
�
����h�ks�s�M�PX�X�\I�I��g
�p
	�
�
���1�|�@H�H�T�W_�_�cP�P�!�q
�z
	�
�
���0�_�bj�j��{
�B	�
�
����Y�\d�d�L� �C�L	�
�
����=��M�R	�
�
���0�F� �S�Z	�
�
����H��[�`	�
�
����H�!�a�f	�$�Q�T\�\�_o�o�C��
	�
�
���B�7�;��
	�
�
���]�s�/�Z�!x� �	�n�=�!�	�
�
���(�l�Z��
	�
�
�$�$��A�'�	�
�
���$�&�n�qy�y� �CK�!K�	�	�
�
���O�T�W_�_�J�MU�U�![�^f�!f�	�	�
�
� � �7�f�iq�q�uE�E�X�#�
	�
�
���0�2��	�
�
���,�2�6��
	�
�
���0�2��	�
�
���(�l�Z��u
�Nu��#�#�)�u�:	�N�N��;u�B	�p�p��Cu�N	�
�
����+�l�:�>U�U��Ou�V	�
�
����A��Wu�^	�
�
���F�F�!�_u�f	�
�
����+�l�:�>R�R��gu�p	��+�l�:�>T�T�!�qu�z	�
�
�����(m�m�!�{u�@	�
�
����r��Au�H	�
�
����I��Iu�R	�
�
�"�"��I�%�Su�\	�
�
� � ��{�#�]u�d	�
�
����^��eu�l	�
�
�#�#���(W�W�&�mu�t	�
�
����\��uu�|	�
�
����n��}u�D	�
�
�!�!�O�&�	$�Eu�P	�
�
���O�&�	"�Qu�\	�
�
������]u�b	�
�
����+�l�:�>U�U��cu�j	�
�
���_�_��ku�v	�
�
����@��wu�@	�
�
����r��Au�H	�
�
���]�]��Iu�T	�
�
������Uu�Z	�
�
����M�
�[u�b	�
�
����\�
�cu�l	�
�
����\�
�mu�v	�
�
���+�l�:�>]�]�
,�l�:�>a�a�
�wu�L	�
�
���p�I��Mu�Z	�
�
����T��[u�d	�
�
����+�l�:�>U�U�"�eu�l	�
�
������mu�t	�
�
���p�I��uu�B	�
�
����+�l�:�>R�R��Cu�L	�
�
������Mu�R	�
�
� � ���#�Su�X	�
�
����"�"�Yu�b	�
�
����m�!�cu�j	�
�
����G�"�ku�t	�
�
�"�"�G�G�	%�uu�H	�
�
����{� �Iu�P	�
�
����\� �Qu�X	�
�
����0�!�Yu�^	�
�
������_u�f	�
�
����f��gu�n	�
�
����U�!�ou�x	�
�
����;� �yu�@	��H��Au�N	�
�
����+�l�:�=Q�Q� �Ou�T	��.�0<�=�@5�	5�!�	�
�
�$�$��;�'�	�
�
������	�
�
������	�
�
� � ��H�#�
	�
�
����M��	�
�
����M��	�
�
����+�l�:�>W�W��[	u�z	{����!� $�	
�{�	��2�!� $�	
�{�	��#�!� $�	
�{�&	�
�
����3�
�'{�,	�
�
���%�V�
�-{�4	�
�
�"�"�%�Q�%
�5{�<	�
�
���(�3�
�={�D	�
�
���#�T�
�E{�L	�
�
����R�
�M{�R	�
�
���(�5�
�S{�Z	�
�
����3�
�[{�`	�
�
���(�D�
�a{�h	�
�
����:�
�i{�n	�
�
����:�
�o{�t	�
�
���(�E�
�u{�|	�
�
���(�T�
�}{�D	�
�
����3�
�E{�J	�
�
���)�6�"
�	�
�
���(�D�!
�	�
�
���#�O�"
�	�
�
�"�"�#�Q�%
�	�
�
���#�0� 
�	�
�
���#�T�
�	�
�
���#�T�!
�	�
�
���#�?� 
�	�$�@�
�	�
�
���(�5� 
�	�
�
����(�
�	�
�
����R�
�	�
�
� � �7�U�#
�	�
�
���(�E�
�o{�QD�
�Lc��crY

Zerion Mini Shell 1.0